Medal of Honor : Pacific Assault

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
CptAdHoc
Posts: 2
Joined: Tue Jun 09, 2020 10:42 am

Medal of Honor : Pacific Assault

Post by CptAdHoc »

Hi,

I don't know if it's the right topic for that but I'm looking for help about modify some informations in moh Pacific Assault. Indeed, I would like to change bots weapon. It's for inscrease realism in the game. For example : switch carbine M1 for springfield 1903.

There is someone who knows how to do ?

I unpacked the Pak1.rez file which is in the main folder. I did it with quickbms and mohpa script. After that, I tried to modify several models file (characters and weapons). But, each times, it's end with a crash :(

- When I changed weapons name in characters file (.hag file) -> characters disapear in the game
- When I changed weapons informations in weapons file (.hag file) -> weapons disapear in the game

I used reimport.bat and reimport2.bat. Repacking works but modifications don't work as explain as above.

Thanks for your help.
CptAdHoc
Posts: 2
Joined: Tue Jun 09, 2020 10:42 am

Re: Medal of Honor : Pacific Assault

Post by CptAdHoc »

I think I have found the right files. Both are in pak0.rez :

- weapon.scr (pak0.rez > global > weapon.scr)
- weapon_mapping.xml (pak0.rez > data > weapon_mapping.xml)

For information, I used mohpa.bms for unpacking and repacking with quickbms.

Unfortunatly, I tried to modify these two files but it didn't work. I had this message (attachments) with reimport.bat.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Medal of Honor : Pacific Assault

Post by aluigi »

I updated the script for removing the memory file that didn't allow to use reimport2.bat.
in theory reimport2.bat should work because I added the fake recompressor of mohrle and mohlzss some versions ago.
Obviously if now the game doesn't accept the edited archive, there is not much I can do.
http://aluigi.org/bms/mohpa.bms