Quote:
Originally Posted by Brick
I have noticed that quite a few players on LS-RP have tried Linux out, but shy off when they figure out they can't run SAMP on it. This is not actually the case, but it takes a fair amount of tinkering around to accomplish. Because Macs can use the same program to run Windows software (somewhat) natively, I've included them in the title. Do note that I've never touched a Mac before and that the instructions may not fit the Mac approach of doing things. Macs may also use Parallels.
The guide has been tested in Ubuntu 11.04, 11.10 and 12.04. Ubuntu 12.04 cannot properly run SAMP as a windowed instance.
I'll do this in a step-by-step guide and add some commentary here and there. - 1. Install wine 1.3 or higher. This should be in the repositories under Linux.2. Get a copy of GTA San Andreas and install it by running "setup.exe" with wine. Once you're done, replace the "gta_sa.exe" with a cracked one. It just won't work otherwise, even if your GTA:SA is legit.
- You can get to your GTA folder by going to your home folder and pressing CTRL+H (or selecting "show hidden files") and navigating to ".wine/drive_c/Program Files (x86)/Rockstar Games/GTA San Andreas". The dot in front of ".wine" is important.
3. Download SAMP and install it as you would under Windows.
4. Run "winetricks". This may appear as a program, but you can run it from the terminal by simply typing "winetricks" without the quotes.- Notice to Mac users: I don't know if you have winetricks. Try and run it from the terminal first. If that doesn't work, please ****** around a bit.
5. Select "select the default wineprefix"
6. Select "install a windows DLL or component"
7. Highlight "d3dx9" and press ok. It should take a while to install. When it's done, try to exit winetricks.- While you're at it, you can also install "corefonts" through winetricks. To do so, select "install a font" while in the default wineprefix selection. Highlight "corefonts" and press ok. This will slightly improve your fonts IG.
8. Start "configure wine". This should appear as a program/application in your desktop environment.- As for Macs, I once again don't know if you have this. If you don't, well, ****** is your friend.
9. Confirm whether d3dx9 files can be found in the library. There should be a whole list of them.
10. Select "graphics" and highlight "automatically capture the mouse in full-screen windows".
11. Also highlight "emulate a virtual desktop" and insert your screen's resolution.
12. Select "audio" and fiddle around to see if your audio devices work.
13. Press "ok" and run "gta_sa.exe". It should start smoothly now. If it doesn't, post below.
14. Select your computer's resolution in the GTA session. If it's not available, simply restart GTA and it should appear.
15. Shut down GTA:SA and go to this website: http://www.gtagarage.com/mods/show.php?id=8321
16. Download the files and put them in your GTA folder. It should ask whether you want to replace a file. You do want to, so press "yes" or "ok".
17. Rename "samp.dll" to "samp.asi" in the same folder.
18. Start SAMP. It should work. You may have to redo your resolution settings. Starting SAMP without ever having run GTA:SA first will not work optimally, so please don't skip any of the previous steps. Also, when starting a SAMP instance, you will have to alt+tab in and out of the game to enable keyboard input. This is a minor thing, really, but noteworthy.
Voilа. If it doesn't work the first time, read the instructions again. Most of the time, you'll have missed a small detail that is ever so important. If you're sure you did everything you can, do post below. I'll try my best to help. You can also check out the following two links with ample information about getting GTA:SA and SAMP running:
http://appdb.winehq.org/objectManage...rsion&iId=3780
http://appdb.winehq.org/objectManage...sion&iId=18213
Also, if you're running an Ubuntu Unity DE (not 12.04), you can run the program in windowed mode, meaning that you keep the panel on the top of your screen visible at all times while using up the rest of the screen. To do so, after having followed all the above instructions, start "configure wine" again and go to the "graphics" department. From the lowest/second number in the resolution settings, retract 24. In my case, having a 1440x900 screen, that means I would have to set it to 1440x876.
And if any Mac user can help me out in improving the guide (or simply confirming SAMP won't run under wine), that would be marvellous.
|
Hybrid Graphics aren't really supported by Nvidia for Linux just yet.
I have the Nvidia Geforce GT 540M with Optimus, which I already supposedly should have fixed with "Bumblebee".
I can run stuff with the nvidia card by typing "optirun" infront of the command being used in the terminal.
Well, I followed the steps, but I get stuck at "Step 13".
This is the advanced options menu, when I try to start a new game, yes, just clicking where it is supposed to be while you can't ready anything, the game crashes.
http://screencloud.net/img/screensho...75669afb20.png
-----------------------------------------
Fixed with:
Код:
cd '.wine/drive_c/Program Files (x86)/Rockstar Games/GTA San Andreas'
optirun wine gta_sa.exe
To run sa-mp:
Код:
cd '.wine/drive_c/Program Files (x86)/Rockstar Games/GTA San Andreas'
optirun wine samp.exe
Result:
http://screencloud.net/img/screensho...71d1748f3d.png
Following steps are no longer needed:
Quote:
15. Shut down GTA:SA and go to this website: http://www.gtagarage.com/mods/show.php?id=8321
16. Download the files and put them in your GTA folder. It should ask whether you want to replace a file. You do want to, so press "yes" or "ok".
17. Rename "samp.dll" to "samp.asi" in the same folder.
|