analgesicproductions / Even-The-Ocean-Open-Source

99%-Open Source code of Even the Ocean, a 2016 PC game.
Other
106 stars 10 forks source link

Please check linux instructions #2

Open dyatlov77 opened 1 year ago

dyatlov77 commented 1 year ago

Its not an issue. I compiled your code. Please check instructions bellow: My host is debian12 and need to use distrobox and debian10 image to be able to compile. Software used to compile game is little older.

distrobox-create --name debian10 --image debian:10 distrobox enter debian10

mkdir $HOME/haxe

sudo apt update sudo apt install haxe neko build-essential gcc-multilib g++-multilib git

haxelib setup --- you will see promt and enter your absolute path of $HOME/haxe

cd $HOME git clone https://github.com/analgesicproductions/Even-The-Ocean-Open-Source.git cd Even-The-Ocean-Open-Source/

cp Open\ Source\ Assets/installHaxeLibraries.bat Open\ Source\ Assets/installHaxeLibraries.sh cd Open\ Source\ Assets/ sh installHaxeLibraries.sh

cd ../

cp -r txt/flixel/. $HOME/haxe/flixel/4,0,0 cp -r txt/addons/. $HOME/haxe/flixel-addons/2,0,0/flixel/addons/tile

cd $HOME/haxe/hxcpp/3,4,188/tools/hxcpp/ haxe compile.hxml cd ../build/ haxe compile.hxml cd ../../project/ neko build.n

cd $HOME/Even-The-Ocean-Open-Source/ haxelib run lime build "Project.xml" linux -release -Dfdb

---exit distrobox exit

cd $HOME/Even-The-Ocean-Open-Source/export/linux64/cpp/bin/ ./EventheOcean

lifning commented 1 year ago

minor nit:

cp Open\ Source\ Assets/installHaxeLibraries.bat Open\ Source\ Assets/installHaxeLibraries.sh cd Open\ Source\ Assets/ sh installHaxeLibraries.sh

i think this could be reduced to

cd Open\ Source\ Assets/ sh installHaxeLibraries.bat

sh doesn't mind the file extension :)

dyatlov77 commented 1 year ago

agree that it can be done that way. Maybe it would be good to have separate file for linux and remove lime-build(Error: No such Project : lime-build) and minimingw from it.