Modding SF4 for PC (No DLC Unlocks!)

I’ve had this working since Snoopy originally posted his hex replacement in .col files, but I didn’t know that it could be done without Alphablendtype. Makes life a little easier now, as there were places I wanted to add alphablend but didn’t have enough room to add alphablendtype.

I’m encountering a new problem when trying to remove the spikes from her bracelets in costume 1. These are called “toge” in the hex, but there appears to be no reference to any sort of texture. I think they are just straight from the mesh with some added reflection filters. Unfortunately, without a texture to work with, I cannot add in alpha layers to remove these spikes. I know I can just disable them in the .cos files, but I’d prefer a way to do this in the .col file.

Don’t know if anyone has thought about this, or even if it is possible, but wouldn’t it be cool if we could hack the menu, so we could have user created costumes selectable as it’s own costume instead of colour?

For example, we could have the original and official alternate, but then a third COS file selectable on the select screen for the mods.

Anyone think it’s possible to do?

can someone make an evil guile. k thx.

that sounds like a great idea wouldnt be too sure how to implement it.

Probably, once we know how to activate the 2nd costume.

Beautiful! Great work, man!:wink:

Did anyone try mods with the DLC? It seems they crash… At least mine does. I don’t have the DLC yet so I can’t confirm or deny anything yet.

How? I assume this was done by editing the cmn file? I’d really appreciate any information that anyone uncovers on that file, I’m not so much interested in the skin mods as much as I am in figuring out how the cmn.emz files work.

edit: I think the #BCM section at the end of the cmn file has to do with the inputs on moves… a 76 byte pattern repeats 68 times. I tried repeating the first one over and over and then i went and tested out sagat and i couldn’t do any of his moves except for his taunt… which was oddly enough bound to the light punch key. even a designated throw button i bound triggered it. I was still able to move and jump though.

With that here is a tutorial:

1.)After unpacking the CMN of the character you want, you’ll need to open a Hex editor.

2.)Doing a text search of the word “head”(that’s the easiest way for me to find it) will give you a number of results.

3.)Though very similar to what you want, ignore the first entry. Instead select the second entry of head in the find list.

4.)Select/Highlight all the facial expressions. If it’s on the face select it.

5.)Fill with 20(character space), this will add blank data to the entry.

6.)Save how you would a normal CMN using the steps normally used.

7.)Play and enjoy your blank face.

thanks

this is the possible values of each byte of the 76 byte block I was referring to
0-- ,FF,05,06,00,03,04
1-- ,FF,00
2-- ,FF,00
3-- ,FF,00
4-- ,00,30,06,31,03,34,09,35,01,07,04,0A,02,08,05,0B,0C,32,0F,33,0D,10,0E,11,12,15,13,16,14,17,18,1B,19,1C,1A,1D,2C,2D,2E,2F,80,81,82,83,84,85,86,87,88,8A,8C,8E,90,92,94,96,A4,A5,A6,B4,20,21,42,45,43,44
5-- ,01,00
6-- ,00
7-- ,00
8-- ,01,08,02,10,04,20,00,80,40
9-- ,00,10,01,02,08,18
10-- ,00,40,54,78
11-- ,00
12-- ,00,CD
13-- ,00,CC
14-- ,00,C0,0C,4C,80
15-- ,00,3F,40
16-- ,33,00,66,9A,CD
17-- ,33,00,66,99,CC
18-- ,B3,E0,D3,A0,E6,13,B9,0C,8C,AC,C0,CC,26,80,99,40,20,19,F3,00,4C,D9
19-- ,3F,40,41
20-- ,00
21-- ,00
22-- ,00
23-- ,00
24-- ,3C
25-- ,00
26-- ,00
27-- ,00,01
28-- ,00,80
29-- ,00,01
30-- ,00,80
31-- ,00,01
32-- ,00,19,80
33-- ,00,01
34-- ,00,80
35-- ,00,01
36-- ,00
37-- ,00,01
38-- ,00,80
39-- ,00,01
40-- ,00,0C,80
41-- ,00,01
42-- ,00,80,0C,19
43-- ,00,01
44-- ,00,80,0C,19
45-- ,00,01
46-- ,00,80,02,0C,19
47-- ,00,01
48-- ,00,80,02,0C
49-- ,00,01
50-- ,00,80,02,0C
51-- ,00,01
52-- ,40,00,80,44,04,84,10,C0,48,01
53-- ,00,02,04,01,08,0E,09
54-- ,10,11,12,20,00,50,22
55-- ,10,14,00,30,20
56-- ,02,01,00,04
57-- ,00
58-- ,03,04,07,01
59-- ,00
60-- ,00
61-- ,00
62-- ,00
63-- ,00
64-- ,66,00
65-- ,66,00
66-- ,A6,00
67-- ,3F,00
68-- ,00,FA,E8,F4
69-- ,00,03,01
70-- ,00,EC,FA,F6,E2,E8,F4
71-- ,00,FF,03,01
72-- ,00,C8
73-- ,00
74-- ,00,E8
75-- ,00,03
double edit: nvm on the previous edit

Hmm… Looks interesting. Could values from other characters be added to change moves? Or is it specific to character cmn. Would be nice if it’s just a value telling the skeleton what to do.

Hey Prov, quick question, I assume that if you use some of the character’s OWN facial expression data you could still get some of the facial movements. Is this so?

Example if this is getting to confusing: Let’s say I have Gen but with Sakura’s model (which would mean SKR with GEN moves) and I do your little cheat here. Instead of completely deleting everything, I go to the original Sakura and copy her facial data. Would this do anything or crash the game? :confused:

still seems to be the same with the 05 index becoming 92… wait, if i mash forward dash while mashing jab i get a tiger uppercut… and what’s more is that if i hit jab again after the tiger uppercut hits it cancels to a 2nd one which does not hit but i can NOT get a tiger uppercut with the regular motion. umm. WTF?

we’re figuring everything out still. meaning the answer is: go try, report back, and tell us. if the answer is yes, then awesome, thanks for figuring it out, if not, still awesome, now the rest of us don’t have to.

Nah Kanta. I think the CMN is unique to each character in that sense. I’ll give it a try but I doubt the result will be good.

Believe me, if my PC was working. I’d be figuring this out right now. I guess I’ll wait till you awesome people figure out some more ^_^. Great, groundbreaking, work you’re laying down here. Keep it up!

Nope. Can’t be done without crashing. Each CMN has it’s own instructions too. So some have “left eye do this” while in the same spot the other has “nose do this”. Now if I had more patience at this time I’d try to fill the values that were similar to see if I got a working file. But seriously I doubt it’s possible.

Well, for a while the dream lived. Thanks for trying :slight_smile:

http://img33.imageshack.us/img33/6872/airplane2.jpg

http://img24.imageshack.us/img24/7417/airplane.jpg

http://img33.imageshack.us/img33/5287/airplane3.jpg

got it by pasting around back and forth entries in the list related to facial animation that providence just showed us :rofl:

T pose on the upper torso? lol

I’m thinking of it more as helicopter sagat