MX vs ATV UNLEASHED: CRASH FIX 2018!? Read this to find out!

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
+COTAY
Posts: 20
Joined: Fri May 18, 2018 3:02 am

MX vs ATV UNLEASHED: CRASH FIX 2018!? Read this to find out!

Post by +COTAY »

Hi all,

I think I found a way to fix the M O T H E R F * C K I N G crash that many users have experienced since 2006 when playing this game on laptops with onboard graphic cards [like Intel GPUs] :D

>>>> NOTE: the following workaround was discovered today 1st of september 2018 around 2AM by me EL NEGRO ANTONIO [a.k.a The Black Anthony] after years and years of hard work and testing.. so if this sh*t works for you too, be polite and at least say thanks, comprende amig@? <<<<



OK, so these are the steps you should follow in order to enable the fix in your computer. In case you need help, reply to this post, ok?

STEPS:

[1] Get the awesome MULTI-EX COMMANDER game modding tool at: http://multiex.xentax.com/
... and donate if you consider MultiEX useful, ok?...

[2] In order to learn how to open\unpack\repack .PAK files, you should watch this video by one of the best modders this game ever had > FALLGUY 104: https://www.youtube.com/watch?v=0fU3HpptJjo
... and sub to his channel if you consider his help useful, ok?...

[3] Now that you know how to open, unpack (extract) and repack .PAK files, go to "C:\<GAME ROOT FOLDER>\MX vs. ATV Unleashed\data" and choose whatever race track you like [eg, the first motocross track named LAGO a.k.a. Nat05.pak] and extract all of its files to a folder in your desktop.
Tip: make a backup copy of the Nat05.PAK file in case something goes wrong ;)

[4] Navigate to your desktop-> locate the folder that contains the newly extracted files -> find the only file with .TOY extension in the folder [eg, C:\Users\<YOUR USERNAME>\Desktop\<FOLDER WITH EXTRACTED FILES>\Data\Env\Nat05\Nat05.TOY].
Tip: use the search bar to find such file ;)

[5] Open the .TOY file -> find this line: NumberOfSunFlares=1 and replace 1 with 0.

[6] Now find this other line: FlareAlpha= and replace whatever number you see after the = with 50.

[7] Now watch again the above video and repack all the files you unpacked in Step 3.

[8] Now paste your new Nat05.PAK file in "C:\<GAME ROOT FOLDER>\MX vs. ATV Unleashed\data" and replace the old Nat05.PAK

[9] Now run the game to see if this workaround works :)


Regards,
EL NEGRO ANTONIO QUE COME KONIOS
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: MX vs ATV UNLEASHED: CRASH FIX 2018!? Read this to find out!

Post by aluigi »

Are you sure that doesn't already exist a script for quickbms?

Code: Select all

quickbms.exe -f "{}Nat05.TOY" script.bms Nat05.PAK c:\output_folder
notepad c:\output_folder\Data\Env\Nat05\Nat05.TOY
quickbms.exe -r -w script.bms Nat05.PAK c:\output_folder

The reason why I suggest to NOT use multiex is because it's really very old (last real change was over 10 years ago), requires registration, requires online connection (???), requires installation (tons of ocx files in the system), it is (was?) commercial/shareware, and it's big with tons of files and dependencies...
If the files are not compressed it's even possible to use a hex editor.
+COTAY
Posts: 20
Joined: Fri May 18, 2018 3:02 am

Re: MX vs ATV UNLEASHED: CRASH FIX 2018!? Read this to find out!

Post by +COTAY »

aluigi wrote:Are you sure that doesn't already exist a script for quickbms?

Code: Select all

quickbms.exe -f "{}Nat05.TOY" script.bms Nat05.PAK c:\output_folder
notepad c:\output_folder\Data\Env\Nat05\Nat05.TOY
quickbms.exe -r -w script.bms Nat05.PAK c:\output_folder

The reason why I suggest to NOT use multiex is because it's really very old (last real change was over 10 years ago), requires registration, requires online connection (???), requires installation (tons of ocx files in the system), it is (was?) commercial/shareware, and it's big with tons of files and dependencies...
If the files are not compressed it's even possible to use a hex editor.

OK, I'll try your method ASAP :)

What you mean by saying?:
If the files are not compressed it's even possible to use a hex editor

Sorry, but I dont get it.. :?: Could you explain, please?
Thx
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: MX vs ATV UNLEASHED: CRASH FIX 2018!? Read this to find out!

Post by aluigi »

I mean that probably it's not even necessary to extract the file for editing it.
For example try to open that Nat05.pak file with a hex editor and search the string: NumberOfSunFlares=
If you find it then it means the files in the archive are not compressed.

Both if the files are compressed or not, you can make a binary patch that allows to fix the original pak archive without any need or an extractor and reimporter.
Some years ago I made a very simple binary patcher that is very trivial to use for the final user (just run lpatch.exe and press OK, yeah easy):
http://aluigi.altervista.org/mytoolz.htm#lpatch

How to create the patch file:

Code: Select all

mlpatch.exe original_Nat05.pak patched_Nat05.pak "MX vs ATV UNLEASHED: CRASH FIX"


Maybe that's helpful :)