MusX
Prince
- Joined
- Apr 17, 2006
- Messages
- 400
first of all, this thread is only the findings taken from I Fixed The Maf Error... Here Is How!! thread posted by Slyflyer (there is also fix for MS Vista).
all credits goes there!
this method is only for WinXP Pro and it won't work for WinXP Home
so let's go
1. edit your game exe file (civ4warlords.exe), if you play mods that contain any new exe's you might need to edit them too. don't forget to make backups!
2. edit your boot.ini so your WinXP can handle >2gb.
how to safe edit boot.ini?
There below is my boot.ini file. The pivotal thing in it is the /3GB parameter at the end of OS line!
DON'T COPY AND PASTE WHOLE CODE cause your system may not boot next time
To fix MAF you must play on WinXP which has this parameter.
For your safety you can add second WinXP with this parameter and leave old XP config unchanged. simkodavid has done a fine post about it:
3. reboot your computer. there should be no more MAFs
don't know if my virtual memory configuration has any influence MAFs, anyway I will write them together with my ram specification:
2gb physical memory
4096-4096mb virtual memory
where to change virtual memory?
and don't forget to reboot you computer before reporting problem, also you might read Slyflyer's topic for more info.
hope you'll get it and enjoy giant maps
update:
- this fix is not working for WinXP Home Edition, it's for WinXP Pro
- some users notice there are another command (/userva) needed to fix MAF, it's useless for me but maybe you'll need it
all credits goes there!
this method is only for WinXP Pro and it won't work for WinXP Home
so let's go

1. edit your game exe file (civ4warlords.exe), if you play mods that contain any new exe's you might need to edit them too. don't forget to make backups!
Slyflyer said:- First download the explorer from http://www.ntcore.com/exsuite.php
- Next make a copy of Civ4Warlords.exe. Than start "CFF Explorer" and open the orginal Civ4Warlords.exe file.
- Now go to NT Header/File Header and click File Header. There you will find a button labeld "click here". Click it. And select the checkbox "App can handle> 2gb adressest "
- Save the modified EXE, overwrite the orginal one.
2. edit your boot.ini so your WinXP can handle >2gb.
how to safe edit boot.ini?
Spoiler :
click on the links to see images illustrative each action
simkodavid said:Right-click on "My Computer" and choose "Properties" from the context menu. The System Properties dialog box will open click the Advanced tab.
In the section "Startup and Recovery" click the button "Settings", as shown below
View attachment 153766
In the SystemStartup area, click Edit.
View attachment 153767
Boot.ini file in opens in Notepad
View attachment 153768
There below is my boot.ini file. The pivotal thing in it is the /3GB parameter at the end of OS line!
DON'T COPY AND PASTE WHOLE CODE cause your system may not boot next time

Code:
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect /3GB
For your safety you can add second WinXP with this parameter and leave old XP config unchanged. simkodavid has done a fine post about it:
simkodavid said:"Please be aware that the 3GB switch will only improve stability on systems with 2 or more GB of RAM, to safely add the 3GB switch we recommend adding a second instance of the OS in the boot.ini, and add the /3GB switch to that second version.
----- default boot.ini without 3GB Switch -----
This is what a default boot.ini file will look like. (This may differ from system to system.)
Code:[boot loader] timeout=30 default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS [operating systems] multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Pro"
----- updated boot.ini with 3GB Switch -----
This is what the updated version should look like. Notice the /3GB that has been added to the second instance of the OS line.
Code:[boot loader] timeout=30 default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS [operating systems] multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Pro" multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Pro with /3GB" /3GB
When your system reboots you will be given the option to choose either the standard Windows XP version or the 3GB switch enabled Windows XP version.
3. reboot your computer. there should be no more MAFs
don't know if my virtual memory configuration has any influence MAFs, anyway I will write them together with my ram specification:
2gb physical memory
4096-4096mb virtual memory
where to change virtual memory?
Spoiler :
My computer -> properties -> advanced -> performance -> settings -> advanced -> virtual memory
and don't forget to reboot you computer before reporting problem, also you might read Slyflyer's topic for more info.
hope you'll get it and enjoy giant maps

update:
- this fix is not working for WinXP Home Edition, it's for WinXP Pro
- some users notice there are another command (/userva) needed to fix MAF, it's useless for me but maybe you'll need it