CnCNet / xna-cncnet-client

XNA / MonoGame based client for playing classic Command & Conquer games both online and offline with a CnCNet game spawner.
Other
228 stars 89 forks source link

Write the original scenario filename to the `spawnmap.ini` `[Basic]` section. #419

Closed CCHyper closed 1 year ago

CCHyper commented 1 year ago

The original scenario filename is lost when the client creates the spawnmap.ini file.

Various community based projects might need to know the original filename when implementing features, such as if the scenario follows a certain name format or if any pre-scenario load fixes to the scenario need to be applied.

Writing OriginalFilename=<filename.ext> under the [Basic] would be the simplest solution for this.