The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Help Thread Quick Questions & Answers

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
  #151   Link to this post, but load the entire thread.  
Old October 7th, 2014 (5:16 PM).
HidoranBlaze's Avatar
HidoranBlaze HidoranBlaze is offline
 
Join Date: Apr 2013
Age: 26
Gender: Male
Posts: 252
Quote:
Originally Posted by avaramoon View Post
I have a couple of questions of my own...

I'm hacking FR, does anybody happen to know the palette offset for this screen, or know how I could find it?

You could use VBA's Palette Viewer and search for the palettes in a hex editor. Hope that helps.

Quote:
Originally Posted by Falkner92 View Post
Look, I'm sorry but I really need some help here. None of the standard Pokemon hacking tools seem to work on my PC for some reason. My PC seems to think all of the Advanced tools have trojans or are viruses except for Advanced map. I installed PoketScript and PkmAdvanced but the scripts don't compile correctly. And every time I try to run XSE I get Error 13 "Mismatch". I'm running Windows 8 btw.

Can anyone please help me? I can't really do anything with just Advanced Map.
Hmm that's weird. My tools are all running fine on Windows 8.1. IIRC antiviruses have a whitelist for non-malicious programs, so you could use that? Also for your XSE problem, try this: http://windows.microsoft.com/en-US/windows-8/older-programs-compatible-version-windows
Idk if it'll work though. Also don't use PoketScript. That's seriously outdated.
  #152   Link to this post, but load the entire thread.  
Old October 7th, 2014 (5:34 PM).
Falkner92 Falkner92 is offline
 
Join Date: Oct 2014
Posts: 7
Doesn't really matter since I can't get either of them to run. Do I need to set up anything to run XSE? Or should I just be able to click XSE.exe and run it right then and there?
  #153   Link to this post, but load the entire thread.  
Old October 7th, 2014 (5:44 PM).
Moosh's Avatar
Moosh Moosh is offline
 
Join Date: Sep 2013
Location: Olympia
Age: 26
Gender: Male
Nature: Mild
Posts: 191
Hello :) I'm currently making a G/S/C remake and I really need some tiles for the interior of Sprout Tower. I don't care if they are from G/S/C or HG/SS. I just really need the tiles. I have someone who does tiles I just need the tiles be it a link or a picture I really appreciate the help :D
__________________
Creator of Silver Destiny and Pokémon Delta

  #154   Link to this post, but load the entire thread.  
Old October 7th, 2014 (5:53 PM).
NG55's Avatar
NG55 NG55 is offline
 
Join Date: Sep 2009
Location: Barrie, Ontario, Canada
Gender: Male
Posts: 88
Quote:
Originally Posted by joexv View Post
A really easy way to edit what the old man is catching is to install jpans hacked engine onto your rom. He added a special that will allow you to have him catch any Pokemon. http://www.pokecommunity.com/showthread.php?t=194241
Spoiler:
Special 0x9c – Old man Battle for all

Receives Arguments? Yes.
0x8004 is the Pokémon species to be captured
0x8005 is the Pokémon Level

Returns values? No

The old man can now catch all pokémon! Well, not quite. It seems that, because this code and some others have been programmed to happen with a specific pokémon, some pokémon were barred from its execution. As such, the old man can catch no legendary except for the bird trio (ask not why), blissey and a few others in the legendary region. Chimecho is ok though. I don’t have a full list of pokémon that do or do not work, so you’ll have to try and find out.
Also (just because), to change the old man out and someone else in, its image is uncompressed at 0xe70ec0, together with most other backsprites.
As of version 1.0, changing the pointer to this image is asking for trouble on the change backsprite hack. As such, edit over him.
-Quoted form jpans hacked engine instructions-






OK so the level script for that event is at 0x16A205.
The reason that those weird script lines are apearing is because you are overwriting other scripts and they are showing up in the current one, all you need to do to avoid that is to add a new dynamic offset for the starting script. So if you wanted to edit the marts script it would looklike this(changes in red):
Spoiler:
Code:
'---------------
#dynamic 0x800000
#org @start
lockall
textcolor 0x0
applymovement 0x1 0x81A75ED
waitmovement 0x0
msgbox @1 MSG_KEEPOPEN '"Hey!\nYou came from PALLET TOWN?"
closeonkeypress
applymovement 0x1 0x816A262
applymovement MOVE_PLAYER 0x816A25C
waitmovement 0x0
msgbox @2 MSG_KEEPOPEN '"You know PROF. OAK, right?\pHis or..."
setvar 0x4057 0x1
additem 0x15D 0x1
loadpointer 0x0 @3 '"[player] received OAK'S PARCEL\nfr..."
giveitem2 0x15D 0x1 0x13E
setvar 0x4055 0x5
releaseall
end


'---------
' Strings
'---------
#org @1
= Hey!\nYou came from PALLET TOWN?

#org @2
= You know PROF. OAK, right?\pHis order came in.\nCan I get you to take it to him?

#org @3
= [player] received OAK'S PARCEL\nfrom the POKéMON MART clerk.


'-----------
' Movements
'-----------
#org 0x1A75ED
#raw 0x2D 'Face Down (Delayed)
#raw 0xFE 'End of Movements

#org 0x16A262
#raw 0x1C 'Delay5
#raw 0x1C 'Delay5
#raw 0x1C 'Delay5
#raw 0x1C 'Delay5
#raw 0x30 'Face Right (Delayed)
#raw 0xFE 'End of Movements

#org 0x16A25C
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x2F 'Face Left (Delayed)
#raw 0xFE 'End of Movements

In doing so would allow you to edit as much of the script as you would like.


A little trick for text strings is to use XSE's built in text editor. Click Crtl-T and it will open it for you, and when using that you won't have to worry about having to add in the \n\p\l (and btw its supposed to be a backward slash not forward, that may have been your problem)
I don't know what you're talking about for my thing. I'm not overwriting other scripts. And that has nothing to do with the shop.
  #155   Link to this post, but load the entire thread.  
Old October 7th, 2014 (6:07 PM).
Chronosplit's Avatar
Chronosplit Chronosplit is offline
I play for keeps!
 
Join Date: Jan 2011
Gender: Male
Posts: 491
Quote:
Originally Posted by HidoranBlaze View Post
You could hex edit? lol. If you go to your cry table (which I think G3HS expands for you?), you'll see something like this: 20 3C 00 00 XX XX XX 08 FF 00 FF 00 repeated a loooot of times. XX XX XX 08 is basically your pointer to where the cry is at. Does that help?
Actually that helps a loooooot. Thank you, I see how it works now!
__________________
My patch list, feel free to partake.
  #156   Link to this post, but load the entire thread.  
Old October 7th, 2014 (6:10 PM).
Joexv's Avatar
Joexv Joexv is offline
ManMadeOfGouda
joexv.github.io
 
Join Date: Oct 2012
Location: Oregon
Age: 25
Gender: Male
Nature: Sassy
Posts: 1,035
Quote:
Originally Posted by NG55 View Post
I don't know what you're talking about for my thing. I'm not overwriting other scripts. And that has nothing to do with the shop.
You may not be intentionaly overwriting other scripts, it will happen almost everytime you add to a preexisting script. Heres an example:
just a basic script
Spoiler:

#org 0x123456
lock
faceplayer
msgbox 0x123457 0x6
release
end

#org 0x123457
=Hi


Now that script has been put into a small amount of freespace into your rom. There is almost always another script before AND after your script. And because of that adding anything to the script will cause it to overlap the next script causing those odd lines at the ends of your code.
ie: adding something simple like special 0x0 would cause it to glitch out.
Spoiler:

#org 0x123456
lock
faceplayer
msgbox 0x123457 0x6
special 0x0
release
end

#org 0x123457
=Hi

Becomes

#org 0x123456
lock
faceplayer
msgbox 0x123457 0x6
callglitch
callstf 0x302395023
(this is just an example it wont be this random)

#org 0x123457
=Hi

Hopefully this makes a little more sense. Oh ant btw that offset i gave you is the Viridian City mart script that gives you Oaks Parcel.(gotten from a clean fire red rom)
__________________
New living flesh vessel who dis?
  #157   Link to this post, but load the entire thread.  
Old October 7th, 2014 (6:19 PM). Edited October 7th, 2014 by HidoranBlaze.
HidoranBlaze's Avatar
HidoranBlaze HidoranBlaze is offline
 
Join Date: Apr 2013
Age: 26
Gender: Male
Posts: 252
Quote:
Originally Posted by NG55 View Post
I don't know what you're talking about for my thing. I'm not overwriting other scripts. And that has nothing to do with the shop.
Ok, since it seems like you don't know what a level script is, http://www.pokecommunity.com/showthread.php?t=304296
That should help, I hope. Also, you find level scripts by looking in the header tab, fyi.
Also, if Gamefreak's default scripts are getting screwed up like that, you probably did overwrite something. That happens when you don't dynamically repoint scripts when you're changing them. (By that I mean pointing a script to a new offset). You should probably make a new script for the rival, it's not that hard.
EDIT: nvm, got ninja'd
  #158   Link to this post, but load the entire thread.  
Old October 8th, 2014 (3:50 AM).
NG55's Avatar
NG55 NG55 is offline
 
Join Date: Sep 2009
Location: Barrie, Ontario, Canada
Gender: Male
Posts: 88
Quote:
Originally Posted by joexv View Post
You may not be intentionaly overwriting other scripts, it will happen almost everytime you add to a preexisting script. Heres an example:
just a basic script
Spoiler:

#org 0x123456
lock
faceplayer
msgbox 0x123457 0x6
release
end

#org 0x123457
=Hi


Now that script has been put into a small amount of freespace into your rom. There is almost always another script before AND after your script. And because of that adding anything to the script will cause it to overlap the next script causing those odd lines at the ends of your code.
ie: adding something simple like special 0x0 would cause it to glitch out.
Spoiler:

#org 0x123456
lock
faceplayer
msgbox 0x123457 0x6
special 0x0
release
end

#org 0x123457
=Hi

Becomes

#org 0x123456
lock
faceplayer
msgbox 0x123457 0x6
callglitch
callstf 0x302395023
(this is just an example it wont be this random)

#org 0x123457
=Hi

Hopefully this makes a little more sense. Oh ant btw that offset i gave you is the Viridian City mart script that gives you Oaks Parcel.(gotten from a clean fire red rom)
So why exactly is it not giving me free space then? The people on these sites act like I'm a complete idiot. I'm not a complete idiot. I know what free space finder is
  #159   Link to this post, but load the entire thread.  
Old October 8th, 2014 (6:46 AM).
Joexv's Avatar
Joexv Joexv is offline
ManMadeOfGouda
joexv.github.io
 
Join Date: Oct 2012
Location: Oregon
Age: 25
Gender: Male
Nature: Sassy
Posts: 1,035
Quote:
Originally Posted by NG55 View Post
So why exactly is it not giving me free space then? The people on these sites act like I'm a complete idiot. I'm not a complete idiot. I know what free space finder is
Well you dont need FSF if your making scripts. Just use dynamic 0ffsets instead of static. so use @start instead of a normal offset for you code. Then you should have no problems.

Oh and I hath a question. Is it possible to store all of the players pokemon into the game as to allow you to have more than one party? Kinda of a battle tower like system, just without the battle tower.
__________________
New living flesh vessel who dis?
  #160   Link to this post, but load the entire thread.  
Old October 8th, 2014 (9:51 AM). Edited October 9th, 2014 by JordanB500.
JordanB500's Avatar
JordanB500 JordanB500 is offline
Former Pokemon League Champion
 
Join Date: Jan 2008
Location: Independence MO
Age: 36
Gender: Male
Nature: Gentle
Posts: 100
Quote:
Originally Posted by Falkner92 View Post
Look, I'm sorry but I really need some help here. None of the standard Pokemon hacking tools seem to work on my PC for some reason. My PC seems to think all of the Advanced tools have trojans or are viruses except for Advanced map. I installed PoketScript and PkmAdvanced but the scripts don't compile correctly. And every time I try to run XSE I get Error 13 "Mismatch". I'm running Windows 8 btw.

Can anyone please help me? I can't really do anything with just Advanced Map.

the "Error 13 "Mismatch" is just telling you something is wrong with the script you are using ill give you an example

if you want to use a givepokemon command it requires 6 different sets of numbers the first is the pokemon (in hex) the second one is the level (in hex) and the third is an item for the pokemon to hold (also in hex) the three following it are just fillers if you remove them you will get a type mismatch

if you have an anti-virus thats blocking your tools you should try and change the settings on your anti virus and add an exception to the tools you use so they arent blocked

also if anyone knows how do you change the music in a wild pokemon battle with dowildbattle
__________________




  #161   Link to this post, but load the entire thread.  
Old October 8th, 2014 (11:48 AM).
NG55's Avatar
NG55 NG55 is offline
 
Join Date: Sep 2009
Location: Barrie, Ontario, Canada
Gender: Male
Posts: 88
Quote:
Originally Posted by joexv View Post
Well you dont need FSF if your making scripts. Just use dynamic 0ffsets instead of static. so use @start instead of a normal offset for you code. Then you should have no problems.

Oh and I hath a question. Is it possible to store all of the players pokemon into the game as to allow you to have more than one party? Kinda of a battle tower like system, just without the battle tower.
I do use dynamic. I didn't know there was a different one for XSE, which is what I use. I do need FSF because how else would I find free space?
  #162   Link to this post, but load the entire thread.  
Old October 8th, 2014 (12:12 PM).
DJTiki's Avatar
DJTiki DJTiki is offline
absolutely should have never given me the internet
 
Join Date: Mar 2014
Location: Florida, USA
Gender: Male
Nature: Adamant
Posts: 1,256
Quote:
Originally Posted by NG55 View Post
I do use dynamic. I didn't know there was a different one for XSE, which is what I use. I do need FSF because how else would I find free space?
The only other way to find free space, besides using FSF is using a Hex Editor. Search the rom for FF bytes and that is your free space. Most of it is around 0x800000. But it is inconvienent. So use FSF. A common problem is not searching for Free Space "FF" instead of "00"

EDIT: You may have an older version of FSF or XSE
  #163   Link to this post, but load the entire thread.  
Old October 8th, 2014 (3:10 PM).
Danny0317's Avatar
Danny0317 Danny0317 is offline
Fluorite's back, brah
 
Join Date: Jun 2013
Age: 23
Gender: Male
Nature: Hasty
Posts: 1,067
Quote:
Originally Posted by NG55 View Post
I do use dynamic. I didn't know there was a different one for XSE, which is what I use. I do need FSF because how else would I find free space?
If you are using XSE 1.1.1, if you type #dynamic 0x800000 it will look for FF in 0x800000 and up.
__________________
  #164   Link to this post, but load the entire thread.  
Old October 8th, 2014 (3:42 PM).
Falkner92 Falkner92 is offline
 
Join Date: Oct 2014
Posts: 7
Quote:
Originally Posted by JordanB500 View Post
the "Error 13 "Mismatch" is just telling you something is wrong with the script you are using ill give you an example

if you want to use a givepokemon command it requires 6 different sets of numbers the first is the pokemon (in hex) the second one is the level (in hex) and the third is an item for the pokemon to hold (also in hex) the three following it are just fillers if you remove them you will get a type mismatch

if you have an anti-virus thats blocking your tools you should try and change the seettings on your anti virus and add an exception to the tools you use so they arent blocked

also if anyone knows how do you change the music in a wild pokemon battle with dowildbattle
But I'm not trying to run or compile any script. I simply click the XSE.exe to open it up and I get that error.
  #165   Link to this post, but load the entire thread.  
Old October 8th, 2014 (4:22 PM).
HidoranBlaze's Avatar
HidoranBlaze HidoranBlaze is offline
 
Join Date: Apr 2013
Age: 26
Gender: Male
Posts: 252
Quote:
Originally Posted by Falkner92 View Post
But I'm not trying to run or compile any script. I simply click the XSE.exe to open it up and I get that error.
Ok hold up, let's get some things straight. Did you previously compile a script before, and now you're getting errors on a different script, or are you getting this error from a clean rom? If it's the former, then you probably screwed up somewhere, probably due to not using the #dynamic command. If it's the latter, get a different copy of XSE, and see if that works.
  #166   Link to this post, but load the entire thread.  
Old October 8th, 2014 (4:36 PM). Edited October 8th, 2014 by FsaterThanDark.
FsaterThanDark's Avatar
FsaterThanDark FsaterThanDark is offline
Professional Weirdo
 
Join Date: Jul 2014
Location: [CLASSIFIED]
Gender: Other
Nature: Relaxed
Posts: 10
Need some quick help, I wasnt picking up anything on google or bing

Im using Advance Map 1.9.5 and Pksvui 2.1.1 (yes i know ppl recommend XsE, but i suck with it, i have NO IDEA what im doing- im a visual learner so im not as good with all those numbers)

Whenever i compile a "find item" script - item ball or invisible - I can pick up the item, but as soon as i move to another space the item respawns. I'd just like to know what is causing this particular bug and how to fix it. its a bit irritating.

I may remove this post if i find a solution before a reply
im working on a way to post the video - i dont feel like setting up a youtube account, but i will if necessary
  #167   Link to this post, but load the entire thread.  
Old October 8th, 2014 (4:46 PM).
Falkner92 Falkner92 is offline
 
Join Date: Oct 2014
Posts: 7
Quote:
Originally Posted by HidoranBlaze View Post
Ok hold up, let's get some things straight. Did you previously compile a script before, and now you're getting errors on a different script, or are you getting this error from a clean rom? If it's the former, then you probably screwed up somewhere, probably due to not using the #dynamic command. If it's the latter, get a different copy of XSE, and see if that works.
Look, from these replies I'm sorta getting the idea that maybe I'm just not using the program. Can anyone explain to me exactly how to operate XSE? Because all I did was copy-paste contents from the XSE download file to my PC, then I tried to click the XSE.exe to run it and got that error.
  #168   Link to this post, but load the entire thread.  
Old October 8th, 2014 (4:56 PM).
HidoranBlaze's Avatar
HidoranBlaze HidoranBlaze is offline
 
Join Date: Apr 2013
Age: 26
Gender: Male
Posts: 252
Quote:
Originally Posted by Falkner92 View Post
Look, from these replies I'm sorta getting the idea that maybe I'm just not using the program. Can anyone explain to me exactly how to operate XSE? Because all I did was copy-paste contents from the XSE download file to my PC, then I tried to click the XSE.exe to run it and got that error.
Oh wait sorry, I confused you with NG55 there for a second. Sorry about that. Try getting XSE 1.1.1 from a different source and see if that works.
  #169   Link to this post, but load the entire thread.  
Old October 8th, 2014 (4:59 PM).
Falkner92 Falkner92 is offline
 
Join Date: Oct 2014
Posts: 7
Quote:
Originally Posted by HidoranBlaze View Post
Oh wait sorry, I confused you with NG55 there for a second. Sorry about that. Try getting XSE 1.1.1 from a different source and see if that works.
I got XSE 1.1.0.1

Could that be the problem?
  #170   Link to this post, but load the entire thread.  
Old October 8th, 2014 (5:15 PM).
HidoranBlaze's Avatar
HidoranBlaze HidoranBlaze is offline
 
Join Date: Apr 2013
Age: 26
Gender: Male
Posts: 252
Quote:
Originally Posted by Falkner92 View Post
I got XSE 1.1.0.1

Could that be the problem?
That shouldn't be the cause of the problem, but I'd recommend you get XSE 1.1.1 anyway, since that's the current version of XSE.
  #171   Link to this post, but load the entire thread.  
Old October 8th, 2014 (5:31 PM).
Falkner92 Falkner92 is offline
 
Join Date: Oct 2014
Posts: 7
Quote:
Originally Posted by HidoranBlaze View Post
That shouldn't be the cause of the problem, but I'd recommend you get XSE 1.1.1 anyway, since that's the current version of XSE.
Ok, I got a new download and it's running now. Just two more things, one, do I need anything else besides XSE and AdvancedMap? And two, where can I find a good tutorial to learn how to script?
  #172   Link to this post, but load the entire thread.  
Old October 9th, 2014 (1:53 AM).
JosefigGaming's Avatar
JosefigGaming JosefigGaming is offline
 
Join Date: May 2013
Location: Portugal
Age: 23
Gender: Male
Posts: 287
Quote:
Originally Posted by FsaterThanDark View Post
Need some quick help, I wasnt picking up anything on google or bing

Im using Advance Map 1.9.5 and Pksvui 2.1.1 (yes i know ppl recommend XsE, but i suck with it, i have NO IDEA what im doing- im a visual learner so im not as good with all those numbers)

Whenever i compile a "find item" script - item ball or invisible - I can pick up the item, but as soon as i move to another space the item respawns. I'd just like to know what is causing this particular bug and how to fix it. its a bit irritating.

I may remove this post if i find a solution before a reply
im working on a way to post the video - i dont feel like setting up a youtube account, but i will if necessary
Pksvui is very old and it will only work for a few people, it probably doesnt like you :P
It didn't like me either so I switched to XSE, and trust me, it's very easy to learn.
Also, most people will tell you not to use A-map 1.95, since it's just a Beta and the creator wont finish it. So yeah, just use A-map 1.92
__________________
Working on:


#fasterSneasel :D (nohomo)

Coolest IRC with the coolest people in the coolest rooms:
http://chat.linkandzelda.com:9090/?channels=romhacking,gogo,discovery,fluorite
  #173   Link to this post, but load the entire thread.  
Old October 9th, 2014 (4:05 AM). Edited October 12th, 2014 by Christos.
NG55's Avatar
NG55 NG55 is offline
 
Join Date: Sep 2009
Location: Barrie, Ontario, Canada
Gender: Male
Posts: 88
Quote:
Originally Posted by Dark Sneasel View Post
If you are using XSE 1.1.1, if you type #dynamic 0x800000 it will look for FF in 0x800000 and up.
Ok? And?

Quote:
Originally Posted by DJTiKi View Post
The only other way to find free space, besides using FSF is using a Hex Editor. Search the rom for FF bytes and that is your free space. Most of it is around 0x800000. But it is inconvienent. So use FSF. A common problem is not searching for Free Space "FF" instead of "00"

EDIT: You may have an older version of FSF or XSE
I'm not doing anything wrong with the freaking free space!
  #174   Link to this post, but load the entire thread.  
Old October 9th, 2014 (5:31 AM).
Danny0317's Avatar
Danny0317 Danny0317 is offline
Fluorite's back, brah
 
Join Date: Jun 2013
Age: 23
Gender: Male
Nature: Hasty
Posts: 1,067
It'd be nice if you weren't rude to people trying to help you :p
__________________
  #175   Link to this post, but load the entire thread.  
Old October 9th, 2014 (6:07 AM).
Avara's Avatar
Avara Avara is offline
 
Join Date: Dec 2011
Gender: Female
Nature: Relaxed
Posts: 1,305
Does anyone know if it's possible to display the Hall Of Fame in FireRed without the credits/restarting game part? You know, kinda similar to how it is when you view it in the PC - so that it just returns you to what you were doing?
__________________
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:24 AM.