Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

Disney Infinity 3.0

Featured Replies

  • Author
  • Localization

Doctor Loboto, posted Thu Oct 29, 2015 11:23 pm (9093)


Well this game was just released for the PC and I was excited to have a look at the filesystem and try for models and textures...boy was I surprised...and disappointed. It's nothing like the first two, and there's no real way for me to figure out just what is what, and how to extract it. Folders upon folders of files without extensions. I was hoping someone could shed some light on this situation for me, so I can get the models of Grievous, Ultron...and maybe Vader and Sidious if he's in it...
Here's one folder with many folders within.
https://www.dropbox.com/s/b8rhjt0lgnf10cs/3f594f4f.zip?dl=0
  • Author
  • Localization

aluigi, posted Sat Oct 31, 2015 8:54 pm (9136)


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

From the notes in the script:
Quote:
# 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.
  • Author
  • Localization

Doctor Loboto, posted Sat Oct 31, 2015 10:52 pm (9140)


Is there any way we can get it to ignore those 'broken' files when doing a mass extraction?
  • Author
  • Localization

aluigi, posted Sat Oct 31, 2015 11:15 pm (9142)


Unfortunately I found no way.
I guess it's something related to what parts of the archive can be decrypted or not because many dds are partially valid like 9653cf49\assertscreen_0.tbuf.
It looks like it needs more work.

Anyway the other files and archives (like DBNK and bink videos) are all ok so I suspect that it's something specific of these PK archives.

In the meantime I have updated the script for removing the usage of arrays when handling the PK archives for being faster.
  • Author
  • Localization

Panzerdroid, posted Sun Nov 01, 2015 12:39 am (9144)


Luigi, could you please make a separate BMS script for just decryption/encryption of ZIP files?

Thanks in advance.
  • Author
  • Localization

aluigi, posted Sun Nov 01, 2015 10:15 am (9156)


That's not possible because it's not an unique normal ZIP archive, it's like a sequence of multiple 1-file only ZIP archives.

Technically:
read 8 bytes: PK ff ff FILES
read 8 * FILES
(reset encryption)
go to each offset and read 0x1e (PK 03 04), name and data.
  • Author
  • Localization

aluigi, posted Sun Nov 01, 2015 10:58 pm (9197)


Ah in case you ask, yes the files of 0 bytes are really 0 bytes (method 8, comp_size 2, uncomp_size 0).
You should launch quickbms with the -D option selecting the whole folder for extracting ALL the archives.
Over 12 Gb of compressed archives is really huge.
  • Author
  • Localization

aluigi, posted Sun Nov 01, 2015 11:16 pm (9199)


If someone is interested to know where the AES key comes from:
Code:
    unsigned char   key_original[16] = "\xEA\x94\x1B\xF9\x99\x01\xA5\x63\x51\xBE\xB7\x68\x88\x14\x16\x04",
                    key[16];
    int     i, x = 0;
    for(i = -5; i < 0x6b; i = 7) {
        key[x ] = key_original[i & 0xf];
    }
  • Author
  • Localization

jmgg, posted Mon Nov 02, 2015 12:24 am (9203)


the script is powerful! it works perfectly!! Thanks aluigi!!!
using the Cra0kalo tool I tried several figures and are all broken

well! they are olaf and luke :shock:
someone got better results?
  • Author
  • Localization

Panzerdroid, posted Mon Nov 02, 2015 10:58 pm (9247)


I know the reimporting function is experimental, but unfortunately it doesn't work here :(

Still no way to export compressed chunks and then encrypt them back?
  • Author
  • Localization

aluigi, posted Tue Nov 03, 2015 9:26 am (9254)


Reimporting the files extracted from the PK archives it's not possible.
  • Author
  • Localization

Doctor Loboto, posted Wed Nov 04, 2015 3:56 am (9295)


Any chance for the textures?
  • Author
  • Localization

aluigi, posted Wed Nov 04, 2015 11:45 am (9304)


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
  • Author
  • Localization

TRDaz, posted Fri Nov 06, 2015 1:56 pm (9365)


The script works great, however I run into the point where the script stops and doesn't continue because of an error with a few files. I've seen that you said to use the -D command, but whenever i use the cmd with quickbms, quickbms says there is a wrong command-line argument when I write the name of the .bms file. I can't figure out why because everything is correct. Any help would be appreciated, I believe I'm missing some textures because of the error popping up before it finishes extracting.
  • Author
  • Localization

aluigi, posted Fri Nov 06, 2015 2:25 pm (9366)


What's the exact command-line you are using?
The correct one is: quickbms -D script.bms input_folder output_folder
You can even create a shortcut to quickbms.exe with -D appnded in the Target property.

What are the errors you get with those few files?
  • Author
  • Localization

TRDaz, posted Fri Nov 06, 2015 4:08 pm (9370)


That is what I am using, mine was:

D:\qbms>quickbms -D "C:\Users\name\Desktop\disney_infinity.bms" "C:\Program Files (x86)\Steam\steamapps\common\Disney Infinity 3.0\assets\*" "C:\Users\name\Desktop\DI output 2"

I'm not entirely sure how to do the appending of -D in the target property.

And the error i get is the following:

Image

I think the file that it is giving an error on isn't needed for models/textures, but it stops the script from continuing which may be causing me to miss files.
  • Author
  • Localization

aluigi, posted Fri Nov 06, 2015 4:18 pm (9372)


remove the final \* from the input folder and it will work:
quickbms -D "C:\Users\name\Desktop\disney_infinity.bms" "C:\Program Files (x86)\Steam\steamapps\common\Disney Infinity 3.0\assets" "C:\Users\name\Desktop\DI output 2"

That error is interesting because that file is completely encrypted and not only its first 0x200 bytes.
I will check it.
  • Author
  • Localization

Doctor Loboto, posted Fri Nov 06, 2015 4:38 pm (9375)


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
  • Author
  • Localization

aluigi, posted Fri Nov 06, 2015 5:21 pm (9376)


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?
  • Author
  • Localization

TRDaz, posted Fri Nov 06, 2015 5:40 pm (9377)


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.
  • Author
  • Localization

Doctor Loboto, posted Sat Nov 07, 2015 1:07 am (9384)


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.
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.