bbodi/rustarok

Running on Linux?

vsoch opened this issue · 10 comments

vsoch commented

Is this game supported for running on linux? If the Rustarok files can be distributed, we could make a container to serve it. Do you have any direct (programmatic) links for download? I'd like to try / play, but I use Linux.

bbodi commented

It has not been tested on Linux yet, but in theory it should work, I don't use any Windows specific features/libs.
You can check the install guide and follow the steps on Linux. Additionally, you will need Linux-specific shared object files for the used libraries.

vsoch commented

I'd love to test - I'm not familiar with any of these game servers, or how to get the files - is there a programmatic link (e.g., something I can wget) to obtain the files? If there is, I can definitely test it out and write up the details.

bbodi commented

After some minor tweaks, it works smoothly on Linux.

vsoch commented

Awesome! Are you able to package / share the data so I can build a container for it?

bbodi commented

Just download a ragnarok client ( I suggest TalonRO direct link), and set the path in the config.toml to the grf files found in the installation folder of TalonRO (guide).

Edit: And install the required libraries (SDL2, SDL2 image, SDL2 mixer, SDL2 ttf)

vsoch commented

That link never loads for me (page stays white, connecting) - I'm on Linux (Ubuntu) if that matters? I noticed that you sent a guide for Windows. We would want a direct link to get the data for linux - could you package it and put it somewhere to download?

bbodi commented

Unfortunately no.

Try the torrent version (direct link).

vsoch commented

okay I figured out how to download a torrent, but this torrent is still an exe file. To be clear, exe is a windows executable, this won't load / install on linux. Is there some tool you want me to use or another way to inspect or extract?

bbodi commented

Oh sorry, I did not realize that they provide an exe in the torrent. Somehow you have to install it (wine?) or try to find another source to get those *.grf files (they are ~2GB, so I can't just upload them for you).

I admit it sucks if you are not familiar of this ecosystem, but unfortunately at this stage of the project it's not a priority to make this part smooth and user friendly.

vsoch commented

Got them!

Singularity wine.sif:~/.wine/drive_c/Games/TalonRO> ls
AI	     RagnarokSetup.exe	TalonPatch.conf  dinput.ini	 ijl15.dll     rdata.grf  talonexe.exe	tpalettes.grf
Init.exe     RagnarokSetup.ini	TalonPatch.exe	 gepard.dll	 libcurl.dll   savedata   talonro.dat	txmas.grf
Mp3dec.asi   Setup.exe		binkw32.dll	 gepard.grf	 lua.exe       sdata.grf  tdata.grf	unins000.dat
Mss32.dll    Setup.ini		cps.dll		 gepard.license  msvcp110.dll  skin	  thallo.grf	unins000.exe
Mssfast.m3d  System		dinput.dll	 granny2.dll	 msvcr110.dll  talo.nro   tmp.conf
Singularity wine.sif:~/.wine/drive_c/Games/TalonRO> 

I needed to build a Singularity container with wine, and then download and install (from the .zip) and save to WINEPREFIX (it installs under games). What I'll do is create a repo with the Singularity recipe and instructions, and then give a go at running with rustarok. I can't promise I'll get it fully working, but at least I got those files! :D It's getting late here but likely I'll make some time to work on this soon :)