Modding SF4 for PC (No DLC Unlocks!)

Oh thanks BeautifulViolence, that worked!
As you said, Who would expect they were actually graphics and not ASCII :wink:

If you used the way the chinese site explained, then you’d have to switch, thus leaving one without an alpha.

@wildmonkey, the best way so far is to open it up in hex edit and add in the texure filter… ill explain in detail in a minute.

edit

using sakura again as an example.
open up your favorite hex editor (im using XVI32), then open up the col.emz file
first you must find an object that already has an alpha (im using eyefar3 again)
so i find eyefar3. What makes eyefar3 use an alpha is outlined in red. This is what we want to copy.

http://img268.imageshack.us/img268/856/clipboard3v.jpg

In XVI32, to select, i use the block mark command, and select this part.

http://img24.imageshack.us/img24/7526/clipboard4u.jpg

next we must find the object we want to use an alpha: Skirt.
again the part we want to change is outlined in red.

http://img24.imageshack.us/img24/839/clipboard5i.jpg

note the position of Fu at the end, it must remain in the same position.
everything must essentially stay the same.

Now I start from the highlighted symbol,

http://img24.imageshack.us/img24/3401/clipboard6j.jpg

hit edit>block copy/overwrite and then bam, skirt will now use an alpha channel.

http://img24.imageshack.us/img24/2742/clipboard7j.jpg

Ok now it’s getting even more exciting with the transparency mods and fireball color mods.

I can’t wait to see what people come up with when they start removing objects from players and combining the texture reskins.
It will get even more interesting if parts of the alt costumes can be combined with the original ones to get even more variety.

Probably the most insightful post of the last several pages. Thank you so much for elucidating exactly how to enable alpha layers.

Thanks for this great tutorial, now we are all able to create our own music :wink:

Actually, Don’t Hex edit the COL file…

Hex edit the COS file and just rename all objects that you want to enable alpha for, to the name of the object that already has alpha.

thats a lot easier but then that would affect all of the other col files too correct? not that it would really matter…

But your method would have to include a cos file also while mine only relies on the col file.

Does this mean that, the way you’ve been doing it, you have duplicate names inside the file? For instance, multiple ā€œeyefar2.ā€

True, true…
Fortunately my method allows broader possibilities.

Yes.

You’re welcome. :slight_smile:

We’ve set up a thread especially for music editing - it includes the tutorial and some other useful info as well.

I’ve also posted some SSF2 stage music in the thread,

http://forums.shoryuken.com/showthread.php?t=200686

Hmmm, actually this seems to be a pretty good method, as it still allows you to change the transparencies of each COL file independently. All you are doing is allowing all the textures to use alpha channels–whether or not the texture HAS the alpha channel depends on the individual COL files.

Would there be anything detrimental about me going and just renaming all objects to eyelash2, in case I wanted to add alpha layers to anything in the future?

Im pretty sure that works. Just keep in mind that you possibly also apply other shaders and/or lightning. Like on my Rose example, i’ve used ā€˜pants’ on almost everything, thats why everything gets a dark shade that the pants uses.

Ok thanks for the info. I guess we’ll eventually figure out how to apply those shaders and lighting effects independently.

I recall you saying something about alpha channel semi-transparency not working properly on some textures. Are only some objects, like Rose’s ā€œpants,ā€ able to be made semi-transparent? For example, I tried to make Chun Li’s sleeves in costume 1 translucent by using gray in the alpha channel, but her sleeves stay opaque.

This is my first time in this thread and I have to say I’m amazed at how talented you guys are with figuring all this out. Good stuff! :smiley:

Hello! I am new here, and it is amazing to see how far people has gotten in modding considering this game just came out about a month ago!

There are lots of great info (kudos to Anotak) here, especially about Hex editing.
I’ve been messing around cmn.emz files for last few days. However, I don’t know how to find multiple hit moves (e.g. ex-fireball, supers and ultras). The way I look for a move is to look at its dmg/stun value and convert them to hex, then search for them after textblock section. Sometimes I got it right at firsttime, but other times I just find a value which I thought would be the value of the move but it is not.

Can anyone guide me on how to find multiple hit moves?

Any help is appreciated, thank you.

P.S. Also, it would be cool if one can change the speed of the fireball…

No, I was saying that you can only apply semi-trans, when there’s already a semi-trans setting in the file you are editing.
If there’s no object in the file that uses semi-trans, then you are unable to use a semi-trans setting for the object you’re working on.

That is, when we talk about using alpha definitions from other objects.
I’m sure there are ways to copy the semi-trans settings onto your own object, but AFAIK that’s not a 100% reliable way at the moment.

After testing the Snoopees method with Chun Li’s leg curtains, it seems as though this method isn’t entirely reliable. At first, I copied her eyefar3 attributes over in the hex editor, but my alpha layers still did not show. Actually her eyefar3 attributes appear to be slightly different from the sakura hex Snoopee posted, so what I tried next is to copy the hex data from sakura’s cos file into Chun Li’s. This caused my SFIV to crash. I’m thinking that I may have overwrote some critical component of Chun Li’s cos file when I replaced the hex.

Edit: I realized that I increased the size of the file by copy and pasting Sakura’s hex into Chun Li’s. I’m trying to figure out now how to do so without shifting the frame.
Edit2: Even if I perfectly copy Sakura’s eyefar3 hex into Chun Li’s, the transparencies do not work.

The trick is to save the file in DXT5 but you’d have to of course lower the size of the image to make it close to the file size of DXT1.

Here is an example:
skirt on the left has just the transparency properties in the COL file.
skirt on the right has the exact same properties as eyefar3 (like just changing the COS file)

both of course were saved in DXT5 (sorry for the bad quality)

http://img24.imageshack.us/img24/5724/clipboard8p.jpg

ill admit though, editing the cos is alot easier, especially if you want everything semitransparent, but for individual clothes, editing the col is a lot better IMO.

I would like to hear some of E.S. Posthumus music for Seth’s stage , especially Pompeii, Unstoppable and Menouthis. Also classical music like Antonin Dvorak’s ninth symphony New World" - 4the movement. Maybe even a original theme for Seth that takes parts from Pompeii, Unstoppable, Menouthis , Antonin Dvorak’s ninth symphony New World" - 4th movement and blends them together with other parts form classical sounding music.

edit: I also would like to hear Requiem for a Dream Remix for Seth’s stage music.

[media=youtube]xE0UA8RREX4&fmt=18[/media]

edit 2: Rush of the wind as another alternative for the Africa stage music.

Rush of the wind

[media=youtube]KVr38y-swdk&fmt=18[/media]

Guile’s theme - instrumental verison

[media=youtube]6xSctmeQK_w&fmt=18[/media]

Figured I’d harp in with my usual ā€œPlease fix the CSB packer so it can open the announcer files.ā€

Specifically I need to open…

SELVS_SE.csb
BTL_NAR_E.csb

And I’ll be set.
Really I just need to edit the UTF file.