Updated Building on Linux (markdown)

erorcun 2020-05-11 06:58:43 +03:00
parent 4c6d55a2d8
commit 6487b21639

@ -5,8 +5,12 @@ You need i386 libraries/headers of;
- libsndfile1-dev (*Caution:* install this before libmpg123-dev)
- libmpg123-dev
You may consider enabling ONE_THREAD_PER_CHANNEL on CdStreamPosix.cpp, if you use SSD/Flash memory.
Run `./premake5Linux --with-librw gmake2` on re3 directory.
Point to `build` folder, run `make config=linux-x86-librw_gl3_glfw-oal`
Copy the `elf` file from `bin/linux-x86-librw_gl3_glfw-oal/Debug` directory to your GTA3 directory, run and voila!
You can expect poor performance if you're not using Nvidia/AMD drivers. (At least it was in my case with my iGPU)
Struct sizes are different then on Windows, so don't enable validating struct sizes. Needlesly to say, your previous savegames will be incompatible.
To be continued
*Not so important:* You may consider enabling ONE_THREAD_PER_CHANNEL on CdStreamPosix.cpp, if you use SSD/Flash memory.