Disney Infinity 3.0

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Doctor Loboto
Posts: 376
Joined: Sun May 31, 2015 2:23 am

Re: Disney Infinity 3.0

Post by Doctor Loboto »

Hey, out of curiosity, is there any chance this file can be used to find the proper textures for the models or something? The problem is none of the textures in the massive archives are named or otherwise designated to specific models...so there must be some way to identify them...

https://www.dropbox.com/s/oqbut17wx8uuet9/tcw_generalgrievous.mtb?dl=0
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Disney Infinity 3.0

Post by aluigi »

Ok, only the files with DCT extension are not encrypted.
All the others have their first 0x200 bytes encrypted.
It means that the 99.9% of the files we extracted are perfect and only those few language files aren't (quite important to know considering the over 12gb of these archives and the slowness of the extraction).
Script update to 0.2.2

Just for curiosity, why nobody else except TRDaz noticed this problem?
TRDaz
Posts: 42
Joined: Fri Nov 06, 2015 1:54 pm

Re: Disney Infinity 3.0

Post by TRDaz »

Oh I see, thank you! Thanks for the update too.

@Doctor Loboto, I was wondering the same actually, the textures are rather hard to find as there are thousands of texture files within the extracted files.
Doctor Loboto
Posts: 376
Joined: Sun May 31, 2015 2:23 am

Re: Disney Infinity 3.0

Post by Doctor Loboto »

Speaking of textures, aluigi, would you mind having a look at the ones I posted in the respective topic? The PC versions are different from the tablet version, but from the looks of things and judging by past games, the PC versions would be higher resolution.

https://www.dropbox.com/s/501p7vaccho2q1m/Textures.zip?dl=0

The tablet versions are just renamed '.PVR' files, a semi-common mobile format.
TRDaz
Posts: 42
Joined: Fri Nov 06, 2015 1:54 pm

Re: Disney Infinity 3.0

Post by TRDaz »

They have dds headers, rename them to dds and they work fine.
Doctor Loboto
Posts: 376
Joined: Sun May 31, 2015 2:23 am

Re: Disney Infinity 3.0

Post by Doctor Loboto »

You sure? The ones I posted don't seem to have a header at all...I tried renaming them to dds and nothing can seem to open them.
TRDaz
Posts: 42
Joined: Fri Nov 06, 2015 1:54 pm

Re: Disney Infinity 3.0

Post by TRDaz »

Mhm.. weird, every tbody file I have has a dds header and opens fine when I change them to .dds. Actually, I checked the textures you have there, and I have the same textures BUT with a dds header and they work fine when changing them to .dds... how strange.

Speaking of textures, I seem to be missing many character textures even though I extracted with the original bms script, and the updated one. I searched through all of the files and can only find a few character textures. I'm really confused why they aren't there...
Doctor Loboto
Posts: 376
Joined: Sun May 31, 2015 2:23 am

Re: Disney Infinity 3.0

Post by Doctor Loboto »

Problem with this format is the files are only loaded onto your computer as they're encountered/purchased. If you want a specific character model you either have to purchase said character or encounter them otherwise in-game for them to show up in the filesystem. Fortunately there exists a "Full DLC" mod elsewhere that I can't link to for obvious reasons. The textures themselves are really weirdly organized anyway...
TRDaz
Posts: 42
Joined: Fri Nov 06, 2015 1:54 pm

Re: Disney Infinity 3.0

Post by TRDaz »

I don't think that's the case with the Steam version. The Steam version is 12gb whereas the version from the Disney Infinity website is 3gb. The character models are all there, just no textures for them.
Doctor Loboto
Posts: 376
Joined: Sun May 31, 2015 2:23 am

Re: Disney Infinity 3.0

Post by Doctor Loboto »

Oh, yeah it's only the website version that is like that. I think the entirety of Disney Infinity 3.0, with all files included, amounts to around 13.8 GB total.

Also my issue with the textures has been resolved. They are almost entirely just renamed DDS files like you said. The ones I got for the first preview folder were apparently incomplete due to an issue with my download method. Anyway, I'll be browsing through them (all 33,182 of them) for the next couple days to find my specifics.

(Spoilers: The Emperor IS in 3.0, only not implemented yet. His textures, concept art, and model I believe are still in the game files.)
TRDaz
Posts: 42
Joined: Fri Nov 06, 2015 1:54 pm

Re: Disney Infinity 3.0

Post by TRDaz »

33k? I got 18,000 or so from my Steam version... maybe that's why I'm missing many character's textures..

That model is probably from the Rise Against the Empire playset.
Jimbo13
Posts: 1
Joined: Tue Mar 01, 2016 6:55 pm

Re: Disney Infinity 3.0

Post by Jimbo13 »

aluigi wrote:Reimporting the files extracted from the PK archives it's not possible.

aluigi wrote:Just fixed in script 0.2.1.
The reason was simply the usage of lzma to compress the files instead of deflate, copy&paste from zip.bms did the job :D


Sorry I am a noob are these in reference to each other, meaning I can load edited textures?

Thanks for the script, extract successful.

I am not much for the modeling scene but I do enjoy texture editing and would like to share my edits if it's possible with this game once(if) I get them working. I'm really tearing in to this game and been cataloging what textures are what ( I have 90% of the character textures ID'd) , I've done successful texture edits (working in game) in 2.0 and hope to do so in 3.0 and I been ripping in Ninjaripper to.

As I said I am a noob but if anything I'm doing here is useful to the community I am happy to post it.
eriger777
Posts: 13
Joined: Thu May 14, 2015 8:09 pm

Re: Disney Infinity 3.0

Post by eriger777 »

aluigi wrote:Here we go :D
http://aluigi.org/bms/disney_infinity.bms

From the notes in the script:
# Notes:
# Many files from the ZIP archives (PK\xff\xff -> PK\x03\x04) can't be
# decompressed correctly. This limitation may be fixed later with a new
# verison of the script. All the other files are perfect.
#
# The kb2 files are Bink videos.



Anyway we can get some file names on there? It would help with finding things like saber sound FX etc
Seven
Posts: 3
Joined: Fri Jul 15, 2016 6:14 pm

Re: Disney Infinity 3.0

Post by Seven »

I extracted everything and there is a lot of audio files, but they all just come out as static and the only way to open them is with a raw import in audacity. Does anyone know how to get the voice files?
spider91
Posts: 233
Joined: Sun Aug 24, 2014 5:26 pm

Re: Disney Infinity 3.0

Post by spider91 »

aluigi, what are this files? Doesn't seems to be something something that unpacks correctly with you script.

http://www34.zippyshare.com/v/0yib7NTk/file.html
Acewell
Posts: 706
Joined: Fri Aug 08, 2014 1:06 am

Re: Disney Infinity 3.0

Post by Acewell »

the DisneyInfinity3.exe says
"Encryption/RC4/RC4Encryption.cpp"
and
"Encryption/Twofish/TwofishEncryption.cpp"

theres another thread here about this encrypted files
viewtopic.php?f=9&t=3566
TKFRvision
Posts: 4
Joined: Wed Mar 09, 2022 5:46 pm

Re: Disney Infinity 3.0

Post by TKFRvision »

Can you please tell me what this name crc is and how to calculate it. I tried crc32. It didn't work.
cic
Posts: 45
Joined: Fri Jan 07, 2022 7:44 pm

Re: Disney Infinity 3.0

Post by cic »

TKFRvision wrote:Can you please tell me what this name crc is and how to calculate it. I tried crc32. It didn't work.

What CRC?
TKFRvision
Posts: 4
Joined: Wed Mar 09, 2022 5:46 pm

Re: Disney Infinity 3.0

Post by TKFRvision »

As a a little bit of context: I work on a script to repack the encrypted zips. It is nearly working just the name crc value idk how to calculate. I checked with a valid zip and I never get that value. It is located in the custom header. As a base for this I used the disney_infinity.bms script. Line 25-29
"
for i = 0 < FILES
get NAME_CRC long MEMORY_FILE
get OFFSET long MEMORY_FILE
callfunction UNZIP 1
next i
"

My script: https://github.com/TKFRvisionOfficial/C ... justwhy.py

Thanks
TKFRvision
Posts: 4
Joined: Wed Mar 09, 2022 5:46 pm

Re: Disney Infinity 3.0

Post by TKFRvision »

It's murmurhash. My script is only kinda working right now but will fix when I have the time.