http://translate.google.ca/translate?hl=en&sl=zh-CN&u=http://www.gamersky.com/handbook/200907/145564.shtml&ei=OHBnSvaTPIfKsQPHyYzjDg&sa=X&oi=translate&resnum=2&ct=result&prev=/search%3Fq%3Dhttp://www.gamersky.com/handbook/200907/145564.shtml%26hl%3Den%26client%3Dfirefox-a%26channel%3Ds%26rls%3Dorg.mozilla:en-US:official%26hs%3DQPi%26sa%3DG Translated … Not that it makes it easier to understand.
Stage Music Editing Breakthrough
I’ve worked out a way to create Stage Music files (for the normal stages) that will play a single song all the way through from start to finish without cutting out at all. This will allow people to create Stage music using any of their favourite songs - since the music doesn’t cut out or change tempo it means you can use songs with lyrics and it won’t sound odd… i’ve already been playing matches to some Coheed and Cambria.
You’ll need the original song in MP3 format (which most people probably have) and you’re good to go.
You’ll also need some of the encoding and packing tools mentioned earlier in this thread, but it’s actually really easy to do so don’t worry if you’re not very good at editing music (i’m certainly not). Everything you need is in this Zip file,
http://www.megaupload.com/?d=8N9JJT1W
(Even if you’ve got hardly any experience editing I would recommend giving this a try as it is very easy, just follow the instructions)
First of all you need to open your MP3 with Audacity, then simply choose to ‘Export as Wav’ from the menu - this will create a .Wav file of your song.
Next you need to use adxencd.exe to convert your .wav song into .adx format - again this is very easy. Just drag the wav file onto the adxencd.exe file (in Windows) and it should automatically create the same song in .adx format. Make a note of the file name and location.
Now you need to use CSB_Packer.exe to create your final Stage music file. It’s best if all your files are in the same folder for this next bit, as it will be easier to find them.
Run CSB_Packer and you will see 7 slots that you need to fill with files - I’ve included 2 of the files you need for this so all you need is your choice of song in .adx format (which you have already created). In the first slot (called Sound Bank) browse and select the BGM_Stage.csb file (included).
Now we have 6 audio slots to fill.
In slot 1 choose the file ‘nothing.adx’ (included)
In slot 2 choose your song in .adx format (the file you created)
In slot 3 you should again choose the file ‘nothing.adx’ (included)
In slot 4 you should again choose your song in .adx format (the file you created)
In slot 5 yet again choose the file ‘nothing.adx’ (included)
In slot 6 yet again choose your song in .adx format (the file you created)
Now click on ‘Create CSB’ and it will create a file called ‘BGM_Stage.csb.new’ - this is your stage music. (If you can’t see the .new part of the filename you might need to change a windows folder option to allow you to see file extensions).
All you need to do now is rename this file so that it matches the stage you want your music to play on and then copy it to the correct SF4 folder.
The stage music is located in this folder C:\Streetfighter4\Battle\System\
In order to explain which file relates to which stage I will list them in the same order they appear on the stage select screen in VS mode - if you imagine the 3 rows of stages on this screen you’ll understand what I mean, so looking at the VS stage select screen from left to right these are the stage music files,
RANDOM BGM_USA.csb, BGM_CHN.csb, BGM_RUS.csb, BGM_BRA.csb, BGM_AFR.csb
BGM_VIE.csb, BGM_JPN.csb, BGM_EUR.csb, BGM_SCO.csb, BGM_JPX.csb, BGM_LAB.csb
BGM_RVR.csb, BGM_VCN.csb, BGM_CNX.csb, BGM_VNX.csb, BGM_BRX.csb, BGM_TRN.csb
So if you want your song to play on the USA stage (the one with the cars in the background) you would simply rename BGM_Stage.csb.new to BGM_USA.csb (making sure to delete the .new file extension so that the file ends with .csb) and then copy it to the correct SF4 folder - *C:\SF4\Battle\System* (Remember to back up your original sound files from this folder in case you want to change back to the original music).
Now you should be able to fight along to your favourite songs!
Wow this turned into a long post.
Most of the credit for this should go to ‘Goshanes’ as he created the CSB_Packer program, and without that we wouldn’t be able to do anything. So a huge thank you to him for creating it!
P.s.
I think this discovery deserves it’s own thread as it allows fully custom music on all the stages (I think a lot of people would like to know about this), but I don’t have the ability to post new threads yet. If anyone wants to copy what i’ve written and post it in a new thread on my behalf they are more than welcome to. Thanks.
As a final and more technical side note - the reason this works is because sound clips 2,4 and 6 are all loops and they all start playing at the same time (at the start of the fight). My ‘nothing.adx’ file is simply 1 second of silence - i used this so that the intro sound clips 1,3 and 5 don’t do anything. When the song changes (due to 2 ultras being ready or low health) the game simply switches to sound clip 4 or 6, but because I put the exact same song for those clips it just continues playing as if nothing happened. Obviously this wouldn’t work if the loop sound clips started playing at different times (the song would probably restart), but it seems we got lucky for once. lol
The only downside are the rather large sound files that you end up with doing it this way, but that can’t be helped.
thank you above poster for the music mod , you are great
Actually it does, I was able to use that info to make it happen. (and that’s the ONLY info I’ve read about that subject)
Oh, I thought you were Chinese lol
Thats nice that you got it, but im sure everyone didn’t understand it, and you coulda shed some light as to how you managed to do it…
just testing around
http://img269.imageshack.us/img269/4049/transg.jpg
ill explain how I did it with Sakura. its a quite simple but a little annoying task.
Assuming you know how to do everything else…
first open up your .dds file (in this case 0000000004****.dds, since we’re dealing with the skirt)
go to channels and create a new channel (it should be Alpha 1, atleast it was in photoshop)
Edit the parts you want transparent/semitransparent in the alpha channel.
Save. inject. open up your favorite hex editor.
here’s the tricky part, you must keep everything exactly the way it was
you just switch the parts you want to be transparent/semitransparent with parts that already have an alpha.
Since I modified the skirt, Ill be swapping that with "eyefar3"
So first we must find “Skirt”. you can enter the text string “Skirt” or the hex string “53 6B 69 72 74”.
you should come to a line that looks like this: ?Skirt
Now replace “Skirt” with "eyefar3"
you’ll notice that everything shifted a little bit since eyefar3 is 2 characters more than Skirt. So now you either have to insert a string or delete a couple of strings to shift everthing back to its original position (in this case, delete)
now move on to “eyefar3” (the next eyefar3, not the one you just created) and replace it with “Skirt” and again, shift everything back to its original position by inserting more strings (2, in this case)
save, and viola.
hope that all makes sense
For those who are not native speakers(or readers) of Chinese, this is what the page says.
It says that because alpha channel is not controlled at the texture level as a universal option per texture, you need to get around it by switching parts that you want transparency effects for with those that have it already built-in. What this means is just swap the names of each texture inside the file so the game thinks it is dealing with a different texture where alpha is allowed.
He gave Chun Li as an example. Open CNL_01_01.col.emz with a hex editor and do a text search for “TextureFilter,” it should return about 13 or so hits in the search results. Find “Dress_Black” and rename it(as in overwrite) as "eyefar2. Now find “eyefar2” and do the same and rename it as “Dress_Black.” Next, look for “maedare_kazari” and rename it as “eyefar1.” Same deal again, rename “eyefar1” as “maedare_kazari.” Save, and it’ll work in the game as shown in the screenshots he provided if you edited the alpha channel like he did.
The reason why it works is because the eyefar textures are eye lashes where alpha is allowed. He says do not use the skin textures for this trick, for obvious reasons.
Hope that helped for some of you.
Thank you for explaining this. This will benefit all us skinners greatly. One question: does the object you switched with lose its original transparency attribute?
Pretty solid explanation
BTW, Semi-transparent doesn’t seem possible as long as the character has no other Semi-transparent textures in their file.
I’m testing Rose now, because her Pants on the Alt. Costume is actually Semi-transparent (alpha channel is like 47% gray)
@Fome
I’m pretty sure that the other object does not lose it’s transparency.
I think it does, if you replace skirt with eyefar3 and vice versa, then eyefar3 (eyelashes) no longer has transparency and you just have lines around the eyes.
And for those wonder… Yeah there are a lot of the same Textures from us loaded on that site too. No credit given or anything. Can’t really blame them considering they have patches, full game downloads and such on the site…
I can’t figure out exactly how to make the skirt partially transparent either. The files look normal.
found another way to do the transparency:
instead of swapping the names, you can just copy the “settings”
After each item is it’s “settings”,
if you copy the “settings” from eyefar3
(starting with the M)
http://img24.imageshack.us/img24/1484/clipboardeij.jpg
(all the way down to the k)
http://img24.imageshack.us/img24/9813/clipboard1uuq.jpg
and replace Skirt’s "settings"with that of eyefar3
(starting at the same location)
http://img24.imageshack.us/img24/7722/clipboard2b.jpg
then you have transparency without losing it in the other item…
Uh, you don’t lose the other item…
2x Trans:

And btw, how will we be copying settings, if one does NOT have the Alpha values and the other DOES, filesize will increase.
whatever object you SWITCHED with loses its transparancy because it doesnt have an alpha then (eyefar3 gets switched to Skirt;skirt doesnt have an alpha so eyefar3 now doesnt have an alpha, and the new eyefar3(Skirt) does.)
I dont think the filesize matters, as i’ve tested it in game also.
note: you dont just copy, you replace the nonalpha settings with that of the alpha settings
Hey Lounger, thanks a bunch. But I’m having issues with your skin editing hex program. Am I just supposed to open the emz file of the costume I want to edit? When I do, I get an error that says “-1”
Are you sure that you unpacked the EMZ first? The program does not unpack EMZ files yet.
well, I tried opening the dat file with it as well. Maybe I’m just an idiot lol.
BTW, for characters there are only 2 files you need to (or can) edit.
???_01.cos.emz
???_02.cos.emz
Can someone clear up, once and for all, the best way to deal with adding alpha? Starting to get really confused. Much thanks in advance.