The PokéCommunity Forums

The PokéCommunity Forums (https://www.pokecommunity.com/index.php)
-   Binary ROM Hacking (https://www.pokecommunity.com/forumdisplay.php?f=284)
-   -   [Archive] Simple Questions (https://www.pokecommunity.com/showthread.php?t=60051)

drem May 4th, 2006 11:00 PM

Tomn Map Data
 
how to edit a townmap data in pokemon firered version (no grafics)
i need help

Smarties-chan May 5th, 2006 2:26 AM

Problem inserting scripts >D
 
I have finally managed to create a rather simple script that should work, but now I can't insert it >D When I try compiling the file, it comes up with http://img213.imageshack.us/img213/5489/noname1hq.png
I have downloaded the needed files zip from Pokedrome, I would greatly appreciate it if someone could help me with this problem.

Pazuzu May 5th, 2006 4:29 AM

Quote:

Originally Posted by Deokishisu
Sorry to keep bugging you but, now the game freezes up when I talk to the person.
Also, when I start the game the screen stays white and I have to load my save from the menu.

Then you have probably overwritten some important data of the game.
Verify that the offsets you insert your script to are surely free of data.

Quote:

Originally Posted by Aon
Now, this may belong in simple q's, but it seemed more appropriate here.

http://i69.photobucket.com/albums/i58/Aonshix/Pokemon_Ruby_Hack_03.png
I think this is cos of a Truck level scrpt. I edited the starting map using introED.
(Trainers room)

http://i69.photobucket.com/albums/i58/Aonshix/Pokemon_Ruby_Hack_01.png
This is part of my edited Back of truck map. I cannot explain the glitch, but thats why i'm asking isn't it?

Does anyone have any info on why either of these may have ocured.

Those actions are determined in the level script of the truck map and the intro routine.
Since we're not quite able to edit the intro routine yet, and the changed in the level script seems to have no effect, the best things you can do, would be to block the view to that area.

Quote:

Originally Posted by Arbok
Anyone please tell:

How can i fix this in unLZ GBA, I have opened Pokémon Emerald:

http://img100.imageshack.us/img100/6503/wtfisthis0je.png

You have to adjust the Pallete.
In Emerald, there are 2 kind of Pokémon Pictures. The normal ones, and the animated ones.
Just copy the Pallete number of Alakazam from the non animated ones and type it in for your picture above, that will fix it.

Quote:

Originally Posted by Micklo
Everytime I edit a map in either EliteMap or AdvanceMap, the ROM fails to load in VisualBoyAdvance.
What am I doing wrong?

For EliteMap: Make sure your ROM is a 1.0 dump version, and that offsets are available in the INI file.

For AdvanceMap: Make sure that the offsets for the ROM you wanted to load are available in the INI file.

Quote:

Originally Posted by Digital Mage
I have a question. For G/S.

Is there a way to change the types of tiles? i.e changing a wall tile into a door tile.

You should be able to change that either in the Tile behaviour, or the Block data.
I'll see if I can get a structure of the data for G/S/C.

Quote:

Originally Posted by roger
i downloaded pokemon emerald but its only up to the league it can't go no further, can anyone help me out with where i can download the complete version , the other problem i am gettin is that the one i download has no time its saying the internal battery has run dry plss help me out

The stickied "Frequently Asked Questions" thread contains a nicely explained answer to your questions.

Quote:

Originally Posted by Kitty Face
How do you figure out a new room's offset value?

The new rooms I made and linked together with the main map work, but it's just a black screen when I enter them. I was told it had something to do with the offset value.

Could you elaborate on that?
What do you mean by "offset value"?

If you want to connect Maps, you can do it easily with Advance-Map's Connection-Manager.
There you have to enter the Map Bank and Map Number of the Map you want to connect to your current one, together with the side it should appear on.
Also, if your maps are different sizes, you can adjust their placement by changing the value in the "Adjustment" box. (Could that be what you mean?)
Normal values will move the Map Up/Right by the value, and negative values will move the Map Down/Left by the value.

Quote:

Originally Posted by Evil_Sasuke
Hey can some one help me out. I'm trying to recreate the sproute tower from gold in my new hack i'm working on and i tried putting pokemon in the tower but they dont pop up at all. The tower im using is a building from rustboro city. Also i edited the tiles that you walk on so i don't know if its because of that or what but even when i put the tile behavior to grass animation(pokemon) but still no pokemon are coming out. So can anyone help me out? Here's a pic from the tower: http://i72.photobucket.com/albums/i161/SeanAir/PokemonPlatinumU.png

There seems to be aproblem with Advance-Maps block editor right now, as it doesn't seem to get/save the Behaviour values correctly.

You can either wait for the fixed version to come out, or adjust the data yourself by using a Hex-Editor.

Quote:

Originally Posted by dude256
Could anybody explain the process of importing/replacing tilesets? In advance map 1.8 I was able to extract tilesets from the block editor, however I was unable to import them back into the tileset (the load tileset option was grayed out).

Also is it possible to alter the palette for tilesets? I've already looked at the palette offsets in VBA, but I could not match them up in unLz or advance map 1.8. I'm really lost about modifying the palettes...and their locations.

Lastly, is there a way to edit the tilsets by use of unLZ? I think I found part of one tileset around id 6-7, but I could not find the appriate palette. So in reality I have no idea what it was.

I'm very familiar with replacing pokemon and trainer graphics (sig has some examples). I'm able to also edit pokemon palettes as well...but these tilesets are giving me alot of trouble.

Thank you whoever can answer these question ^-^

*I've done a complete search of this thread also, checking all tileset related posts, the few answers I found were abit too cryptic for me

To be able to import Tileset data back into the ROM, make sure you have the latest AdvanceMap version. (1.81)
The import option should be active there, so you should have no trouble importing your Tileset data back.

Yes, it is possible to alter a Tileset's Palletes.
You can do it just like you do for every other Pallete in the game, by using VBA to get the values, and a Hex-Editor to find and edit them.
AdvanceMap can't edit a Tileset's Pallete (It only can set the Pallate of a block to a predefined one) and unLZ-GBA is not a good idea to be used for that.

There are 2 kinds of Tilesets.
Uncompressed Tilesets: You can't view those in unLZ-GBA, as they are not compressed, and therefore won't be found by it. You can edit them with TLP, Tile Molester or any other Tile editing program.



Compressed Tilesets: Those are the ones which are found by unLZ-GBA. There are 2 ways you can edit them.

1: Export the Tileset as picture and edit it with an Imaging program.
2: Export the Tileset as RAW dump and edit it with a Tile editing program just like an uncompressed one.


The Pallete's from unLZ-GBA never apply to a whole Tileset, they just apply to certain blocks of it.
So if you want to edit a specific block, you just have to find the right Pallete for that block.

Quote:

Originally Posted by DiEsse
How does the multi command (in scriptEd) work?

Quote:

multi (6F)
multi bLeft bTop bList bCancel
Puts up a list of choices for the player to make. Available choices depend on the value of bList. bCancel determines wether the player can press the B button to select the last item, if yes the last item should be "Cancel". As always, the player's choice is stored in LASTRESULT.

Example:
message 0x604020 '"What city do you like best?"
choice 2 2 13 0 'items available are littleroot, slateport and lilycove
compare LASTRESULT 1
if 0 0x600030 'goto littleroot handler
if 1 0x600050 'goto slateport handler
'lilycove handler starts right here, no "if LASTRESULT 3" needed.

Quote:

Originally Posted by Christos
Can anyone tell me a good stats editor like PA for emerald and link and Pokemon Name Editor for emerald?

If PA does not support Emerald, then there is no other program to edit the Stats yet. (You can use a Hex-Editor, though.)
A great Name editor is a Hex-Editor, together with a Table file.
Alteratively, you can use N-E-A, which you will find at the Tools-Showcase.

Quote:

Originally Posted by PikaPook
Thanks!
How Do I repoint it:P

Simply calculate the pointer of the original offset and the new offset.
Then just search for the old pointer in your Hex-Editor and replace it with the new one.
(A-Point can be found in the Tools Showcase, also it offsers Pointer calculation for the Metall and Advance game generations.)

Quote:

Originally Posted by burnthechavs
Hey, im trying to do a new hack, and i know exactly how to do it but i just CANT!!!

This is because,
1) when i hold control and click something with elitemap, SCRIPTS DONT SHOW UP!! any suggestions

2) Alot of the tools i download keep saying damaged or wen i unzip, theres nothing there, or missing folders

3) any hex program i try running (hexposure, transhexlation, etc) just dont work, and it says 'There has ben an error and microsoft must close 'program name'' everytime i open the rom

Is there special files i need to view these? any suggestions?

please help, and ill put ur name on the hack too!

1) Does ScriptED open when you click on them?
The best thing to do would be redownloading of the package to make sure you got all the needed files.

2) There is nothing you can do about that, except searching for mirrors of those Tools. (See the Hacking Tools Reference in the Tools Showcase for example.)

3) Hexpospure is a DOS program, and won't run properly on Windows XP.
Translhextion should work, but if it doesn't open files correctly, then there has to be an error in the program.
However, there are many alternatives, so you shouldn't have any difficulties to find one.
(Nextsoft Hex-Editor for example.)

Quote:

Originally Posted by mxkpkmnextu??
Hail
Can someone answer this??
And what are the offsets of the battle fields in unlz in FireRed, and is there a way to increase the img size so that the message of compressed data to big doesn't appear?
[[ ]]
Stay Sick\m/

Script 1:
Code:

#org 0x800000
lock
faceplayer
message 0x800200
boxset 0x4
#raw 47
#raw 0B
#raw 1
#raw 1
#raw 0
compare LASTRESULT 0
if 1 jump 0x800150
message 0x800300
boxset 0x6
warp 0x0 0x56 0x0
release
end

#org 0x800150
message 0x800400
boxset 0x6
release
end

#org 0x800200
= This is the WIND EGG\nIt's said that in past times it revived\pthe city from the ashes after the\nwars... 

#org 0x800300
= Huh?!\nYour RAINBOW ASH got brighter...

#org 0x800400
= Huh?!\nSuddendly the wind got stronger\pfor an instant...


Script 2 (untested but should work):
Code:

#org 0x887B14
#raw 47
#raw 17
#raw 1
#raw 1
#raw 0
compare LASTRESULT 0
if 1 0x887B30
end

#org 0x887B30
lock
message 0x887B4C
boxset 0x6
applymovemt 0xFF 0x887B84
wait 0x0
release
end

#org 0x887B84
#raw 9
#raw FE

#org 0x887B30
=This sandstorm blinds my eyes!\n Can't keep going...


Script 3:
Code:

#org 0x719718
cry 0xA1 280
#raw 01
message 0x719734
boxset 0x6
release
end

#org 0x719734
= arfh arfh


Quote:

Originally Posted by Wolf_vee
where can i get a vba? oh forget it but whenever i download 0ne t turns up as an internet page not a vba icon oh and my computers WINDOWS ME

http://vba.ngemu.com/
Also mentioned if the stickied FAQ thread.

Quote:

Originally Posted by Knaspergold
how i can change the Venusaur picture in titlescreen of pokemon leaf green??

You can change it with unLZ-GBA.

Quote:

Originally Posted by Aon
Does anyone know eiher if here is a tool which can edit the way pokemon evolve in emerald, or how I could edit this in hex?

The structure in Hex in build up like the following:
Code:

[Evolution type byte][Special byte][Pokémon byte]



The Evolution type byte can have the following values:

0100 -> Happyness evolution
0200 -> Day evolution
0300 -> Night evolution
0400 -> Level evolution
0500 -> Trading evolution
0600 -> Trading evolution with Item
0700 -> Item evolution
0800 -> Stats evolution: Attack > Defense
0900 -> Stats evolution: Attack = Defense
0A00 -> Stats evolution: Attack < Defense


The Special byte depends on the Evolution type byte, and is either the Level the evolution starts at, the Item,... or 0000.

Quote:

Originally Posted by Nitsuj99
I was just wondering if anyone knew how to remove the truck sounds in emerald(I have tried Smed, I think it only works with ruby/sapphire) Also I know how to change the location of were you start I just need to know how to remove the noise..

You are not able to do that yet, as those things are stored in the intro routine, which is quite unknown at the moment.

Quote:

Originally Posted by enigma85
Ok so i've decided to go back to old school and try and get the original green not released in america and translate it. i have a hongkong rip off tanslated rom but as you all know the english aint really english. the part i'm hving trouble with is making a table file so i can hack the text of the hongkong ripoff. i'm kinda noob so any help would be great, any ides? poketext doesn't have a tale for it. thanks

Open the ROM in TLP, set it to 8bpp mode, and scroll down until you reach the Font data.
Then you open up Notepad and start wriing down the Hex-Values and their corresponding characters in the oder they appear in TLP.

It's been a long time since I hacked R/B, but the values should start at 80.


So if the first letter in TLP is an A, your table should look like this:

80=A
81=B
...


Quote:

Originally Posted by drem
how to edit a townmap data in pokemon firered version (no grafics)
i need help

Just open the Map in either Advance-Map and EliteMap and edit it to your liking.

Quote:

Originally Posted by Smarties-kun
I have finally managed to create a rather simple script that should work, but now I can't insert it >D When I try compiling the file, it comes up with http://img213.imageshack.us/img213/5489/noname1hq.png
I have downloaded the needed files zip from Pokedrome, I would greatly appreciate it if someone could help me with this problem.

There's an error in your Script. =P
If you don't mind, post it so we can try to fix it for you.

Smarties-chan May 5th, 2006 6:06 AM

Quote:

There's an error in your Script. =P
If you don't mind, post it so we can try to fix it for you.
Thanks for the help Scizz ^_^ The problem was that I forgot to press enter before typing the 'end' command.

Oxnite May 5th, 2006 7:27 AM

~~ Whoa Scizz, You're so good ^^ Thanks, it works ~~

Smarties-chan May 5th, 2006 7:58 AM

I have new problem x_x Well, two actually...

I inserted new message into the game, but when I talk to the npc, it doesn't turn to face towards the trainer, how do I fix this?

As for my second problem: after I have talked to the npc, the message box doesn't dissapear. Could someone please explain to me why? :S

You probaly didn't understand what I was trying to say, so I'll just post a couple of pictures:
http://i1.tinypic.com/x6fvr8.png http://i3.tinypic.com/x6fvw1.png
I hope those explained my problem.

mxkpkmnextu?? May 5th, 2006 8:12 AM

Quote:

Originally Posted by Scizz
Script 1:
Code:

#org 0x800000
lock
faceplayer
message 0x800200
boxset 0x4
#raw 47
#raw 0B
#raw 1
#raw 1
#raw 0
compare LASTRESULT 0
if 1 jump 0x800150
message 0x800300
boxset 0x6
warp 0x0 0x56 0x0
release
end

#org 0x800150
message 0x800400
boxset 0x6
release
end

#org 0x800200
= This is the WIND EGG\nIt's said that in past times it revived\pthe city from the ashes after the\nwars... 

#org 0x800300
= Huh?!\nYour RAINBOW ASH got brighter...

#org 0x800400
= Huh?!\nSuddendly the wind got stronger\pfor an instant...



Hail
This was supose to have a check item command=S...
Could it be something like this??
Code:

#org 0x800000
lock
message 0x800200
boxset 0x4
checkitem 0x10B
#raw 47
#raw 0B
#raw 1
#raw 1
#raw 0
compare LASTRESULT 0
if 1 jump 0x800150
message 0x800300
boxset 0x6
warp 0x0 0x56 0x0
release
end

#org 0x800150
message 0x800400
boxset 0x6
release
end

#org 0x800200
= This is the WIND EGG\nIt's said that in past times it revived\pthe city from the ashes after the\nwars... 

#org 0x800300
= Huh?!\nYour RAINBOW ASH got brighter...


What are the fire red's battle fields offsets in unLZ and is there anyway of evading that message of image to big from unLZ so that the image stays has it is?
Thnx for the help
[[ ]]
Stay Sick\m/

Pazuzu May 5th, 2006 8:22 AM

Quote:

Originally Posted by Smarties-kun
I have new problem x_x Well, two actually...

I inserted new message into the game, but when I talk to the npc, it doesn't turn to face towards the trainer, how do I fix this?

As for my second problem: after I have talked to the npc, the message box doesn't dissapear. Could someone please explain to me why? :S

You probaly didn't understand what I was trying to say, so I'll just post a couple of pictures:
http://i1.tinypic.com/x6fvr8.png http://i3.tinypic.com/x6fvw1.png
I hope those explained my problem.

Just add those commands at the start of your script:

lock
faceplayer

and before the end add:

release

To make the textbox disappear after a text has been said, just use:

boxset 0x6


Quote:

Originally Posted by mxkpkmnextu??
Hail
This was supose to have a check item command=S...
Could it be something like this??
Code:

#org 0x800000
lock
message 0x800200
boxset 0x4
checkitem 0x10B
#raw 47
#raw 0B
#raw 1
#raw 1
#raw 0
compare LASTRESULT 0
if 1 jump 0x800150
message 0x800300
boxset 0x6
warp 0x0 0x56 0x0
release
end

#org 0x800150
message 0x800400
boxset 0x6
release
end

#org 0x800200
= This is the WIND EGG\nIt's said that in past times it revived\pthe city from the ashes after the\nwars... 

#org 0x800300
= Huh?!\nYour RAINBOW ASH got brighter...


What are the fire red's battle fields offsets in unLZ and is there anyway of evading that message of image to big from unLZ so that the image stays has it is?
Thnx for the help
[[ ]]
Stay Sick\m/

I told you a lot of times already, so this is the last time I'm going to do that.
There is no checkitem command implemented in RubiKode yet.
Which is why we placed the raw values.
Those raw values are the checkitem command.
The script I gave you is fully correct.

What do you mean with "battle field"?

To disable the "Image too big" message, just uncheck the "Abort if new image is bigger" box when saving.

Smarties-chan May 5th, 2006 8:38 AM

Thanks again Scizz ^_^ Now that I know the basics, I can finally start to seriously work on my hack =D If I ever complete it, I'll make sure to mention you in the credits.

randompanzy May 5th, 2006 1:27 PM

need a needed file
 
i need a file called comctl32.ocx does anyone have it? i looked in the needed files and couldn't find it please help

Aon May 5th, 2006 1:34 PM

Awsome! Scizz is back. (or at least willing) Thanks for the answers, the evolution one really helped.
To find the file, comctl32.ocx try checking the stcikys in the tools showcase forum.

Magnemite May 5th, 2006 8:19 PM

How do I edit trainer battles? Where can I get Advance Battle?
 
I've been searching all over for Advance Battle, but I still can't find it. I have PET and TBC, but I can't work either of them. I have all the pics for PET, but cycling through all of the pics to find the pokemon I want is such a waste of time. Is there an easier way to edit battles?

Grifter May 5th, 2006 10:37 PM

How can I use EliteMap to view all the Wild Pokemon that are available on a specific map? I have tried looking at the Bewildered tool, but that just shows two pokemon and drop down lists with all the pokemon. Does EliteMap have a function similar to the Wild Pokemon one on AdvanceMap?

Aon May 6th, 2006 12:58 AM

Why not just use advance map? And no, you can't wild poke edit in elite.

Christos May 6th, 2006 1:14 AM

Quote:

Originally Posted by Aon
Awsome! Scizz is back. (or at least willing) Thanks for the answers, the evolution one really helped.
To find the file, comctl32.ocx try checking the stcikys in the tools showcase forum.

Search at google,yahoo etc. you'll find them and u can downlaod all needed files or just that.
EDIT:Here's a site that you can downlaod it.Just click on downlaod COMCTL32.OCX Link:http://www.ascentive.com/support/new/support_dll.phtml?dllname=COMCTL32.OCX

Xenesis May 6th, 2006 2:23 AM

Just a small question, is it known how to have the Pokedex display Complete data, rather than minimal data on having just seen a pokemon instead of needing to capture it? (Eg, the data when seen = data when caught).

Otherwise, I'll just not use the pokedex at all in my Hack. :S

GreenZ May 6th, 2006 12:12 PM

I've got one, stupid problem... I added (in Elite Map) new traps on one map. I created script and wrote its offset in Elite Map, but when I'm playing my hack, this script doesn't work. Why? If I earlier must write command that will activate this trap, tell me which it is.

randompanzy May 6th, 2006 11:31 PM

Quote:

Originally Posted by Masquerade™ Inc.
I've been searching all over for Advance Battle, but I still can't find it. I have PET and TBC, but I can't work either of them. I have all the pics for PET, but cycling through all of the pics to find the pokemon I want is such a waste of time. Is there an easier way to edit battles?

i need a way to edit battles too advance map wont work on my computer because my couputer doesn't have enough system resoures

drem May 7th, 2006 2:38 AM

sorry scizz, but I do not speak about the city, I wanted to say that:
change the city's location in town map "bag >> key items >> townmap"

now, i have an other question :
how to edit script( i used scriped, but I cannot compile it )

kiarou May 7th, 2006 2:58 PM

I need some help please.
 
Sorry, im t3h n00b
I've never worked with hacks or emulator before, and i would like some help >.<;
I don't know how to download and play these pokemon hacks.
Are there special programs I need, or is it just a matter or process.
Please help,
thankyou verry much!

The Dash May 7th, 2006 3:06 PM

To play a Pokémon Hack you will need:
A Emulator (Google Visual Boy Advance)
The rom that it has been hacked for (Again google it, we are not allowed to give out links to roms.)
A IPS Patcher (Once again google it)

I'd find the links for you (not to the roms) but I'm to tired. Hope this helped you.

Kitty Face May 8th, 2006 11:18 PM

Thanks for your help, Arbok and Scizz. ^_^

Is there a way to change the icon of newly inserted Pokemon in unLZ GBA?

EDIT: 'nother question.. um, in Advance Map, is there a way to just edit the pallette's you have to chose from?

Christos May 9th, 2006 3:15 AM

Quote:

Originally Posted by Kitty Face
Thanks for your help, Arbok and Scizz. ^_^

Is there a way to change the icon of newly inserted Pokemon in unLZ GBA?

EDIT: 'nother question.. um, in Advance Map, is there a way to just edit the pallette's you have to chose from?

1)For icons of all pokemon and newly inserted there's IconEd which can be found in Tools Showcase

2)You can change palettes with palette editing

Kitty Face May 9th, 2006 3:31 AM

Quote:

Originally Posted by Christos
1)For icons of all pokemon and newly inserted there's IconEd which can be found in Tools Showcase

2)You can change palettes with palette editing

Okay IconEd.. I'll need to get that, thanks. ^_^

Well I'm not much of a hacker at all, to say the least, but I've dabbled in art for years (though I'm only 15.. XD) I have a variety of art programs (Paint Shop Pro 7, Adobe Photoshop 7) and I've been using them for pallette editing for the Pokemon Sprites I've been making. I tried to do something along those lines for tilesets but I have no idea how to apply a new pallette to the current ones. This is what I've been doing:

1. In Advance Map, save tileset as a .DIP file.
2. Load .DIP in PSP7.
3. Edit.. la-dee-la.. resave tileset as .DIP and .PAL (required).
4. Load tileset back into Advance Map.

All I get are a series of blank green/navy/fuschia squares.. but if I load the original tileset, all of the tiles and pallettes come back. The original tileset is only a .DIP and .PAL file, like the one I recoloured and all.

I also tried some called TLP (I think), the thing that came with Elite Map, and I couldn't figure that out either.

I have no skills whatsoever using hex. I don't even have a hex editor. ._.

What do you suggest? ^_^;;;

Christos May 9th, 2006 3:55 AM

There's a tutorial for palette editing and the other colors you get are like that because those colors weren't in the palette you edited.


All times are GMT -8. The time now is 2:31 AM.


Like our Facebook Page Follow us on Twitter © 2002 - 2018 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2016 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.

Acknowledgements
Use of PokéCommunity Assets
vB Optimise by DragonByte Technologies Ltd © 2023.