flatz wrote:If you have worked with most files can you say which files are encrypted using this algorithm?
I'm grabbing all of my information that I'll attach to this posting from the specdb:
/specdb/GT6/DB0105.dat
EDIT2 This file is not really being used. I guess it is a leftover as PD have planned to carry over GT5 savegames but abandoned that idea due to heavy savegeame modding at some point
/EDIT2
/specdb/GT6/DB0106.dat
These files are encrypted by an algorithm that is not covered in your published source code. They are in fact sqlite3 databases as well.
I'm totally confident that you'll get the two way encryption algorithm of it down in minutes, no doubt.
But I'd like to ask you not to make it public.
Although it is quite funny to have the game running with a modded specdb (as I've called it) and every car's price is 1cr, it will somehow allow real bad modding as well. This file is being used by the game to determine "in game" limits for the cars. For example, the boundaries for a custom suspension. like, how low can you set your ridehight.
All of that stuff may be modded right at the source and the game won't even know about bad modding.
Although I don't play the game anymore for quite some time now, I'm reasonable enough to not let my knowledge about the crypt algo go into public and let other unreasonable people go wild on modded specdb's..
The interesting fact about the algo is, I've only seen it being used on the specdb.
It is a static substitution algorithm. It will work for GT5/Academy 2013 and GT6 without changing anything at all.
I haven't checked GT5 Prologue yet, but I guess the seed will also be the name of a desert. Kalahari, Cholistan, Piscinas.. I do see a pattern here
I couldn't get the Movie files you've mentioned to decrypt earlier. I haven't tried you new source on them yet.
EDIT3: I don't know what went wrong on my side, but I can't see any .pam file in the extracted GT5 folder.. I also don't have a /movies folder in it.. can you provide the file number for that specific movie .pam? I'm then able to extract it from the PDIPFS folder
/EDIT3
EDIT I had a glimpse at the new crypt algorithm. I don't think I have seen it before, so this might be the 6th crypt algo they are using.
1 and 2: for savegames (and I'm not interested in making them public either)
3 and 4: the two you are using in your tool, where I've seen the one that is being used on the header (0x00 from file gt.vol) only being used on the header
5: the specdb algo
6: the new algo
/EDIT
All other files (except for specdb and movies), should just decrypt fine with your tool.
I wouldn't say I've looked into everything yet, but I still remember the specdb and movies using another crypt besides the first layer (which is covered in your tool).
rex1825 wrote:...thanks
These are 3 cars I'd really like to have:
Lamborghini Miura P400
Toyota 2000GT
Honda S2000
if anyone else wanna add some to the list of 10 fell free
I've made up my mind about it. There's no harm in publically posting them..
I'm not an SQL expert, so bare with me
ModelCodes:
select GC.ModelCode,CNA.LabelID,CNA.Name from GENERIC_CAR as GC, CAR_NAME_ALPHABET as CNA where CNA.LabelID = GC.ID;
Courses:
select CRS.ModelName,CRS.label,CRS.NameEng from COURSE as CRS where CRS.PWY = 0 and CRS.Scenery = 0 and CRS.Rail = 0;
You'll have to add leading zeros to the ModelCode until you have 8 digits. For Example:
Code: Select all
RecNo | ModelCode | LabelID | Name
2 | 10002 | 30 | Mazda Atenza Concept '01
ModelCode will need further 3 leading zeros: 00010002
Split it after 4 digits, you'll then have the folder names for /car/:
0001
0002
Which makes in total: /car/0001/0002
and that's the folder for your modelcode..
Courses should just read fine..
Have Fun with it