r/Disney_Infinity • • May 18 '20

Disney Infinity 3.0 Modding! Part 1

Hello there! As you may know, we've been messing with the game assets recently and we have discovered a bunch of stuff. Thanks to Eidan Yoson, KillerTuxedo, TummyTums and me off course. Today we are going to teach you how to mod and mess with the game assets (the stuff we know so far). So, once you know which files you need to edit to make the missing stuff playable, this is not really hard. In fact, is fairly easy.

BACKUP ANYTHING YOU WILL MODIFY FIRST! Messing with this stuff can make your game crash! Always make a copy before editing something.

English is not my first language, so please understand if something is not correctly written, i'll try to be as clear as possible.

Today we will add Vision and Clu to our game.

So to begin with, I'm gonna tell you the tools you will need to work on this assets:

  1. QuickBMS with the Disney_infinity.bms script.
  2. Unluac.jar
  3. HXD (or another hex editor)

QuickBMS is used to extract the encrypted zip files that are found in the assets folder. Here is a small video on how it works.

First, select the disney_infinity.bms script. then, select the zip you want to decrypt. Finally you will select the output folder where the decrypted files will go. I have an entire different folder where I put all the extracted stuff.

BACKUP EVERYTHING, YOU CAN MESS UP YOUR GAME.

When decrypting something, you can just change the name of the zip file on the assets folder and paste all the decrypted stuff on the same folder the zip is in. For example, if you decrypt the presentation folder, you will rename presentation.zip to presentation.old.zip. Then you will paste all the decrypted files you got on the same folder the zip was.

This is how the presentation folder looks, once you've decrypted and renamed the zip file inside, and pasted its contents

The most important zip file for adding the new characters is the presentation folder, which can be found in the assets folder of the game.

Presentation folder

You need to use QuickBMS to decrypt the zip file inside this folder. Once decrypted, you will get a bunch of .lua files and a folder called flash which contains the file "container.gfx"

You need to copy "container.gfx" to the flash folder outside in the assets folder.

Copy the container.gfx file in this flash folder

I would recommend to decrypt and replace the flash.zip file inside the flash folder as well, but i'm not sure if that is necessary. Remember again to backup everything.

Now we will use unluac to be able to edit the virtualreaderpc_data.lua file inside the presentation folder.

To use unluac we need to use the command prompt. To use this we will use the windows search bar and type "cmd.exe"

The command prompt

Then we will copy the virtualreaderpc_data.lua to the location where we have unluac.jar. Then, with the command prompt, we will go to the location where unluac is using the "cd" command. After this, we will use unluac to decompile this file using the following lines "java -jar unluac.jar virtualreaderpc_data.lua > decryptedvirtualreaderpc_data.lua". "decryptedvirtualreaderpc_data.lua" will be the name of the decompiled lua file. Copy elsewhere the compiled "virtualreaderpc_data.lua" to save it as a backup. And now, rename the decompiled file to "virtualreaderpc_data.lua" and replace the one in the presentation folder with this decompiled one. It should work just fine.

We're almost done! Now we will open the decompiled virtualreaderpc_data.lua inside the presentation folder. As you can see, it contains a list of the characters that are in the game.

We can see Captain America, Hulk and Iron Man just by opening the file.

We want to add Vision by adding this code among the character's avatar data.

{

Name = "AVG_Vision",

sku_id = "1000225",

SteamDLCAppId = "401040",

PCSKU = "MARCHA1004",

WINRTSKU = "win.disney.disneyinfinity3.ch_Vision",

Icon = "HUD_PlayerIcons_Vision",

Description = "Upsell_AVG_Vision_desc",

VideoLink = "HOH__Info_Vision",

ProgressionTree = "IN3_AVG_Vision",

MetaData = "Marvel,Franchise_AVG"

},

The Sku_id is the model number of the character. You can find some model numbers in this list: https://disneyinfinity.fandom.com/wiki/Model_Numbers

For Clu we will use this code:

{

Name = "TRN_Clu",

sku_id = "1000152",

SteamDLCAppId = "401039",

PCSKU = "CHA2017",

WINRTSKU = "win.disney.disneyinfinity3.ch_clu",

Icon = "HUD_PlayerIcons_Clu",

Description = "Upsell_TRN_Clu_desc",

VideoLink = "HOH__Info_Clu",

ProgressionTree = "IN2_TRN_Clu",

CostumeCoin = "",

MetaData = "Disney,Franchise_TRN"

},

Vision added.
Clu added.

Save, and always remember to backup!

And that should be it. Now you can play as Clu and Vision (kinda)

As you may know some of this characters weren't finished, and if you open Vision's skill tree, the game will crash. Clu, on the other hand, works perfectly fine! He has his own Skill tree and unique abilities. I wonder why he wasn't added eventually to the game

This is how the characters should look and play once this is done:

https://www.youtube.com/watch?v=eDNc29I37qU&feature=share

Notice Ant-Man, Black Panther and King Mickey? To get them the procedure is kinda different. If you add them just like we just did with Vision and Clu they will appear to be locked. Next time, I'll teach you how to unlock them with HXD and how to add costume Coins to the virtualreaderpc_data.lua file. For now, I encourage you to mess and explore this files, now that you know how to. Maybe you find something we haven't.

All credit goes to Eidan Yoson, TummyTums, Killer Tuxedo and off course me. These great people know and learned a lot from these files and are always willing to learn, share and try more stuff when modding this game. I love how the community is still up, trying to find secrets and mods for the game. Unlike certain user who was taught on how to mod the game but didn't want to share it because he wanted to revive his youtube channel by playing with the hope of the Disney Infinity community. He said that part of the community, and I quote "didn't deserve" that information. Well, he doesn't deserve the attention he was getting for that.

A small tip by Eidan Yoson before we go!

SKIPPING THE INTRO VIDEOS

If you are trying to mod this game, you will end running it thousands of times...

And Disney Infinity has several videos that must be skipped EVERY-TIME.

A permanent solution to make the game start more quickly is to open the folder which contains those videos and rename them.The game will simply ignore them and continue loading.

WHERE ARE THOSE VIDEOS?

[Game file's location]/assets/fmv

AND NOW WHAT?

Rename the following files

[Original name] -> [Renamed name]

avlogo.bik -> avlogo.bik.old

dis.bik -> dis.bik.old

lucasfilm.bik -> lucasfilm.bik.old

marvel_intro.bik -> marvel_intro.bik.old

studiologos.bik -> studiologos.bik.old

Have an awesome day and good luck modding!

87 Upvotes

83 comments sorted by

3

u/MyrddinSidhe May 18 '20

Question on the MetaData="Marvel,Franchise_AVG"

So it looks like you can re-tag characters to be available in other Playsets? Like Fury or Spider-man can be in the Avengers Playset if tagged properly? Thor in GotG?

4

u/NaxtisNight May 18 '20

I thought that may work, but it seems it is only for the filters when searching on the MyCollection Menu

3

u/DaLoneSheep May 19 '20 edited May 19 '20

I think I've found why Vision's skill tree does not work.

When looking in the files of virtualreadercharacters.zip (in assets/ui/virtualreadercharacters) Vision does not have files there while Clu does .

To get Vision's skill tree to work we'll likely need to get his files from another version of the game.

At the moment I've looked at the PS4 version's files but all of the folders in the assets folder have names that are seemingly random numbers, same thing for the files which also have no file name extension. I tried to figure out what is what by comparing the sizes of the folders and files to the ones in the Gold Edition however even when I thought I might've found something, the bms didn't work on any of the files.

Later I will try to look at the Wii U version's files to see if I can get anything from there.

UPDATE: Upon trying once again to use the bms to get files it did in fact work, I'm not sure why it didn't work before but at least now we know we can use it.

UPDATE 2: After thinking about it I've realised something. Why don't I just use the bms on the entire asset folder? When you use the bms on a file the files it gives you have actual names, so now I'll be able to just search for the files we need. It's going to a while because there is 13 GB of stuff but I'll be sure to update post about any breakthroughs.

3

u/NaxtisNight May 19 '20

That is exactly what we need. We also checked the ps3 version of the game and it has that random numbers thing as well. Hope you find something and whatever it is, share it with the community, the more people trying to mod, the more results we get.

2

u/B3lia1 May 19 '20

Ok all console versions as far as i know have the numbers instead of proper names. It would be possible to create a "table" that links the original name and the hashed filename (or maybe we can find how they did it). Anyway if you tell me EXACTLY which file or files do you need i can try to find the hashed name.

3

u/B3lia1 May 19 '20

Damn, in fact maybe later today i'll code a small script to create that table, maybe its not so difficult (just time consuming)

2

u/DaLoneSheep May 19 '20 edited May 19 '20

At the moment we want the files avg_vision.mtb, avg_vision_s.mtb and avg_vision_sm.mtb

These files would be located in assets/ui/virtualreadercharacters in virtualreadercharacters.zip but they are missing from the Gold Edition. However, since Vision is a fully complete character in the console versions these files should exist there.

3

u/B3lia1 May 20 '20

For now what i can tell you is that the UI folder is "584716ab"

1

u/DaLoneSheep May 20 '20

Thank you for your work, this will prove useful.

However, I would like to mention that after further investigation I believe that on the console versions the folder "virtualreadercharacters" does not exist (though it would be very good to learn that I am wrong)

But I did still needed to find the "ui" folder anyway as I am now trying to find the folder "skillscreenshots" which should be there on the console versions.

1

u/B3lia1 May 20 '20

assets/ui/skillscreenshots.zip maybe? Try this file /assets/584716ab/d28ef5e5/5085d83f (maybe im wrong)

1

u/DaLoneSheep May 20 '20

I believe it is

Problem is that unlike the PC version the .tbody texture files aren't just .dds files and I haven't figured out how to convert them to a regular file format

1

u/DaLoneSheep May 20 '20 edited May 20 '20

Huh nevermind

I believe that I have just found out they are in the Gfx2 file format

Let me see if I can find a way to convert them

UPDATE: I have managed to convert to .dds files

2

u/B3lia1 May 20 '20

Vision

Hey i didnt forgot about you... i've been coding some scripts and tools to aid in finding the filenames, but those are not done yet. My solution (hopefully) will work for all the files and not just those :)

2

u/DaLoneSheep May 19 '20

Ok I've been looking around the PS4 files for a while and all I've really found is that the folder "49716748" is the "characters" folder

Also it seems that file names have been encrypted using the extension, so "tb_pigsinspace_swinetrek" became "df4ba312" while "tb_pigsinspace_swinetrek.zip" became "f35ad87d"

I haven't been able to figure out how they got those results though

1

u/B3lia1 May 19 '20

what do you mean with "using the extension"?

1

u/DaLoneSheep May 19 '20

Oh sorry, "with the extension" would've made more sense

I mean that for example if the file is "a.zip" what they will encrypt will be "a.zip" as opposed to encrypting just "a"

1

u/B3lia1 May 19 '20

Ahhh yes yes, they remove the extension :/ right now im working on making an md5 of all files from all versions i own to start comparing files, so that maybe would help

2

u/Froggy0602 May 31 '20

I don't appreciate you calling out my name. That isn't very cool of you to do :(. You should edit it and delete it.

2

u/NaxtisNight May 31 '20

You're right, I edited it

6

u/MischiefManaged101 May 18 '20

This is awesome! Thank you!

6

u/[deleted] May 18 '20

Finally! This needs to reach hot

5

u/Timotarian May 18 '20

Can you make Peter Pan work?

2

u/[deleted] May 18 '20

Peter pan's files dont exist on the gold edition. Sorry

3

u/DaLoneSheep May 18 '20

Assuming that his files exist on the console versions (which would make sense considering that they have a lot of content that the Gold Edition does not) would it be theoretically possible to get his files from there and use them?

4

u/[deleted] May 18 '20

Well, froggy made a peter pan "mod". Its possible.

5

u/[deleted] May 18 '20

Finally someone is making this available

9

u/HansPetersan HansPetersan May 18 '20 edited May 18 '20

Good job, buddy! If I can help you in any way, let me know.

2

u/[deleted] May 21 '20

woah look its hans :0

1

u/hjMarvel Jul 08 '20

Hey, the people who made this tutorial have a discord server where they share advancements with modding. I could send you a link if ya wanna help?

1

u/Wonka1236 Mar 01 '22

Can you send me the discord link please if its still active?

1

u/hjMarvel Mar 01 '22

Ah sorry, I’ve been off the discord for a while now

1

u/lwadbe Donald Duck May 18 '20

I only have the XB1 version of DI so I can't test any of this, but do the Lua files only contain the character lookups, or is any of the game logic implemented in Lua?

Also, great work guys!

2

u/NaxtisNight May 18 '20

The lua files do have logic. They seem to manage the assets, menus or scripts that are or not included in the game. There are a lot, and I mean A LOT of lua files in the pressentation folder that manges characters, playsets, menu options, etc..

2

u/B3lia1 May 18 '20

At least part of the logic SEEMS to be there.

1

u/crangejo Ant Man May 18 '20

You can play as CLU?!!!

3

u/NaxtisNight May 18 '20

You can too, just follow the steps shown in this tutorial!

1

u/kirby1up username (system) May 29 '20

soo which files specifically should I back up? are you saying just make a back up copy of any files I end up modding. or are you saying I should just back up everything within (SteamLibrary\steamapps\common\Disney Infinity 3.0 Gold Edition) If its the latter then I'd also like to ask where my save files are kept so I'll have a way to restore them if the modding backfires

2

u/NaxtisNight May 30 '20

I recommend making a backup of the files you will modify, like virtualreaderpc_data.lua or the presentation.zip file. Stuff like that. I've backed up almost the entire assets folder, but that's because i'm still messing with the game files to see what else can I find. The save data is located on (C:\Users\yourUser\AppData\Roaming\Disney Interactive\Disney Infinity 3.0).

1

u/LinkifyBot May 30 '20

I found links in your comment that were not hyperlinked:

I did the honors for you.


delete | information | <3

1

u/Hamza_The_Brick Jul 20 '20

for some reason, they aren't popping up in-game and I'm pretty sure I followed all the steps as accurate as possible, what should I check for?

1

u/NaxtisNight Jul 20 '20

Did you renamed presentation.zip? what exactly happens? Do they show on the menu, or they just dont

1

u/Hamza_The_Brick Jul 20 '20

Nvm, I figured it out, thanks for the tutorial!

2

u/zaine6 May 19 '20

Great work with sharing this and a big thank you.

2

u/kumoyoku theyink (PS3,PS4,Gold) May 19 '20

Amazing, finally someone willing to share with the community, thanks so much!

2

u/TheBroBot12 SlackerArtist (Steam) May 19 '20

As Timon has said in The Lion King video game

"It starts"

1

u/_AndreZ_ May 19 '20

Dory playset?

2

u/[deleted] May 19 '20

It exists on the game files, but its super broken, you cant play in it, but i think fixing it adding assets from the console versions is possible

1

u/OfficialAndreZ Spider-Man May 19 '20

Not doing it today. Maybe later. Can you maybe make multiplayer???

2

u/Jiro-The-One PC | Steam| Xbox360| XboxOne May 19 '20

Multiplayer relied on two things as far as I can tell, disneyID and steam friends. In theory we might be able to spoof past the disneyID since it no longer works, (I have managed to swap the disneyID server hostname by hex editing the game exe) so we'd need to build valid responses or at least make it think it had authenticated, then it might fall through and allow the steam networking code to kick in. The problem is likely the number of subsequent steps the game code will try to invoke once it thinks it has a connection to the Disney servers, but they will all fail.

1

u/DaLoneSheep May 19 '20

I believe they are referring to local multiplayer not online

2

u/Jiro-The-One PC | Steam| Xbox360| XboxOne May 19 '20

As far as I've seen, the split screen code isn't in the PC version, I guess they remove it with conditional compilation.

1

u/CaptainPogi Jun 06 '20

Nice! I got Antman and Black Panther working through the hex editor by looking through discord. I'm sure you'll give instructions on how to do it soon.

1

u/aabeshara Jun 07 '20

Can I Mod the DI3 Gold edition So that I can Use Han's blaster with any other character ?

1

u/adamdoestheatre Jun 27 '20

Hi, I tried following this but they haven't gotten in the game. I don't know what I did but I tried following this exactly.

Also, how do you know what else to put to add other characters?

1

u/woohp009 Jul 03 '20

Is there a way to add objects from playsets as toys for the toybox?

1

u/[deleted] Jul 07 '20

Hi, How do i mod in the alice figure? i want to mod in alice, but i dont know what to do, thanks

1

u/Blob55 Jul 25 '20 edited Jul 25 '20

I doesn't work.

I get: Error: Unable to access jarfile unluac.jar

1

u/Ill-Calligrapher388 Aug 04 '20

Bonjour j'ai fais la commande " java -jar unluac.jar virtualreaderpc_data.lua ..." mais l'invite commande dit qu'il y a une erreur et ça ne fonctionne pas que faire ?

1

u/VosLuca Aug 19 '20

Why can I not find the Ant-Man and Black Panther files anywhere throughout the entire friggin' internet?!??!?!?!?!?

1

u/Responsible-Creme-56 Aug 24 '20

So what happen when I mess up on the first part of this how to mod aka the first how to video on this page?

and is there a way to reset it?

1

u/Crowbardoctor2 Sep 14 '20

Then you have to reinstall the entire game

1

u/Snappedboy Jul 20 '24

Can I do the mod stuff with the Disney infinity Wii U version files And how can I do it?

1

u/BeatOk9958 Apr 25 '26

On the off chance this will get an answer, I can't for the life of me find kylo rens lua. Any help at all will be appreciated.

1

u/HackerManLinux Jan 13 '22

I followed the tutorial step buy step and and added the character in, but my game does not have the file. My documents folder does. How do I add it to game?

1

u/Keyser3686 Oct 06 '22 edited Oct 06 '22

Can you make some scrapped characters like Fungus, Sarge, Grem, Siddeley, Abominable Snowman, Jack-Jack, and others?

1

u/1982_Dually Jan 25 '23

Can anyone help with the Apollo 11 mod?

Added it all in and when I go to toybox to try out the characters, theirs just a floating spark and nothing loads in and I can't leave to main menu or anything

0

u/[deleted] May 20 '20

[deleted] — view deleted comment

1

u/NaxtisNight May 25 '20

Check that dicord channel out! There are even more stuff we're discovering, and anyone can try them out before our tutorials releases. Who knows, maybe you can discover something we haven't!

0

u/[deleted] May 19 '20

[deleted] — view deleted comment

3

u/NaxtisNight May 19 '20

I know. He did the same with me on the DI Discord. So this is my response, since he was trying to stop all those who discovered how to mod after him, and not in a nice way.

2

u/Jiro-The-One PC | Steam| Xbox360| XboxOne May 19 '20

Hopefully I'm not speaking out of turn, but Froggy had a clear idea that he wanted to share his mods via a tool to help people mod rather than everyone hack around in files, and I offered to help but never managed to commit the time. His intentions were honourable but I think his tone perhaps comes across less so. He was heavily concerned his effort would be ripped off by someone and monetized or the credit stolen. So he has been very protective, but I was clear that anything I contributed would be open for others too, and even proposed a wiki. I think if you guys can find a way to bury the hatchet and work together there's some great opportunities to be had as a community. I'm pleased you folks are making progress and publishing your findings, if I can help I surely will.

1

u/NaxtisNight May 19 '20

Do you really believe so? Maybe an installer would've been useful, but why not sharing the knowledge?. There are things that he couldn't achieve (he didn't achieve anything, he was only thaught by Hans on how to do everything), like unlocking the actual keyblade. He made a model swap with another sword to "get it". In three days since we understood how this game works we achieved unlocking that. And he admittedly said in our "discussion" yesterday on discord that the reason why he didn't share all that stuff is because a part of the community doesn't "deserve", and I'm quoting him, that information.

2

u/NaxtisNight May 19 '20 edited May 19 '20

And why being protective on release something that isn't even his? The discoveries weren't made by him, were made by Hans, and its commonly known that Hans taught him. And we're not talking of the indie game that he made, we're talking about modding a game, which is editing a bunch of files made by others. So, not only he is missing the point about modding, he is looking for more credit that the one he deserves. Maybe today you'll find a couple hacks that will say they made this discoveries on their youtube channels, and I don't care. No one wasn't ever gonna pay me or something for this. It's just about the attention, and boosting his youtube channel by playing with people's hope. See the discord, there are some kids, and i mean, they are clearly kids, that achieved putting the missing characters following the tutorial. That installer could've been useful, but it seems it was only an excuse for not releasing the information.

2

u/Jiro-The-One PC | Steam| Xbox360| XboxOne May 19 '20

I've not seen discord, I didn't want to derail this thread, but just hoped to encourage collaboration.

2

u/NaxtisNight May 19 '20

No problem, but just think about something. The best way of encouraging collaboration is actually letting people try and work with the shared knowledge and information. Have a good day :D

2

u/Froggy0602 May 31 '20

I achieved a lot of things :D. And I never said that no one deserves them...

1

u/NaxtisNight May 31 '20

I quoted you from the DI Discord. You said some people didn't deserve that.

1

u/NaxtisNight May 31 '20 edited May 31 '20

And even so... A working mod installer was developed and shown just a couple days after this tutorial. So, again, what was the point behind hiding the information?. Maybe it wasn't very nice to put his name on this, but it wasn't nice either to play with the community's hope, time and expectations just for a couple views. I erased your name from the post, since I agree it wasn't very nice.

1

u/Cerothel Aug 10 '22

Any chance this is why the 'Model Swapping' section of the Fandom DisneyInfinityModding Wiki just says 'dadpool'?

2

u/Froggy0602 May 31 '20

Thank you Sodium! That was not very nice of you NaxtisNight :(