need for speed SHIFT 2 and 3 (pCars) MRDF

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Manoa
Posts: 15
Joined: Sun Sep 09, 2018 1:16 pm

need for speed SHIFT 2 and 3 (pCars) MRDF

Post by Manoa »

need for speed SHIFT 2 and project CARS are unpackable but after unpacking some specific files that are essential for the modification of the AI and physics remain coded, the files are supposed to be XML but are coded as MRDF, the good news is that nfs SHIFT 1 doesn't use the coding and provides normal XML files after simply unpacking.

http://manoa.dream.org.il/logs/drivers.mrdf - SHIFT 2 MRDF
http://manoa.dream.org.il/logs/drivers.xml - SHIFT 1 XML (approximation of how it should look like in case it can help)

thanks :)
LokiReborn
Posts: 190
Joined: Fri Aug 26, 2016 3:11 pm

Re: need for speed SHIFT 2 and 3 (pCars) MRDF

Post by LokiReborn »

Manoa wrote:need for speed SHIFT 2 and project CARS are unpackable but after unpacking some specific files that are essential for the modification of the AI and physics remain coded, the files are supposed to be XML but are coded as MRDF, the good news is that nfs SHIFT 1 doesn't use the coding and provides normal XML files after simply unpacking.

http://manoa.dream.org.il/logs/drivers.mrdf - SHIFT 2 MRDF
http://manoa.dream.org.il/logs/drivers.xml - SHIFT 1 XML (approximation of how it should look like in case it can help)

thanks :)


So the only text this file has is the driver names, all of the attribute names have been removed as they weren't needed. The number of attributes are the same so you could assume they're in the same order though you'd really need to look at the game itself to be sure. What is it you're trying to use from the file? Since the file is just data blocks the end goal would be helpful to understand.
Manoa
Posts: 15
Joined: Sun Sep 09, 2018 1:16 pm

Re: need for speed SHIFT 2 and 3 (pCars) MRDF

Post by Manoa »

I wanne modify the values for the parameters "Defending" and "Aggression", set them to 0 or 0.1 to remove the stupidity of AI behavior
LokiReborn
Posts: 190
Joined: Fri Aug 26, 2016 3:11 pm

Re: need for speed SHIFT 2 and 3 (pCars) MRDF

Post by LokiReborn »

Manoa wrote:I wanne modify the values for the parameters "Defending" and "Aggression", set them to 0 or 0.1 to remove the stupidity of AI behavior


Ya there aren't even the same number of attributes I forgot to include name, are these values shown in game at all? I can make something that just labels them unk1 unk2 ... unk22 but as I don't have the game I don't really have anything to go off of.

Assuming I did this right (half guessing due to just looking at values it should be something like this for the data)

Also attached a copy if the orders was assumed to be the same with a new one at the end.
Manoa
Posts: 15
Joined: Sun Sep 09, 2018 1:16 pm

Re: need for speed SHIFT 2 and 3 (pCars) MRDF

Post by Manoa »

no the game never show any of them, the parameters are used internally by the engine for determine the behavior of the AI
the files can't be run directly by the game uncoded, the modifications have to be recoded back into MRDF :x - hold on I am still testing this
as for the names of the drivers: I think they are generated automatically for each race and the engine assigns a "performer" out of that list to the drivers in the game
the "performer" name is never shown inside the game

ok for some reason whenever the file is modified whether in xml version renamed to MRDF or as is all the AI drivers become bugged and stuck at start line :x