Skeetendo

’Cause all games were better on the GBC

You are not logged in.

#1 2014-02-22 21:52:38

avisonjohn
New member
Registered: 2014-02-22
Post 1/9

Reload this Page Do people still hack R/B/Y roms?

I was going through some archived hard disks earlier and stumbled across one of the first things I coded - a Pokemon R/B map editor.

I started it once I worked out how to use 2BPP around 13 years ago and was an avid fan of MeothHacks which I think was hosted on Geocities?

I gave up on the project due to being in school at the time and not being able to commit the time and effort to it, plus around the same time, PokeMap was released which kind of defeated the purpose on me continuing the project.

So does anyone still hack the old ROMs (R/B/Y) and if so, would anyone be interested in me continuing development of the project?

All data was read directly from the ROM so there were no INI files like PokeMap and it never used any sprites or PNG files - it read the sprites direct from the ROM and built the map and blocks from the ROM so if you used a sprite editor (I remember TileLayer was my weapon of choice) it would reflect the changes in my editor.

I could also work on it so that it can edit sprites and stats, and a text editor too - maybe a few other things
That way it will be a 'one stop shop' editor that can do everything from one app.

Anyone interested or should I dump it in the recycle bin?

I asked on PokeCommunity and was told that there may be a better audience for it here.

Offline

#2 2014-02-23 17:15:45

Hat
Member
Registered: 2013-02-04
Post 101/118

Re: Reload this Page Do people still hack R/B/Y roms?

Sure, go for it.

You might want to look at some of the other map editors for comparison (Pokémap, which you mentioned; UltraMap; GoldMap [derivatives]; ClassicMap; and the pokered map editor). It's nice to have options.

Haha, I remember PR didn't give me the Pokémap source because I said I didn't know VB.

Offline

#3 2014-02-23 23:09:12

avisonjohn
New member
Registered: 2014-02-22
Post 2/9

Re: Reload this Page Do people still hack R/B/Y roms?

Ah that's brilliant.
I may even start advertising for a team if anyone is interested?

I'm thinking of having somebody put together some application designs/GUI in photoshop or something and I can build it to look like that.
I'm a coder - not a designer - I usually outsource all of my design work to somebody else and then I build it from that.

Anyways, here is what I need if anyone is interested in being involved in the project - all credit given where due of course.

Designer - To design GUI, splash screen maybe, and also a logo
Hex Editor - Would need somebody to find addresses within the roms for things like where each town is located
Graphic Researcher - Pokemon R/B use the 2BPP graphics method - I'm guessing that the other roms use 2BPP as well but he address layout would be different - will need someone to figure out how colour roms store there graphics
Bug Testers - Try to break the app so that we can patch the errors

Also, once the initial phase is completed, I will expand the app to read the Pokemon Yellow rom, then the Gold/Silver rom, and then whatever other rom comes out next.

Anyone interested in being involved?

Offline

#4 2014-02-24 00:19:21

Danny-E 33
Administrator
Registered: 2012-06-09
Post 735/1,119

Re: Reload this Page Do people still hack R/B/Y roms?

avisonjohn wrote:

Hex Editor - Would need somebody to find addresses within the roms for things like where each town is located
Graphic Researcher - Pokemon R/B use the 2BPP graphics method - I'm guessing that the other roms use 2BPP as well but he address layout would be different - will need someone to figure out how colour roms store there graphics

https://github.com/iimarckus/pokered

Offline

#5 2014-02-24 21:19:57

Hat
Member
Registered: 2013-02-04
Post 103/118

Re: Reload this Page Do people still hack R/B/Y roms?

Right you are, Danny boy.

avisonjohn wrote:

Designer - To design GUI, splash screen maybe, and also a logo

Can't think of anyone. You could always steal from take a look at GoldMap, which has seen quite a bit of usage. The engine has been used for hacking first gen. The source was used for AdvanceMap (third gen editor).

avisonjohn wrote:

Bug Testers - Try to break the app so that we can patch the errors

When you've got something up and running just post it up. Someone's bound to whine about it not working properly.

Offline

#6 2014-02-25 09:35:12

Lin
Member
Registered: 2011-06-27
Post 9/12

Re: Reload this Page Do people still hack R/B/Y roms?

Feel free to use any designs and code from ClassicMap, a project I will never, ever finish. IIMarckus was kind enough to mirror the source for it here: http://iimarck.us/etc/ClassicMap.zip It loads tilesets, map locations, sprites, the town map, Pokemon names, and everything else from the ROM. Maybe it will come in handy.

Offline

#7 2014-02-25 10:55:16

avisonjohn
New member
Registered: 2014-02-22
Post 3/9

Re: Reload this Page Do people still hack R/B/Y roms?

Here it is so far

Save abililty has been taken out to prevent it being used at the moment as its still not finished

I just tweaked some code so that it now reads the pallet information direct from the ROM too
The difference between this and the old PokeMap editor, is that this will allow you to resize the bloody window - my biggest annoyance with the other tool.
Also, you can CTRL+Z on the editor to undo the last tile you laid. Press it again and it will move back again (unlimited UNDO/REDO actions)

https://www.mediafire.com/?b0z4qm0tigmy55g

Offline

#8 2014-02-25 19:24:41

Hat
Member
Registered: 2013-02-04
Post 104/118

Re: Reload this Page Do people still hack R/B/Y roms?

Looks like a good start!

avisonjohn wrote:

The difference between this and the old PokeMap editor, is that this will allow you to resize the bloody window - my biggest annoyance with the other tool.

Haha, I know what you mean.

Whining time… ;P

Opening a ROM after the first time gets you: "Quitting", "Invalid Pokemon Red/Blue rom". Maps can't be switched to. Can still refresh current map. Weird undo/redo.

Going to open a ROM after the first time; cancelling; then selecting whatever map gets you: "PokemonMapEditor", "Run-time error '75': Path/File access error". Closes.

Offline

#9 2014-02-25 20:09:08

Miksy91
Member
Registered: 2010-10-16
Post 2,069/2,339

Re: Reload this Page Do people still hack R/B/Y roms?

I could check this out later as well, and comment what's good and what to possibly improve.

(By the way, it was me who linked you here :) )

Offline

#10 2014-02-26 07:41:36

avisonjohn
New member
Registered: 2014-02-22
Post 4/9

Re: Reload this Page Do people still hack R/B/Y roms?

Hat wrote:

Looks like a good start!

avisonjohn wrote:

The difference between this and the old PokeMap editor, is that this will allow you to resize the bloody window - my biggest annoyance with the other tool.

Haha, I know what you mean.

Whining time… ;P

FIXED Opening a ROM after the first time gets you: "Quitting", "Invalid Pokemon Red/Blue rom".
ONLY THE FIRST FOUR MAPS IN PALLET TOWN ARE WORKING RIGHT NOW Maps can't be switched to.
FIXED Can still refresh current map.
WHATS WRONG WITH IT? Weird undo/redo.

FIXED Going to open a ROM after the first time; cancelling; then selecting whatever map gets you: "PokemonMapEditor", "Run-time error '75': Path/File access error". Closes.

Last edited by avisonjohn (2014-02-26 07:48:21)

Offline

#11 2014-02-26 20:24:43

Hat
Member
Registered: 2013-02-04
Post 105/118

Re: Reload this Page Do people still hack R/B/Y roms?

avisonjohn wrote:

ONLY THE FIRST FOUR MAPS IN PALLET TOWN ARE WORKING RIGHT NOW Maps can't be switched to.

I meant you can't even switch to Pallet Town maps after getting the "Quitting" message.

avisonjohn wrote:

WHATS WRONG WITH IT? Weird undo/redo.

Make any changes on some map then undo/redo on some other map. You'll see what I mean ;)

I noticed the editor reads map size from ROM. This could be done for map/tileset header locations; tileset numbers; tileset/blockset locations; and map locations, like Lin mentioned.

Offline

#12 2014-02-27 11:41:12

avisonjohn
New member
Registered: 2014-02-22
Post 5/9

Re: Reload this Page Do people still hack R/B/Y roms?

The undo/redo issue has now been fixed - thanks for pointing that out.
Yes, the map size gets read from ROM and I will be having everything read from ROM at some point - as soon as I figure out how.
For example, the first byte of the map header contains the tileset ID - I still need to figure out where the pointer for each tileset is stored, in order to then read the tileset offset and in turn, read the tileset.

Offline

#13 2014-02-27 12:22:59

Danny-E 33
Administrator
Registered: 2012-06-09
Post 739/1,119

Offline

#14 2014-02-27 12:44:28

avisonjohn
New member
Registered: 2014-02-22
Post 6/9

Re: Reload this Page Do people still hack R/B/Y roms?

Danny-E 33 wrote:

All that information is in the disassembly.

Are you able to point me to a link?
I had a look at a few documents I found online and some that I had backed up, but couldnt find what I was after.
I had a list of tilesets with 2 byte addresses with them, but they didnt appear to be addresses of the tilesets, nor addresses of pointers, nor pointers themselves

Offline

#15 2014-02-27 12:48:02

comet
Member
Registered: 2012-04-09
Post 371/679

Re: Reload this Page Do people still hack R/B/Y roms?

Offline

#16 2014-02-27 13:08:45

avisonjohn
New member
Registered: 2014-02-22
Post 7/9

Re: Reload this Page Do people still hack R/B/Y roms?

I had a look through there but cant find the info I'm after really. That seems to have all of the raw data, such as the tileset data itself, whereas I need to know how to actually find the location of that data so that the app can then read it for itself, in case it has ever been changed.

Offline

#17 2014-02-27 13:32:58

comet
Member
Registered: 2012-04-09
Post 373/679

Re: Reload this Page Do people still hack R/B/Y roms?

main.asm:

TilesetsHeadPtr: ; c7be (3:47be)
        TSETHEAD Tset00_Block,Tset00_GFX,Tset00_Coll,$FF,$FF,$FF,$52,2
        TSETHEAD Tset01_Block,Tset01_GFX,Tset01_Coll,$FF,$FF,$FF,$FF,0
        TSETHEAD Tset02_Block,Tset02_GFX,Tset02_Coll,$18,$19,$1E,$FF,0
        TSETHEAD Tset03_Block,Tset03_GFX,Tset03_Coll,$FF,$FF,$FF,$20,1
        TSETHEAD Tset01_Block,Tset01_GFX,Tset01_Coll,$FF,$FF,$FF,$FF,0
        TSETHEAD Tset05_Block,Tset05_GFX,Tset05_Coll,$3A,$FF,$FF,$FF,2
        TSETHEAD Tset02_Block,Tset02_GFX,Tset02_Coll,$18,$19,$1E,$FF,0
        TSETHEAD Tset05_Block,Tset05_GFX,Tset05_Coll,$3A,$FF,$FF,$FF,2
        TSETHEAD Tset08_Block,Tset08_GFX,Tset08_Coll,$FF,$FF,$FF,$FF,0
        TSETHEAD Tset09_Block,Tset09_GFX,Tset09_Coll,$17,$32,$FF,$FF,0
        TSETHEAD Tset09_Block,Tset09_GFX,Tset09_Coll,$17,$32,$FF,$FF,0
        TSETHEAD Tset0B_Block,Tset0B_GFX,Tset0B_Coll,$FF,$FF,$FF,$FF,0
        TSETHEAD Tset09_Block,Tset09_GFX,Tset09_Coll,$17,$32,$FF,$FF,0
        TSETHEAD Tset0D_Block,Tset0D_GFX,Tset0D_Coll,$FF,$FF,$FF,$FF,1
        TSETHEAD Tset0E_Block,Tset0E_GFX,Tset0E_Coll,$FF,$FF,$FF,$FF,1
        TSETHEAD Tset0F_Block,Tset0F_GFX,Tset0F_Coll,$12,$FF,$FF,$FF,0
        TSETHEAD Tset10_Block,Tset10_GFX,Tset10_Coll,$FF,$FF,$FF,$FF,0
        TSETHEAD Tset11_Block,Tset11_GFX,Tset11_Coll,$FF,$FF,$FF,$FF,1
        TSETHEAD Tset12_Block,Tset12_GFX,Tset12_Coll,$15,$36,$FF,$FF,0
        TSETHEAD Tset13_Block,Tset13_GFX,Tset13_Coll,$FF,$FF,$FF,$FF,0
        TSETHEAD Tset14_Block,Tset14_GFX,Tset14_Coll,$FF,$FF,$FF,$FF,0
        TSETHEAD Tset15_Block,Tset15_GFX,Tset15_Coll,$07,$17,$FF,$FF,0
        TSETHEAD Tset16_Block,Tset16_GFX,Tset16_Coll,$12,$FF,$FF,$FF,1
        TSETHEAD Tset17_Block,Tset17_GFX,Tset17_Coll,$FF,$FF,$FF,$45,1

macros.asm:

; tilesets' headers macro
TSETHEAD: MACRO
        db BANK(\2)
        dw \1,\2,\3
        db \4,\5,\6,\7,\8
        ENDM

Offline

#18 2014-02-27 15:17:56

avisonjohn
New member
Registered: 2014-02-22
Post 8/9

Re: Reload this Page Do people still hack R/B/Y roms?

Assembly never was my strongpoint lol

Offline

#19 2014-02-27 15:39:45

avisonjohn
New member
Registered: 2014-02-22
Post 9/9

Re: Reload this Page Do people still hack R/B/Y roms?

So, am I correct in saying this:

Start at C7BE offset and read 12 bytes of data
Byte 2 & 3 = Pointer to the tileset

Now from the last position (C7BE), move 12 bytes forward (C7CA) and do the same again to get the next tileset.

Is that right?

Offline

#20 2014-02-27 16:38:43

comet
Member
Registered: 2012-04-09
Post 374/679

Re: Reload this Page Do people still hack R/B/Y roms?

yes

Last edited by comet (2014-02-27 16:40:39)

Offline

#21 2014-07-24 14:43:03

marbuljon
New member
Registered: 2014-07-24
Post 2/2

Re: Reload this Page Do people still hack R/B/Y roms?

On the subject of if people still hack them, the answer is definitely yes, although many of them don't get very far. I definitely love the first gen and would only want to hack those, but it's just easier to hack the later ones since their tools work better among other things.

Offline

#22 2014-08-03 17:21:11

YORAMRW
Member
From: The Netherlands
Registered: 2013-03-29
Post 1,104/1,199
Website

Re: Reload this Page Do people still hack R/B/Y roms?

Yes. The main reason for me that it is very easy to hack it's music.


Hacks Gameboy 8-bit music in Pokémon Gen I & II, composes 8-bit music in FamiTracker

Offline

#23 2014-08-24 04:48:07

marillmau5
Member
Registered: 2014-07-23
Post 13/17

Re: Reload this Page Do people still hack R/B/Y roms?

how easy is it im banging my head against the wall trying to convert the music from crystals asm to reds asm

Offline

Board footer

Powered by FluxBB