File Replacement (FST) failed.

Started by Deathwolf, June 18, 2011, 10:33:42 PM

Previous topic - Next topic

Deathwolf

Actually it's possible to swap files via FST and 07 (04) codetype... Yes, I've tried it on Super Smash Bros. Brawl with Music files and it works pretty nice! But for some reason it doesn't work on Stages? Maybe some of you know the so called "Move swap code" from Y.S. which is swaping XXXX.PAC files. The stages are XXXX.PAC too! Anyway, I don't see the differnece between swaping Music files and Stage files but while loading the stage, it freez.

There is a code that allows you to do that, but I don't really like it so I decided to make my own which is much shorter but without any succsess

Alternate Stage Loader v1.1 [Dantarion, Almas , ported by Deathwolf]
C23FD168 00000024
91620000 90E20004
91820008 90620010
91220014 7D800026
3C602F70 60637269
80E10020 7C033800
408200D4 3C602F53
60635447 80E10044
7C033800 408200C0
80E10048 3D60DFDF
616BDFDF 7CE75838
3D60805A 616B7D00
816B0000 806B0000
892B0004 880B0005
2C030DED 41820090
7C033800 41820014
396B0008 1D290008
7D6B4814 4BFFFFD8
2C090000 41820030
396B0008 A0EB0000
3C60814C 6063B69C
A0630002 7C071800
4182000C 3929FFFF
4BFFFFD8 886B0003
48000024 2C000000
4182003C 3C60815D
60634430 80630000
7D2303D6 7D2049D6
7C691810 38E05F41
7CE71A14 B0E6FFFC
3C602E50 60634143
9066FFFE 38A5FFFE
38C60002 7D8FF120
81620000 80E20004
81820008 80620010
81220014 38000000
60000000 00000000

Alternate Stage Loader Data v1.1
46000010 00000000
44000000 005A7D00
6620LLLL 00000000
DATADATA DATADATA
00000DED FADEDEAD
E0000000 80008000

[spoiler]AT THE BEGINNING ONCE:
46000010 00000000
44000000 005A7D00
6620LLLL 00000000

]-----------------------------------
LLLL = The number of lines of stage data, +1. If you have 9 lines of stage data, input 10, which is A in hex, so "000A"
------------------------------------
FOR EACH ORIGINAL STAGE YOU HAVE REPLACEMENTS FOR:
SSSSSSSS BBRR0000
-----------------------------
SSSSSSSS  = Stage ASCII Data(Take from the chart below)
BB = number of replacement stages with button activators (Max 26 _A-_Z)
RR = Number of Randomly Selected Textures (Max 26 _A-_Z)
---------------------------------
FOR EACH BUTTON ACTIVATED STAGE
JJJJ00II 00000000
JJJJ = Button Activator from list below. All players controllers affect the activator.
II = Filename #- _A = 00, _B = 01, etc. Remember, 10 in hex is 0A


STGBATTLEFIELD.PAC (BATT)
42415454
STGCHARAROLL.PAC (CHAR)
43484152
STGCONFIGTEST.PAC (CONF)
434f4e46
STGCRAYON.PAC (CRAY)
43524159
STGDOLPIC.PAC (DOLP)
444f4c50
STGDONKEY.PAC (DONK)
444f4e4b
STGDXBIGBLUE.PAC (DXBI)
44584249
STGDXCORNERIA.PAC (DXCO)
4458434f
STGDXGARDEN.PAC (DXGA)
44584741
STGDXGREENS.PAC (DXGR)
44584752
STGDXONETT.PAC (DXON)
44584f4e
STGDXONETT_en.PAC (DXON)
44584f4e
STGDXPSTADIUM_en.PAC (DXPS)
44585053
STGDXRCRUISE.PAC (DXRC)
44585243
STGDXSHRINE.PAC (DXSH)
44585348
STGDXYORSTER.PAC (DXYO)
4458594f
STGDXZEBES.PAC (DXZE)
44585a45
STGEARTH.PAC (EART)
45415254
STGEDIT_0.PAC (EDIT)
45444954
STGEDIT_1.PAC (EDIT)
45444954
STGEDIT_2.PAC (EDIT)
45444954
STGEMBLEM.PAC (EMBL)
454d424c
STGEMBLEM_00.PAC (EMBL)
454d424c
STGEMBLEM_01.PAC (EMBL)
454d424c
STGEMBLEM_02.PAC (EMBL)
454d424c
STGFAMICOM.PAC (FAMI)
46414d49
STGFINAL.PAC (FINA)
46494e41
STGFZERO.PAC (FZER)
465a4552
STGGREENHILL.PAC (GREE)
47524545
STGGW.PAC (GW.P)
47572e50
STGGW_en.PAC (GW_e)
47575f65
STGHALBERD.PAC (HALB)
48414c42
STGHEAL.PAC (HEAL)
4845414c
STGHOMERUN.PAC (HOME)
484f4d45
STGHOMERUN_en.PAC (HOME)
484f4d45
STGICE.PAC (ICE.)
4943452e
STGJUNGLE.PAC (JUNG)
4a554e47
STGKART.PAC (KART)
4b415254
STGMADEIN_en.PAC (MADE)
4d414445
STGMANSION.PAC (MANS)
4d414e53
STGMARIOPAST_00.PAC (MARI)
4d415249
STGMARIOPAST_01.PAC (MARI)
4d415249
STGMETALGEAR_00.PAC (META)
4d455441
STGMETALGEAR_01.PAC (META)
4d455441
STGMETALGEAR_02.PAC (META)
4d455441
STGNEWPORK_en.PAC (NEWP)
4e455750
STGNORFAIR.PAC (NORF)
4e4f5246
STGOLDIN.PAC (OLDI)
4f4c4449
STGONLINETRAINING.PAC (ONLI)
4f4e4c49
STGORPHEON.PAC (ORPH)
4f525048
STGPALUTENA.PAC (PALU)
50414c55
STGPICTCHAT_en.PAC (PICT)
50494354
STGPIRATES.PAC (PIRA)
50495241
STGPLANKTON.PAC (PLAN)
504c414e
STGRESULT_en.PAC (RESU)
52455355
STGSTADIUM_en.PAC (STAD)
53544144
STGSTARFOX_ASTEROID.PAC (STAR)
53544152
STGSTARFOX_BATTLESHIP.PAC (STAR)
53544152
STGSTARFOX_CORNERIA.PAC (STAR)
53544152
STGSTARFOX_GDIFF.PAC (STAR)
53544152
STGSTARFOX_SPACE.PAC (STAR)
53544152
STGTARGETLV1.PAC (TARG)
54415247
STGTARGETLV2.PAC (TARG)
54415247
STGTARGETLv3.PAC (TARG)
54415247
STGTARGETLv4.PAC (TARG)
54415247
STGTARGETLv5.PAC (TARG)
54415247
STGTENGAN_1.PAC (TENG)
54454e47
STGTENGAN_2.PAC (TENG)
54454e47
STGTENGAN_3.PAC (TENG)
54454e47
STGVILLAGE_00_en.PAC (VILL)
56494c4c
STGVILLAGE_01_en.PAC (VILL)
56494c4c
STGVILLAGE_02_en.PAC (VILL)
56494c4c
STGVILLAGE_03_en.PAC (VILL)
56494c4c
STGVILLAGE_04_en.PAC (VILL)
56494c4c
[/spoiler]

Maybe anyone knows why it isn't possible?!

Thanks a lot!
lolz

toonlink444

#1
I hacked SSBB for awhile before getting a gecko. Music files are .brstm files not .pac files. The Move Swap code just changes which character the .pac is loaded to. A stage .pac file uses a .rel file to companion the stage .pac. I think the ASL v1.1 needs the files patch code to give the stage file then changes the stage id to the stage it is replacing. In short the stage .pac is needed. Contact Y.S to find out about how the MS code alters the file. I might be wrong though. Use the info Y.S gives you. Also check out Smash boards and contact Dantarion to see how it really works, he is working on the clone engine at the moment though.

Edit: If you complete this contact if you want to help me make an on the fly stage swap code. I have attempted it before but got stuck.
In the begining there was nothing. Then it exploded
New blog!! Check it out for hacking Smash Bros Brawl!! http://letshackblank.blogspot.com/