Skeetendo

’Cause all games were better on the GBC

You are not logged in.

#26 2016-02-27 08:48:36

Halfshadow
Member
From: Italy - Lucca
Registered: 2012-04-24
Post 119/193

Re: What type of graphic is this? How I can repoint it?

However it's an original function, will be no sense hack if can't add without cut down other data and also in HG/SS remakes that function is still present...


The italian Pokémon Green creator.

Offline

#27 2016-02-27 16:30:33

Mateo
Member
From: The Sims 4
Registered: 2009-11-25
Post 3,252/3,456

Re: What type of graphic is this? How I can repoint it?

All I was saying was that if you ended up unable to find room, nobody would miss that if it was gone. So if you did end up having to cut something, that would be better than say cutting out one of the restored areas.

Offline

#28 2016-02-27 18:11:09

Halfshadow
Member
From: Italy - Lucca
Registered: 2012-04-24
Post 120/193

Re: What type of graphic is this? How I can repoint it?

I prefer keep the areas, I think should be exist a data that can be moved.


The italian Pokémon Green creator.

Offline

#29 2016-02-28 08:37:31

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

Re: What type of graphic is this? How I can repoint it?

After searching for about 15 minutes, I happened to notice there is lots of graphics data in the same rom bank that can be moved still around. You can find code for that starting at 0A:56E6 (0x296E6). That will be more than enough for 0xBD bytes of swarm data.

Offline

#30 2016-02-28 13:35:58

Halfshadow
Member
From: Italy - Lucca
Registered: 2012-04-24
Post 121/193

Re: What type of graphic is this? How I can repoint it?

Sorry but that is the start of the graphic that was already repointed. XD Have you searched into my rom? Have you seen that the bank instructions were changed to 13? :)

Last edited by Halfshadow (2016-02-28 13:36:16)


The italian Pokémon Green creator.

Offline

#31 2016-03-01 22:02:16

Halfshadow
Member
From: Italy - Lucca
Registered: 2012-04-24
Post 122/193

Re: What type of graphic is this? How I can repoint it?

At the offset 0x28ec9 (US Gold ROM) there is the "pointer" (is a routine I think) of the compressed graphic during the trades. I need to repoint to another bank, is possible?

Last edited by Halfshadow (2016-03-01 22:02:37)


The italian Pokémon Green creator.

Offline

#32 2016-03-02 16:18:40

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

Re: What type of graphic is this? How I can repoint it?

You could try making it call a routine from another rom bank and put that stuff you see starting at 0x28EC9 there.
It can be done by replacing some existing code with

push af
push hl
ld a, rom bank
ld hl, pointer inside bank
rst $8
pop hl
pop af

and writing the stuff you replaced starting at 0x28EC9 there at address a:hl (a * 0x4000 + hl - 0x4000). Try doing this with the asm editor I linked you. After you have accomplished that, you have to make sure the routine starting at 0x28EC9 runs normally after you have modified with by for example changing some instructions following "pop af" with "nop" instructions for telling the processor "don't do anything".
Basically , try doing the following:

1) Write all that stuff you see there between 0A:4EC9 and 0A:4EDF into another rom bank,
2) Replace this part (0A:4CE9 - 0A:4EDF) with that code I posted above. Put "nop" instructions following it by having the last "nop" at 0A:4EDF.

After you have done this, try copying the compressed graphics data to the same rom bank where you moved this stuff and make that "E7 57" point to the graphics and see if it works in the game or not.

If it works, great. If not, you're pretty much on your own with this. Like Mateo said there, I don't think anyone would miss the "swarms". I don't even know what they're for really.

Last edited by Miksy91 (2016-03-02 16:21:09)

Offline

#33 2016-03-02 19:17:28

Halfshadow
Member
From: Italy - Lucca
Registered: 2012-04-24
Post 123/193

Re: What type of graphic is this? How I can repoint it?

Works perfectly in the US rom but in the italian not too. You have used a particular code that maybe could be different in the italian version?
-EDIT- Forget it, in a clean italian rom works perfectly. Thank you very much Miksy, now the wild data is repointed, without deleting nothing and it's fine, I don't know if was also other data the compressed graphic, I hope not.

At the end for fix all and avoid the crash I've repointed only the compressed graphic and the second part of uncompressed to the bank 13 'cause the space of the compressed was big and enough for the swarms, the first part stay at it's original place.

Last edited by Halfshadow (2016-03-02 20:57:41)


The italian Pokémon Green creator.

Offline

#34 2016-03-02 21:11:20

Halfshadow
Member
From: Italy - Lucca
Registered: 2012-04-24
Post 125/193

Re: What type of graphic is this? How I can repoint it?

The swarms work! Very very thanks Miksy!


The italian Pokémon Green creator.

Offline

#35 2016-03-02 21:24:06

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

Re: What type of graphic is this? How I can repoint it?

Good to hear you got the problem solved :)
And you're welcome.

Offline

Board footer

Powered by FluxBB