|
Stages.
Feb 12, 2009 18:58:42 GMT -5
Post by Register on Feb 12, 2009 18:58:42 GMT -5
All right... I've made it so far as to pull out the textures and edit them, but from there I'm pretty much clueless. Anyone have any idea on how to put texture modifications BACK into the game? It'd be much appreciated.
|
|
|
Stages.
Feb 13, 2009 1:32:44 GMT -5
Post by Joey90 on Feb 13, 2009 1:32:44 GMT -5
I haven't actually done this But this would be my best plan: If you were feeling adventurous you could try using ASH on 001.bin.out and seeing if it worked, or you can probably hex the textures back into 001.bin.out, like in the old days. Though it will be more difficult due to the vast numbers of them. Then you need to run ntcompress on 001.bin.out, turning it back into a .bin (you need to change 4 bytes similar to that in pac-pcs compression, check the SE guide) Then you would have to hex the .bin back into the STGXXXX.PAC though I'm not exactly sure what header you would look for...
|
|
|
Stages.
Feb 13, 2009 7:23:08 GMT -5
Post by elrefugio on Feb 13, 2009 7:23:08 GMT -5
I haven't actually done this But this would be my best plan: If you were feeling adventurous you could try using ASH on 001.bin.out and seeing if it worked, or you can probably hex the textures back into 001.bin.out, like in the old days. Though it will be more difficult due to the vast numbers of them. Then you need to run ntcompress on 001.bin.out, turning it back into a .bin (you need to change 4 bytes similar to that in pac-pcs compression, check the SE guide) Then you would have to hex the .bin back into the STGXXXX.PAC though I'm not exactly sure what header you would look for... There is a faster way to create compressed files without having to delete four bytes and copying everybyte to an hex editor and adding the header again at the fifth byte. Pharrox didn't know this method, and for that reason he wrote the guide that way. The new CUPASH uses this method, and it's a lot faster. ntcompress -l -o compressedfile -A4 uncompressed.file And you won't have to worry about deleting and writing the header again And also, you skip the useless hex editor part of the guide.
|
|
|
Stages.
Feb 13, 2009 13:09:06 GMT -5
Post by Register on Feb 13, 2009 13:09:06 GMT -5
^ So, given that... I tried it on my 001.BIN.out file. I typed it in as such:
ntcompress -l -o 001.bin -A4 001.BIN.out
And, of course, it spat out a 001.bin file. Any idea what I do with the new bin file? I found the place where I could put it back into the stage PAC file, but it ends too early... unless it's supposed to do that.
|
|
|
Stages.
Feb 14, 2009 4:48:29 GMT -5
Post by Joey90 on Feb 14, 2009 4:48:29 GMT -5
^ So, given that... I tried it on my 001.BIN.out file. I typed it in as such: ntcompress -l -o 001.bin -A4 001.BIN.out And, of course, it spat out a 001.bin file. Any idea what I do with the new bin file? I found the place where I could put it back into the stage PAC file, but it ends too early... unless it's supposed to do that. Remember you have just compressed the file so I would guess, like the CSP's (and possibly the PCS's) the size can vary depending on what you did. Or compare the stage PAC with the original .bin
|
|
|
Stages.
Feb 14, 2009 6:48:12 GMT -5
Post by Register on Feb 14, 2009 6:48:12 GMT -5
^ Yeah, that's what I did. I had a lot of excess data... But, tried my custom stages out last night (3 of them) and all of them worked (save for one, that excluded some animations for whatever reason, such as smoke). Thanks a bunch for the help, all!
|
|
pako1034
Intermediate Kitten
Boom. Headshot.
Posts: 64
|
Stages.
Feb 14, 2009 8:16:02 GMT -5
Post by pako1034 on Feb 14, 2009 8:16:02 GMT -5
You can edit stages? Awesome!
Does that mean that you can edit custom stages individually as if they were regular stages?
|
|
|
Stages.
Feb 14, 2009 10:34:04 GMT -5
Post by Joey90 on Feb 14, 2009 10:34:04 GMT -5
You can edit stages? Awesome! Does that mean that you can edit custom stages individually as if they were regular stages? I don't think so - I think you can change the textures of the custom stages, but it will change for ALL custom stages at once.
|
|
|
Stages.
Feb 15, 2009 4:58:01 GMT -5
Post by elrefugio on Feb 15, 2009 4:58:01 GMT -5
^ So, given that... I tried it on my 001.BIN.out file. I typed it in as such: ntcompress -l -o 001.bin -A4 001.BIN.out And, of course, it spat out a 001.bin file. Any idea what I do with the new bin file? I found the place where I could put it back into the stage PAC file, but it ends too early... unless it's supposed to do that. If the new file is bigger than the old file then you will have to do some modifications (reduce image patterns so they repeat a lot and it can be compressed better, for example). If your file is smaller then simply add zeros until it's the same size (I don't know if this is mandatory). Before you burn your disc, you can try to re-extract everything again. If it works then your game won't freeze. If SSBExtract gives you some error then you did something wrong and you will waste time burning the disc It seems that stage editing is getting famous, maybe I'll work on a Stage Editor ASH.
|
|
|
Stages.
Feb 15, 2009 15:30:50 GMT -5
Post by Register on Feb 15, 2009 15:30:50 GMT -5
^ I heard about adding 0s to the end of the file; I didn't do that, and all the stages I've edited worked fine so far (save 1, but it just misses some opening/closing graphics, probably an error on my part). So good chance that'd probably work. As for SSBExtract... Stack Smash's stage textures, when I tried to SSBExtract them, they wouldn't extract, yet they work perfectly in-game. Odd.
Also, some of the mipmapped texture files, even after adding ", 0, 3, 0" to their TCS files, wouldn't fit under some of the original textures, being too small. Not sure why that was. (They'd crash ASH whenever put back via that method as even after being mipmapped they still wouldn't fit.)
Figured I'd bring those to your attention if you ever looked into stages, el_refugio. They're pretty basic for the most part; a lot of the stuff is kept in the order they are extracted with ASH.
|
|