dreamer / luxtorpeda

Steam Play compatibility tool to run games using native Linux engines
https://luxtorpeda.gitlab.io/
GNU General Public License v2.0
390 stars 9 forks source link

Return to Castle Wolfenstein (9010) - Working Package #4

Closed d10sfan closed 5 years ago

d10sfan commented 5 years ago

This adds support for RTCW through the IORTCW engine: https://gitlab.com/d10sfan/luxtorpeda-iortcw

Steam downloads the game with a Main directory (probably because of Windows pathing issues), so that's why the build points it there. Also, there's a command line argument to point it to "Main" instead of "main". No changes are needed to the actual original steam files though.

The packages.json addition looks like the following:

        "9010": {
        "game_name":    "Return to Castle Wolfenstein",
        "package":      "dist.tar.xz",
        "command":      "./iowolfsp.x86_64",
        "command_args": ["+set", "com_basegame", "Main"]
    }

For this one, there's two options when you launch it through steam, Single Player or Multiplayer. This builds both and both seem to work if you run them manually, but I don't see a way through this tool of defining one or the other. SteamDB shows the two different exes it normally tries to load: https://steamdb.info/app/9010/config. I'm thinking for this, maybe if there's some way of detecting which option is selected, and then having an additional argument in the packages.json to tell it which command to use for which option. For now, SP is default and does seem to work.

dreamer commented 5 years ago

Done; it went smoother this time due to your repo sitting on GitLab :) I gave you developer role for package repo, same as for Doom 3.

Once you'll confirm it's works for both SP and MP, I will close this issue.

d10sfan commented 5 years ago

Yep, both mp and sp worked with the new build and the hosted built version.