Welcome Guest [Log In] [Register]

Add Reply
How to avoid the corrupted savegame when adding new duplicated char; UPDATE: Fix for the random fight, now it works fine.
Topic Started: Dec 2 2013, 09:11 PM (2,658 Views)
robhal
Member Avatar
Pegasus Ryu Sei Ken!

WARNING: When you apply this workaround for the first time, your current savegame will be corrupted/unusable. But later there won't be a problem anymore.

At first, I will explain how this work. My theory behind the reason of the corrupted savegame is because the current savegame doesn't contain any info about the new char. So I think, what if I make the savegame contain the new char info by creating some dummy (unselectable) chars info? Then I can use this dummy char as the placeholder for the current custom char available (Evil Ryu, Morrigan & Lilith, Jun & Unknown) and as well as for the future custom char (I am planning to make Fei Long, Makoto, Dan and Hakan. And I also know bbb is planning for Juni & Juli).

Now, how to do it. It's very easy, just open the 'const.lua' file and copy the whole block of one char (I use Ryu in my example) and go to the end of section (just after Lei), then paste the whole block for 49 times. Why 49 times? I will explain later. Done? It's not finished yet. Now go to the first duplicated Ryu char (remember, it's the one after Lei) and change the 'code' value to something easy dan can be sorted (I use 'U01). After that, go to the second till the final duplicated Ryu char and change its code to 'U02' to 'U49'. Finished, your job is done. Don't forget to save the file.

Now the reason I put 49 dummy chars into 'const.lua' file. As you guys already know or not, there are 100 slots in 'selector_layout.emz' file. 51 of them are already filled (50 official char + 1 random box). The leftover is 49 blank slots, right? That means we can use those blank slots to create 49 custom chars, make sense, right? That's the only reason.
I know some of you will ask this: Why do I have to make that many? 49 is too big for me. The answer is: I know that and I also don't know if I will have that many custom chars, but 49 is maximum limit and I don't see anything wrong to make 49 chars in order to fill up my savegame. Better get ready than sorry later, right?

Incase some of you who don't want to do this manual work or too lazy to do this. I also provided my own 'const.lua' file filled with 49 dummy chars.
Here is the file: http://www.mediafire.com/?21hhfgi926k7ymy

But if you use my extra stages mod, use this file instead: http://www.mediafire.com/?ua8nd3r48acarwd

How to install: Extract to folder "..\Street Fighter X Tekken\patch\CMN\boot\game"

How to use:
If you already have custom characters in your const.lua, you will need to replace your current const.lua with my 49 dummy chars const.lua (with or without stages mod, your choice). But before you replace it, do these steps first.
1. Open my const.lua and select the first dummy char (U01), like in this screenshot:
Posted Image
2. Open your current const.lua and select the custom char you want (in this case, Morrigan / MOR), like in this screenshot:
Posted Image
3. Copy the MOR section to and paste it to my const.lua to replace the U01 section.
4. Repeat the step 1-3 to replace U02, U03, U04 etc with other like RYX, LTH, JUN, UKN etc.
5. Save my const.lua and copy it to replace your your current const.lua. Done.

Remember, you must never delete any section or add new section in my const.lua. You can only replace the section in order to keep your savegame intact. That's why I use the code U01 - U49 to keep track of any custom character I have. For example, now I have 5 custom chars, it means that the next dummy char is U06, right? Because I had replaced 5 dummy chars above U06.


NOTE: There is big chance (close to 100%) that the random fight (eg. the fight we get when we leave the title menu idle for few seconds, and also from the random box) won't work because the random fight also pick the dummy chars (which we don't have the files for them, just the entry in 'const.lua'). --> FIXED (thanks to bbb)
Edited by robhal, Feb 2 2014, 03:27 AM.
Offline Profile Quote Post Goto Top
 
Deleted User
Deleted User

Great find bro :)
Quote Post Goto Top
 
robhal
Member Avatar
Pegasus Ryu Sei Ken!

@Khaled:
Thank you bro :)
Offline Profile Quote Post Goto Top
 
Baoulettes
Member Avatar
Pew Pew Pew Lazer Game !

Funny that what I was planning to do with my soft so I can make people choise the custom as list or pre-made slot so it won't make surpass slot count and won't need much loading ^^
Offline Profile Quote Post Goto Top
 
bbb

Great find robhal :) .

1 question. Once we name a blank character, it will be too late to change it afterwards correct? Like change U01 and U02 to JLI and JNI for Juli and Juni to make it easier finding their files.
Offline Profile Quote Post Goto Top
 
robhal
Member Avatar
Pegasus Ryu Sei Ken!

@Baoulettes:
Good to see you are also planning to do this too.

@bbb:
Thank you bro :)
No it will be never too late, you can change the dummy char code to anything you like. In fact you can also replace the whole block, like copy all your JLI and JNI section (if you already have them) to replace U01 and U01 for example.
Offline Profile Quote Post Goto Top
 
bbb

That's great news robhal :)
Offline Profile Quote Post Goto Top
 
KuronoKei
Member Avatar

Would be nice if you could port movesets from SSFIVAE for Law as Fei Long and other characters then we'll have a SSFXTAE.
Offline Profile Quote Post Goto Top
 
robhal
Member Avatar
Pegasus Ryu Sei Ken!

KuronoKei
Dec 7 2013, 05:58 AM
Would be nice if you could port movesets from SSFIVAE for Law as Fei Long and other characters then we'll have a SSFXTAE.
I want too, but sadly we can't do that. :(
Offline Profile Quote Post Goto Top
 
Deska140
Member Avatar

@Robhal
I'm a complete noob and ignorant in SFXT modding and technical stuff, so could you explain to me one thing? When we(for example) paste your "const.lua" into ours, there is still "const.lua" in each new character download. Do we still need to overwrite our file with the new ones ?
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
ZetaBoards - Free Forum Hosting
Free Forums with no limits on posts or members.
Learn More · Sign-up Now
Go to Next Page
« Previous Topic · Tutorials and Tools · Next Topic »
Add Reply