The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page [Archive] Simple Questions

Notices
For all updates, view the main page.

Binary ROM Hacking Need a helping hand or just want to talk about binary ROM hacks? Get comments and answers to any ROM Hacking-related problems, questions or thoughts you have here.

Ad Content
Closed Thread
 
Thread Tools
  #1351   Link to this post, but load the entire thread.  
Old August 12th, 2006 (5:44 AM).
Leo~chan's Avatar
Leo~chan Leo~chan is offline
Lolbot :3
 
Join Date: Jan 2006
Location: Rome, Italy
Age: 30
Gender:
Nature: Docile
Posts: 13
I have removed the event of regulating the clock and that one of the university professor in danger… And then, I up do not see more the labels with the names of the cities… Exists one script in order to activate them? Thanks a lot ^°^!
(Bleah! My Bad English ;__;!)
__________________

  #1352   Link to this post, but load the entire thread.  
Old August 12th, 2006 (6:27 AM). Edited August 12th, 2006 by Pazuzu.
Pazuzu's Avatar
Pazuzu Pazuzu is offline
Flushing Meadows
 
Join Date: Sep 2004
Location: Room 1202
Nature: Bold
Posts: 5,448
Quote:
Originally Posted by slipknot
Thanks Scizz

And this site looks great now, not to mention it runs fully functional now :) I can finally access this topic

I am now creating a hack on Pokemon Emerald and I like to change the music in trainer battles to give it more variety and that normal trainer music is boring. I have tried pet.exe but the names are very weird and when I click on 1 I get run-time error 6 (I have all the neccesary files), and Advancebattle (it can change the music, right?) is nowhere to be found.

Which program allows me to change the music in trainer battles? And where can it be found?
The only specialised program to change the TrainerBattle music byte is PET.
The other method is to use a Hex-Editor.

I just loaded PET, together with an Emerald ROM, and it's working fine.
You might have to add the correct offsets to your PokeRoms.ini file first, as it is not supported by EliteMap by default.
You can fin dthe offsets in the Documents forum. If you added them, and it still doesn't work, I will give you the structure for the data in Hex.

Quote:
Originally Posted by Hack The Master
I have removed the event of regulating the clock and that one of the university professor in danger… And then, I up do not see more the labels with the names of the cities… Exists one script in order to activate them? Thanks a lot ^°^!
(Bleah! My Bad English ;__;!)
I just tried to reproduce the error, and disabled the Clock setting event, as well as the Professor event on the Route.
Result: The Map labels are still showing up.

Make sure you didn't corrupt anything while editing. The easiest way to fix it, is to go back to your backup copy and carefully re-do the changes you made.
__________________
This signature has been disabled.
Height well exceeds 350px.
Please review and fix the issues by reading the signature rules.

You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.

Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.
  #1353   Link to this post, but load the entire thread.  
Old August 12th, 2006 (11:58 AM).
Sharanza's Avatar
Sharanza Sharanza is offline
Returning: Platinum Silver
 
Join Date: Apr 2006
Nature: Adamant
Posts: 160
Whene i insert new tiles in Fire red rom

all tiles are messed up like this
see that lines in market pokecenter etc

pleas help
__________________
{FaVoRite HacKs}
Pokemon Moon- Sun
Pokemon Liquid Ocean
Pokemon Shiny Gold

{My HaCks}

Pokemon Tanzanit
Pokemon Sufforcion
  #1354   Link to this post, but load the entire thread.  
Old August 12th, 2006 (12:31 PM).
Green Charizard's Avatar
Green Charizard Green Charizard is offline
pɹɐzıɹɐɥɔ uǝǝɹƃ
 
Join Date: Nov 2004
Location: the UK
Gender:
Nature: Quiet
Posts: 251
Did you use unLZ.gba? If so was "Auto abort if new data is bigger" ticked, if not that can sometimes cause that.
__________________
Ex-rom hacker, too attached to his childhood to leave.
  #1355   Link to this post, but load the entire thread.  
Old August 12th, 2006 (12:34 PM).
Christos's Avatar
Christos Christos is offline
 
Join Date: Feb 2006
Gender: Male
Nature: Serious
Posts: 6,355
Did you insert the tiles with Advance map? Then it's probably cause you inserted new tiles with palette 0. Sometimes the tiles mess up when you edit or insert them with palette 0.
__________________

A Pokemon that is discriminated!
Support squirtle and make it everyone's favourite.
  #1356   Link to this post, but load the entire thread.  
Old August 13th, 2006 (6:02 AM).
Smarties-chan's Avatar
Smarties-chan Smarties-chan is offline
Should've had that name change
 
Join Date: Jan 2005
Age: 21
Posts: 3,966
I ran a search on it, but couldn't find anything, so could someone please tell me where the regular trainer battle offsets in Pokémon Firered start? Also, what is the offset for the script where Professor Oak gives you the Pokédex?
  #1357   Link to this post, but load the entire thread.  
Old August 13th, 2006 (6:43 AM).
Link_971's Avatar
Link_971 Link_971 is offline
 
Join Date: Jul 2006
Gender: Male
Nature: Relaxed
Posts: 212
Hello, I look for a script to be inserted to allow to make a Day / night system.

It is rather easy, it is enough to create a script with the meteorological commands(orders) and to insert it into the clock.

It is necessary to find this script.

Can you help me?

I heard(understood) that the creator of diamond cuter knew him(it).

Is it true?

Ah yes, this script also has to walk(work) with the French versions (Ruby, saphire and émerald).

It is everything.
Good day.
  #1358   Link to this post, but load the entire thread.  
Old August 13th, 2006 (6:56 AM).
Pazuzu's Avatar
Pazuzu Pazuzu is offline
Flushing Meadows
 
Join Date: Sep 2004
Location: Room 1202
Nature: Bold
Posts: 5,448
Quote:
Originally Posted by Smarties-kun
I ran a search on it, but couldn't find anything, so could someone please tell me where the regular trainer battle offsets in Pokémon Firered start? Also, what is the offset for the script where Professor Oak gives you the Pokédex?
The Trainer Battle data for Fire-Red starts at offset 23EAF1 (Hex).
And the PokéDEX branch of Prof. Oak's script is located at 16961E (Hex).

Quote:
Originally Posted by Jirachi260
Hello, I look for a script to be inserted to allow to make a Day / night system.

It is rather easy, it is enough to create a script with the meteorological commands(orders) and to insert it into the clock.

It is necessary to find this script.

Can you help me?

I heard(understood) that the creator of diamond cuter knew him(it).

Is it true?

Ah yes, this script also has to walk(work) with the French versions (Ruby, saphire and émerald).

It is everything.
Good day.
There is no script that implements a day/night system into any of these games.
In order to implement something like this, you would have to add a script, that continously checks a certain variable for its value (the time variable), and depending on it, toggles the weather effects on the map.

However, this is kind of impossible to realize, as that script would have to run in an endless loop to shift the weather on the exact time, thus, blocking other scripts from execution.
So, unless you are able to use ASM hacking techiques to modify the in-game engine to check this, it's not possible to add it.
__________________
This signature has been disabled.
Height well exceeds 350px.
Please review and fix the issues by reading the signature rules.

You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.

Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.
  #1359   Link to this post, but load the entire thread.  
Old August 13th, 2006 (7:23 AM).
drem's Avatar
drem drem is offline
a french user...
 
Join Date: Apr 2006
Nature: Adamant
Posts: 29
hello, jirachi260 (my friend on the pokemon hacking), i have very full questions !

1. wath is flag in emerald for : - party menu
- pokedex menu
- POKéNAV menu
- all badges (one per one)
2. I did not understand, in the elitemap offsets searching ! sorry !
thanx in advance
__________________
  #1360   Link to this post, but load the entire thread.  
Old August 15th, 2006 (2:35 AM).
bboy_squid bboy_squid is offline
is pregnant with rage
 
Join Date: Aug 2005
Gender:
Nature: Hardy
Posts: 2
Since attacks in Diamond and Pearl will still have type affinities but be based on either Physical or Special stats, I was wondering if there was any way to do the same thing in R/S/E.

Does anyone know if it is possible to hack a game to run in a similar fashion to D/P? I had always wished Crabhammer was a physical move or that I could change Crush Claw to a dark move and base it off attack. It's not a big deal, but I'd really like to change these things.
  #1361   Link to this post, but load the entire thread.  
Old August 15th, 2006 (3:58 AM).
Pazuzu's Avatar
Pazuzu Pazuzu is offline
Flushing Meadows
 
Join Date: Sep 2004
Location: Room 1202
Nature: Bold
Posts: 5,448
Quote:
Originally Posted by drem
hello, jirachi260 (my friend on the pokemon hacking), i have very full questions !

1. wath is flag in emerald for : - party menu
- pokedex menu
- POKéNAV menu
- all badges (one per one)
2. I did not understand, in the elitemap offsets searching ! sorry !
thanx in advance
The question about the Flags in Emerald has already been asked and answered before.
Please use the search function before asking questions, as it is stated in the thread title.

The wanted Flags in Emerald split in the following values:
Code:
Party: &H860
PokéDex: &H861
PokéNav: &H862

Badge 1: &H867
...
Badge 8: &H86E
Now that you have the values for the 1st and last Badge, the other values should be easy to figure out.

For the offsets:
If you want to find out the MapLabel offset for the French version of Emerald, open your French ROM, and search the beginning of the location table. (Where all the city and route names are listed.)
Once you found it, turn the starting offset of it into a pointer, now search that pointer in the ROM.
When you find it, just write down the offset you found it at, and add it to the INI file.

For the Map data, you have to go a different way.
Load your English Emerald ROM, and go to the "Maps" offset that is specified in the 'PokeRoms.ini'.
Once you're there, you will find a pointer. Calculate the offset for it, and go to that offset.
Now, you will see a whole bunch of pointers, next to each other. Calculate the offset for the first pointer there, and follow it again.
Now you are in the Map data for the first map.
Copy a few bytes, and search the in your French ROM.
When you found them, turn the offset you found them at into a pointer, and search for it.
After you have found that pointer, calculate the pointer for the offset you found it at, and again, search it.
Now, when you have found that pointer, write down the offset you found it at, and add it to your INI file.

It's a bit of a hassle, but should be easy to do.

An easier way would be to just switch to Advance-Map for Map editing, because it will most likely support the ROM from the beginning.

Quote:
Originally Posted by bboy_squid
Since attacks in Diamond and Pearl will still have type affinities but be based on either Physical or Special stats, I was wondering if there was any way to do the same thing in R/S/E.

Does anyone know if it is possible to hack a game to run in a similar fashion to D/P? I had always wished Crabhammer was a physical move or that I could change Crush Claw to a dark move and base it off attack. It's not a big deal, but I'd really like to change these things.
This is not possible in the Advance games, as the type (Physical or Special) of the attack is determined via the Element of said attack.
There is currently no way to change it.
__________________
This signature has been disabled.
Height well exceeds 350px.
Please review and fix the issues by reading the signature rules.

You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.

Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.
  #1362   Link to this post, but load the entire thread.  
Old August 15th, 2006 (4:48 AM).
ssj's Avatar
ssj ssj is offline
Kanto Legend
 
Join Date: Jun 2006
Location: EVERYWHERE
Gender:
Nature: Bold
Posts: 83
How do I change the heros back sprite in Fire Red once ive found it in TLP?
__________________
Pokemon Diamond Friend Code : 2535 3381 4158
  #1363   Link to this post, but load the entire thread.  
Old August 15th, 2006 (4:53 AM).
Pazuzu's Avatar
Pazuzu Pazuzu is offline
Flushing Meadows
 
Join Date: Sep 2004
Location: Room 1202
Nature: Bold
Posts: 5,448
Quote:
Originally Posted by ssj
How do I change the heros back sprite in Fire Red once ive found it in TLP?
Once you have found a graphic that you want to edit with TLP, click on a tile (part) of said graphic, and re-draw it in the "Tile Editor" box, that is displayed right next to the main window.
To change the current color of your "brush", click on one of the colors that are displayed in the "Palette Editor" box below it.
__________________
This signature has been disabled.
Height well exceeds 350px.
Please review and fix the issues by reading the signature rules.

You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.

Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.
  #1364   Link to this post, but load the entire thread.  
Old August 15th, 2006 (9:30 AM).
pokemaniaco pokemaniaco is offline
 
Join Date: Jun 2006
Gender:
Nature: Adamant
Posts: 36
Hi everybody!

Do you know how to make a rom that has kanto, johto and hoen pokémons into a rom with only kanto and jochto?

I think there is a program which can change pokémons locations, but i don't know which program is it and how can I use it...

Please answer my question.

Thanks in advance.

Bye bye!
  #1365   Link to this post, but load the entire thread.  
Old August 15th, 2006 (11:00 AM).
Pazuzu's Avatar
Pazuzu Pazuzu is offline
Flushing Meadows
 
Join Date: Sep 2004
Location: Room 1202
Nature: Bold
Posts: 5,448
Quote:
Originally Posted by pokemaniaco
Hi everybody!

Do you know how to make a rom that has kanto, johto and hoen pokémons into a rom with only kanto and jochto?

I think there is a program which can change pokémons locations, but i don't know which program is it and how can I use it...

Please answer my question.

Thanks in advance.

Bye bye!
Making more than 1 region accessable in a game is unrealizable, as I already mentioned a few posts before.
However, you can make every Pokémon catchable in the wild, by modifying the data with an editing program like Advance-Map (all Advance-Games), or Bewildered (EliteMap/Only Ruby/Sapphire supported).

Both programs are self explaining.
__________________
This signature has been disabled.
Height well exceeds 350px.
Please review and fix the issues by reading the signature rules.

You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.

Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.
  #1366   Link to this post, but load the entire thread.  
Old August 15th, 2006 (8:18 PM).
kkaranth kkaranth is offline
 
Join Date: Aug 2006
Gender:
Nature: Adamant
Posts: 3
how to open a ROM in elitemap, it's just black when i start
  #1367   Link to this post, but load the entire thread.  
Old August 16th, 2006 (1:10 AM).
Cartmic Cartmic is offline
Hi there, it's been awhile.
 
Join Date: Oct 2003
Location: Balidmor City, Crion
Gender: Male
Posts: 618
Click the load ROM button next to the blank box which has the words ROM next to it.
  #1368   Link to this post, but load the entire thread.  
Old August 16th, 2006 (1:38 AM).
Liquinn Liquinn is offline
Banned
 
Join Date: Jan 2006
Nature: Adamant
Posts: 438
I hope this question is simple.

I'm using a G/S/C rom and I speak to this person. Is there anyway I can make the person dissapear permantly after I speak to him?

Hopefully that's a simple question.

Liquinn.
  #1369   Link to this post, but load the entire thread.  
Old August 16th, 2006 (3:05 AM).
XVIIVX XVIIVX is offline
 
Join Date: Jul 2006
Gender:
Nature: Adamant
Posts: 1
I've been searching for answers to these questions for a few days now, but I can't seem to find them...

1. I have done a new tileset replacing tileset number 34 (just different junktiles) but it is possible to make that tileset use the same palettes as the Slateport tileset? (number 4)

2. How is the data for trainers pokemon arranged in hex? (I know how to look where it starts with the help of pet, but how what to change and what to leave as it is?)

3. Is it possible to add new trainers without replacing old ones? (Not trainerclasses or sprites, how to make a script for a new trainer...)
  #1370   Link to this post, but load the entire thread.  
Old August 16th, 2006 (3:18 AM). Edited August 16th, 2006 by Pazuzu.
Pazuzu's Avatar
Pazuzu Pazuzu is offline
Flushing Meadows
 
Join Date: Sep 2004
Location: Room 1202
Nature: Bold
Posts: 5,448
Quote:
Originally Posted by liquinn
I hope this question is simple.

I'm using a G/S/C rom and I speak to this person. Is there anyway I can make the person dissapear permantly after I speak to him?

Hopefully that's a simple question.

Liquinn.
You can hide a Person Event in the G/S/C games, by adding the following Hex-Command to the Event's Script:
Code:
[6D][Event number]
Of course without the brackets, also remember to replace "Event number" with the number of the actual Event that you want to hide.

Quote:
Originally Posted by XVIIVX
I've been searching for answers to these questions for a few days now, but I can't seem to find them...

1. I have done a new tileset replacing tileset number 34 (just different junktiles) but it is possible to make that tileset use the same palettes as the Slateport tileset? (number 4)

2. How is the data for trainers pokemon arranged in hex? (I know how to look where it starts with the help of pet, but how what to change and what to leave as it is?)

3. Is it possible to add new trainers without replacing old ones? (Not trainerclasses or sprites, how to make a script for a new trainer...)
1. You could do that in 2 ways.
The first one would be to search the Palette for your new Tileset, calculate a Pointer for it, and repoint it to use Slateport's default Palette.

The second way would be, editing every Block of the Tileset, using Advance-Map's Block-Editor, and set the Palette of Slateport for every Block in the Tileset.

2. The Pokémon data can be stored in 3 ways.

1st way:
Code:
[Unknown1 (1-Byte)][Filler 1-Byte)][Level (2-Bytes)][Pokémon (2-Bytes)][Unknown2 (2-Bytes)]
2nd way:
Code:
[Unknown1 (1-Byte)][Filler 1-Byte)][Level (2-Bytes)][Pokémon (2-Bytes)][Attack1 (2-Bytes)][Attack2 (2-Bytes)][Attack3 (2-Bytes)][Attack4 (2-Bytes)][Unknown2 (2-Bytes)]
3rd way:
Code:
[Unknown1 (1-Byte)][Filler 1-Byte)][Level (2-Bytes)][Pokémon (2-Bytes)][Unknown2 (2-Bytes)][Attack1 (2-Bytes)][Attack2 (2-Bytes)][Attack3 (2-Bytes)][Attack4 (2-Bytes)]
3. Since there are a few unused Trainer-slots in the game, you can easily modify one of them to 'add' a new Trainer.
Once you have done that, all you have to do is call the new Trainer-Battle with the respective command in a Script.
__________________
This signature has been disabled.
Height well exceeds 350px.
Please review and fix the issues by reading the signature rules.

You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.

Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.
  #1371   Link to this post, but load the entire thread.  
Old August 16th, 2006 (10:34 AM).
Jonny Buuz's Avatar
Jonny Buuz Jonny Buuz is offline
La di da di do di da di dum...
 
Join Date: Oct 2005
Location: Behind you.
Age: 32
Gender: Male
Nature: Modest
Posts: 56
For whatever reason, every time I try to search for something, I get

Quote:
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 35 bytes) in /home/pokecomm/public_html/search.php on line 1057
So if these questions have been asked before, please forgive me.

1) For all of the big sprites of Oak, Gary, Ash, etc. in Fire Red, it says all of their palettes are the same (462D34h). That just doesn't seem logical; is it correct though?

1.5) If they share the same palette, how would I palette edit? I'm guessing the same way as I normally do, but if they share a color... yeah.

2) In reference to the post of Scizz's directly above mine, would it be that more powerful trainers (i.e. e4, gyms) use the second and third formulas, while little trainers on routes use the first? And is the formula consistent for all advance games?

Thanks.
__________________
</signature>
  #1372   Link to this post, but load the entire thread.  
Old August 16th, 2006 (10:42 AM).
Pazuzu's Avatar
Pazuzu Pazuzu is offline
Flushing Meadows
 
Join Date: Sep 2004
Location: Room 1202
Nature: Bold
Posts: 5,448
Quote:
Originally Posted by Jonny Buuz
For whatever reason, every time I try to search for something, I get



So if these questions have been asked before, please forgive me.

1) For all of the big sprites of Oak, Gary, Ash, etc. in Fire Red, it says all of their palettes are the same (462D34h). That just doesn't seem logical; is it correct though?

1.5) If they share the same palette, how would I palette edit? I'm guessing the same way as I normally do, but if they share a color... yeah.

2) In reference to the post of Scizz's directly above mine, would it be that more powerful trainers (i.e. e4, gyms) use the second and third formulas, while little trainers on routes use the first? And is the formula consistent for all advance games?

Thanks.
1) Of course they don't use the same palettes. unLZ-GBA just doesn't show the correct palette offset for them.

You can edit their palettes like evry other palette in the game, by using the Palette-Viewer of VBA, and your Hex-Editor. (A Tutorial is posted in the Documents forum.)

2) You are correct. The 1st structure is used for "normal" trainers, who's Pokémon don't have any specific attacks.
However, important Trainers, like the Gym Leaders and Elite 4, as well as some other trainers use the 2nd and 3rd structure.

These structures are used in all Advance games.
__________________
This signature has been disabled.
Height well exceeds 350px.
Please review and fix the issues by reading the signature rules.

You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.

Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.
  #1373   Link to this post, but load the entire thread.  
Old August 16th, 2006 (11:45 AM).
Leo~chan's Avatar
Leo~chan Leo~chan is offline
Lolbot :3
 
Join Date: Jan 2006
Location: Rome, Italy
Age: 30
Gender:
Nature: Docile
Posts: 13
I search in Forums, but i don't rescue like published the icon in the map of the personage?
__________________

  #1374   Link to this post, but load the entire thread.  
Old August 16th, 2006 (12:14 PM).
Pazuzu's Avatar
Pazuzu Pazuzu is offline
Flushing Meadows
 
Join Date: Sep 2004
Location: Room 1202
Nature: Bold
Posts: 5,448
Quote:
Originally Posted by Hack The Master
I search in Forums, but i don't rescue like published the icon in the map of the personage?
Sorry, but what you just said doesn't really make any sense. ^^"
Please rephrase your question.

Do you mean changing the Overworld Sprite of a person?
__________________
This signature has been disabled.
Height well exceeds 350px.
Please review and fix the issues by reading the signature rules.

You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.

Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.
  #1375   Link to this post, but load the entire thread.  
Old August 17th, 2006 (1:54 PM).
Korussive Acidsan's Avatar
Korussive Acidsan Korussive Acidsan is offline
Back with a bang.
 
Join Date: Jan 2006
Location: Rhea 5
Gender:
Nature: Lax
Posts: 42
Okay. This is a question, but it seems not simple enough to be in the Simple Question thread.

Anyhoo, is there anyway to change text in Pokemon Diamond (Telefang Speed), with a hex editor? I keep on trying, but with no sucsess.
Closed Thread

Quick Reply

Join the conversation!

Create an account to post a reply in this thread, participate in other discussions, and more!

Create a PokéCommunity Account
Ad Content

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 9:21 AM.