Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running on Linux? #10

Closed
vsoch opened this issue Sep 9, 2019 · 10 comments
Closed

Running on Linux? #10

vsoch opened this issue Sep 9, 2019 · 10 comments
Labels
good first issue Good for newcomers

Comments

@vsoch
Copy link
Contributor

vsoch commented Sep 9, 2019

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 bbodi added the good first issue Good for newcomers label Sep 12, 2019
@bbodi
Copy link
Owner

bbodi commented Sep 12, 2019

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
Copy link
Contributor Author

vsoch commented Sep 12, 2019

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
Copy link
Owner

bbodi commented Sep 28, 2019

After some minor tweaks, it works smoothly on Linux.

@bbodi bbodi closed this as completed Sep 28, 2019
@vsoch
Copy link
Contributor Author

vsoch commented Sep 28, 2019

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

@bbodi
Copy link
Owner

bbodi commented Sep 28, 2019

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
Copy link
Contributor Author

vsoch commented Sep 28, 2019

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
Copy link
Owner

bbodi commented Sep 28, 2019

Unfortunately no.

Try the torrent version (direct link).

@vsoch
Copy link
Contributor Author

vsoch commented Sep 28, 2019

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
Copy link
Owner

bbodi commented Sep 29, 2019

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
Copy link
Contributor Author

vsoch commented Sep 29, 2019

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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants