Skeetendo

’Cause all games were better on the GBC

You are not logged in.

#1 2015-07-23 10:44:27

delpo
Member
Registered: 2012-11-26
Post 33/40

Changing trainer compressed graphic in pokeyellow?

I'm trying to change the trainer sprite (front and back) in pokemon yellow. I figure the simplest way to do this is to insert the new compressed graphics in the locations of the old ones (assuming they are smaller). The problem is I don't know where the compressed graphics for these two graphics are located.  I searched for 'redpicfront' in the pokered repository but I only see a label for it, no address. If there's a better way to do this though, I'd be happy to try it out.  Thanks.

Offline

#2 2015-07-23 10:49:54

WAFFAHOUSE
Member
Registered: 2015-07-23
Post 3/27

Re: Changing trainer compressed graphic in pokeyellow?

man im lost hacking yellow too lol it seems like everything is about 5o percent harder hacking yellow than any other rom hahahahaha man I don't got an answer to your question, but I got a ton of questions Id like to ask you if you don't mind..... add me on Skype- waffahouse or email me at waffahouse89@yahoo.com
thanks
waffa

Offline

#3 2015-07-23 11:41:28

Miksy91
Member
Registered: 2010-10-16
Post 2,174/2,311

Re: Changing trainer compressed graphic in pokeyellow?

Open VBA's Tile viewer when the graphics are loaded, check the hex code of it and search for that with a hex editor. Shouldn't work because the graphics are stored in the rom in compressed format and VRAM they're loaded in uncompressed format (I think for making them display correctly).

Check what the code is like in the disassembly and search for similar code in pokemon yellow with a hex editor. Some hex editors (like GoldFinger) make it possible to search for a list of bytes while leaving some middle bytes not defined. Eg. (search for stuff like ld a, xx where ld, a is the hex code and leave the loaded value undefined). The code might be similar between RB and Y.

Offline

#4 2015-07-23 16:13:33

Danny-E 33
Administrator
Registered: 2012-06-09
Post 881/1,030

Re: Changing trainer compressed graphic in pokeyellow?

In Yellow, RedPicFront is at 04:5A97 and RedPicBack is at 3D:43B1, both different addresses than Red.


Red Hack: Pokémon Prototype

Total number of registered users: 7000+
Total number of active users: ~12

Offline

#5 2015-07-23 18:53:13

WAFFAHOUSE
Member
Registered: 2015-07-23
Post 10/27

Re: Changing trainer compressed graphic in pokeyellow?

Danny-E 33 wrote:

In Yellow, RedPicFront is at 04:5A97 and RedPicBack is at 3D:43B1, both different addresses than Red.


hey man im trying to use a few tools to hack yellow and im running into some issues... like for instance when I use the oak editor to change the pokemon in the intro , it skips all the naming of yourself and rival and glitches the game out bad lol also, I try using a tool called yellow sprite editor to edit what the following Pikachu looks like, and it looks terrible hahahahahaha is there any other way I can import sprites I get online?? the sprite editor isn't what im used to with gen3 sprites lol this game seems like such a pain in the butt to hack hahahahahaha please HELP ME BROOOOOOOO


THANKS
WAFFA

Offline

#6 2015-07-23 19:39:36

Miksy91
Member
Registered: 2010-10-16
Post 2,178/2,311

Re: Changing trainer compressed graphic in pokeyellow?

WAFFAHOUSE wrote:
Danny-E 33 wrote:

In Yellow, RedPicFront is at 04:5A97 and RedPicBack is at 3D:43B1, both different addresses than Red.


hey man im trying to use a few tools to hack yellow and im running into some issues... like for instance when I use the oak editor to change the pokemon in the intro , it skips all the naming of yourself and rival and glitches the game out bad lol also, I try using a tool called yellow sprite editor to edit what the following Pikachu looks like, and it looks terrible hahahahahaha is there any other way I can import sprites I get online?? the sprite editor isn't what im used to with gen3 sprites lol this game seems like such a pain in the butt to hack hahahahahaha please HELP ME BROOOOOOOO


THANKS
WAFFA

You shouldn't use any editors such as those that may not even work.
Also, you probably want to stop posting those "hahhaha", "BROOO" and other stuff. All that does is make people find you silly :P

So yeah - do some researching on your own and study how to hack without the use of game-specific tools.

Offline

#7 2015-07-23 20:03:30

delpo
Member
Registered: 2012-11-26
Post 34/40

Re: Changing trainer compressed graphic in pokeyellow?

Danny-E 33 wrote:

In Yellow, RedPicFront is at 04:5A97 and RedPicBack is at 3D:43B1, both different addresses than Red.

So to confirm, the offsets would be 0x11A97 and 0xF4B31 for RedPicFront and RedPicBack, respectively?  Also, were these locations documented somewhere on git?  Thanks for the help!

Offline

#8 2015-07-23 20:14:08

WAFFAHOUSE
Member
Registered: 2015-07-23
Post 12/27

Re: Changing trainer compressed graphic in pokeyellow?

Miksy91 wrote:
WAFFAHOUSE wrote:
Danny-E 33 wrote:

In Yellow, RedPicFront is at 04:5A97 and RedPicBack is at 3D:43B1, both different addresses than Red.


hey man im trying to use a few tools to hack yellow and im running into some issues... like for instance when I use the oak editor to change the pokemon in the intro , it skips all the naming of yourself and rival and glitches the game out bad lol also, I try using a tool called yellow sprite editor to edit what the following Pikachu looks like, and it looks terrible hahahahahaha is there any other way I can import sprites I get online?? the sprite editor isn't what im used to with gen3 sprites lol this game seems like such a pain in the butt to hack hahahahahaha please HELP ME BROOOOOOOO


THANKS
WAFFA

You shouldn't use any editors such as those that may not even work.
Also, you probably want to stop posting those "hahhaha", "BROOO" and other stuff. All that does is make people find you silly :P

So yeah - do some researching on your own and study how to hack without the use of game-specific tools.


man ive searched EVERYWHERE for some kind of tutorial, but it seems like yellow version is a bit different from red and blue... I can find a ton of red blue tutorials, but I cant find one yellow tutorial anywhere dude..... I mean, is what im trying to do (turn following Pikachu into mew) even possible? that's really all I need to know lol is it possible if I use toold your referring to?


thanks again for all the help bro I really appreciate all your info
waffa

Offline

#9 2015-07-23 20:18:22

delpo
Member
Registered: 2012-11-26
Post 35/40

Re: Changing trainer compressed graphic in pokeyellow?

waffa,

please don't hijack my thread. you already asked for help in your own thread, so please stop posting in mine unless you have something helpful to say.

Offline

#10 2015-07-24 03:14:18

Danny-E 33
Administrator
Registered: 2012-06-09
Post 882/1,030

Re: Changing trainer compressed graphic in pokeyellow?

waffa: delpo is right, don't spam other threads too much. Anyway, the oak editor tool has never worked. It replaces the byte for the Pokemon ID with a word instead of a byte (which overwrites another byte in the asm routine). You should just hex edit that single byte, it isn't hard.

delpo: to find that address, I compiled pokeyellow and opened the generated sym file. Unfortunately, pokeyellow is a huge wip. Pretty much all I've done is most text and graphics. The rest of the rom is "copy pasted" from a pre-existing yellow rom named baserom.gbc when you compile it.


Red Hack: Pokémon Prototype

Total number of registered users: 7000+
Total number of active users: ~12

Offline

#11 2015-07-24 03:26:48

WAFFAHOUSE
Member
Registered: 2015-07-23
Post 19/27

Re: Changing trainer compressed graphic in pokeyellow?

Danny-E 33 wrote:

waffa: delpo is right, don't spam other threads too much. Anyway, the oak editor tool has never worked. It replaces the byte for the Pokemon ID with a word instead of a byte (which overwrites another byte in the asm routine). You should just hex edit that single byte, it isn't hard.

delpo: to find that address, I compiled pokeyellow and opened the generated sym file. Unfortunately, pokeyellow is a huge wip. Pretty much all I've done is most text and graphics. The rest of the rom is "copy pasted" from a pre-existing yellow rom named baserom.gbc when you compile it.


Hey guys I see what your saying but I honestly didn't think I was posting in the wrong area. I actually learned a lot just from being in this thread. You guys have been super helpful! I'm just a noob when it comes to gen1 guys I wasn't trying to spam anybody, just trying to learn this different language all you guys speak lol I'm a fast learner, so you guys please be patient with me lol

Yeah I figured that's what was going on with that tool.. It really messes the game up... So basically what I've gathered here is the bottom line is - don't use these tools that take "shortcuts" and just do it the regular way ...
That way I don't end up messing up any files that may potentially crash my rom files...

I'm deleting that tool lol
Could you guys let me know what tools you use for yellow version? I want to use whatever you guys are using because the way I'm doing this I haven't had any luck whatsoever. I've been reading a ton about hex editing, and I gotta say, I'm pretty lost.

I'll post a new thread eventually if I can't figure out hex editing , but if you guys got any good starter points / links / or advice of greatly appreciate it!!!


Thanks again for all yalls support!!

Waffa

Offline

#12 2015-07-25 12:38:17

delpo
Member
Registered: 2012-11-26
Post 36/40

Re: Changing trainer compressed graphic in pokeyellow?

Danny-E 33,

I tried to compile pokeyellow with my new graphics, but the rom keeps failing to compile due to my new graphics.  I don't understand why that happens as my new graphics work when I compile them in pokered.

Error message:
Unable to load fixed ROMX section into bank $04
Makefile:86: recipe for target 'pokeyellow.gbc' failed
make: *** [pokeyellow.gbc] Error 1

Offline

#13 2015-07-25 12:48:31

WAFFAHOUSE
Member
Registered: 2015-07-23
Post 23/27

Re: Changing trainer compressed graphic in pokeyellow?

im having similar issue... im trying to run make after copying over GS sprites and overwriting all the yellow ones, and when I run terminal and enter make, I get this.....

Cameron@HAR-LT-002 ~/pokeyellow
$ make
make: Nothing to be done for 'all'.

Cameron@HAR-LT-002 ~/pokeyellow
$



its acting like I didn't change anything lol but I for sure did .. I even went in and checked. all the new sprites are in the PIC folder, but they wont compile for some reason...... if you figure out please let me know too lol im at a road block


thanks again
waffa

Offline

#14 2015-07-26 16:45:09

Danny-E 33
Administrator
Registered: 2012-06-09
Post 884/1,030

Re: Changing trainer compressed graphic in pokeyellow?

delpo: That means that the graphics you tried putting into bank 4 result in stuff that takes up more space than is available in that bank. Rom banks are $4000 bytes, so all the graphics and other stuff that is in bank 4 is now bigger than $4000 bytes.

waffa: That seems to be a small issue with the makefile. That problem should only happen when you edit .png files. When it does, either delete the .2bpp or .pic file related to the .png file that you edited or use "make clean && make"


Red Hack: Pokémon Prototype

Total number of registered users: 7000+
Total number of active users: ~12

Offline

Board footer

Powered by FluxBB