A Layman's Guide to Successfully Editing the MWiF Game File.

Post new mods and scenarios here.

Moderator: Shannon V. OKeets

Post Reply
sfreudig
Posts: 6
Joined: Sun May 21, 2017 6:05 am

RE: A Layman's Guide to Successfully Editing the MWiF Game File.

Post by sfreudig »

yes i'm sure. Last turn JF, Germany attacks in USSR...
I'm playing with v2.9.4,10,1.
Here's the file...

Attachments
H2Htest2.zip
(1.59 MiB) Downloaded 8 times
User avatar
rkr1958
Posts: 29943
Joined: Thu May 21, 2009 10:23 am

RE: A Layman's Guide to Successfully Editing the MWiF Game File.

Post by rkr1958 »

ORIGINAL: sfreudig

Hello !
I have a problem with the gearing limit of the USSR that trop to 1 for every unit class. Is it possible to fix it easily by editing the file ?
Thank's for answer !
S.
Yes. Attached are the instructions for one way that I've found.

Image
Attachments
BuildingP..Limits1.jpg
BuildingP..Limits1.jpg (1.03 MiB) Viewed 687 times
Ronnie
User avatar
Courtenay
Posts: 4396
Joined: Wed Nov 12, 2008 4:34 pm

RE: A Layman's Guide to Successfully Editing the MWiF Game File.

Post by Courtenay »

What will the gearing limits be for the next turn?

Somewhere there has to be some settings for the current gearing limits. To find it, in this example, search for the one of the two strings: "2, 1, 1, 1, 5, 1, 4, 3, 1, 1, 1" or "1, 0, 0, 0, 4, 0, 3, 2, 0, 0, 0"; the game might save the limits as either how many were built last turn, or how many can be built this turn.

If you could change those values, it would be a lot less work.
I thought I knew how to play this game....
sfreudig
Posts: 6
Joined: Sun May 21, 2017 6:05 am

RE: A Layman's Guide to Successfully Editing the MWiF Game File.

Post by sfreudig »

Ronnie, thank's a lot for the tip !

Courtnay, "To find it, in this example, search for the one of the two strings: "2, 1, 1, 1, 5, 1, 4, 3, 1, 1, 1" or "1, 0, 0, 0, 4, 0, 3, 2, 0, 0, 0";" : Yes i do it (too quickly maybe...), but coulnd't find any match in the file
User avatar
Courtenay
Posts: 4396
Joined: Wed Nov 12, 2008 4:34 pm

RE: A Layman's Guide to Successfully Editing the MWiF Game File.

Post by Courtenay »

Hmm. Interesting. Upon looking at a saved file, it looks like the gearing limits are not stored by Country/Unit Type, but by Unit Type/Country, which strikes me as perverse. I think, but am not sure, that they are the numbers after "ProductionForm". I am not certain about that; I can't figure out what all the minus ones are if that is the case. I am not going to spend any more time on this right now, but that is the first place I would look.
I thought I knew how to play this game....
Divadov
Posts: 100
Joined: Wed Mar 27, 2019 5:21 pm
Location: Barcelona

RE: A Layman's Guide to Successfully Editing the MWiF Game File.

Post by Divadov »

Awesome Ronnie!!!

Thanks to you I can continue my blocked game.
User avatar
rkr1958
Posts: 29943
Joined: Thu May 21, 2009 10:23 am

RE: A Layman's Guide to Successfully Editing the MWiF Game File.

Post by rkr1958 »

ORIGINAL: Divadov

Awesome Ronnie!!!

Thanks to you I can continue my blocked game.
Good deal! Glad you found it useful. As you learn the game please feel free to contribute to this thread. I've always intended this to be a "community" project to build the knowledge and, maybe eventually the tools, to edit the game file.
Ronnie
Divadov
Posts: 100
Joined: Wed Mar 27, 2019 5:21 pm
Location: Barcelona

RE: A Layman's Guide to Successfully Editing the MWiF Game File.

Post by Divadov »

Hi Ronnie,

I have a ship damaged that I want to undamage, do you know how change this state?


Thanks
User avatar
rkr1958
Posts: 29943
Joined: Thu May 21, 2009 10:23 am

RE: A Layman's Guide to Successfully Editing the MWiF Game File.

Post by rkr1958 »

ORIGINAL: Divadov

Hi Ronnie,

I have a ship damaged that I want to undamage, do you know how change this state?


Thanks
I don't, but I'll take a look. Can't promise anything, so if it's critical to move on don't wait on me.
Ronnie
TrogusP96
Posts: 163
Joined: Mon Jun 15, 2015 8:30 pm

RE: A Layman's Guide to Successfully Editing the MWiF Game File.

Post by TrogusP96 »

Do you know how to lower div costs?
User avatar
rkr1958
Posts: 29943
Joined: Thu May 21, 2009 10:23 am

RE: A Layman's Guide to Successfully Editing the MWiF Game File.

Post by rkr1958 »

ORIGINAL: TrogusP96

Do you know how to lower div costs?
Sorry ... don't. [:(]
Ronnie
Divadov
Posts: 100
Joined: Wed Mar 27, 2019 5:21 pm
Location: Barcelona

RE: A Layman's Guide to Successfully Editing the MWiF Game File.

Post by Divadov »

I have found how to change the turn that reinforcements arrives to resolve the bug that you can't put it in a full city.

III SS Arm,178,22,1944
0
100,2275,,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[4] > [0 to 5] 0=Jan/Feb 1=Mar/Apr...
Historical text
22811,22806,0,2931,1023,65535,0,30764,0,0,12,0,224,0,0,0
User avatar
rkr1958
Posts: 29943
Joined: Thu May 21, 2009 10:23 am

RE: A Layman's Guide to Successfully Editing the MWiF Game File.

Post by rkr1958 »

ORIGINAL: Divadov

I have found how to change the turn that reinforcements arrives to resolve the bug that you can't put it in a full city.

III SS Arm,178,22,1944
0
100,2275,,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[4] > [0 to 5] 0=Jan/Feb 1=Mar/Apr...
Historical text
22811,22806,0,2931,1023,65535,0,30764,0,0,12,0,224,0,0,0
Excellent!
Ronnie
Divadov
Posts: 100
Joined: Wed Mar 27, 2019 5:21 pm
Location: Barcelona

RE: A Layman's Guide to Successfully Editing the MWiF Game File.

Post by Divadov »

I have a problem with 2CVP in Malta that I can't move; could you help me?

32960,1536,1124,60084,0,0,0,0
Albacore,76,55,1941
96,648,,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
.T The Fairey Albacore was a three-seat reconnaissance-torpedo-bomber biplane that entered service with the British Royal Navy in March 1940. Intended as a replacement for the Swordfish, the Albacore was not much of an improvement and was easily outclassed by both Allied and Axis rivals. The Albacore served in Europe and the Mediterranean aboard Commonwealth carriers, but never gained the fame of its predecessor. .H .B The Albacore's 1,130hp (843kW) engine gave it a max speed of 161mph (259kph). .B The aircraft carried a torpedo or up to 2,000lbs (907kg) of bombs and mines. .B Armament consisted of one wing-mounted .303 inch (7.7mm) machinegun, and .B One flex-mounted .303 inch (7.7mm) machinegun for the rear gunner.
9753,42551,0,649,1023,65535,0,38951,0,0,0,0,224,0,0,3151
-1,UndoData

32960,2048,8836,60597,0,0,0,0
Fulmar,76,55,1941
96,700,,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
.T The Fairey Fulmar Mk I was a two-seat carrier-based fighter that entered service with the British Royal Navy in May 1940. The Fulmar saw combat primarily in the Mediterranean theatre but also saw action in the Indian Ocean and off of Norway. By early 1943 the Fulmar was being replaced as a frontline fighter by both the Seafire and Corsair and relegated to long-range reconnaissance and night-fighter duties for the duration of the war. .H .B The Mk I's 1,080hp (805kW) engine gave it a max speed of 256mph (412kph). .B The Fulmar could carry a pair of 250lb (113kG) bombs. .B Armament consisted of eight wing-mounted .303 inch (7.7mm) machineguns, and .B One flex-mounted .303 inch (7.7mm) machinegun for the rear gunner.
9753,42551,0,701,1023,65535,0,38951,0,0,0,0,224,0,0,81
-1,UndoData




Image
Attachments
Malta.jpg
Malta.jpg (193.38 KiB) Viewed 687 times
User avatar
rkr1958
Posts: 29943
Joined: Thu May 21, 2009 10:23 am

RE: A Layman's Guide to Successfully Editing the MWiF Game File.

Post by rkr1958 »

ORIGINAL: Divadov

I have a problem with 2CVP in Malta that I can't move; could you help me?

32960,1536,1124,60084,0,0,0,0
Albacore,76,55,1941
96,648,,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
.T The Fairey Albacore was a three-seat reconnaissance-torpedo-bomber biplane that entered service with the British Royal Navy in March 1940. Intended as a replacement for the Swordfish, the Albacore was not much of an improvement and was easily outclassed by both Allied and Axis rivals. The Albacore served in Europe and the Mediterranean aboard Commonwealth carriers, but never gained the fame of its predecessor. .H .B The Albacore's 1,130hp (843kW) engine gave it a max speed of 161mph (259kph). .B The aircraft carried a torpedo or up to 2,000lbs (907kg) of bombs and mines. .B Armament consisted of one wing-mounted .303 inch (7.7mm) machinegun, and .B One flex-mounted .303 inch (7.7mm) machinegun for the rear gunner.
9753,42551,0,649,1023,65535,0,38951,0,0,0,0,224,0,0,3151
-1,UndoData

32960,2048,8836,60597,0,0,0,0
Fulmar,76,55,1941
96,700,,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
.T The Fairey Fulmar Mk I was a two-seat carrier-based fighter that entered service with the British Royal Navy in May 1940. The Fulmar saw combat primarily in the Mediterranean theatre but also saw action in the Indian Ocean and off of Norway. By early 1943 the Fulmar was being replaced as a frontline fighter by both the Seafire and Corsair and relegated to long-range reconnaissance and night-fighter duties for the duration of the war. .H .B The Mk I's 1,080hp (805kW) engine gave it a max speed of 256mph (412kph). .B The Fulmar could carry a pair of 250lb (113kG) bombs. .B Armament consisted of eight wing-mounted .303 inch (7.7mm) machineguns, and .B One flex-mounted .303 inch (7.7mm) machinegun for the rear gunner.
9753,42551,0,701,1023,65535,0,38951,0,0,0,0,224,0,0,81
-1,UndoData




Image
CVP's have to be on a CV in order to move during a naval air. Is that what you're trying to do; i.e., move the two CVP's in port at Malta during a naval air? If so, that's not a legal move.
Ronnie
User avatar
paulderynck
Posts: 8478
Joined: Sat Mar 24, 2007 5:27 pm
Location: Canada

RE: A Layman's Guide to Successfully Editing the MWiF Game File.

Post by paulderynck »

Originally you could fly CVP missions from land hexes but that was abused heavily, FREX the crappy old CW 3-range CVPs would get dropped off in Africa and react into sea zones to give a 4 surprise point advantage when the CPs there were attacked by subs. So the game had an errata that allowed CVPs on land allowed to only fly rebase missions.
Paul
User avatar
rkr1958
Posts: 29943
Joined: Thu May 21, 2009 10:23 am

RE: A Layman's Guide to Successfully Editing the MWiF Game File.

Post by rkr1958 »

ORIGINAL: paulderynck

Originally you could fly CVP missions from land hexes but that was abused heavily, FREX the crappy old CW 3-range CVPs would get dropped off in Africa and react into sea zones to give a 4 surprise point advantage when the CPs there were attacked by subs. So the game had an errata that allowed CVPs on land allowed to only fly rebase missions.
Interesting. That makes sense.
Ronnie
markb50k
Posts: 1224
Joined: Thu Jul 01, 2004 1:26 pm
Location: Spring, TX

RE: A Layman's Guide to Successfully Editing the MWiF Game File.

Post by markb50k »

From reading the tech support and AAR sections, I see there is still quite a need for help and tips on editing save games.

I have been safely and successfully editing my personal game for years so if you have specific things you’d like to learn about please ask here and I’ll answer them best to my knowledge.

Thanks
ssiviour
Posts: 773
Joined: Fri Aug 08, 2014 7:14 pm
Location: Australia

RE: A Layman's Guide to Successfully Editing the MWiF Game File.

Post by ssiviour »

I have read somewhere in the forums how to change a saved game from Netplay to Solo.

I haven't been able to find that thread again, but is anyone able to point me in the right direction?

Vaguely, from memory, it is one digit somewhere in the beginning lines of the Gam file.
User avatar
AxelNL
Posts: 2389
Joined: Sat Sep 24, 2011 12:43 pm
Location: The Netherlands

RE: A Layman's Guide to Successfully Editing the MWiF Game File.

Post by AxelNL »

ORIGINAL: ssiviour

I have read somewhere in the forums how to change a saved game from Netplay to Solo.

I haven't been able to find that thread again, but is anyone able to point me in the right direction?

Vaguely, from memory, it is one digit somewhere in the beginning lines of the Gam file.

Change the 2 into a 1 on the last position of the first line
Post Reply

Return to “Mods and Scenarios”