SnowyMouse / chimera

The update to Halo PC that never was
https://chimera.opencarnage.net
GNU General Public License v3.0
137 stars 26 forks source link

Failed to Open Init File/Eager Command Line Parsing #28

Closed surrealwaffle closed 3 years ago

surrealwaffle commented 3 years ago

chimera does not reproduce Halo's behavior when reading the argument supplied for the -exec switch. For instance, when supplying -exec "init.txt", chimera will attempt to load the file "init.txt", double quotes included. Furthermore, -exec "in it.txt" will result in loading the file "in, double quote included. This isn't exactly a major issue; simply avoid whitespace in your init file paths and do not supply those paths in quotes.

Relevant function in source.

SnowyMouse commented 3 years ago

Thank you for bringing this to my attention.

Fixed in 84b8f253e36dbbd62aa8fe5b36f13b17c0c44445