Skeetendo

’Cause all games were better on the GBC

You are not logged in.

#26 2011-04-17 14:03:19

Cheestendo
Member
Registered: 2011-03-30
Post 42/319

Re: Gold Titlescreen Editing

Gto the offset 62B0 with a hex editor and type in 00 until you get to the offset 62EE. "0x" in front of the offset tells you that the offset is in hexadecimal system (the offset would be different in decimal system (0x62B0 = 25264)).

62EE has to be 00 too?
------------------
&h in front of the offset is the same thing as "0x" above but AgiXp is programmed so that you've to write &h for it to work.
115D8CF is one possible offset where you could put the titlescreen in.

So i can use 115D8CF too?
---------------------
let's say my offset is  CFE61, ok i am sorry but that didn't make sense .
how can you exactly calculate this:?[Offset] = [Bank * 0x4000] + [Pointer MOD (0x4000)]
you could tell me how to calculate the offset into a pointer calculator?
------
And let's continue with the tutorial :
Now open your rom in a hex editor and go to 0x62b0 and type 21 xx yy 11 00 88  3E zz CD F0 0A  - xxyy is the last 2 bytes of the pointer e.g. 0040 and zz is the 1st e.g. 29

xx is the Bank * 0x4000?
yy is the Pointer MOD 0x4000? and again how to get those numbers?

---
and forward of the tutorial doesn't look to much challenging.

Offline

#27 2011-04-17 16:29:41

Miksy91
Member
Registered: 2010-10-16
Post 330/2,348

Re: Gold Titlescreen Editing

Let's say that your [Offset] = 0xCFE61

[Bank] = 0xCFE61 / 0x4000 = 0x33

[Bank * 0x4000] + [Pointer MOD (0x4000)] = 0xCFE61
--> 0x33 * 0x4000 + [Pointer MOD (0x4000)] = 0xCFE61
--> [Pointer MOD] - 0x4000 = 0xCFE61 - (0x33 * 0x4000)
--> [Pointer MOD] = 0xCFE61 - CC000 + 0x4000
--> [Pointer MOD] = 0x7E61
--> [Pointer] = 0x617E
--> [zz] = 33, [xx] = 61, [yy] = 7E

Offline

#28 2011-04-17 16:58:43

184/705

Re: Gold Titlescreen Editing

Miksy91 wrote:

--> [Pointer MOD] = 0x7E61
--> [Pointer] = 0x617E

This isn’t quite right. Modulo is an operator, like + or ×. It’s often represented with a “%” symbol, and represents the remainder (like ÷ represents the quotient). Byte‐swapping is a separate issue.

To convert a pointer ZZ:HHLL to an offset:
Offset = ZZ × 0x4000 + HHLL − 0x4000

To convert an offset to a pointer:
ZZ = Pointer ÷ 0x4000
HHLL = Pointer % 0x4000 + 0x4000

How to represent a pointer in bytes varies. HHLL is almost always swapped to LLHH. ZZ can be put at the front, put at the end, or left out completely, depending on how the code treats the pointer in question.

#29 2011-04-18 12:34:36

Cheestendo
Member
Registered: 2011-03-30
Post 44/319

Re: Gold Titlescreen Editing

Ok no the part of where you need to arrange the tile's is too hard.

Offline

#30 2011-06-21 10:07:09

Cheestendo
Member
Registered: 2011-03-30
Post 185/319

Re: Gold Titlescreen Editing

3. to the titlescreen? :/ yes that is easy.
you need a no\$gmb or a bgb, they have a palette viewer.
It will show you the palettes of the titlescreen,And you
must insert the numbers of a palettegroup backwards.
If it is C753 then you write it 53C7 in hex editor.

Offline

#31 2011-06-29 07:08:37

Miksy91
Member
Registered: 2010-10-16
Post 457/2,348

Re: Gold Titlescreen Editing

In addition to this, MeanMrMustard has written an asm tutorial about editing the title screen.

a) Titlescreen ASM TUT:
Let's write a titlescreen for Pokemon Gold!

Find some free space and insert your AGIXP Picture.
You can have 255 Tiles on screen.
So open up paint and draw your titlescren then insert it anywhere you like.

Find some blank space in the rom and input this code!

Turn Screen off:
3E 63 ld a,63
E0 40 ld (FF00+40),a ;lcd ctrl

Get Pallete:
06 0C ld b,0c
CD 85 35 Call 3583

21 xxxx ld hl,(2byte GFX pointer)
11 yyyy ld de,(Tile Space - either 0088 or 0090)
3E zz ld a,(gfx bank)

21 xxxx ld hl,(2byte to tile arrangement - must be in same bank as code)
11 A0C3 ld de,C3A0
0E FE ld c,FE

Play Music:
21 xxxx 2byte Music byte
CD 98 3D Call 3D98

Turn Screen on:
3E E3 ld a,E3
E0 40 ld (FF00+40),a ;lcd ctrl

Wait for Keypress:
CD 31 0A Call 0a31
C9 Ret

Now you need to point to it!
At 6250 type in the 2byte pointer to the code! or type in a pointer to this code:
21 xxxx 3e zz CF C9 x=2byte pointer to code zz=bank - This way you can have the titlescreen in another bank!

Offline

#32 2011-06-29 07:34:32

Luna
Member
Registered: 2009-11-25
Post 758/3,665

Re: Gold Titlescreen Editing

Yeah thats another version of the title screen tutorial from mean mr mustard. Seems he could never quite make up his mind on how to explain it as he changed his methods haha. This way might work better actually though.

I am not very active on this forum. I only pop in from time to time.

Offline

#33 2011-06-30 18:39:03

Tauwasser
Member
Registered: 2010-10-16
Post 147/459

Re: Gold Titlescreen Editing

Miksy91 wrote:

Find some blank space in the rom and input this code!

Turn Screen off:
3E 63 ld a,63
E0 40 ld (FF00+40),a ;lcd ctrl

That won't work at all. First off, you not only turn off the screen, but edit other properties as well. Second of all, this will not turn off the screen anyhow. You can only safely turn the screen off during vblank, so you first have to wait for vblank!

Miksy91 wrote:

21 xxxx ld hl,(2byte GFX pointer)
11 yyyy ld de,(Tile Space - either 0088 or 0090)
3E zz ld a,(gfx bank)

21 xxxx ld hl,(2byte to tile arrangement - must be in same bank as code)
11 A0C3 ld de,C3A0
0E FE ld c,FE

You're missing the actual calls here.

Miksy91 wrote:

Turn Screen on:
3E E3 ld a,E3
E0 40 ld (FF00+40),a ;lcd ctrl

Again, this should use bit-masking to turn the screen on, just like you should use bit-masking to turn it off.

cYa,

Tauwasser

Offline

#34 2011-06-30 20:54:06

Luna
Member
Registered: 2009-11-25
Post 766/3,665

Re: Gold Titlescreen Editing

Thanks for pointing those out Tauwasser. As usual, MeanMrMustard leaves things out and doesn't explain as well or as accurately as he would like you to think in "tutorials" he posts places.

I am not very active on this forum. I only pop in from time to time.

Offline

#35 2011-06-30 23:19:48

amvz08
Member
From: Philippines
Registered: 2011-06-27
Post 17/600

Re: Gold Titlescreen Editing

mateo?do you have a facebook account? I would like to get some help from you for inserting title screen.

Trust me, I'm an Engineer

>>>Pinoy ka ba? Pasok ka dito<<<

Offline

#36 2011-07-01 07:08:43

Luna
Member
Registered: 2009-11-25
Post 769/3,665

Re: Gold Titlescreen Editing

I do have a facebook. Actually any of you guys from the board are welcome to add me. Also you dont have to just use it to ask questions, it can be just to chat or whatever. I'm on there a lot more that instant messengers these days. My email is zoot_suit_riot07@hotmail.com so you can look me up by that.

I am not very active on this forum. I only pop in from time to time.

Offline

#37 2011-07-01 15:58:16

amvz08
Member
From: Philippines
Registered: 2011-06-27
Post 22/600

Re: Gold Titlescreen Editing

okey thanks a lot! Its more convenient for me to talk there. I will send you there PMs,thanks again!

Trust me, I'm an Engineer

>>>Pinoy ka ba? Pasok ka dito<<<

Offline

#38 2011-07-01 16:13:37

Luna
Member
Registered: 2009-11-25
Post 772/3,665

Re: Gold Titlescreen Editing

by the way, i made a post on facebook about this: I forgot that my normal email is associated with a second facebook I made, and my british hotmail account is associated with my real one. I don't know how that mixup happened, but I posted a link to my actual profile from the secondary one. Also if you want to skip straight to it and find my normal one, use zoot_suit_riot@co.uk  OR   mwhaley34124@troy.edu

I am not very active on this forum. I only pop in from time to time.

Offline

#39 2011-08-14 12:50:16

Cheesewig
Member
Registered: 2011-08-06
Post 6/53

Re: Gold Titlescreen Editing

How big does the Title screen have to be in pixels?

My name is Aochider I was called. Dr. PET was loved an esteemed by us all!
Team Cheesemon | Cheesewig's Domain Forum |

Offline

#40 2011-08-14 16:46:00

Luna
Member
Registered: 2009-11-25
Post 907/3,665

Re: Gold Titlescreen Editing

It doesn't actually have to be one particular height, if you don't need that many tiles to draw it. For example, here is the image for an old version of SaR.

Another example, here is the image for a more current copy of SaR

But basically, you have at maximum this much room to insert graphics, if memory serves:

I am not very active on this forum. I only pop in from time to time.

Offline

#41 2011-08-14 18:48:27

Cheesewig
Member
Registered: 2011-08-06
Post 7/53

Re: Gold Titlescreen Editing

I cannot insert it... It says: Ungultige Bildgrobe...

My name is Aochider I was called. Dr. PET was loved an esteemed by us all!
Team Cheesemon | Cheesewig's Domain Forum |

Offline

#42 2011-08-14 22:54:46

Luna
Member
Registered: 2009-11-25
Post 908/3,665

Re: Gold Titlescreen Editing

Are you only using 4 colours on the image?

I am not very active on this forum. I only pop in from time to time.

Offline

#43 2011-08-15 09:09:00

Cheesewig
Member
Registered: 2011-08-06
Post 8/53

Re: Gold Titlescreen Editing

Yes. Black, Yellow, Brown and White.

My name is Aochider I was called. Dr. PET was loved an esteemed by us all!
Team Cheesemon | Cheesewig's Domain Forum |

Offline

#44 2011-08-15 16:56:53

Luna
Member
Registered: 2009-11-25
Post 909/3,665

Re: Gold Titlescreen Editing

Hmm. Can you link to the image you are trying to insert? Might help figure out what's wrong with it.

I am not very active on this forum. I only pop in from time to time.

Offline

#45 2011-08-15 20:05:10

Cheesewig
Member
Registered: 2011-08-06
Post 12/53

Re: Gold Titlescreen Editing

Yeah here it is:

My name is Aochider I was called. Dr. PET was loved an esteemed by us all!
Team Cheesemon | Cheesewig's Domain Forum |

Offline

#46 2011-08-16 02:11:13

Luna
Member
Registered: 2009-11-25
Post 910/3,665

Re: Gold Titlescreen Editing

Image doesn't load. I even edited the post so I could copy and paste the link, didn't work. Try uploading to imageshack.us it's free and easy

I am not very active on this forum. I only pop in from time to time.

Offline

#47 2011-08-16 02:17:14

sky_queen3
Member
From: Australia
Registered: 2010-10-16
Post 99/135

Re: Gold Titlescreen Editing

Image shows for me, says Pokemon Rhombus Version with the white zombie sprite.

Redux is 'on hold'. I have however found the files, but it's still (pretty much) dead at the moment.
I wonder if that's actually a good thing...

Offline

#48 2011-08-16 04:22:07

263/705

Re: Gold Titlescreen Editing

kkj1116 wrote:

I can't see the image either. Images not loading happens here a bit in this forum..

It’s nothing on the forum end. It’s either your connection or the image host’s connection.

#49 2011-08-16 09:54:42

sky_queen3
Member
From: Australia
Registered: 2010-10-16
Post 100/135

Re: Gold Titlescreen Editing

http://www.pokecommunity.com/picture.ph … reid=58801

The link to the image, see if that helps.

Redux is 'on hold'. I have however found the files, but it's still (pretty much) dead at the moment.
I wonder if that's actually a good thing...

Offline

#50 2011-08-16 14:57:41

264/705

Re: Gold Titlescreen Editing

The picture only shows up if you are logged in to Pokécommunity. Otherwise it’s replaced with a 1×1‐pixel image.