TheGrunch Posted April 11, 2020 Report Posted April 11, 2020 Hi guys, I've been meddling with creating some campaigns for DCG to play with online and I've run into a problem with campaign generation that I don't know how to fix and could use some help with. I've created some simple routes on the Tobruk map and I've populated all of the files that I think I need to for a third party campaign based on the various guides out there about DCG. However, when I try to generate the campaign DCG enters what appears to be an infinite loop. You can see an example of this in the attached dcgerror.txt. I've recreated these routes several times in an attempt to fix it so I suspect it may be something other than the routes file that is wrong. I have committed the files I used as the third-party campaign folder here (see Libya40). I also created a really simple web app that allows you to paste in RDS files to create a template mission so you can look at the routes in the FMB. dcgerror.txt Quote
TheGrunch Posted April 11, 2020 Author Report Posted April 11, 2020 The only thing in the dcgerror.txt that seems unusual is the following line: [2020/04/11 15:32:55.72] No entry found for Player Squadron in the squadids.dcg file. Is there something that I need to do to configure the player squadron? In offline generation DCG does this based on the squadron the player selects in the campaign UI in IL-2 I guess but I don't know how to configure that for a campaign that I will run on a dogfight server. Quote
Fhechene Posted April 11, 2020 Report Posted April 11, 2020 Have you tried with other squads? Is there any airfield for which the player can take-off? Quote
TheGrunch Posted April 11, 2020 Author Report Posted April 11, 2020 Hi Fhechene, I'm generating the campaign in the DCG UI so don't select a squadron - I can't get past this bit, when I click Start it freezes indefinitely: Quote
TheGrunch Posted April 11, 2020 Author Report Posted April 11, 2020 The Red side has two airfields, on on-map and one off-map airfield, as far as I know (Buq_Buq_Airfield and Sidi_Barrani_Airfield) - they are configured in the allcampaigns.dcg as Locale1 and Locale2 respectively for the attacker (Red). Quote
Fhechene Posted April 12, 2020 Report Posted April 12, 2020 On 4/11/2020 at 11:54 AM, TheGrunch said: I have committed the files I used as the third-party campaign folder here (see Libya40) Are those all the files you have in the third party folder? Shouldn't you also have a class.dcg and a squadids.dcg files? Quote
Lowengrin Posted April 12, 2020 Report Posted April 12, 2020 One thing I noticed immediately is empty lines between your location entries. Remove them. There should be no empty lines in the file at all. Not even at the end. Quote
TheGrunch Posted April 12, 2020 Author Report Posted April 12, 2020 1 hour ago, Fhechene said: Are those all the files you have in the third party folder? Shouldn't you also have a class.dcg and a squadids.dcg files? Ah I see, I thought from Tailspin's guide that: Quote DCG will always look in your third party data folder first before looking for files in the DCG\Data and DCG\Master folders. If it can’t find a specific file, say a crimea.rds file in your data folder, it will then look in the DCG\Data folder for the data. Is there a list of the files that are absolutely compulsory for creating a third-party campaign somewhere? 4 minutes ago, Lowengrin said: One thing I noticed immediately is empty lines between your location entries. Remove them. There should be no empty lines in the file at all. Not even at the end. Good to know, I'll give that a try! Thanks Quote
TheGrunch Posted April 12, 2020 Author Report Posted April 12, 2020 Unfortunately it seems like I still get the same result when i remove all the empty lines in the route files Quote
Fhechene Posted April 12, 2020 Report Posted April 12, 2020 41 minutes ago, TheGrunch said: Quote DCG will always look in your third party data folder first before looking for files in the DCG\Data and DCG\Master folders. If it can’t find a specific file, say a crimea.rds file in your data folder, it will then look in the DCG\Data folder for the data. Is there a list of the files that are absolutely compulsory for creating a third-party campaign somewhere? Yes. Lonestar's guide says Quote Insert the standard DCG filesThese files must also in each external DCG campaign:class.dcg payloads.dcg squadids.dcg This file should be in each external DCG campaign:crewseats.dcg Just copy and paste the stock DCG files. Quote
TheGrunch Posted April 13, 2020 Author Report Posted April 13, 2020 Hmm, unfortunately that hasn't resolved the issue either, I'll keep digging and see if there's anything else I can spot. In a guide I managed to dig up from AllAircraftArcade Scharnhorst1943 mentions that grandcampaign.dcg is compulsory, maybe that's it. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.