Baymax Mark One

To get started modding 2.0 make sure you've read the basics

## Introduction

Hey there!

You've heard there is modding going around for Disney Infinity, so you want to know how to mod it! In this tutorial you'll be able to mod in no time! We'll be going through the different types of files the game uses to run properly, and Modding by messing around with the code.

## Decrypting The Game Zips?

Luckily there is no encryption on 2.0's zips!

Thought it is very important that you re-pack the zips after doing your edits because else it won't work. *Unless!* It's a texture zip. Then you can do like you would on 3.0.

## File types the game uses

Now, we will talk about the files the game uses so you dont get confused when modding in the future.

### .Lua

lua files are text files with lua code in them, however, there are some lua files that are obfuscated and encrypted, they need unluac.

### .Tbody

tbody files are the textures, they're actually renamed .dds files. To edit them see Texture Swaps

### .Oct

oct files are the files that gather the ibuf and vbuf (the mesh), skeleton, and textures to make sure the mesh has textures and a skeleton.

### .Ibuf and .Vbuf

ibuf and vbuf files are the mesh of the character.

### .Bent

bent files are the files that load the animations and .oct file.

### .Animtreeoverrides

animtreeoverrides files are the animation overrides of a character.

### .Dnax

dnax files are similar to the .lua files, they're lua code.

### .Sx

sx files are the script a dnax file tells the game to use.

And that would be all the file names! (For now)

## Messing around with the code

Now, we're gonna talk about messing around with the code to make cool things! As mentioned earlier, .lua and .dnax files contain lua code.

### Unluac

You're gonna need to install something called unluac. In order to use unluac you're gonna need to install java first, and if you already have java, thats great!

You can grab unluac from here: SourceForge

And if you dont have jave you can grab it from here: Java

#### Set up

1. Make a folder for decompiling and name it whatever you like.
2. Copy and paste unluac there.
3. Search for the lua file you'd like to decompile, and copy and paste it to your decompiling folder.
4. Make a new text document.
5. Put in: **java -jar unluac.jar file.lua > decrypted\_file\_name.lua**
6. Save it as a .bat file
7. Now, rename the original file.lua to file\_backup.lua (In it's original folder. Not in your decompiling folder), and rename the decrypted lua to the orignal file's name.
8. Copy the new file and paste it in the original file's folder. If it asks if you want to overwrite a file with the existing name press yes.
9. You can now see the code and start editing. Remember to save before launching the game.

## Outroduction

Congratulations! This was the modding basics for 2.0. You can check out other tutorials for 2.0 here

See the full article:Modding Basics 2.0

## Introduction

This tutorial by Kyro Hazaki 57 gonna show you how get the mark one costume in 2.0, for now is impossible get the costume in 3.0, but in 2.0 not! check this out.

## Tutorial

1 - Go to **Disney Infinity 2.0 Gold Edition/assets/presentation folder**, extract the zip and delete him!

2 - Found the **virtualreaderdata.lua file**, decompile it with **unluac** and replace the original in the **presentation folder**.

3 - Open the file and search for **Gateway = "BHS\_Baymax",**

4 - Add **IGP\_COIN\_MarkOne** in the **CostumeCoin** part, example:

**CostumeCoin = ""** **>>> CostumeCoin = "IGP\_COIN\_MarkOne"**

5 - Now search for **VirtualReaderData.SourceRoundData = {**

6 - Have 2 **VirtualReaderData.SourceRoundData = {** , so you need add the next code 2 times.

7 - Add this code bellow the **IGP\_COIN\_Falcon** code, like this:

{

      id = 3000193,

      displayName = "IGP\_COIN\_Falcon",

      available = true,

      type = "Costume",

      SparkCost = 10000,

      Description = "IGP\_COIN\_Falcon\_desc"

    },

    {

      id = 3000194,

      displayName = "IGP\_COIN\_MarkOne",

      available = true,

      type = "Costume",

      SparkCost = 10000,

      Description = "IGP\_COIN\_MarkOne\_desc"

    }

8 - remember, add 2 times the code, save, the next process you know, right?

9 - open the game, and the costume change gonna appears, ah! you need purchase it.