Modding SF4 for PC (No DLC Unlocks!)

For those that are interested in making ripped clothing,

adding this binary code to the object

called “AlphaTest” does a much better job than “AlphaBlend”

http://img24.imageshack.us/img24/6830/alphatest.jpg

outlines from the skirt can be seen still, while alphatest provides not outlines and that “torn” fill to it.

This should be bumped these are great.

Also is there any videos that show off a lot of these skins. I’m just finding links to music…

Packing AAX in CSB

I was messing around with the characters’ voices, and now I’m at the point that I need to pack up my changed .aax files back to CSB, in order to replace the file in the Battle\Chara(character dir).

I read forthright55’s tutorial for BGM, hoping to find a solution there, but the CSB packer included only allows for 6 aax/adx files, and I need much slots than those for char voice files:P

I was wondering, where did this CSB packer came from? Was it made by forthright55? Is there any other way to pack aax/adx files to csb?

Thanks in advance;)

Hey man good job. I know the code and where to find it and all, but how can you add this stuff, it will change the file size right?

Btw, its Hex, not binary :wink:

You have to replace existing hex in the .col files so that it doesn’t change the size. It’s difficult to say what is safe to overwrite and what isn’t, but Snoopee did say that all the “Brushx” where x is some letter seemed ok to overwrite.

A question

Hi to all.
My question is simple: Is there a way to put a mod skin like “CMY_01_02.col.emz” in place of standard skin “CMY_01_03.col.emz”?

I tried to rename the file, but the game crashes.
Thanks in advance

P.s: sorry for my english

It was made by goshanes.

Have you tried my SF4CMM (Costume Mod Manager) tool?

Take a look: http://forums.shoryuken.com/showthread.php?t=201403

what cammy is this guy’s av?

Damn, I forgot to back up the original music files and added lots of skins. If I wanted to get the original background music, I guess I would need to do a fresh new install? Dang it lol

Where do you add this exactly? Anywhere within the section for the object you want (such as “Skirt” for Sakura)?

I tried replacing the AlphaBlend string for the skirt with "AlphaTest " (including a space at the end to keep the same length) but I lost all transparency with that. I could definitely use a more thorough explanation of this AlphaTest thing.

By the way, thanks for all the info everyone! Great thread. :tup:

Here’s a more in-depth and correct explanation than i previously put up.

I originally thought each “setting” was 38 characters but actually, each “setting” is every 40 characters (expect for SpcBumpxxxxx and the name of the object).
Here’s the replacement of BrushA on Sakura’s skirt:

http://img24.imageshack.us/img24/1696/clipboard11lhy.jpg

It’s better to look at the actual hex code part instead to make sure everthing is in place.
FIXED

The red highlighted area is “BrushA”, you can essentially pick almost any area you want, but so far i havent seen any noticeable changes when replacing Brushx. Some that you dont want to replace though are SpcBumpxxxx or TextureFilter0, BackFace, etc

You can see exactly what I replaced in the after part, everything still intact. and thats it. pretty simple huh?

Alphatest(full transparency for ripped clothing, holes, etc) is

Alphablend(semi-transparancy) is

You can use AlphaTest for Full Transparency, and AlphaBlend + AlphaBlendType for when you require Full Transparency.

This is probably the best way to explain how to enable Semi-Transparency on a texture of your choice:

http://i29.tinypic.com/2r3dwug_th.png

STRING:


AlphaBlend..............................AlphaBlendType..........................

HEX:


416C 7068 6142 6C65 6E64 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0100 0100 0100 0000 416C 7068 6142 6C65 6E64 5479 7065 0000 0000 0000 0000 0000 0000 0000 0000 0000 0100 0100 0000 0000

=======================================================================================

EDIT: Mwhauaha sn00pee beat me to it! (although I’m talking about Semi-Trans here).
BTW, I wanted to say this earlier, but your codes are wrong, your offset is -2 on where you should start.

The first two bytes in your code, are actually the Value of the Param before that.

Hmm. I don’t see any “Brush” strings for the skirt in my file. Here’s a screenshot.

Am I doing something wrong here?

Edit: Nevermind, I’m an idiot. I already used the other method to copy the settings from eyefar3 on this file, so I overwrote those. What’s the easiest way to clean that up? Copy those blocks out of the original file and start over, or can I just tweak this to switch to AlphaTest instead of AlphaBlend/AlphaBlendType?

i made a mistake anyways,
but for semi-transparency, as far as I know, AlphablendType isnt needed.

@Rehevkor
everything is shifted all over the place, revert back to the original settings, and start again from there

Just tested, it’s true :shy:

Ok, now I’m totally lost… There are two odd characters (C0 3F) before AlphaTest in your screenshot, but they’re not in your hex string below. However, the hex string does include a hyphen floating out there in space, plus if I overwrite with that exact hex string starting on the “B” in “BrushA” it ends up overwriting the “@” before “BrushB”.

I’ve tried several variations of that string and its starting position and I haven’t had any success yet. Am I still doing something wrong, or is something off in your example?

Thanks for the help by the way. I just started mucking with the hex stuff today, so I appreciate it.

Yea, as LouNGeR pointed out, I included the previous param’s values in it by mistake. I updated the code, but didnt feel like taking more screenies though lol. Sorry to confuse you. The @ before BrushB is not apart of BrushB, but apart of BushA.

Aha, THAT’S what threw me off. I inserted the AlphaTest string starting at the B in BrushA and it worked perfectly. Sakura’s skirt no longer has a weird fringe along the bottom where I trimmed it. Thanks a ton!

:amazed: Looks…amazing…