pelican-eggs / eggs

Service eggs for the pterodactyl panel
MIT License
2.79k stars 2.32k forks source link

[Egg Request]: Mount & Blade II: Bannerlord - Linux with no wine #2622

Open IzyAcorn opened 7 months ago

IzyAcorn commented 7 months ago

Does this expand an already existing service

No

Link to a game or software

https://store.steampowered.com/app/261550/Mount__Blade_II_Bannerlord/

Links for the download

https://steamdb.info/app/1863440/depots/

Links for the install docs

https://forums.taleworlds.com/index.php?threads/1-2-hosting-dedicated-servers-on-linux.460939/

There is currently an egg for this game as shown here: https://github.com/parkervcp/eggs/pull/2519

Unfortunately, the new 1.2.x update for the game has broken the egg causing it to hang on startup (egg link: https://github.com/parkervcp/eggs/tree/master/game_eggs/steamcmd_servers/mount_blade_II_bannerlord), I believe the reason is that it's running in wine, but I cannot be sure. I found a forum post with TaleWorlds claiming it's possible to run it natively on Linux with no need for Wine (install docs).

If a working egg can be created that'd be great.

Please excuse my ignorance with the technical side of things.

QuintenQVD0 commented 7 months ago

They shiped there linux files marked as windows..

Try in the current egg in the WINETRICKS_RUN variable add dotnet6 and remove dotnet472 to it and see if it works. else this maybe can be rewriten to use native linux dotnet 6

IzyAcorn commented 7 months ago

@QuintenQVD0 I updated the variable in the egg to include dotnet6 and removed dotnet472.

image

The installation went fine but when launching the server, it hangs. Please see the text file showing the logs.

Launch Logs.txt

Looks like it might have to get rewritten.

Voronsky commented 6 months ago

I also notice the same hanging issue after switching dotnet472 to dotnet6.

Here seems to be the Linux thread that @IzyAcorn is referring to, I think: https://forums.taleworlds.com/index.php?threads/1-2-hosting-dedicated-servers-on-linux.460939/ , if that helps.