Skeetendo

’Cause all games were better on the GBC

You are not logged in.

#1 2011-10-28 18:07:29

Munchulax
Member
From: Somewhere in Johto
Registered: 2011-08-10
Post 31/410

Repointing Palette Offset

How would you repoint the palette offset in Tileset 1 in Melash's Tileset Editor?  I have successfully inserted a 128x96 tileset and created 32x32 blocks from the second half of the tileset, but if I change the palette of a tile in the second half, Tileset 2's palette gets affected because Tileset 1's offset is 80C7 and Tileset 2's is 80F7.  I would need double the space for the palette offset because the tileset is now double the original size, right?


“To live is the rarest thing in the world. Most people exist, that is all.” ― Oscar Wilde

Offline

#2 2011-10-28 18:24:28

Miksy91
Member
Registered: 2010-10-16
Post 569/2,305

Re: Repointing Palette Offset

Mateo's Tileset Header tutorial:

Editing Palette Data

"There is no need to repoint, as this is always the same size."
"The data is simply a list of which pallete colour for each tile stored in order."


I don't think you're able to load palette for each tile in your tileset without any asm hacking.
There probably isn't enough space in ram to load palette for each tile in your tileset and besides, the game isn't programmed to load any more bytes for palette data than it originally does.

EDIT:
I think someone should correct me if I said something wrong because I'm not 100% sure of the validity of my answer...

Last edited by Miksy91 (2011-10-28 18:28:42)

Offline

#3 2011-10-30 20:43:34

Munchulax
Member
From: Somewhere in Johto
Registered: 2011-08-10
Post 32/410

Re: Repointing Palette Offset

Miksy91 wrote:

"There is no need to repoint, as this is always the same size."

I think this is only the same size if you are inserting another 128x48 tileset, not a 128x96.


“To live is the rarest thing in the world. Most people exist, that is all.” ― Oscar Wilde

Offline

#4 2011-11-05 23:36:06

Munchulax
Member
From: Somewhere in Johto
Registered: 2011-08-10
Post 41/410

Re: Repointing Palette Offset

Does anyone know the answer to this question?


“To live is the rarest thing in the world. Most people exist, that is all.” ― Oscar Wilde

Offline

#5 2011-11-06 00:52:16

Tauwasser
Member
Registered: 2010-10-16
Post 213/447

Re: Repointing Palette Offset

You are correct. You will need to repoint the tile->palette assignment. It is looked up on-the-fly, meaning it is not copied to anywhere in RAM. You can simply repoint and expand it. Be sure to leave a 0x20 tile (0x10 byte) gap of 0x66 for the 0x20 tiles below the first tileset part in VRAM.

EDIT: Actually, IIRC even some original tileset assignment data does not fit the whole tileset space, because there are less than 0x60 tiles in there.

So to reiterate. You will need to repoint the data and expand it. There is an unused tile-palette assignment part in there, check the cutting room floor wiki article on Pkmn Gold here. So if you need space, delete that data first.

cYa,

Tauwasser

Last edited by Tauwasser (2011-11-06 00:55:39)

Offline

#6 2011-11-06 02:09:58

Munchulax
Member
From: Somewhere in Johto
Registered: 2011-08-10
Post 42/410

Re: Repointing Palette Offset

Tauwasser wrote:

There is an unused tile-palette assignment part in there, check the cutting room floor wiki article on Pkmn Gold here. So if you need space, delete that data first.

The Cutting Room Floor says "At 02:4547 in the Japanese v1.0 ROM", so does that mean it is not there in the English Version?


“To live is the rarest thing in the world. Most people exist, that is all.” ― Oscar Wilde

Offline

#7 2011-11-06 06:59:55

Miksy91
Member
Registered: 2010-10-16
Post 577/2,305

Re: Repointing Palette Offset

munchulax wrote:
Tauwasser wrote:

There is an unused tile-palette assignment part in there, check the cutting room floor wiki article on Pkmn Gold here. So if you need space, delete that data first.

The Cutting Room Floor says "At 02:4547 in the Japanese v1.0 ROM", so does that mean it is not there in the English Version?

Download a japanese rom and compare that offset to the same of english one.

Offline

Board footer

Powered by FluxBB