adventuregamestudio / ags

AGS editor and engine source code
Other
705 stars 159 forks source link

Starting the engine with data doesn't give usage #125

Closed scottchiefbaker closed 10 years ago

scottchiefbaker commented 10 years ago

If I run the engine without game data it used to report usage about how to launch a game. Now it gives an error about the graphics subsystem:

bash$ ./ags something_fake
AGS: Adventure Game Studio v3.3 Interpreter
Copyright (c) 1999-2011 Chris Jones and 2011-2014 others
ACI version 3.3.0.1156

AGS: *** ENGINE STARTUP ***
AGS: Reading config file
AGS: Initializing allegro
Unknown error initializing graphics subsystem.
scottchiefbaker commented 10 years ago

This is present in 3.3.0 final, and the 3.3.1 devel branch.

ghost commented 10 years ago

Does not happen for me.

This error can only occur before engine even starts looking for game data. It signals about Allegro library not being able to initialize.

Error message may be misleading though...

Does the same happen if you make an older version? Does it happen if you pass the correct path?

scottchiefbaker commented 10 years ago

You are absolutely correct. I was running on the wrong machine, and it was giving me false errors.

ghost commented 10 years ago

I guess we should change the error message, it should say "Failed to init Allegro library" instead. The part about "graphic subsystem" can be confusing.