10-07-2020, 04:39 PM
I have a habit of wanting to check my work in game all the time, so I went ahead and automated this. It is fun to sit back and watch this, basically with a combination of Python and batch files, it does the following:
1) Open DOSBox and run SG2TRK and TRK23D. Quit DOSBox
2) Python script to correct the colors in the .3D file (I have a separate file that has the correct color header)
3) Open DOSBox and run 3D23DO and then OPE
4) The only manual thing I must do: Load the TSD file and save.
==At this point I probably would also need to load all the trackside objects. These should be kept in a separate file as well. I have not automated this yet.==
5) Run 3D23DO again. Quit DOSBox.
6) Copy the .3DO file to a subfolder (I call it TSD) for the TSD fixing procedure
7) Run Tjerk's MRON (still in Windows environment)
8) Open DOSBox and run 3DO2DEF. Quit DOSBox.
9) Python script to replace F21 with F02.
10) Open DOSBox and run DEF23DO. Quick DOSBox.
11) Copy the new .3DO file back to my working folder.
12) Run MRON on my entire working folder
13) Create a packing list of the working folder
14) Python script to pack the .dat file into my "fake N2" folder
15) Run the N2toICR2 converter - at this point I have to manually click a button to convert
16) Revert all the 3DO files in my working folder to their state before running MRON
17) Python script to unpack the .DAT file created by the converter
18) Copy all the ICR2-specific files that I keep separately (textures, models, etc.) to my ICR2 unpack folder
19) Python script to pack the ICR2 .DAT file again
20) Copy all the files in the root directory of the track that I keep separately (such as txt file, setups) to the ICR2 track folder
If I am making a release version of the track, I would also correct the colors in the ICR2 version by doing this:
21) Open 3DOEd and use Tjerk's Tutorial's technique to replace colors of walls and ground as needed.
22) Python script to repack the ICR2 .DAT.
Whew!
1) Open DOSBox and run SG2TRK and TRK23D. Quit DOSBox
2) Python script to correct the colors in the .3D file (I have a separate file that has the correct color header)
3) Open DOSBox and run 3D23DO and then OPE
4) The only manual thing I must do: Load the TSD file and save.
==At this point I probably would also need to load all the trackside objects. These should be kept in a separate file as well. I have not automated this yet.==
5) Run 3D23DO again. Quit DOSBox.
6) Copy the .3DO file to a subfolder (I call it TSD) for the TSD fixing procedure
7) Run Tjerk's MRON (still in Windows environment)
8) Open DOSBox and run 3DO2DEF. Quit DOSBox.
9) Python script to replace F21 with F02.
10) Open DOSBox and run DEF23DO. Quick DOSBox.
11) Copy the new .3DO file back to my working folder.
12) Run MRON on my entire working folder
13) Create a packing list of the working folder
14) Python script to pack the .dat file into my "fake N2" folder
15) Run the N2toICR2 converter - at this point I have to manually click a button to convert
16) Revert all the 3DO files in my working folder to their state before running MRON
17) Python script to unpack the .DAT file created by the converter
18) Copy all the ICR2-specific files that I keep separately (textures, models, etc.) to my ICR2 unpack folder
19) Python script to pack the ICR2 .DAT file again
20) Copy all the files in the root directory of the track that I keep separately (such as txt file, setups) to the ICR2 track folder
If I am making a release version of the track, I would also correct the colors in the ICR2 version by doing this:
21) Open 3DOEd and use Tjerk's Tutorial's technique to replace colors of walls and ground as needed.
22) Python script to repack the ICR2 .DAT.
Whew!