GameServerManagers / LinuxGSM

The command-line tool for quick, simple deployment and management of Linux dedicated game servers.
https://linuxgsm.com
MIT License
4.32k stars 821 forks source link

[Server Request] Jedi Knight II – Jedi Outcast #1202

Closed nateberkopec closed 4 years ago

nateberkopec commented 7 years ago

Hey, I'm working on a Jedi Outcast server here.

The server needs a few of the assets from the game itself - assets0.pk3, assets1.pk3, and assets2.pk3. I figure OK, I'll get them from Steam - but since there's no Linux client, it refuses to download:

ERROR! Failed to install app '6030' (Invalid platform)

Can you tell me where I've gone wrong and what to do next?

connects #1251

nateberkopec commented 7 years ago

Uh-oh, I think I see already. There's not a separate Steam App for the server, like, say, Arma.

Am I screwed?

UltimateByte commented 7 years ago

https://steamdb.info/search/?a=app&q=Jedi+Outcast

1) This game does not support Linux https://steamdb.info/app/6030/ 2) No appid exists for the server. 3) Adding a new server to LGSM is not a simple as changing the appid of an existing one. https://github.com/GameServerManagers/LinuxGSM/wiki/New-Server

nateberkopec commented 7 years ago

Just to be clear, because I'm not sure I was understood - a Linux server does exist for JKII, but it does not contain some asset files. Those asset files are available in the (Windows) Steam download. Is there anything I can do?

nateberkopec commented 7 years ago

Also, if you'd look at my fork, I'm not "just changing the appid of an existing" game.

UltimateByte commented 7 years ago

My bad for the 3) then, i didn't read your commits, was late, and most of the time an error like that has nothing to do with LGSM so... :o)) The only chance for you to get it working is probably to use Wine. But do you really want it ? For now LGSM refuses to add support for a game through Wine, for ethical, and practical reasons (for users as well as the devs). Or maybe, there is a Mac OS server version, that might be compatible with Linux. Since you seem active & reactive, i'll re-open this. May i let you investigate about it ? If you find a way to just start natively the server (even without lgsm, just and executable to start), i'll be glad to help you implementing it.

nateberkopec commented 7 years ago

@UltimateByte JKII has a Linux executable server, I don't need wine. I've bundled up the JKII Linux server and it is installed via install_server_files.sh. The problem is that the server needs 3-4 asset files from the base game, but I can't download the base game via Steam because I get the platform check error above.

So, to recap:

  1. I have a JKII dedicated server executable.
  2. The steam AppID for JKII is Windows/Mac/Steamplay only
  3. SteamCMD seems to only want to try to download the platform-specific version of the game (which does not exist).
UltimateByte commented 7 years ago

I see, thanks for the clarification.

We can host missing files and make them downloaded upon install, if it has a chance to work, if steam refuses to make them downloaded onto a linux server. Did you try adding those files manually from your client for example ?

nateberkopec commented 7 years ago

Yes, adding the files manually works perfectly (it's actually what the official documentation tells you to do). But those files are copyrighted, so redistributing them is a no-no. That's why I was trying to get the files from Steam instead.

AlexCS1337 commented 7 years ago

Jedi Knight II and Jedi Knight Jedi Academy are pretty old and the server files may not be on steam's database. When you're playing multiplayer on these games it doesn't show server info on steam, nor can you add favourites in steam servers. I'm guessing it may not be as supported compared to source games.

AlexCS1337 commented 7 years ago

Another note, instead of using the original jk2ded it's better to use jk2mv, that way you can run server on any version with +set mv_version 1.02(or 1.03 or 1.04)

nateberkopec commented 7 years ago

@AlexCSilva my PR already includes jk2mv. As stated above, I don't need the server files (those are freely available and redistributed online) but I need 3-4 asset files from the client (doesn't matter which operating system). I can only get those, legally, from Steam. All I need is someone to tell me how to disable the platform check that SteamCMD makes.

UltimateByte commented 7 years ago

We host other game server content as well when it's the only way to make it work; nobody ever came to blame us for contributing to those games' continuation :p Can you link the official doc you're referring to? A good workaround to remain 100% legit would be to download it from their official servers and maybe display a link to them upon download.

dgibbs64 commented 7 years ago

This might help https://developer.valvesoftware.com/wiki/SteamCMD#Cross-Platform_Installation

Good effort putting this together btw @nateberkopec

nateberkopec commented 7 years ago

@dgibbs64 Exactly what I needed! Thanks!

AlexCS1337 commented 7 years ago

Awesome progress! Has someone done jedi academy before?

nateberkopec commented 7 years ago

It's all idTech3. Once I finish JKII, Jedi Academy should be a piece of cake.

AlexCS1337 commented 7 years ago

Yeah it should. Soldier of Fortune II would be nice too except, no steam support

AlexCS1337 commented 7 years ago

Hey @nateberkopec how did you go?

nateberkopec commented 7 years ago

I don't really have time to work on this right now. For anyone wanting to pick this up:

AlexCS1337 commented 7 years ago

Okay, I'll look into it.

AlexCS1337 commented 6 years ago

Working on this now, just need to add function to download and extract JK2MV https://github.com/AlexCSilva/LinuxGSM/tree/jk2

dgibbs64 commented 5 years ago

connects #1251

github-actions[bot] commented 3 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.