-
-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TD Support] Add the ability to define a list of file extensions that match the target scenario to be copied. #397
Comments
So, I think I understand some of the request here, and if I do, I don't think it's as simple as copy another file. The
Now, everything I listed above is simply from reading the code. So, forgive me if I'm misunderstanding something. I'm not entirely familiar with the process, but I'll do what I can. Are you saying that there's a BIN or MIX file for every map? |
I'm not familiar with the relevant code, but I would assume there is a path stored to the map selected to be played (before any generation of I suggested a new INI control key to ensure this feature is usable long term, for example, allowing custom MIX files to be loaded alongside maps. |
Is it guaranteed that the BIN file would be named exactly as the INI file and in the maps directory? If the answer is yes to the above questions regarding the same base filename, then it might not be necessary to add an INI key to tell the client to copy those files. Having an identical filename like that per map file might be enough for the client to just say, "if there are BIN or MIX files for the same map name, copy them over too." My only concern would be if the BIN files were copied over with their exact filename and not renamed to spawnmap.bin, because they we need to take action on cleaning them up after the game exits. Else, that folder could get cluttered by new bin files every time you play a new map. |
Yeah, it must always match the scenario filename.
This was used as an example for the feature if the developer using the Client would like to copy additional files that match the filename (without the extension). For example, a YR map called
It is to be renamed to |
@Metadorius My question to you is: |
The Tiberian Dawn map setup requires the .BIN file to be present alongside the scenario .INI.
Add the ability to define a list of file extensions that match the target scenario name to copy on game start, these files will be picked up and copied, then renamed to
spawnmap.<ext>
.For example;
CopyAdditionalSpawnFileFormats=BIN,MIX
The text was updated successfully, but these errors were encountered: