TheAssemblyArmada / Vanilla-Conquer

Vanilla Conquer provides clean, cross-platform builds of the C&C Remastered Collection and the standalone legacy games.
Other
343 stars 52 forks source link

Starting a new game in Red Alert crashes on Linux #831

Open ccawley2011 opened 2 years ago

ccawley2011 commented 2 years ago

Currently, attempting to start a new game in Red Alert crashes on Linux with the following message:

DEBUG: Prog_End()
DEBUG: Read_Scenario_INI Force_CD_Available failed

This appears to be a regression from commit 6008d34bedc5f4fd445ad1a078c5fb1fa6cee3d2 - previous commits seem to work fine.

giulianobelinassi commented 2 years ago

I can not confirm this -- RA works fine on Linux.

ccawley2011 commented 2 years ago

This seems to be the result of running VanillaRA with the command (cd ../RedAlert/ && ../Vanilla-Conquer/build-mingw32/vanillara.exe) - copying the executable into the game directory and running it from there works fine. The issue also occurs on Windows as well, not just Linux.

OmniBlade commented 2 years ago

If the data isn't in the same directory as the game binary (or a link to it) and isn't in either the the hard coded data path or the hard coded path under the user folder, then the intended behaviour is that you need to specify the data path in redalert.ini. That it worked just by the data being in the working directory was never a planned working case, though adding a command line to specify the data and user folders is something that needs to be looked at at some point so it can be set from the command line.

hazelnot commented 2 years ago

Also... why are you trying to run the Windows version in Linux instead of using the native Linux build? :sweat_smile: