Jump to content
IL-2 Series Forum

Recommended Posts

Posted

I was having major troubles trying to figure out a file system for creating and editing missions.
One issue I have is version control, there have been times in the past where I added something that completely broke this mission and then it was a real pain to fix.
This lead me to create sub folders under my mission folder so I could revert quickly (so we can all still fly).
For instance ..\dogfight\BREAKOUT\V0.1
                                                         ..\V0.2
                                                         ..\V0.3 etc

However this created @eszyman problems with the list file and the translation files -the words were missing from the mission.
Being totally confused and working with several PCs (as I have a separate dserver box) I decided to make a MissionResaver GUI to help me along.
This asks for the mission file and a 'host' folder, resaves the mission, and it automatically removes the large raw mission file from the host folder to save download time for the clients.  (this shortens the black screen effect in VR).

image.png.62fc08c5c5b75b80d0623862cc65df3b.png

I also added in a batch mode that will recursively resave all mission files in a selected folder without moving or removing anything, you know in case there are more updates to the game >_<

Again, this was written with the help of AI in Rust (1.97.1), source code is provided if you want to build it yourself (cargo build -release) along with the just exe file.
If you do choose to build this yourself, first install the Rust language from https://rust-lang.org/

  1. Download the source.
  2. Unzip and place it into a directory you can find
  3. Go there from the command prompt (eg: cd\resaver_gui)
  4. type cargo build -release

The new exe will be in the ./target/release directory

When you run this app a console window pops up so you can see what the app is actually doing for peace of mind and help with debugging.
Not sure yet if this will work with IL2 battle of series, I have not tired it.

Executable: https://drive.google.com/file/d/1X3VkPlLiPjdiP9EIy6PrI1VzfNMUtaqj/view?usp=drive_link

Source: https://drive.google.com/drive/folders/1hObk31NTePGXcvLwhNKu5DXBfKftpP-7?usp=drive_link
 

Batching...


image.png.9a16b970cc47752035b156312c88ff5d.pngBa

  • Like 2
Posted (edited)

Could the base problem be you´re having your game in C\Program Files directory? Try placing the whole IL2Series somewhere else on your disc(s). Usually problems with things going heywire is having programs in the Win protected folders, at times updates wont work and many other hickups are experiensed from games beeing in those places. Many of us "oldtimers" are often giving this advice to combat strange problems with the game.

Edited by FlyingH
Adding comments.
  • Thanks 1
Posted

This isn't a bad idea and I can absolutely get on board, but I think my specific problems are more along the lines of me not completely understanding how the translation file are actually used and where they are supposed to be.  I have been plagued for a long time with the mission text in general not showing up properly and it has always confused me on how it is supposed to work.  In Great Battles I didn't understand the whole 'mtreecache.eng' and 'ctreecache.eng' issues.  Sometimes it worked, sometimes it didn't.  ...And when testing and creating missions and debugging the logic, the briefing notes and map translations are usually the last thing on my mind until we go to fly, and at that point I'm like "where did all the nice text go??" 

Hence, if I stick to a system...
Develop in a test folder -->  Maintain version control in 'test' sub-folders --> re-save into a working folder ready to host (automatically removing the large mission file).
I can keep myself out of trouble ...mostly
(Mission file is preserved, if the mission breaks quickly move back to the previous version, and don't lose translation files)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...