Skeetendo

’Cause all games were better on the GBC

You are not logged in.

#51 2015-01-31 21:48:54

Mateo
Member
From: The Sims 4
Registered: 2009-11-25
Post 2,965/3,455

Re: Pokemon Crystal Hacking Questions

running the "make" command is what turns it into a playable rom (pokecrystal.gbc). The reason you were running "make" at first without changing anything was to make sure everything was setup correctly so that it would compile. Since it seems to have compiled, you should be set to where you can edit the files however you want and recompile them.

Offline

#52 2015-01-31 22:22:11

Urnighter
Member
Registered: 2015-01-17
Post 29/123

Re: Pokemon Crystal Hacking Questions

Ok, thanks so much guys for helping. Is there just a basic command I have to type in for recompile when I'm ready?

Also if you check out the original post I've been updating it daily with more and more stuff.

Offline

#53 2015-01-31 22:47:23

walk_away21
Member
Registered: 2014-02-20
Post 52/69

Re: Pokemon Crystal Hacking Questions

Yeah you just type in make whenever you want to recompile it when your terminal is in the main directory

Offline

#54 2015-01-31 22:55:20

Urnighter
Member
Registered: 2015-01-17
Post 30/123

Re: Pokemon Crystal Hacking Questions

Alright, and then I just load the .gbc file with an emulator and it should play with the changes I made?

Offline

#55 2015-02-09 18:06:13

Urnighter
Member
Registered: 2015-01-17
Post 31/123

Re: Pokemon Crystal Hacking Questions

comet wrote:
Urnighter wrote:

1) Would it be reasonable to reorder the entire pokedex? I would have Chikorita be 001 and go from there, uniting pokemon such as Seadra and Kingdra to be next to each other in the dex. Or would this create a giant tedious issue I'm not forseeing?

data/pokedex/order_new.asm

Urnighter wrote:

2)How would I go about the Celebi event being added?

https://github.com/Armada651/pokecrysta … ad1ee65a58

Urnighter wrote:

4) Is it possible to make the Nevermeltice evolve Eevee into Glaceon? I'm not sure how else I'd go about it.

yes

So in order to add Celebi I simply delete lines 16-20 and lines 50-54?
And for new order I simply change the names in order_new.asm? Nothing else?

Offline

#56 2015-03-07 21:11:04

Urnighter
Member
Registered: 2015-01-17
Post 33/123

Re: Pokemon Crystal Hacking Questions

So after playing through the unedited ROM for fun I started messing around with stuff today. The disassembly itself is real cool and fairly interesting to work with.

However, I'm still a goof with anything I have to do in terminal. After making changes, when I type "make" it says, "make: *** No targets specified and no makefile found.  Stop."

It's probably pretty obvious what I'm missing, but I'm not sure how to specify the target. I did move the pokecrystal folder to be inside another folder, if that makes a difference.

How do I make "make" work?

Offline

#57 2015-03-07 21:20:43

stag019
Idea Killer
Registered: 2011-01-05
Post 620/630

Re: Pokemon Crystal Hacking Questions

Urnighter wrote:

How do I make "make" work?

Lol.

You have to have your terminal window in the same directory as the Makefile (which is by default in "pokecrystal/", and I would reccomend not messing with the directory structure inside "pokecrystal/"). So, for example, if you moved pokecrystal into a directory called "whythehellwouldanyonenameadirectorysomethingthisstupidandlong/", you would type

cd ~/whythehellwouldanyonenameadirectorysomethingthisstupidandlong/pokecrystal

before trying to make it.


You can try to hide yourself in this world of pretend; when the paper's crumpled up, it can't be perfect again.

Offline

#58 2015-03-07 22:28:08

Urnighter
Member
Registered: 2015-01-17
Post 35/123

Re: Pokemon Crystal Hacking Questions

michael-williams-computer:~ Dad$ cd ~/desktop/pokecrystal
michael-williams-computer:pokecrystal Dad$ make
rgbasm -o main.o main.asm
rgblink -n pokecrystal.sym -m pokecrystal.map -o pokecrystal.gbc wram.o main.o lib/mobile/main.o home.o audio.o maps_crystal.o engine/events_crystal.o engine/credits_crystal.o data/egg_moves_crystal.o data/evos_attacks_crystal.o data/pokedex/entries_crystal.o misc/crystal_misc.o gfx/pics.o
rgbfix -Cjv -i BYTE -k 01 -l 0x33 -m 0x10 -p 0 -r 3 -t PM_CRYSTAL pokecrystal.gbc
cmp baserom.gbc pokecrystal.gbc
baserom.gbc pokecrystal.gbc differ: char 335, line 1
make: *** [pokecrystal.gbc] Error 1

Did this work? I get scared whenever is says error but not sure.

Offline

#59 2015-03-07 22:32:43

stag019
Idea Killer
Registered: 2011-01-05
Post 621/630

Re: Pokemon Crystal Hacking Questions

That depends. Are you making a hack, or just trying to compile a clean version of pokecrystal? If you're trying to compile a clean version, then the compiled ROM doesn't match the base ROM. If you've made changes, then you should remove/comment out the comparison line in the Makefile to stop it from giving you errors.

https://github.com/kanzure/pokecrystal/ … kefile#L79

(Note: If you comment it out instead of removing it, the comment character for a Makefile is the pound sign, "#". If you place it directly before the "cmp", it will not work; you must place it at the beginning of the line, before the tab character.)


You can try to hide yourself in this world of pretend; when the paper's crumpled up, it can't be perfect again.

Offline

#60 2015-03-07 22:57:24

Urnighter
Member
Registered: 2015-01-17
Post 36/123

Re: Pokemon Crystal Hacking Questions

(Yes, I had made changes)

Thank you so much!

https://github.com/Armada651/pokecrysta … diff=split
I could test this myself but since you could probably know in 1 second, I just need to delete those ten lines of red, correct?

Offline

#61 2015-03-07 22:58:41

stag019
Idea Killer
Registered: 2011-01-05
Post 622/630

Re: Pokemon Crystal Hacking Questions

I don't do much Crystal hacking to be honest. I hardly even do any Red hacking. So either test it yourself or wait for someone smarter than me to answer.


You can try to hide yourself in this world of pretend; when the paper's crumpled up, it can't be perfect again.

Offline

#62 2015-03-07 23:04:03

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

Re: Pokemon Crystal Hacking Questions

Urnighter wrote:

(Yes, I had made changes)

Thank you so much!

https://github.com/Armada651/pokecrysta … diff=split
I could test this myself but since you could probably know in 1 second, I just need to delete those ten lines of red, correct?

That commit you linked to is indeed saying that all it did was delete the lines in red. So in order to do the same, you would also just delete those lines.

Offline

#63 2015-03-07 23:25:56

Urnighter
Member
Registered: 2015-01-17
Post 37/123

Re: Pokemon Crystal Hacking Questions

Mateo wrote:
Urnighter wrote:

(Yes, I had made changes)

Thank you so much!

https://github.com/Armada651/pokecrysta … diff=split
I could test this myself but since you could probably know in 1 second, I just need to delete those ten lines of red, correct?

That commit you linked to is indeed saying that all it did was delete the lines in red. So in order to do the same, you would also just delete those lines.

3,000! That's quite a few.
Also I figured it was just deleting the lines, thank you for confirming.

Is there any guide for adding an image from say, http://wahackforo.com/t-26664/gbc-mega-pack-devamps here to the game through disassembly?

Offline

#64 2015-03-08 00:19:43

comet
Member
Registered: 2012-04-09
Post 536/672

Re: Pokemon Crystal Hacking Questions

If you have 'INCLUDE "gfx/pics/garchomp/front.7x7.2bpp.lz"' somewhere in the code, you only need to put the png in the right directory ("gfx/pics/garchomp/front.7x7.png").

The 7x7 will eventually not be needed.

Last edited by comet (2015-03-08 00:21:35)

Offline

#65 2015-04-04 20:41:25

Urnighter
Member
Registered: 2015-01-17
Post 43/123

Re: Pokemon Crystal Hacking Questions

So started testing the game, and

"This Game Pak is designed only for use on the Game Boy Color"

Popped up when I went to use my first attack. Is it the emulator or the ROM? What should I do?

Offline

#66 2015-04-05 15:19:48

Urnighter
Member
Registered: 2015-01-17
Post 45/123

Re: Pokemon Crystal Hacking Questions

I have some more questions with disassembly:

How do you go about increasing the amount of happiness gained from level up?
Is there a guide for replacing moves? I attempted to add Night Slash by replacing Conversion. I swapped conversions name for slash everywhere it appeared, changed the animation to be the same as slashes, and changed its power/accuracy etc. to Night Slash's in gen 4, but in game it just appears as glitched nonsense text and crashes the game.
Similarly, is there a guide for replacing pokemon? I haven't started with that yet but it appears like I'll be replacing a ton of stuff.

Offline

Board footer

Powered by FluxBB