Dynamic Campaign Generator (DCG) is a mod for the game "Men of War" and some of its successors that randomly generates skirmish missions and lets you keep your surviving forces from one battle to another. Some people find this mod tricky to install the first time - please read the readme.txt carefully and ask for help (if you need it) on our forums here on this site, or at the game developer's site.

Forum Thread
  Posts  
Installing on steam/program crash (Games : Men of War : Mods : Dynamic Campaign Generator (DCG) : Forum : Bugs, problems, troubleshooting : Installing on steam/program crash) Locked
Thread Options
Apr 14 2012 Anchor

First of all thanks guys for the Mod.

I down loaded it, installed it in Program file (x86/Steam/steamapps/common/menofwar, Ithen created a Mod foler for it as the MOW did not have one, I then created a save game folder as I could not find it, I begin the game it goes thoug the first page New campaign, it goes to the second page choose units, it goes through the third screen choose map, then it crashes with the following error: "error while copying map files" If I hit ok it goes to a fourth screen where you can rearrange the units, but when you select done mothing happens? Please help Here is the logand the error message

4/10/2012 9:41:21 AM: Log cleared.
4/10/2012 9:41:54 AM: Currency set: 50
4/10/2012 9:41:54 AM: Player set: 4
4/10/2012 9:41:54 AM: Region set: 1
4/10/2012 9:41:54 AM: Computer set: 1
4/10/2012 9:41:54 AM: Date set: 4/9/1940
4/10/2012 9:41:54 AM: New campaign button clicked
4/10/2012 9:41:54 AM: New operation:
4/10/2012 9:41:54 AM: Map 0: map/multi/castle/map
4/10/2012 9:41:54 AM: Map 1: map/singleFacesOfWar/1/1-3-walcheren/map
4/10/2012 9:41:54 AM: Map 2: map/singleFacesOfWar/1/3-1-omaha/map
4/10/2012 9:41:54 AM: Map 3: map\ZekeWolff\maki_37\map
4/10/2012 9:41:54 AM: Map 4: map\ZekeWolff\maki_28\map
4/10/2012 9:41:54 AM: Map 5: map\ZekeWolff\maki_01\map
4/10/2012 9:41:54 AM: Map 6: map/single/bonus/bonusmission_4/map
4/10/2012 9:41:54 AM: Map 7: map\multi\country\map
4/10/2012 9:41:54 AM: Map 8: map/multi/tram_depot/map
4/10/2012 9:41:54 AM: Map 9: map\ZekeWolff\maki_31\map
4/10/2012 9:41:54 AM: Map 10: map/multi/hunting/map
4/10/2012 9:41:54 AM: Map 11: map/multi/lakeland/map
4/10/2012 9:41:54 AM: New operation generated.
4/10/2012 9:41:54 AM: New campaign started with operation file: C:\Program Files (x86)\Steam\SteamApps\common\men of war\Campaign\operations\fourbythree.xml
4/10/2012 9:43:57 AM: Error:Could not load file or assembly 'Microsoft.Xna.Framework, Version=3.0.0.0, Culture=neutral, PublicKeyToken=6d5c3888ef60e27d' or one of its dependencies. The system cannot find the file specified.
4/10/2012 9:44:03 AM: Error saving result image: C:\Program Files (x86)\Steam\SteamApps\common\men of war\Campaign\Save\situation.png :Value cannot be null.
Parameter name: image
4/10/2012 9:44:04 AM: Error:Could not find a part of the path 'Men of War (Remove Only) not found\mods\Campaign\resource\map\single\DCG\DCGmis sion\map'.
4/10/2012 9:44:06 AM: Random Attack/Defense variable d (0..2): 2
4/10/2012 9:44:06 AM: Adjusted Attack/Defense variable d (-1..3): 3
4/10/2012 9:44:06 AM: Player attacking random objective distance number (7..: 7
4/10/2012 9:44:06 AM: Mission type roll for attacking only (0..2; 0 is not timed; > 0 is timed): 0
4/10/2012 9:44:06 AM: Mission type: TakeAndHoldSimultaneous
4/10/2012 9:44:06 AM: AI maneuver type: FormLine
4/10/2012 9:44:06 AM: Objective distance fraction: 0.7
4/10/2012 9:44:06 AM: Random number of objectives o (1..3): 3
4/10/2012 9:44:06 AM: Left flank:-2587 Right flank:2508 Near edge:2639 Far edge:-2584
4/10/2012 9:44:06 AM: With left-right buffer: Left flank:-2129 Right flank:1999 Random left-right position:-1247
4/10/2012 9:44:06 AM: With near buffer: Near edge:-1017 Random near-far position:-1025
4/10/2012 9:44:06 AM: Convert to x,y coordinates: x:-1247 y:-1025
4/10/2012 9:44:06 AM: Objective generated for distance 0.7 - placement: -1247, -1025
4/10/2012 9:44:06 AM: Left flank:-2587 Right flank:2508 Near edge:2639 Far edge:-2584
4/10/2012 9:44:06 AM: With left-right buffer: Left flank:-2129 Right flank:1999 Random left-right position:1267
4/10/2012 9:44:06 AM: With near buffer: Near edge:-1017 Random near-far position:-839
4/10/2012 9:44:06 AM: Convert to x,y coordinates: x:1267 y:-839
4/10/2012 9:44:06 AM: Objective generated for distance 0.7 - placement: 1267, -839
4/10/2012 9:44:06 AM: Left flank:-2587 Right flank:2508 Near edge:2639 Far edge:-2584
4/10/2012 9:44:06 AM: With left-right buffer: Left flank:-2129 Right flank:1999 Random left-right position:-580
4/10/2012 9:44:06 AM: With near buffer: Near edge:-1017 Random near-far position:-1059
4/10/2012 9:44:06 AM: Convert to x,y coordinates: x:-580 y:-1059
4/10/2012 9:44:06 AM: Objective generated for distance 0.7 - placement: -580, -1059
4/10/2012 9:44:06 AM: Computer standard maximum randomized unit amount for this mission: 7
4/10/2012 9:44:06 AM: Computer initial randomized unit amount: 3
4/10/2012 9:44:06 AM: Computer trend-adjusted randomized unit amount: 3
4/10/2012 9:44:06 AM: Computer force multiplier-adjusted units available: 4
4/10/2012 9:44:06 AM: Computer squads allocated: 1; Computer vehicles allocated: 3
4/10/2012 9:44:06 AM: Generate waypoint for player: UK - entity MID: 15
4/10/2012 9:44:06 AM: Left flank:-2587 Right flank:2508 Near edge:2639 Far edge:-2584
4/10/2012 9:44:06 AM: With left-right buffer: Left flank:-2129 Right flank:1999 Random left-right position:-1676
4/10/2012 9:44:06 AM: With near buffer: Near edge:-1017 Random near-far position:-828
4/10/2012 9:44:06 AM: Convert to x,y coordinates: x:-1676 y:-828
4/10/2012 9:44:06 AM: Ingress waypoint 0 placement: 1153, -2262
4/10/2012 9:44:06 AM: Final waypoint 1 placement: -1676, -828
4/10/2012 9:44:06 AM: Generate waypoint for player: UK - entity MID: 20
4/10/2012 9:44:06 AM: Left flank:-2587 Right flank:2508 Near edge:2639 Far edge:-2584
4/10/2012 9:44:06 AM: With left-right buffer: Left flank:-2129 Right flank:1999 Random left-right position:1172
4/10/2012 9:44:06 AM: With near buffer: Near edge:-1017 Random near-far position:-909
4/10/2012 9:44:06 AM: Convert to x,y coordinates: x:1172 y:-909
4/10/2012 9:44:06 AM: Ingress waypoint 2 placement: -1553, -2538
4/10/2012 9:44:06 AM: Final waypoint 3 placement: 1172, -909
4/10/2012 9:44:06 AM: Generate waypoint for player: UK - entity MID: 23
4/10/2012 9:44:06 AM: Left flank:-2587 Right flank:2508 Near edge:2639 Far edge:-2584
4/10/2012 9:44:06 AM: With left-right buffer: Left flank:-2129 Right flank:1999 Random left-right position:730
4/10/2012 9:44:06 AM: With near buffer: Near edge:-1017 Random near-far position:-1010
4/10/2012 9:44:06 AM: Convert to x,y coordinates: x:730 y:-1010
4/10/2012 9:44:06 AM: Ingress waypoint 4 placement: 1897, -1700
4/10/2012 9:44:06 AM: Final waypoint 5 placement: 730, -1010
4/10/2012 9:44:06 AM: Generate waypoint for player: UK - squad name: squad7
4/10/2012 9:44:06 AM: Left flank:-2587 Right flank:2508 Near edge:2639 Far edge:-2584
4/10/2012 9:44:06 AM: With left-right buffer: Left flank:-2129 Right flank:1999 Random left-right position:674
4/10/2012 9:44:06 AM: With near buffer: Near edge:-1017 Random near-far position:-863
4/10/2012 9:44:06 AM: Convert to x,y coordinates: x:674 y:-863
4/10/2012 9:44:06 AM: Ingress waypoint 6 placement: 367, 53
4/10/2012 9:44:06 AM: Final waypoint 7 placement: 674, -863
4/10/2012 9:44:06 AM: Computer standard maximum randomized reserve (2nd wave) unit amount for this mission: 2
4/10/2012 9:44:06 AM: Computer initial randomized reserve (2nd wave) unit amount for this mission: 0
4/10/2012 9:44:06 AM: Ally maneuver type: EvenlyDistributeToObjectives
4/10/2012 9:44:06 AM: Ally standard maximum randomized unit amount for this mission: 3
4/10/2012 9:44:06 AM: Ally squads allocated (category 4/5 bonus): 0; Ally vehicles allocated: 0
4/10/2012 9:44:06 AM: Generate waypoint for player: Civilian - entity MID: 34
4/10/2012 9:44:06 AM: Ingress waypoint 8 placement: 2199, 520
4/10/2012 9:44:06 AM: Final waypoint 9 placement: 884, 854
4/10/2012 9:44:06 AM: Left flank:-2587 Right flank:2508 Near edge:2639 Far edge:-2584
4/10/2012 9:44:06 AM: With left-right buffer: Left flank:-2129 Right flank:1999 Random left-right position:1720
4/10/2012 9:44:06 AM: With near buffer: Near edge:2117 Random near-far position:2067
4/10/2012 9:44:06 AM: Convert to x,y coordinates: x:1720 y:2067
4/10/2012 9:44:06 AM: Left flank:-2587 Right flank:2508 Near edge:2639 Far edge:-2584
4/10/2012 9:44:06 AM: With left-right buffer: Left flank:-2129 Right flank:1999 Random left-right position:32
4/10/2012 9:44:06 AM: With near buffer: Near edge:2117 Random near-far position:2189
4/10/2012 9:44:06 AM: Convert to x,y coordinates: x:32 y:2189
4/10/2012 9:44:06 AM: Left flank:-2587 Right flank:2508 Near edge:2639 Far edge:-2584
4/10/2012 9:44:06 AM: With left-right buffer: Left flank:-2129 Right flank:1999 Random left-right position:1322
4/10/2012 9:44:06 AM: With near buffer: Near edge:2117 Random near-far position:2038
4/10/2012 9:44:06 AM: Convert to x,y coordinates: x:1322 y:2038
4/10/2012 9:44:06 AM: Left flank:2508 Right flank:-2587 Near edge:-2584 Far edge:2639
4/10/2012 9:44:06 AM: With left-right buffer: Left flank:1999 Right flank:-2129 Random left-right position:261
4/10/2012 9:44:06 AM: With near buffer: Near edge:-2062 Random near-far position:-2135
4/10/2012 9:44:06 AM: Convert to x,y coordinates: x:261 y:-2135
4/10/2012 9:44:06 AM: Left flank:2508 Right flank:-2587 Near edge:-2584 Far edge:2639
4/10/2012 9:44:06 AM: With left-right buffer: Left flank:1999 Right flank:-2129 Random left-right position:467
4/10/2012 9:44:06 AM: With near buffer: Near edge:-2062 Random near-far position:-2009
4/10/2012 9:44:06 AM: Convert to x,y coordinates: x:467 y:-2009
4/10/2012 9:44:06 AM: Left flank:2508 Right flank:-2587 Near edge:-2584 Far edge:2639
4/10/2012 9:44:06 AM: With left-right buffer: Left flank:1999 Right flank:-2129 Random left-right position:1628
4/10/2012 9:44:06 AM: With near buffer: Near edge:-2062 Random near-far position:-2077
4/10/2012 9:44:06 AM: Convert to x,y coordinates: x:1628 y:-2077
4/10/2012 9:44:06 AM: Left flank:2508 Right flank:-2587 Near edge:-2584 Far edge:2639
4/10/2012 9:44:06 AM: With left-right buffer: Left flank:1999 Right flank:-2129 Random left-right position:-2070
4/10/2012 9:44:06 AM: With near buffer: Near edge:-2062 Random near-far position:-2094
4/10/2012 9:44:06 AM: Convert to x,y coordinates: x:-2070 y:-2094
4/10/2012 9:44:06 AM: Left flank:-2587 Right flank:2508 Near edge:2639 Far edge:-2584
4/10/2012 9:44:06 AM: With left-right buffer: Left flank:-2129 Right flank:1999 Random left-right position:-1957
4/10/2012 9:44:06 AM: With near buffer: Near edge:2117 Random near-far position:2037
4/10/2012 9:44:06 AM: Convert to x,y coordinates: x:-1957 y:2037
4/10/2012 9:44:06 AM: Left flank:-2587 Right flank:2508 Near edge:2639 Far edge:-2584
4/10/2012 9:44:06 AM: With left-right buffer: Left flank:-2129 Right flank:1999 Random left-right position:-1618
4/10/2012 9:44:06 AM: With near buffer: Near edge:2117 Random near-far position:2050
4/10/2012 9:44:06 AM: Convert to x,y coordinates: x:-1618 y:2050
4/10/2012 9:44:06 AM: Left flank:2508 Right flank:-2587 Near edge:-2584 Far edge:2639
4/10/2012 9:44:06 AM: With left-right buffer: Left flank:1999 Right flank:-2129 Random left-right position:-1599
4/10/2012 9:44:06 AM: With near buffer: Near edge:-2062 Random near-far position:-2004
4/10/2012 9:44:06 AM: Convert to x,y coordinates: x:-1599 y:-2004
4/10/2012 9:44:06 AM: Left flank:2508 Right flank:-2587 Near edge:-2584 Far edge:2639
4/10/2012 9:44:06 AM: With left-right buffer: Left flank:1999 Right flank:-2129 Random left-right position:-715
4/10/2012 9:44:06 AM: With near buffer: Near edge:-2062 Random near-far position:-1984
4/10/2012 9:44:06 AM: Convert to x,y coordinates: x:-715 y:-1984
4/10/2012 9:44:06 AM: Left flank:2508 Right flank:-2587 Near edge:-2584 Far edge:2639
4/10/2012 9:44:06 AM: With left-right buffer: Left flank:1999 Right flank:-2129 Random left-right position:-1136
4/10/2012 9:44:06 AM: With near buffer: Near edge:-2062 Random near-far position:-2051
4/10/2012 9:44:06 AM: Convert to x,y coordinates: x:-1136 y:-2051
4/10/2012 9:44:06 AM: Error:Could not load file or assembly 'Microsoft.Xna.Framework, Version=3.0.0.0, Culture=neutral, PublicKeyToken=6d5c3888ef60e27d' or one of its dependencies. The system cannot find the file specified.
4/10/2012 9:44:10 AM: Campaign not saved on exit.

************** Exception Text **************System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Program Files (x86)\Steam\SteamApps\common\men of war\mods\resource\set\environment\single\DCG\DCGmission\DCGenvironment.set'. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options) at System.IO.StreamWriter.CreateFile(String path, Boolean append) at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize) at System.IO.StreamWriter..ctor(String path) at CampaignGenerator.FileHandler.WriteFile() at CampaignGenerator.Weather.writeWeather(Boolean Nonightbattles, MissionTypeEnum missionType, Map map, String weatherLocation, String weatherFileName) at CampaignGenerator.Mission.WriteMission(Boolean playerInSupply, Boolean newoperation, MapManager mapManager, Campaign campaign) at CampaignGenerator.Campaign.WriteMission(Boolean isInfiltrationMission) at CampaignGenerator.frmMain.RestoreGame() at CampaignGenerator.frmMain.PanelMission_btnDone_Click(Object sender, EventArgs e) at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnClick(EventArgs e) at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ButtonBase.WndProc(Message& m) at System.Windows.Forms.Button.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)************** Loaded Assemblies **************mscorlib Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5448 (Win7SP1GDR.050727-5400) CodeBase: C: Assembly Version: 3.0.0.0 Win32 Version: 1.0.0.0 CodeBase: C:(x86)/Steam/SteamApps/common/men%20of%20war/mods/Campaign/Campaign.exe----------------------------------------System.Windows.Forms Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5446 (Win7SP1GDR.050727-5400) CodeBase: C: Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5453 (Win7SP1GDR.050727-5400) CodeBase: C: Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5458 (Win7SP1GDR.050727-5400) CodeBase: C: Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400) CodeBase: C: Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400) CodeBase: C: Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: C: Assembly Version: 3.0.0.0 Win32 Version: 3.0.11010.0 CodeBase: C: Assembly Version: 8.0.50727.6195 Win32 Version: 8.00.50727.6195 CodeBase: C:************** JIT Debugging **************To enable just-in-time (JIT) debugging, the .config file for thisapplication or computer (machine.config) must have thejitDebugging value set in the system.windows.forms section.The application must also be compiled with debuggingenabled.For example:

Edited by: ogamiito

May 20 2012 Anchor

Please install the missing files from Microsoft, namely Microsoft .XNA and Microsoft Visual #J. And if you aren´t using Windows 7 (32-bit or 64-bit) you´ll also have to install .NET. Then it will work.

~Zeke.

Reply to thread
click to sign in and post

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.