Help with Alternate Stage Loader v1.1 [Dantarion, Almas]

Started by MortoAngelo, September 20, 2011, 05:19:50 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

I'm having trouble with this code, and started when I added some lines. First, I made this and it run perfectly:

Alternate Stage Loader Data v1.1
* 46000010 00000000
* 44000000 005A7D00
* 6620000A 00000000
* 42415454 00020000 (Battlefield with 2 random textures)
* 444f4e4b 01010000 (75 m with 1 Button set and 1 random)
* 01400001 00000000 (L+A and reads STGDONKEY_B.pac)
* 46414d49 00020000 (Mario Bros. with 2 random textures)
* 4a554e47 01010000 (Rumble Falls with 1 button set and 1 random)
* 01400001 00000000 (L+A and reads JUNGLE_B.pac)
* 50414c55 01010000 (Skyworld with 1 button set and 1 random)
* 01400001 00000000 (L+A and reads PALUTENA_B.pac)
* 00000DED FADEDEAD
* E0000000 80008000

But I noticed I got something wrong, so I edited it as I really wanted:

Alternate Stage Loader Data v1.1
* 46000010 00000000
* 44000000 005A7D00
* 6620000A 00000000
* 42415454 00020000 (Battlefield with 2 random textures)
* 444f4e4b 01010000 (75 m with 1 Button set and 1 random)
* 01400001 00000000 (L+A and reads STGDONKEY_B.pac)
* 46414d49 01010000 (Mario Bros. with 1 button set and 1 random)
* 01400001 00000000 (L+A and reads STGFAMICOM_B.pac)
* 46494e41 00020000 (Final Destination with 2 random textures)
* 4a554e47 01010000 (Rumble Falls with 1 button set and 1 random)
* 01400001 00000000 (L+A and reads JUNGLE_B.pac)
* 50414c55 01010000 (Skyworld with 1 button set and 1 random)
* 01400001 00000000 (L+A and reads PALUTENA_B.pac)
* 00000DED FADEDEAD
* E0000000 80008000

And the game does not even boot. It's my code bad? Or am I limited to an amount of stages?

I'm using CFG Loader with ocarina and VBI Hook.

September 20, 2011, 06:03:56 AM #1 Last Edit: September 21, 2011, 06:36:05 PM by beatthat25
Well, just say that you're lucky that you're even able to load the code... I can't even play with that code. :P

I think it's because you use a Loader, but i'm not sure anymore, since you could load it before...
supreme kitten? Yes I am. Yeah.
Brawl Fc: 0689-9748-1397

Ok, got it. The problem was that I specified 10 lines of data... and I had 10 exact lines, and this code uses the desired data lines + 1...

Well, I believe that, in hex, 10 = 0A, and you have 10 lines, so it should be 11, which is 0B I think.
supreme kitten? Yes I am. Yeah.
Brawl Fc: 0689-9748-1397