dpjudas / SurrealEngine

Unreal Tournament Engine Reimplementation
Other
825 stars 23 forks source link

Linux #1

Closed neuromancer closed 3 years ago

neuromancer commented 3 years ago

Hi,

Any plans for Linux support of this neat reimplementation?

Thanks!

dpjudas commented 3 years ago

Yes! That is the plan. :)

JPLeBreton commented 3 years ago

Just successfully compiled from Manjaro Linux. However I ran into the fact that the resource directory is hardcoded to "/home/mbn/UnrealTournament/Maps". I created a dir by that name with my UT content in it, and got this error when running UTEngine: Unhandled exception: Array properties not implemented

dpjudas commented 3 years ago

You can change the path it uses by editing UTEngine/Engine.cpp. At the top of the file you'll find that path. Also, slightly further down you can control which map it will load, and slightly further down after that there's an #if 0 statement that can be changed to #if 1 to enable music playback.

Note that the code is currently only compatible with Unreal Tournament patch 436 - not 469. This is because they apparently made some changes to the scripts that now uses parts of the unrealscript VM I haven't implemented yet.

All of this will of course not be hardcoded in the long run. :)

rohit-n commented 3 years ago

Can confirm it works after I used the data files from GOG. Also compiled on Manjaro.

sharkwouter commented 3 years ago

It might be worth making a PR for adding instructions for how to build on Linux to the README or wiki.

dpjudas commented 3 years ago

ok I've updated the readme with build instructions and clarified this project is still work in progress. :)

sharkwouter commented 3 years ago

Oh nice, thanks!

neuromancer commented 3 years ago

Since there is already instruction on how to build in Linux, I will close this issue. Thanks a lot for the support. :smile: