It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
high rated
Hello guys.

First off credit for finding out why the npcs numbers come up and stops the issue should be directed to this forum post on this link, this Is a guide mainly for those who have issues with getting widescreen resolution issues for the expansions

http://forum.dosclan.org/viewtopic.php?f=14&t=80 - credit for NPC fix. Follow his guide first and if it doesn't work for you for the expansions come back here and go the paragraph that starts with "now the expansions are a bit more complicated"

I had a huge difficulty getting this games expansions to use widescreen because it kept resetting their own settings and would like to write a small guide on how these issues might be solved for others as they were solved for me.

First you need to install all 3 games before starting any of them. I myself am using the 10th aniversary edition but it should work all the same.

Ok lets first get the original game out of the way first. Boot up the game and setup all your settings without changing the resolution to your liking, this includes controls, sound and advanced options. Once you have done this close the game and go into Main/Config and you will find the config file unnamedsoldier.cfg. (for the expansion packs Mainta is Spearhead while Maintt is Breakthrough.)

You want to add these lines under the very last seta option at the bottom of your text editor just above the //
seta r_customwidth "1920" //set this variable to whatever you want the resolution to be.
seta r_customheight "1080" //set this variable to whatever you want the resolution to be.
seta r_mode "-1"
seta ui_console "1"
seta developer "0" //setting to 1 will cause number of npcs to display.

Once these settings have been added. Save the config close it and boot up medal of honor allied assault to see if the settings changed. An easy way to do this is to use Steam and add a steam shortcut and when the message that says "press shift tab top open the community screen appears" you can see if it has changed or not to your typical reslolution and is really handy. If for some reason this did not work, delete the config and try again but this time after setting up your settings START A NEW GAME! Once it has finished loading "in this case you should be in the back of the truck, quit the game and add those lines again (make sure there aren't any duplicates using the find option in your text editor (Ctrl+F by default)

If it worked congratulations! First step completed.

Now the expansions are a bit more complicated and it wasn't explained in the NPC fix from the other forum. it took me an hour just to get the resoluitions working properly. While the instructions are similar YOU MUST START A NEW GAME or the settings will always reset. So repeat the steps for Medal of Honor Allied assault start a new game then add the lines to the unnamed soldier.cfg in the main folders of the expansion packs. Do one expansion at a time and hopefully it should work for you guys.

Remember to have seta developer as 0 or you will get that annoying NPC numbers on the bottom left of your screen.
If you wish to change your FOV I think you might need to do it in the config because turning off developer i think turns off the ability to change the FOV.

Good luck and have fun!

EDIT 31/07/2021: So this is a long time edit coming!
I've finally decided to play this game again mainly because i wanted to stream it and i wanted to solve the FOV and NPC issue with the expansion packs and thanks to wide screen gaming forums it seems we can now have both :)
Pretty much the same steps above still apply but if you want to get rid of the annoying NPC counter that appears with seta developer "1" you can do this method. This does require editing a DLL file however with something like HxD and changing a few values however it is fairly easy.

Step 1: Go to the WSGF Medal of Honor page here. https://www.wsgf.org/dr/medal-honor-allied-assault-war-chest and go to the section where it says FOV HEX EDIT. YOU STILL NEED TO DO THE STEPS ABOVE FOR YOUR RESOLUTION SO DON'T FORGET TO DO SO

Notice under solutions & issues it still has some of the steps i have listed and under it the FOV INI edit in the config which does show the NPC counter in the expansions and the fact you still need to do it every mission the FOV command but we are going to ignore that part.

Step 2: Download Hxd, its free and you can download a portable exe or an installer version of it here
https://mh-nexus.de/en/downloads.php?product=HxD20
It does look a little daunting but I'm here to help make it easier :)

Step 3: Go to any of the main configs you wish to edit (Remember Main for the base game, MainTA for spearhead and MainTT for breakthrough), make a folder called gamex86.dll backup or whatever you wish to call the backup and copy the gamex86.dll file so we have a backup in case something does go wrong. PLEASE DONT SKIP THIS STEP GUYS OR YOU MAY NEED TO REINSTALL THE GAME!

Step 4: With HxD open up the gamex86.dll file and notice a lot of those numbers appear. On the WSGF page you will see that we need to edit 2 values, a Cutscene FOV and Game FOV. Instead of scrolling down to find those offsets (the numbers on the left) go to the search list on the top of HxD and click go to, then type in the offset you are searching for. In this example we will use allied assault so we will search for the offset 000A10A0 (just search the numbers and letters don't include offset in the search bar!) It will then take you to the offset you need to edit.

Step 5: WSGF shows you the values you need to edit, in this case we need to change 00 00 A0 42 to 00 00 B4 42 (if we are using 16:10) OR 00 00 BE 42 (if we are using 16:9) If you don't know just google search your resolution and aspect ratio. 1080P is 16:9 so we will use the latter one. All we need to do really is edit the value A0 into BE so click behind the A0 so the cursor is behind A0 and then type BE. Notice how it turns red to indicate what you have changed.

Step 6: Repeat steps 4-5 but this time with the Game FOV offset. You can use the go to search again to help and then replace it with what WSGF suggests which is again 00 00 A0 42 to 00 00 BE 42. Then click save.

Step 7: Boot up a New game and compare with an older screenshot or from memory (I don't think this game likes print screen much every time I tried it would just show the main menu as an example so i had to do it by memory) and find something on the weapon to compare it to. I used the M1 Garand to compare. If you have all the levels unlocked already a good level to check without wasting time on cutscenes is Mission 4 Behind Enemy Lines.

Step 8: Repeat for the expansion packs and you should be good to go! REMEMBER THAT THEY DO HAVE DIFFERENT VALUES SO CHECK THE WSGF PAGE You will have widescreen resolutions with an FOV fix without the annoying NPC counter or slow server message that sometimes appears!

A Very special thank you to Czarman on the WSGF discord who helped me with the Hex Edit.

Let me know if you guys would like me to do a video guide or screenshot if it will make it easier for you :)

NOTE WSGF does seem to have a downloadable attachment that has all these done with specific FOVs in mind in increments of 10 and are separated by base/expansion pack folders so if you just wish to use those you can. Just remember to have a backup of your original!

My testing was with the Origin war chest edition but it should work with GOG too.
Post edited August 01, 2021 by MajorFoley
avatar
MajorFoley: Remember to have seta developer as 0 or you will get that annoying NPC numbers on the bottom left of your screen.
If you wish to change your FOV I think you might need to do it in the config because turning off developer i think turns off the ability to change the FOV.

Good luck and have fun!
You cannot change the FOV in the config file; you can only do this in the game and only if you use

seta developer "1"

in the config file. So you either have to live with a wrong FOV or with those NPC numbers being displayed.
I can't get this to work for spearhead.
avatar
MajorFoley: Remember to have seta developer as 0 or you will get that annoying NPC numbers on the bottom left of your screen.
If you wish to change your FOV I think you might need to do it in the config because turning off developer i think turns off the ability to change the FOV.

Good luck and have fun!
avatar
shaboo_de: You cannot change the FOV in the config file; you can only do this in the game and only if you use

seta developer "1"

in the config file. So you either have to live with a wrong FOV or with those NPC numbers being displayed.
Right... Except i swear i noticed a change of FOV... might check it out again but either way i care about fixing the message than my FOV to be honest.
avatar
Magmarock: I can't get this to work for spearhead.
Can you tell me what you did?
Post edited December 19, 2016 by MajorFoley
avatar
MajorFoley: You want to add these lines under the very last seta option at the bottom of your text editor just above the //
seta r_customwidth "1920" //set this variable to whatever you want the resolution to be.
seta r_customheight "1080" //set this variable to whatever you want the resolution to be.
seta r_mode "-1"
seta ui_console "1"
seta developer "0" //setting to 1 will cause number of npcs to display.
I followed your instructions and it works great for the main game and the two extensions :)
Thank you !

Your post should be sticked on top of this forum ;)
I bought the game from GOG. Funny thing is SH and BT work fine. AA simply does not launch in full screen mode. I have tried almost everything. Including a MOH_REVIVALversion too. AA simply does not launch. I can hear music and the game stays minimized no matter what I do!
Your unnamedsoldier.cfg will look like this

seta r_mode "-1"
seta r_customheight "1080"
seta r_customwidth "1920"
seta ui_console "1"
seta developer "1"

r_mode need write before your own resolution.
Also if this not work at first game start you can write in properties of game shortcut in the end this

"+set developer 1 +set thereisnomonkey 1 +set cheats 1 +set ui_console 1"
Without this "
If you see a NPC thing delete everything but write +set cl_playintro 0.This will skip intro
Oh and ofc bcs you delete this you can't use a cheats and fov setting but you can add in unnamedsoldier.cfg a - seta "fov" 106 (106 it's a fov for 1920x1080 resolution) also make file read only or your fov gonna disable to normal (80) after restart.game If this nor working you can add at game shortcut properties - set "fov" 106 .
This will gonna look l ike this "D:\Medal of Honor Allied Assault\moh_Breakthrough.exe" set "fov" 106

Mainta folder for Medal of Honor Allied Assault - Spearhead
Maintt folder for Medal of Honor Allied Assault - Breakthrough
Post edited January 05, 2021 by links1993
Thank you for the great tutorial. It was a big help.
Hi guys I have finally updated this post once again!. If you've already done the old fixes and mostly have worked for you you can skip to where I have written EDIT 31/07/2021 for the FOV fixes without the annoying NPC counter! If you guys have any trouble I can make a video guide if you like too.
avatar
MajorFoley: Hi guys I have finally updated this post once again!. If you've already done the old fixes and mostly have worked for you you can skip to where I have written EDIT 31/07/2021 for the FOV fixes without the annoying NPC counter! If you guys have any trouble I can make a video guide if you like too.
Thank you so much for this. I sometimes see review videos showing this high res wide screen MoH and everytime I contact the person they never reply.

You are doing God's work amigo! Lets show those bastards what the USA can do! Give em hell sargeant!
Post edited August 12, 2021 by Rags99
Thanks @MajorFoley!

The Lutris installation script appears broken as the fonts are missing, a search turned up this topic, much appreciated!
Why is it not patched to work out the gate buying this from GOG? I buy stuff here so I don't have to use DOSBox and configure games myself to work.
Thank you very much for this, I can finally play the expansions again after all these years!
Hey MajorFoley I Am Not Able To Get Configs Folder With unarmedsoldier.cfg And newconfig.cfg In mainta And maintt Folders Is There A Way To Get This Working I Tried Running Medal Of Honor Allied Assault Spearhead/Breakthrough And Tried Starting The First Mission And I Checked The Folder It Did Not Work Is There A Way To Get This Working Just Like You None Of This Is Helping
avatar
ramkal66: Hey MajorFoley I Am Not Able To Get Configs Folder With unarmedsoldier.cfg And newconfig.cfg In mainta And maintt Folders Is There A Way To Get This Working I Tried Running Medal Of Honor Allied Assault Spearhead/Breakthrough And Tried Starting The First Mission And I Checked The Folder It Did Not Work Is There A Way To Get This Working Just Like You None Of This Is Helping
I just went back and tried to play this game again (Windows 11) as it was my favorite shooter back in college. Turns out that it can't create the unnamedsoldier.cfg (and probably can't change newconfig.cfg) because the entire "Program Files" folder needs admin rights to write to it and you no longer (by default) launch things with those kind of rights (been that way for a few OSes by now). I have the old hardcopies but I also have a copy via EA Play and it didn't launch the game at all (I'm launching straight from the mohaa.exe but it still requires to auth to EA Play app before running) if I ran it in XP compat mode. So the solution for me was to go to the MOH warchest folder and give my user account full rights to the folder and subfolders. Not sure if this helps or not but figured I should share in case it helps someone/anyone. you can run Systernals Process Monitor (procmon) and filter for filename "unknownsoldier.cfg" to see when the game tries to write the file and what kind of errors it gets if you still have issues with it creating those configs.