| Trending Topics |
|---|
| https://youtu.be/whBtH9AnKRo Join Legends of Modding! If you're already a member please log in to your account to access all of our features: |
| The control file waze.dat; Move Tutorial Part 2 | |
|---|---|
| Topic Started: Aug 26 2016, 10:14 PM (541 Views) | |
| eatrawmeat391 | Aug 26 2016, 10:14 PM Post #1 |
![]()
|
This topic will tell you about the structure of SVR waze.dat which is the control file of the moveset editor First of all,we’ll open SVR 11 WAZE.dat in a Hex Editor Spoiler: click to toggle Here’s the file structure: + 0x00 -> 0x107 : The header data (the highlighted area) + 0x108 -> end : The move data (moves are arranged alphabetically) - The header data: In any SVR the data at 0x04(2 bytes) is always the total amount of blocks.A block contains move data. After that there are total amount of moves in each category,each has 2 bytes. - The move data: This section contains all the blocks for each move,its name,id,damage,momemtum and its type. Padding bytes: Before a block there are random amounts of ‘FF’.I call it random because the first block only has 8 ‘FF’s while the other block has 14 ‘FF’s.I don’t know what happen if you disable all the padding bytes but it’s not worth it.So you better add 14 ‘FF’s if you want to add a new block into the game After the padding bytes you’ll get the block,which has 0x92 size in SVR 2011 Spoiler: click to toggle See the highlighted data?It’s a block and I’ll tell you about the block structure: + Offset 0x00 -> 0x0F : Move category: This will tell you whether a move is a taunt,strike or grapple,etc. + Offset 0x10 -> 0x2F: Move Name : The move name.The game will read from offset 0x10 until it find a null character(‘00’ in hex) + Offset 0x90 -> 0x91: Animation ID (2 bytes):This will tell the game what animation ID to assign.The Animation ID is always located at the end of the block in every game To add new move, do the following: + Find a base move (in the same category) + Copy the base move’s block (remember to include the padding bytes) + Paste it at correct location(correct means arrange it alphabetically) + Edit the data + Update the total category value + Update the total block value For example I’ll try to copy a taunt named My Taunt,ID 25A8.I’ll try to search for the base move,which is ‘Batista 1’, since it is also a taunt,there may be multiple move with similar name but difference type,in that case find another base move I copy its block including the ‘FF’ Spoiler: click to toggle (Note: You’ll wonder why I copy the second Batista 1 but not the first.Look at the first line after the FFs.The first one has all zeroed which mean the move is disabled.The second one has ‘01’ in offset 0x00,which tells you that if you want a move to be a taunt,add ‘01’ to offset 0x00.You’ll encounter 2 moves with difference flag,which means 2 different categories so you’ll have to find another base to avoid confusion.And if you ever encounter a move that has data in 2 offsets or more,change the base move as well) Now we’ll paste the data,but the move needs to be name alphabetically so we search the file until we find the move names begin with M(Use Page Down/Up for faster navigation) We’ll paste it below ‘My Fault’ since we want to arrange the new move alphabetically,paste before the next ‘FF’ after the word ‘My Fault’ Spoiler: click to toggle In your newly paste data,change ‘Batista 1’ to ‘My Taunt’ and remember to change the last 2 bytes (’03 26’) to the new ID which is 25A8,change it to ‘A8 25’ as the data is reversed Here’s your final result Spoiler: click to toggle We are not done yet.Open my WAZE Edtior,set the year to 2011,open the waze.dat We need to find the total move category to update the file,notice the first line after the ‘FF’s,at offset 0x00 there is a ‘01’ a nothing else.There should be only one place that has data.If it’s two,change the base move In the Offset-Value section,input 00-01(Offset-Value) hit Get Total Spoiler: click to toggle You’ll get 0x0128,which means you should search the header for ’28 01’.You should be able to notice the value in offset 0x08,increase it by one which is ’29 01’ Go to offset 0x04 and increased the total blocks by one Spoiler: click to toggle You’re done,press CTRL-S to save the file * Recommendation: It seems you should start adding Taunt first,then other complex category such as Strike and Grapple * Warning: - If your superstar has a move that is disabled or not defined in the waze.dat,the game will crash - This will only allow you to select the move,you’ll have to add new animation to the YMKS files to start using the new moves - If you just change the data flag in the first line after the FF you only have to update total moves category and not total blocks at offset 0x04 - You'll copy the base move 's damage and momentum as well,so choose a base move carefully - When you reimport the file back to MISC.PAC.Remember to update the arc - I choose id 0x25A8 because it’s a free ID in the taunt section.To add new move you must find a free ID first.If you import move from earlier game chance are it’s already in the game,just disabled.Look for the first line and if it’s all ‘00’,it’s a free ID.Method 2 to find a new ID is to do a scan of the base move,in this case is ‘Batista 1’,by looking at the last 2 bytes we know its ID is 0x2603.We start the WAZE editor tool,set the year to 2011 and open the waze.dat,highlight ‘2603: Batista 1’, hit Scan.You know the drill from part 1,set the directory to scan to ‘@M.PAC’ of your game and save the output file Spoiler: click to toggle Usually we look into either MOT_ or MOTP files first(they have the same ids).We’ll choose to open MOTP\@D02_.PAC\file000001.ymks in our YMKS editor Spoiler: click to toggle The filename format is ID-Animation Part.anim.Notice that after the ID 25A6,the next is 25BE,which mean we can have free id from 25A7 to 25BD! Edited by eatrawmeat391, Aug 27 2016, 08:18 AM.
|
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| « Previous Topic · Moves & Animations · Next Topic » |
| Track Topic · E-mail Topic |
12:40 AM Jul 12
|






12:40 AM Jul 12