< >

 [Graphics] GOLD: MeanMrMustad's Big Tileset Hack!

 Tutorials Looking for a guide to help you out? Then you're in the right place! We've got everything you need, ranging from Mapping to Music!New threads in this forum are to be approved by a moderator before they are displayed. The thread revival limit does not apply here.

#1
February 23rd, 2008, 10:00 AM
 The dude Metal is good Join Date: May 2004 Gender: Posts: 87
Mean Mr Mustad's Big Tileset Hack!!! Big tileset Hack! The one I use in Diamond!

Hi! This hack gives you up to 256 tiles for a tileset. Enjoy!

How it works:
It moves the previous tileset to VRAM 1 and since it's empty in gold you have all the 256 free

How do I use the extra tiles?:
The Unused bytes at the header become the pointer to the second part of the tileset! Use 2 Tilesets!
The normal tileset pointer loads a tileset from tile 90 to FF and the second tileset from 88-7F (Unused 00s in tile header)
In the block data 00-7F are the Bottom Tiles and 80-FF are the top tiles!!!
In Palletes the 80-FF tiles are set as soon as the 00-7F tiles end!

Tileset Drawing Routine: [Loads the Tileset into VRAM 1]

3E 01 ld a,01 ; Set VRAM bank 1
E0 4F ld (FF00+4F),a ;vram bank ;
21 C3 D0 ld hl,D0C3 ; Get Normal Tileset Pointer from Ram
7E ld a,(hl) ;
23 inc hl ;
46 ld b,(hl) ;
6F ld l,a ;
60 ld h,b ;
FA C2 D0 ld a,(D0C2) ; Get Tileset Bank
11 00 90 ld de,9000 ; Load Tileset at 00:9000
CD F0 0A call 0AF0 ; Decompress Tileset
FA CE D0 ld a,(D0CE) ; Check for a Big Tileset
FE 00 cp 00 ;
21 CD D0 ld hl,D0CD ; Get 2nd Tileset Pointer from Ram
7E ld a,(hl) ;
23 inc hl ;
46 ld b,(hl) ;
6F ld l,a ;
60 ld h,b ;
FA C2 D0 ld a,(D0C2) ; Get Normal Tileset Bank
11 00 88 ld de,8800 ; Load 2nd Tileset at 01:8800
CD F0 0A call 0AF0 ; Decompress 2nd Tileset
3E 00 ld a,00 ; Set VRAM bank 0
E0 4F ld (FF00+4F),a ;vram bank ;
C9 ret ;

Map Pallete Routine: [Sets the Map Palletes to VRAM 1]

C6 08 add a,08 ; Changes pallete from VRAM 0 to VRAM 1 by Adding 8 to the read pallete byte.
12 ld (de),a ; Huh? - The gameboy Colour uses palletes 0-7 for VRAM0 and 8-F for VRAM1
13 inc de ; 0 and 8 , 7 and F are the same palletes.
0D dec c ;
C9 ret ;

Animations Copy Routine: [Copies the Rooftops to VRAM1]

F5 push af ;
3E 01 ld a,01 ; Set VRAM1
E0 4F ld (FF00+4F),a ;vram bank ;
CD 03 04 Call 4003 ; Copy Tiles
AF xor a ; Set VRAM0
E0 4F ld (FF00+4F),a ;vram bank ;
F5 push af
C9 ret ;

Rooftops Copy Routine: [Copies the Rooftops to VRAM1]

F5 push af ;
3E 01 ld a,01 ; Set VRAM1
E0 4F ld (FF00+4F),a ;vram bank ;
CD 1A 31 Call 311A ; Copy Tiles
AF xor a ; Set VRAM0
E0 4F ld (FF00+4F),a ;vram bank ;
F5 push af
C9 ret ;

You can put these codes anywhere in the rom,
Here's where you call them from.

00:2944 (&H2944)

21 xx xx ld hl,(Pointer to Tileset Drawing Routine)
3E zz ld a,(Bank)
CF rst 08
00 nop
00 nop
00 nop
00 nop
00 nop
00 nop
00 nop
00 nop
00 nop

02:4046 and 02:4091 (&H8046 and &H8091)

CD xxxx call (Pointer to Pallete Routine,keep it in bank 02 - maybe at 7ff0!)

00:1635 (&H1635)

CD xxxx call (Pointer to Rooftops Copy Routine - Keep it in bank 3F!! )

07:401D (&H1C01D)

CD xxxx call (Pointer to Animations Copy Routine - Keep it in bank 07!! )

Q&A: questions from msn.

Q: Will my sprites dissapear? I'm looking at your text and there doesn't seem to be a fix
like in Hyperhax0r's.

A: No, They dont! - Why would they???

Q: Does this make the colours go wierd when you open the Pokegear and exit?

A: No, Why would it? I honestly have no Idea how hyper haxor got those bugs... Im stomped...

Q: How many tiles can I use?

A: 256.

Q: I heard you have 500 pokemon in your hack? is this true? and How can i have 500 in my hack?

A: Erm... With a CP command to choose pointers for Names,Pics,Stats,Palletes,Moves,etc. and find a way to set
a bit to choose pokmn sets. 2 sets of FFs... My old FAKE 255 pokemon hack can be found in Pokecommunity!
although you can only catch 255 pkmn - You can have up to 255 extra ones with a special table!

Q: What happend to powmon?

A: hmm... yeah! I'm going to release it again!

_________________________________________________

Last edited by Spherical Ice; April 15th, 2010 at 08:03 AM.
#2
February 26th, 2008, 01:25 PM
 cooley ///Keepin' it simple Join Date: Feb 2007 Location: United States Age: 19 Gender: Male Nature: Impish Posts: 1,149
The tileset hack, it is for extra tiles right? So how about the R/S/E Tree tile hack for Gold?
Usually, When you make a tree, It has to be skinny and it has two coloums of one tree per tile. In your game, I see that you have 1 tree for the whole tile, Is it a ASM hack?

These tutorials Are very useful, but hard to understand, You should start off easy Like How to make tiles and insert them or something like that, then work your way up to this Big Tileset hack.

BTW, can I copy and paste that into My Rom? Will it work?
#3
February 26th, 2008, 07:59 PM
 IIMarckus J946@5488AA97464 Join Date: Oct 2007 Gender: Posts: 402
Quote:
 Originally Posted by The dude Q: Will my sprites dissapear? I'm looking at your text and there doesn't seem to be a fix like in Hyperhax0r's. A: No, They dont! - Why would they??? Q: Does this make the colours go wierd when you open the Pokegear and exit? A: No, Why would it? I honestly have no Idea how hyper haxor got those bugs... Im stomped...
Woo, that's a plus. I've never seriously used HyperHacker's hack because of those glitches.
#4
February 26th, 2008, 09:38 PM
 The dude Metal is good Join Date: May 2004 Gender: Posts: 87
Yeah... I don't know how he got them...

My hack is simple - load 2 tilesets into VRAM 1.
Then When the Game Reads the PalleteTable - Add 8 to it.

There's some useless code in that hack.
_________________________________________________
#5
March 28th, 2008, 10:06 AM
 Scream.Aim.Fire Beginning Trainer Join Date: Mar 2008 Age: 23 Gender: Nature: Lax Posts: 16
I don't understand how to do this.
I feel retarded.
Can someone explain this to me?
#6
July 25th, 2008, 10:03 AM
 Coolboyman Veteran Hacker Join Date: Sep 2003 Location: The East Bay Age: 25 Gender: Male Nature: Bold Posts: 456
If you're using this, and you're having crap showing up during battles, here's a simple fix.

hx3F8ED - Change that to DF, and battles will be clean once again.
Check out my Youtube channel. All about ROM Hacks, Indie Games and more!

Brown:

Prism : - Four Gym Summer 2010 Beta available now!

#7
July 29th, 2008, 02:39 PM
 Melash Back for now. Join Date: May 2008 Location: Idaho Age: 20 Gender: Male Nature: Relaxed Posts: 427
I...err...don't really get how to do this! ASM stuff, right?
#8
August 27th, 2012, 03:22 AM
 pixeleye Beginning Trainer Join Date: Aug 2012 Gender: Male Posts: 1
Men i think, you can do a patch? For this, coz it covennient? Don't you think? I wanted to try all the tileset extensions. Thanks men.

Cheers.