Special Aircraft Service

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: DGen Help  (Read 338 times)

0 Members and 1 Guest are viewing this topic.

bobtt123

  • inexperienced modder
  • member
  • Offline Offline
  • Posts: 31
DGen Help
« on: July 26, 2023, 10:33:57 PM »

Hey there, I'm having issues with DGen career. Did some tinkering with some files but after that, I couldn't progress my career as the "apply" option was gone. I tried reinstalling IL2 but to no avail. Anyone knows how I can fix this? Much help appreciated.

Logged
Those who survive a long time on the battlefield start to think they're invincible. I bet you do, too, Buddy.

Frankiek

  • SAS Team
  • member
  • Offline Offline
  • Posts: 3108
Re: DGen Help
« Reply #1 on: July 26, 2023, 10:51:08 PM »

Tinkering with Dgen files can be very tricky Check your Dgen logs in main folder to identify the source of error. I hope that you did a Dgen backup before modifying.
Logged

Treetop64

  • member
  • Offline Offline
  • Posts: 64
Re: DGen Help
« Reply #2 on: July 28, 2023, 06:05:32 PM »

You didn't have to do a complete reinstall.   :)  Oh, well...

If this happens again, go into the main folder where you have IL-2 installed, and search for a file that says something like "DGenERROR.log" or "DGenMOD_ERROR.log" or something similar.  If DGen suffered an error creating the next mission and stopped, it will create this file.  Open it and scroll to the bottom.  Usually, the last line will either specify what DGen tried to do but couldn't (and stopping at that point), or the last line will show the last task DGen performed before it stopped, without specifying what went wrong (that second part may only be done in one of the regular DGen.log files that is generated when DGen is building the mission, so I'm not sure if the unspecified "cold stop" is done in the actual error log.  I have no DGen error logs so I'm going purely on memory here lol, sorry).

Note that the error log does not hold your hand in fixing the problem.  It assumes that you're already familiar with all the core files that DGen uses to create a mission in a campaign (various .dat files, .mis files, and .db files in the game's DGen folder), and that you'll know where to look and what to do.  If you are not familiar with these files then I'd recommend not tinkering with them.  If you are "stuck" in a mission and cannot progress, well, the war is over for you...

...however, you can periodically back-up your progress in a campaign (every five or ten missions or so, whatever you're comfortable with) so that if it hangs you can copy your saved campaign files and restart from that point.  From there DGen should generate different missions.  To back-up your progress, go into the game's main folder:

>  create a new folder (call it something like [SavedCampaigns])
>  inside the folder you just created, create two more folders called [Missions] and [Users]
>  inside the [Missions] folder you just created, make another folder called [Campaign]

Then go back to the main directory and:

>  open the game's [Users] folder
>  note the [Lastname] folder of the pilot whose campaign you want to save, and copy it into the [Users] file you created earlier

Then in the game's main directory:

>  open the game's [Missions] folder
>  open the [Campaign] folder
>  open the relevant nation folder (DE if you want to save a German campaign, RU for Russian, etc)
>  look for a file that starts with "dgen_...." and which contains the last name of the pilot participating, and copy it
>  go back to the [Campaign] folder you created in your saved campaigns file, and in that file create a new [DE], [RU], or whichever nation file you copied from earlier, and open it
>  paste the "dgen_...." file into it

From there on if you want to create another back-up point, just copy the [Lastname] folder and the "dgen_..." file again from their original locations, and paste them to their respective locations in your saved campaigns file, overwriting when asked.  If DGen breaks again down the road, simply copy your saved campaign files back to their original locations, overwriting when asked, and re-continue your campaign from that saved point.
Logged

bobtt123

  • inexperienced modder
  • member
  • Offline Offline
  • Posts: 31
Re: DGen Help
« Reply #3 on: July 29, 2023, 06:30:02 AM »

Thanks for all the responses! I managed to resolve my issue. I appreciate all the help.
Logged
Those who survive a long time on the battlefield start to think they're invincible. I bet you do, too, Buddy.

taly01

  • member
  • Offline Offline
  • Posts: 63
    • MY Sim Tech
Re: DGen Help
« Reply #4 on: July 30, 2023, 01:14:35 AM »

Quote
Tinkering with Dgen files can be very tricky

Yes I spent a while ruining good campaigns by "adding-improving" the files, do not add anything to a makers DGen campaign until you have played it unaltered.  Adding new planes, units or especially mod stuff may not be supported in the DGen and campaigns files.   

There is even a rare bug where a new campaign (that works) will not start until you delete all the old campaigns.  Editing the current campaign files that you are playing is a sure recipe for breaking it.
Logged

Frankiek

  • SAS Team
  • member
  • Offline Offline
  • Posts: 3108
Re: DGen Help
« Reply #5 on: July 30, 2023, 02:34:28 AM »

this is still the best guide if you want to tinker with Dgen campaigns and files

https://www.mission4today.com/index.php?name=Downloads&file=details&id=2020
Logged
Pages: [1]   Go Up
 

Page created in 0.045 seconds with 26 queries.