Tuesday, November 26, 2013

Texture Modding using ZLIB functions in X-PacKer 9

Thanks to MiztahRaza for writing this up

Ever been annoyed by the fact that you had to update those pesky little arc files for a simple attire retexture? Or perhaps you had to edit another file that X-PacKer couldn't update the arcs for? We've all been there, but, with the arrival of the brand new, kick-ass X-PacKer 9 you won't ever need to touch those again! Well, maybe sometimes :p

So, let's get started:

You'll need the following:
  • X-PacKer 9
  • Your favourite photo editing software
Aaaand, that's basically it.

Okay, so first off, you're going to want to have a texture file ready to go and make up a sweet texture. It doesn't matter who you want, it better be good though. If it ain't the modding Gods be comin' after you

Then, uncompress your chxxx.pac file using xbdecompress.

Open your uncompressed file in X-PacKer 9 using Ctrl + X

Extract the PACH file you wish to edit

Open your PACH file using the Ctrl + 3 function

Uncompress the 000A and/or 000C.pac files according to the textures you want to edit.

Press Ctrl + T and choose your 000A/000C texture archives.

Inject your edited texture.

Open the PACH file using the CTRL + 3 function again.

Now, press the "Compress and inject" button in X-PacKer 9 and choose your 000A/000C file.

Inject your PACH file back into the chxxx.pac file.

That's it! No need to update the arcs! How conviniet, right?

Editing Wrestler Entrances

Thanks to MiztahRaza for writing up this tutorial.

Ever wanted to have The Great Khali come out to Brian Kendrick's motion in the tag entrance? No? Well, that's not a good example. Hmmmm..... How about have your added DLC wrestler have an entrance with an ADDED titantron? Gettin' better, eh? Well, this is quite easy. All it takes is 10 bucks, a brain and some spare time.

Oh and the following:
  • Horizon
  • LeFluffie
  • A USB Stick formatted with the XBOX 360
First off, use your hard-earned money, specifically an amount of $10 to fill Tekken57's pocket and get yourself a copy of X-PacKer 9.

Then, open it up and take a minute to behold the greatness that is X-PacKer 9.

Now, extract SaveData.dat from your USB stick using Horizon.

Open LeFluffie and drag the extracted SaveData.dat into the window

Go into the Contents tab

In the bottom pane, you will see a file, right click it and select extract, save it to your Desktop and name it Extract.Dat

With X-PacKer 9 open, use the WWE 2K14 --> Extracted Save File(xbox 360) --> Moveset & Entrance function and navigate to your Extract.Dat and open it.

Now, choose your desired slot and double click it. The following window should appear:
2vx510l.png
Fun fact: Tekken57 was in fact NOT drunk nor high when he coded this program, which means that everything does SOMETHING, and here's a breakdown of what does what in this particular window:
  • Preset entrance - This is what your wrestler comes out to. The IDs at this point are not known, but I'm pretty sure they are ordered according to the ID numbers, so 100 is The Rock's entrance, etc. You can enter in your own values if you know any. Please note that the value put in here must be valid, ie, it must belong to one of the original ingame wrestlers in order for it to work.
  • Entrance Movie - Now this is some good stuff. Using this, you can actually ADD a titantron to an added wrestler. Enter in your added wrestler's ID number and make a .bik2 titantron with the same name(105.bik2 for ch105, etc) and place it in the movies/titantron folder in the game folder.
  • Entrance Music - Same as Preset Entrance, IDs are not known, however they're the same as the IDs
  • Champion Entrance - The champion entrances have their own IDs which are unknown at this time.
So make your desired changes and click Inject.

If you want to completely copy the moveset, entrance, movie, etc from wrestler and copy to another, you can do so by extracting a slot's file and injecting it in another slot ;)

Anyway, after you've made your changes, open up LeFluffie.

Drag and drop your SaveData.dat into the window

Go into the Contents tab

In the bottom pane, there should be a file, right click it and select inject. Navigate to your edited Extract.dat.

Close LeFluffie and open Horizon.

Drag and drop the SaveData.dat that you just edited in LeFluffie into the Horizon window
Rehash and resign with your IDs and transfer to your USB.

Voila! You're wrestler comes out to the entrance/music/movie you specified ;)

Let me know if this is good or if you have any suggestions..

Thursday, November 21, 2013

Using the X-Packer 9 Wrestler Info Editor

Thank you to RedRooster for typing this tutorial out

Using the X-Packer 9 Wrestler Info Editor

You will need :

X Packer 9
Le Fluffie
Your SaveData.dat file (should be located /HDD1/Content/Your Profile ID/545408B2/00000001 folder)

Make sure you keep at least one (preferably more) backup of you SaveData.dat file before attempting this (If you screw the pooch it’s not my fault)

1)      Open Le Fluffie
2)      Select File -> Open a File -> Browse to your SaveData.dat and click Open
3)      Click on the Contents tab
4)      In the viewing window Right-click SaveData.dat
5)      Select “Extract File”
6)      Browse to where you would like to save the file and type the name in the Filename box (I use the name SaveData.extracted.dat)
7)      Click Save
8)      Close Le Fluffie
9)      Open Xpacker 9
10)   Select File -> Open -> WWE 2k14 -> Extracted Save File (Xbox360) -> Wrestler info (Or hit Crtl + S)
11)   Browse to your SaveData.extracted.dat file and click Open
12)   You will now see a list of all the wrestler slots in the save, find the one you are looking for (In this example I am going to edit The Rock who is slot 100)
13)   Double click the Slot in the File Name column eg. Slot – 100
14)   The POfO Editor window will open showing wrestler info (see pic below)



As you can see, this window allow changing various settings for the wrestler, in this example I am going to change the Full Name of The Rock to the string entry I edited in my Editing the String.pac *Tutorial which can be found here

15)  Select the text box below Full Name
16)  Type the Hex Address of the new string eg. A157
17)  Click the Inject button and you will see “File injected successfully”
18)   Close Xpacker
19)  Open Le Fluffie
20)  Select File -> Open a File -> Browse to your SaveData.dat and click Open
21)   Click on the Contents tab
22)  In the viewing window Right-click SaveData.dat
23)   Select “Replace File”
24)   Browse to your SaveData.extracted.dat file and click Open
25)   Click on the Security tab
26)   Click Fix (Sign for CON and Rehash should already be selected)
27)   Transfer your SaveData.dat back to your Xbox

If you have done everything correctly you should now see whatever text you put in string A157 displayed as the Rocks name.

Changing any of the other values should be fairly self explanatory apart from DLC Pack number which will be explained in a different tutorial.

Wednesday, November 20, 2013

Editing the String.pac

A Big Thank You to RedRooster for typing out this tutorial. 

You will need :

-          Le Fluffie
-          The latest DLC file saved to your PC


1)      Open Le Fluffie
2)      Select File -> Open a File
3)      Browse to your DLC file and click Open
4)      Click the Contents tab
5)      Click on pac
6)      In the viewing window at the bottom Right-Click the string file (string_dlc3.pac or similar)
7)      Select Extract from the drop down list
8)      Type a name for the file in the File name section (eg string.pac)
9)      Click Save button to save the file in the location you choose
10)   Open X-Packer 9
11)   Select File -> Open -> Xbox360 \ PS3 Pac (Or hit Ctrl + X)
12)   Browse to the string.pac file you saved and click open (it is a large file so may take a few seconds to open)
13)   Click the Extract button next to the File named 5000
14)   Save 5000.pac where you would like it
15)   Select File -> Open -> Xbox360 \ PS3 PACH (Or hit Ctrl + 3)
16)   Browse to where you saved 5000.pac, select it and click Open
17)   Click the Uncompress button
18)   Select a location you would like to save the files
19)   Select File -> Open -> WWE 2k14 -> Strings.pac 0000 File (Or hit Ctrl + 0)
20)   Browse to 0000.zlib.uncompressed (where you uncompressed it to)
21)   Click Open
         
The 0000 file contains thousands of string entries so finding the one you require may take some time. Double clicking on the Filename will open a dialogue box displaying the text it contains.

Wrestler Full Names

EAC4 – EBEC

Unlockables Text (Good location for replacing strings) – These will be used for future DLC packs

A157-A1B7
A348-A363
AA9E-AAC2

In this example I will edit the string at A157 “Big John Studd (Wrestlemania)”
22)  Double click the file name column of entry A157
23)  Delete and replace the text with what ever you would like (new text must be the same length or shorter than the original text)
24)   Click Ok (You should see “String changed correctly”
25)   Select File -> Open -> Xbox360 \ PS3 PACH (Or hit Ctrl + 3)
26)   Browse to 5000.pac and click Open
27)   Click “Compress and Inject” button and browse to 0000.zlib.uncompressed
28)   Click Open (You should see “file compressed and injected successfully”)
29)   Select File -> Open -> Xbox360 \ PS3 Pac (Or hit Ctrl + X)
30)   Browse to string.pac and click Open
31)   Click “Inject” Button next to 5000
32)  Browse to your saved 5000.pach file and click Open
33)   Return to Le Fluffie
34)   Right click the string.pac file in the Le Fluffie viewing window
35)   Select “Inject File”
36)   Browse to the string.pac file you made with X Packer, hit Open
37)   Click the Security Tab and select “Sign for Dev Live”
38)   Click the “Fix” Button
39)   Close Le Fluffie
40)   Transfer the DLC back to your Xbox

How to Apply the Community DLC Pack 1


Download here

Support thread for community dlc 1 is here

What you will need:

-        X-Packer 9
-        Le Fluffie
-        A hex editor

-        WWE 2k14 dlc pack 2 (warrior and ABA Taker) and dlc pack 3 (nW0) – please don’t ask me where to get these, I will not be providing copyrighted files.   
                
I have intentionally not released a save file for the following reasons:
-        I want to maintain cross platform compatibility. If ps3 support is implemented an xbox save file will not be compatible
-        Each person has their own universe settings, caws, etc.
-        At this stage the caw injector is untested and not working. People have requested to keep their caws and have the community dlc in the same save. 

Please DO NOT release a save file with the movesets and wrestler info below.

Step 1 – Copy the dlc file to your dlc folder
-        The dlc file I’ve included (dlc2) needs to be copied to your dlc folder. This dlc file replaces your dlc file file, so delete the dlc2 file first before copying the included dlc file. My dlc2 file to be deleted is called 267E5576B180BEBEABD7BE8863B0F5D62D7D37DE54.

-        If you’re not sure where the dlc file should be copied, copy it to  /Hdd1/Content/0000000000000000/545408B2/00000002


Step 2 – Injecting the wrestler info into your save
-        Firstly you need to extract your save from it’s save container as X-Packer can only read extracted saves.

-        Copy your SaveData.dat from your xbox to your computer. It is located in the /Hdd1/Content/your profile id/545408B2/00000001 folder.

-        Make a backup of your save before doing anything further. Also make a second copy of the save file somewhere, you may need this later. X-Packer uncompresses the save file and this uncompressed file can only be inject back into the container once by Le Fluffie. Le Fluffie gets confused if you inject a second time. So if you need to inject into the save container more than once, you will need to use the second copy of the save file you make.

-        Open your save data file using Le Fluffie and click the second tab called “contents”

-        Right click the file called SaveData.dat and click on extract.

-        Save this file using whatever name you want. I usually call the file SaveData_extracted.dat







-        Ok now the extracted save file can be opened in X-Packer. Click on File – Open – WWE 2k14 – Extracted Save file (xbox 360) – Wrestler Info




-        Select the extracted save file you created in X-Packer

-         You should see a grid listing all the slots in the save and the extension of the file should be pofo

-        Open the folder in the dlc pack called “2. Wrestler Info”. In this folder, there will be a number of files which need to be injected in the slots in the save. The naming of the files will tell you which slot it needs to be inject into e.g. Slot - 105.pofo needs to be injected into Slot 105.

-        Go back to X-Packer and on the each slot which has a corresponding file, click on inject and select the appropriate file.

Please note that the slots which are not activated by default will not have a slot number in X-Packer. However the slots follow sequence e.g. Slot 124 will follow Slot 123, therefore if you want to inject Slot 124, do so in the slot which follows slot 123.

If you have injected the file correctly, the slot number in x-packer will change to reflect the slot in the file which you have injected. Please ensure that the slot number is correct before injecting the next file. 




Step 3 – Injecting Movesets into your save file
-        Now that we have enabled all the slots, we need to give movesets and entrances to our new characters

-        Open your extracted save file in X-Packer.  Click on File – Open – WWE 2k14 – Extracted Save file (xbox 360) – Moveset and Entrance 



-        You should see a grid listing the movesets for each of the slots. The extension should be “moveset”

-        Open the folder in the dlc pack called “3. Movesets”. In this folder, there will a be number of files which need to be injected in the slots in the save. The naming of the files will tell you which slot it needs to be inject into e.g. Slot - 105.pofo needs to be injected into Slot 105.

-        Go back to X-Packer and on the each slot which has a corresponding moveset file, click on inject and inject the appropriate file.



-        After you are done with injecting the movesets and wrestler info into you save, you can now inject the extracted save file back into the container using Le Fluffie.

-        Open your original save file (SaveData.dat not the SaveData_extracted.dat file) in LeFluffie.

-         Open your save data file using Le Fluffie and click the second tab called “contents”

-        Right click the file called SaveData.dat and click on replace file. 






-        Selected your extracted Save file and Le Fluffie will replace the file with the one you edited. (Keep in mind what I said about injecting a save file twice with Le Fluffie. If you need to inject again into the container, use the second backup you have created).

-        While still in Le Fluffie, click on the security tab. Make sure that “Sign for CON” is selected and then click on “Fix”.




-        Now your save is ready to be copied back into your xbox.               

-        Copy the save file in the container (SaveData.dat not the extracted SaveData_extracted.dat) to your xbox into the save folder i.e /Hdd1/Content/your profile id/545408B2/00000001

-        Before you proceed any further, if you have copied the save file and the dlc file onto your xbox, the game will list the new dlc slots in the “Downloaded Superstars” section. Start you game up and check wether the new dlc is listed. At this stage there will not be any renders, names and the game will freeze if you select any of the new dlc wrestlers, so don’t select them.

If you game does not show the new dlc under the downloaded superstars section, ensure that you have copied both the dlc file and the save file to the correct locations on your xbox. Also make sure that the save file has been edited as described in the steps above.

Step 4 – Copy the content files to your xbox
-        Open the folder in the dlc pack called “4. Files to copy to your game folder”.

-        Copy each of the files in this folder to the correct locations. The files are in the directory structure in which they must be copied to.

Step 5 – Creating your arc files
-        Open the folder in the dlc pack called Arc Entries.

-        There are two folders here. The first folder called “Complete arc with Hogan and Goldberg mods” contains my completed arc files. My arc references my Hogan mods and Tich’s Goldberg mods.

-        You have two options here, either you can install my Hogan’s and Tich Goldberg and use my arc file or you can add the additional arc entries to your arc file.

-        If you choose to use my arc file, copy the arc from the folder called “Complete arc with Hogan and Goldberg mods” to you games folder, replacing your arc file.

-        If you choose to add the additional entries into your arc, open your arc file in a hex editor. Also open the arc file in the “Manual Arc creation” folder in your hex editor.

-        Scroll to the end of your arc file. You should see a section right at the end with the text “SAVE” some bytes after that, ending with “yyyy”. The corresponding hex values for yyyy is “FF FF FF FF”.

-        The “FF FF FF FF” at the end of the arc file tells the game that the arc file ends here. You need to delete this. Highlight the last four bytes in your arc file in your hex editor and press delete on your keyboard. 




-        Save your arc file before we proceed.

-        Go to the arc file which you opened from the  “Manual Arc creation” folder in your hex editor. Select all the values and copy it to the clipboard. Go back your file and paste these values right at the end.

-        Save your arc file and copy it back into the game.




Step 6 – Injecting strings into the dlc 3 file
-        This final step is to fix the names of the new dlc characters you added, you can leave this out if you are not concerned about the names. 
-        Open your dlc3 file in Le Fluffie and click the contents tab (my dlc file is called B66F56549929ABAE96EA716DD039B9C2FE86677C54). You need to replace two files here i.e. the “catalog_hd.arc” file in the “info” folder. You also need to replace the “string_dlc03.pac” file in the “pac” folder. Right click on each of the files to replace and click on the "Inject file" option. DO NOT use the replace file option.





-        After replacing these files, click on the security tab. Make sure that “Sign for dev live” is selected and then click on “fix.”

-        Copy the dlc 3 file to your xbox. 





Step 7 – Creating User Playlists
-        I’ve created the following user playlists on my xbox, create the same if you want the entrance music to load.The numbers are only for reference and should be used in the name e.g. 1. acolytes, your playlist should be called acolytes

-        Don’t edit the entrances using the in game entrance editor as you will lose the trons.
1. acolytes
2. bookert
3. buffbagwell
4. benoit
5. ddp
6. dx
7. shamrock
8. angle
9. lod
10. rvd
11. steiner
12. 2cool
13.vader
14. goldberg

That’s it. If you have done everything correctly, the dlc pack will load. Enjoy J