Actions

SCHG How-to

Separate title art from GHZ/make GHZ load alternate art

From Sonic Retro

Revision as of 09:17, 29 November 2009 by Selbi (talk | contribs) (I don't think this is necesary if there is a separat guide for it.)

(Original guide by MKAmeX)

This guide assumes you have already merged the two GHZ files to make a single file (In this case, it should be 8x8GHZ.bin), this is actually a really easy thing to do.


First, load _inc/Main level load blocks.asm

You should see something like:

<asm> dc.l Nem_GHZ_2nd+$4000000 dc.l Blk16_GHZ+$5000000 dc.l Blk256_GHZ</asm>

Change it into:

<asm> dc.l Nem_GHZ+$4000000  ;changed from Nem_GHZ_2nd dc.l Blk16_GHZ+$5000000 dc.l Blk256_GHZ</asm>

Next, open sonic1.asm and look for:

<asm>Blk16_GHZ: incbin map16\ghz.bin even Nem_GHZ_1st: incbin artnem\8x8ghz1.bin; Now only title screen and ending use this. even Nem_GHZ_2nd: incbin artnem\8x8ghz2.bin; Title Screen and ending only. even Blk256_GHZ: incbin map256\ghz.bin even Blk16_LZ: incbin map16\lz.bin even</asm>

add this above Nem_GHZ_1st:: <asm>Nem_GHZ: incbin artnem\8x8ghz.bin  ; New GHZ file. even</asm>

It should look like:

<asm>Blk16_GHZ: incbin map16\ghz.bin even Nem_GHZ: incbin artnem\8x8ghz.bin  ; New GHZ file. even Nem_GHZ_1st: incbin artnem\8x8ghz1.bin; Now only title screen uses this. even Nem_GHZ_2nd: incbin artnem\8x8ghz2.bin; Title Screen only. even Blk256_GHZ: incbin map256\ghz.bin even Blk16_LZ: incbin map16\lz.bin even</asm>

Next, go to _inc/Pattern load cues.asm and find:

<asm>PLC_GHZ: dc.w $B dc.l Nem_GHZ_1st; GHZ main patterns dc.w 0 dc.l Nem_GHZ_2nd; GHZ secondary patterns dc.w $39A0</asm>

Change Nem_GHZ_1st into Nem_GHZ and remove Nem_GHZ_2nd. Next, you have to change $B into $A so it knows how many files to load. Your code should look like this.

<asm>PLC_GHZ: dc.w $A dc.l Nem_GHZ; GHZ main patterns dc.w 0</asm>

Load up your rom and it should load Correctly. You won't be able to tell if it worked or not unless you edit the art.

Also, If you're going to be editing the art, it's best that you make a seperate file for the title screen. Look at this guide to do it: SCHG How-to:Make an Alternative Title Screen