Page 1 of 1

F1 2015 .erp Editor / Decrypter / Encrypter

Posted: Mon Jul 13, 2015 5:48 pm
by Sethioz
F1 2015 just came out few days ago and seems like they have changed their encryption since previous versions. it was possible to use the CTF EGO editor, but now they no longer use .ctf files. I guess it has something to do with the trainers I made.

Luigi Auriemma wrote a QuickBMS script to decrypt the .erp files so you can read them.

You can grab the script here:
http://aluigi.altervista.org/papers/bms ... 15_erp.bms

and you can grab the required QuickBMS here:
http://aluigi.altervista.org/quickbms.htm

Usage:
double click on QuickBMS.exe
Select the script
select input file
select output folder

It works on every .erp file, which is pretty much the entire game.

This can also be used to make handling editor for F1 2015, i needed it to be able to write some trainers, so that i don't have to spend ages to search things, now it's easy, so trainers are inbound :)

Special thanks to Luigi for fast response and script.

Re: F1 2015 .erp Editor / Decrypter / Encrypter

Posted: Wed Jul 15, 2015 6:10 am
by NEPH_X
Just a quick question, I have managed to extract the .erp files and edit them, but am having trouble re-injecting them back into the game as encrypted .erp files after they have been modded. For instance you said you were modifying the handling files which decrypt into .vtf files of a different size to the original .erp How exactly do you encrypt the .vtf file back into the game. The game just crashes for me if i use the QuickBMS reimporting tool after I've modded a file. Would be nice if you could share your process of reimporting the modded files back into the game.

Re: F1 2015 .erp Editor / Decrypter / Encrypter

Posted: Thu Jul 16, 2015 12:12 am
by Sethioz
for reimporting the files back you can use reimport.bat
there are some limitations for the reimporting
for example the new file must have a size <= than the original
This is what Luigi told me, but I never put them back in game. You would not be able to play online anyways. I used memory editor to edit the values, I just needed the file as template. That's the method i use in most games. I just find ONE stat out of the entire file and based on that, i can easily find anything else without the need to search > scan > scan > scan ...etc in memory tools.

Re: F1 2015 .erp Editor / Decrypter / Encrypter

Posted: Mon Oct 19, 2015 8:09 pm
by spoodge
NEPH_X wrote:Just a quick question, I have managed to extract the .erp files and edit them, but am having trouble re-injecting them back into the game as encrypted .erp files after they have been modded. For instance you said you were modifying the handling files which decrypt into .vtf files of a different size to the original .erp How exactly do you encrypt the .vtf file back into the game. The game just crashes for me if i use the QuickBMS reimporting tool after I've modded a file. Would be nice if you could share your process of reimporting the modded files back into the game.
To what extent have you managed to "edit" them ? I just get a bunch of a.idf_lod=2&vb=0 files. Is there another step to get these to meshes and textures ?

thx

Re: F1 2015 .erp Editor / Decrypter / Encrypter

Posted: Tue Oct 20, 2015 4:01 am
by Sethioz
I didn't get any of that, for me, it just removes the .erp ending and leaves the file with normal extensions, such as .png .vtf .tiff ...etc.

I can read the files just "fine", this is how handling file looks like:

Code: Select all

SplineElement x 2100 y 0         SplineElement x 2170 y 0         '    SuperRevsPowerSpline numVertices 1 (    SplineElement x 0.000000 y 0.000000             Mass value 95.000000         Inertia value 0.042     $    CoefFrictionLinear value 0.0001     '    CoefFrictionQuadratic value 0.0001     #    CoefBrakingLinear value 0.0001     (    CoefBrakingQuadratic value 0.000010     %    MinIdleRateFactor value 0.900000     #    MaxLimiterRateFactor value 1.2     &    IdleRotationRate value 314.159271     )    LimiterRotationRate value 1455.60461     "    EngineLayout value RearInline     '    TempEfficiencySpline numVertices 4 (    SplineElement x 0.000000 y 1.000000     !    SplineElement x 399.9699 y 1         SplineElement x 420 y 0.97         SplineElement x 440 y 0.9         '    WearEfficiencySpline numVertices 3 (    SplineElement x 0.000000 y 1.000000     (    SplineElement x 0.000000 y 1.000000     (    SplineElement x 1.000000 y 0.900000

Re: F1 2015 .erp Editor / Decrypter / Encrypter

Posted: Tue Oct 20, 2015 7:31 am
by spoodge
Hmm, I've tried it a few times and all I get is garbled files, I'm trying to decrypt the Sochi track folder to get at the meshes and textures.
That's where i found out about this script, but the user who said it also said the script produced files you could not use, I don't know enough about code and syntax to work out what the problem is, guess I'll have to wait for 3dsimed support. ;)

Re: F1 2015 .erp Editor / Decrypter / Encrypter

Posted: Tue Oct 20, 2015 9:15 pm
by Sethioz
well i know nothing about textures, so can't help you there. when I helped Luigi test, he only made sure that all files decrypt properly, he's not a modeler either, so can't help you with textures.
I only needed the handling files, that's all.