Kitty Corp Meow Mix Forums

Help & Tutorials => Help => Topic started by: MortoAngelo on September 20, 2011, 05:19:50 AM

Title: Help with Alternate Stage Loader v1.1 [Dantarion, Almas]
Post by: MortoAngelo on September 20, 2011, 05:19:50 AM
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.
Title: Re: Help with Alternate Stage Loader v1.1 [Dantarion, Almas]
Post by: vm19961126 on September 20, 2011, 06:03:56 AM
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...
Title: Re: Help with Alternate Stage Loader v1.1 [Dantarion, Almas]
Post by: MortoAngelo on September 21, 2011, 05:41:47 PM
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...
Title: Re: Help with Alternate Stage Loader v1.1 [Dantarion, Almas]
Post by: vm19961126 on September 21, 2011, 06:39:30 PM
Well, I believe that, in hex, 10 = 0A, and you have 10 lines, so it should be 11, which is 0B I think.
Title: Re: Help with Alternate Stage Loader v1.1 [Dantarion, Almas]
Post by: MortoAngelo on September 22, 2011, 02:36:51 AM
Done, and it works perfectly. Thanks