The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Creative Discussions > Emulation & ROM Hacking
Register New Account FAQ/Rules Chat Blogs Mark Forums Read

Notices

Emulation & ROM Hacking The center for the community emulation scene. Come and discuss all things emulation and develop your own hacks!



Reply
Thread Tools
  #21476  
Unread June 6th, 2012, 05:56 PM
sonic1's Avatar
sonic1
ASM is my life now...
 
Join Date: May 2008
Location: Portugal
Age: 18
Gender: Male
Nature: Timid
Quote:
Originally Posted by Midnight Bear View Post
Okay, so I've been learning some asm recently, and, I must say - people make it out to be a lot harder than it really is. It's a bit annoying to remember the syntax, but using it is easy, or at least, far easier than I was expecting.

But, I do have a little question - does pushing registers actually set the value in the register to zero? That may be a silly question, but as far as I can tell, all it does is put the data into the stack.

The reason why I ask is that, I have a routine that actually requires pushing the registers in the middle of it (parts of it need manipulating a lot of registers at once), and I didn't want to have to have a ton of lines of "sub rx,rx,rx" if I don't need them.
Nope. Pushing a register keeps the value intact, it only stores it in the stack.
To clear a register, there's a clean, fast way that don't waste cycles, that is by doing
LSL rX, rX, #0x20
or
MOV rX, #0
This way you clear the register content.

~Sonic1
__________________

My Site (UNDER CONSTRUCTION):

(mage by Xryo)

PORTUGUESE USER
Sou o Dark rayquaza da antiga myutsu.net


My Laptop SPECS:


Credits to Eagledelt for the wonderfull sign :D

Reply With Quote
  Click here to go to the next staff post in this thread.   #21477  
Unread June 7th, 2012, 12:33 AM
DrFuji's Avatar
DrFuji
Innocence Lost
 
Join Date: Sep 2009
Location: Upside-downia
Age: 20
Gender: Male
Nature: Jolly
Quote:
Originally Posted by MadThrasher View Post
OK, so I found a character table for them and got Í/í to work. Meanwhile, I figured out that there are many, many useless letters to replace with Ő/ő and Ű/ű. So now the only question I have: how do I edit the tiles for these letters? What tools do I need? I haven't been able to find information related to this. Thanks in advance!
This tutorial shows you how to change the font of letters, but you should be able to use to completely change the letters as well.
__________________

Moderator of Emulation
Partner in Crime with giradialkia
Paired with Fireworks
A Shade of Lilac
Sig Credits


Laura Kinney
          → Regenerative Healing Factor
          → Adamantium-laced Bone Claws
          → Superhuman Senses
          → Expert Assassin
          → Weapon X


"I want to make my own life. Before someone else makes it for me. Again."
X-23

Reply With Quote
  #21478  
Unread June 7th, 2012, 04:05 PM
LugiaMZ's Avatar
LugiaMZ
Togepi
 
Join Date: Dec 2011
Gender: Male
Quote:
Originally Posted by redriders180 View Post
I don't know what method you use, But I just open A-map, click the purple puzzle piece, then go to Picture>Save Tileset 1. Save it somewhere, open it in paint, add the graphics you need, making sure the COLORS MATCH THE ORIGINAL, then put it back in A-map with Picture>Load Tileset 1.

I recommend A-Map 1.95 for this process, since whenever I use A-Map 1.92, it exports the tileset in a strange file type.
Thanks for reply , now I knew how to do it. But now I have a new problem. I using Pokemon Fire Red Rom , I need to create 2 region at the same rom. So, I use Kanto region to made 1, then I want to use Map no 2( The Island 1/2/3 world map) , The map only have a few town and route. Example I use Pallet Town create into the Map no 2 , but I test at the Pallet Town open worldmap in VBA, hero head also at the Pallet Town at Kanto map , I only know how to changing a town/route Pos X/Y
in the map , how do I change hero head to the Map no 2 Pallet Town when i open worldmap at game? Thanks ~
Reply With Quote
  #21479  
Unread June 7th, 2012, 04:30 PM
itman
Back to ROM hacking. :D
 
Join Date: May 2007
Age: 19
Nature: Adamant
Quote:
Originally Posted by LugiaMZ View Post
Thanks for reply , now I knew how to do it. But now I have a new problem. I using Pokemon Fire Red Rom , I need to create 2 region at the same rom. So, I use Kanto region to made 1, then I want to use Map no 2( The Island 1/2/3 world map) , The map only have a few town and route. Example I use Pallet Town create into the Map no 2 , but I test at the Pallet Town open worldmap in VBA, hero head also at the Pallet Town at Kanto map , I only know how to changing a town/route Pos X/Y
in the map , how do I change hero head to the Map no 2 Pallet Town when i open worldmap at game? Thanks ~ :)
I think you're talking about connection settings, assuming I understand what you're saying...

In a-map 1.92 I believe one of the pictures (next to show sprite, etc...) is the connection settings. It's self explanatory from there, you just change where you want the map to connect to.
Reply With Quote
  #21480  
Unread June 7th, 2012, 08:39 PM
Slike's Avatar
Slike
Unhatched Egg
 
Join Date: Sep 2011
Gender: Male
I'm trying to change the music for a trainer battle. However, there doesn't seem to be any indication of what song plays with trainers, no matter what theme plays. How would one go about this sort of change?
Reply With Quote
  #21481  
Unread June 8th, 2012, 12:51 AM
redriders180's Avatar
redriders180
Call me Lucbui...
 
Join Date: Jun 2010
Location: Pastoria City, Sinnoh
Gender: Male
Nature: Quirky
Send a message via AIM to redriders180 Send a message via Skype™ to redriders180
Quote:
Originally Posted by LugiaMZ View Post
Thanks for reply , now I knew how to do it. But now I have a new problem. I using Pokemon Fire Red Rom , I need to create 2 region at the same rom. So, I use Kanto region to made 1, then I want to use Map no 2( The Island 1/2/3 world map) , The map only have a few town and route. Example I use Pallet Town create into the Map no 2 , but I test at the Pallet Town open worldmap in VBA, hero head also at the Pallet Town at Kanto map , I only know how to changing a town/route Pos X/Y
in the map , how do I change hero head to the Map no 2 Pallet Town when i open worldmap at game? Thanks ~
I understand...you're wanting to change what map appears when you open the World Map. I had a similar problem, since my game has multiple regions, and the best way to do it is with a hex editor, I'm afraid. I'll link to a tutorial you'd find useful, but I'll sum up what you can do to avoid using it.

Which map appears is based on the name (yes, name) of the current route you're on. Anything with an index from 0x58 to 0x8E ("Pallet Town" to "Power Plant") Automatically end up showing Map 1. It's down in the programming that, if the index is less than or equal to 0x8E, display map 1. For the other maps, it uses a list, making Maps 2-4 easier to customize. Tutorial for the above is here, courtesy of Mastermind X
__________________

Thank you for hatching the eggs!
Please view these dragons! Just click them and you're done!
If you don't help them grow up, they'll die...



Reply With Quote
  #21482  
Unread June 8th, 2012, 02:13 AM
dragonfyre173's Avatar
dragonfyre173
Trainer
 
Join Date: Jan 2008
Gender: Male
Nature: Relaxed
Send a message via Yahoo to dragonfyre173
I'm fairly new to ROM hacking, so forgive me if this is a simple question, but is there a way to change the criteria of the stars on the Trainer Card? For example, if I wanted it to give you a star for finding a certain set of items instead of the Pokémon Contests in Pokémon Emerald, could I do that?
__________________
12/18/11: First post since two-thousand-frickin'-nine. :D
Reply With Quote
  #21483  
Unread June 8th, 2012, 05:20 AM
itman
Back to ROM hacking. :D
 
Join Date: May 2007
Age: 19
Nature: Adamant
Quote:
Originally Posted by dragonfyre173 View Post
I'm fairly new to ROM hacking, so forgive me if this is a simple question, but is there a way to change the criteria of the stars on the Trainer Card? For example, if I wanted it to give you a star for finding a certain set of items instead of the Pokémon Contests in Pokémon Emerald, could I do that?
That would require ASM as far as I know. Since you're new to rom hacking I would suggest understanding how to script and getting comfortable with hex first. :)
Reply With Quote
  #21484  
Unread June 8th, 2012, 10:31 AM
SpadeEdge16's Avatar
SpadeEdge16
Mime Jr.
 
Join Date: May 2012
Gender: Male
I've been making my game for a while now, using FR and I just started importing my new Pokemon into the game (I've done it before without any problems) but after I import them and try to open that same Rom on Advance Map, it says "ERROR: (EHeaderError) Error on getting Tileset Header, MapBankHeader seems to be corrupted." and I can understand what that means, I just don't understand why this happens after I import my Pokemon. Can someone please help?
Reply With Quote
  #21485  
Unread June 8th, 2012, 11:11 AM
Rokou's Avatar
Rokou
working on my project
 
Join Date: Jun 2012
Gender: Female
Nature: Adamant
Quote:
Originally Posted by SpadeEdge16 View Post
I've been making my game for a while now, using FR and I just started importing my new Pokemon into the game (I've done it before without any problems) but after I import them and try to open that same Rom on Advance Map, it says "ERROR: (EHeaderError) Error on getting Tileset Header, MapBankHeader seems to be corrupted." and I can understand what that means, I just don't understand why this happens after I import my Pokemon. Can someone please help?
You probably took a wrong offset by mistake and screwed up your ROM. Fixing this can be both, difficult and time consuming so I suggest to take a clean one and do it again.
Reply With Quote
  #21486  
Unread June 8th, 2012, 11:22 AM
Typhlosion Lv 99's Avatar
Typhlosion Lv 99
Beginning Trainer
 
Join Date: May 2012
Location: Indonesia
Age: 15
Gender: Male
Nature: Bashful
hey everyone,i hacking firered. I spent allday to hacking that rom.When i test my hack,it works fine.But,a problem started.The game reset itself when my character was walking.I dont know how to fix it.I am stress!!i dont want to start my hack from scratch again!.I hope someone can fix it.Sorry for my bad english.
Reply With Quote
  #21487  
Unread June 8th, 2012, 11:58 AM
Rokou's Avatar
Rokou
working on my project
 
Join Date: Jun 2012
Gender: Female
Nature: Adamant
Quote:
Originally Posted by Typhlosion Lv 99 View Post
hey everyone,i hacking firered. I spent allday to hacking that rom.When i test my hack,it works fine.But,a problem started.The game reset itself when my character was walking.I dont know how to fix it.I am stress!!i dont want to start my hack from scratch again!.I hope someone can fix it.Sorry for my bad english.
I already told you in another post but well, better start from a fresh ROM and re-insert your stuff again. Be careful with offsets and already existing content and you'll be fine. Oh and by the way, finding and fixing the problem which causes the game to freeze will probably take more time than restarting your project.
Reply With Quote
  #21488  
Unread June 8th, 2012, 12:16 PM
Jambo51's Avatar
Jambo51
Thinking about quitting...
 
Join Date: Jun 2009
Location: Livingston, Scotland
Gender: Male
Nature: Quiet
Quote:
Originally Posted by Slike View Post
I'm trying to change the music for a trainer battle. However, there doesn't seem to be any indication of what song plays with trainers, no matter what theme plays. How would one go about this sort of change?
If you're on FR, the reason there's no indication is that there is no table. FR only has 6 or 7 bits of battle music, and so, assigns the music using ASM. There's 2 ways around it:
1 - Use Mastermind_X's var music switching hack (it works, but is useless for switching more rapidly since you can't put a setvar at the start of a trainerbattle script).
2 - You can use one of my routines which creates a table which allows definitions of regional music and trainer class based music (so you could define Team Rocket to have a battle theme, for example).


While we're at it, it's also possible to define more custom encounter music. I'll add the code in question to this post when I get to my PC.

Hope this helps.
__________________


Guys, please don't send me question which belong in the Simple Questions or Scripting Help threads. I don't mind the occasional question about ASM or something, though. And definitely don't send me PMs or VMs asking for help with your hack or requesting custom ASM. I will not answer.

Last edited by Jambo51; June 8th, 2012 at 01:57 PM.
Reply With Quote
  #21489  
Unread June 8th, 2012, 12:22 PM
destinedjagold's Avatar
destinedjagold
Oh Hai Thar~ 'ω'
 
Join Date: May 2007
Location: Philippines
Age: 22
Gender: Male
Nature: Careful
Send a message via Skype™ to destinedjagold
Quote:
Originally Posted by Typhlosion Lv 99 View Post
hey everyone,i hacking firered. I spent allday to hacking that rom.When i test my hack,it works fine.But,a problem started.The game reset itself when my character was walking.I dont know how to fix it.I am stress!!i dont want to start my hack from scratch again!.I hope someone can fix it.Sorry for my bad english.
Like Rokou stated, you must have overwritten an existing data in the ROM that causes the glitch.
But more details to the glitch might be helpful.
Were you walking and about to enter a new map?
Were you walking and then you stepped on a script tile?
__________________
Reply With Quote
  #21490  
Unread June 8th, 2012, 01:16 PM
Typhlosion Lv 99's Avatar
Typhlosion Lv 99
Beginning Trainer
 
Join Date: May 2012
Location: Indonesia
Age: 15
Gender: Male
Nature: Bashful
so,you are destinedjagold?i am fan of your hack,Ruby Destiny Rescue Ranger.That the best hack!
Mm,back to the problem.the problem happen when player walking normally (not when enter map or anything else).That also happen to my Emerald hack.
Reply With Quote
  #21491  
Unread June 8th, 2012, 02:20 PM
Rokou's Avatar
Rokou
working on my project
 
Join Date: Jun 2012
Gender: Female
Nature: Adamant
Quote:
Originally Posted by Typhlosion Lv 99 View Post
so,you are destinedjagold?i am fan of your hack,Ruby Destiny Rescue Ranger.That the best hack!
Mm,back to the problem.the problem happen when player walking normally (not when enter map or anything else).That also happen to my Emerald hack.
Weird problem, which tools do you use?
Reply With Quote
  #21492  
Unread June 8th, 2012, 02:36 PM
destinedjagold's Avatar
destinedjagold
Oh Hai Thar~ 'ω'
 
Join Date: May 2007
Location: Philippines
Age: 22
Gender: Male
Nature: Careful
Send a message via Skype™ to destinedjagold
Quote:
Originally Posted by Typhlosion Lv 99 View Post
so,you are destinedjagold?i am fan of your hack,Ruby Destiny Rescue Ranger.That the best hack!
Mm,back to the problem.the problem happen when player walking normally (not when enter map or anything else).That also happen to my Emerald hack.
That's a really weird glitch.
You have probably overwritten something very important in the game.
What were you doing with your hack before this happened?
And as Rokou asked, what hacking tools did you use?
__________________
Reply With Quote
  #21493  
Unread June 8th, 2012, 02:54 PM
Typhlosion Lv 99's Avatar
Typhlosion Lv 99
Beginning Trainer
 
Join Date: May 2012
Location: Indonesia
Age: 15
Gender: Male
Nature: Bashful
Quote:
Originally Posted by destinedjagold View Post


That's a really weird glitch.
You have probably overwritten something very important in the game.
What were you doing with your hack before this happened?
And as Rokou asked, what hacking tools did you use?
Yeah,now i have fixed that problem.It because there are something wrong with the script(its hard to explain it).When i deleted that script,everything back to normal,no problem anymore.
Reply With Quote
  #21494  
Unread June 8th, 2012, 05:38 PM
itman
Back to ROM hacking. :D
 
Join Date: May 2007
Age: 19
Nature: Adamant
I'm having trouble understanding "trainer customization" for Jpan's hacked engine. The guide that came with it wasn't that clear (to me atleast...).

I understand how to make the script, by setting all the variables, but what I'm confused with is how to make those variables activate what I want, since just making a script like that does nothing. I have a feeling I have to change a pointer somewhere but I'm not sure if I'm correct. xD How do I pick which OW to change into, like what makes the script decide what OW you will become? And if anyone knows, is it possible to then change back, and then become another different OW? I'm sure once I figure out this part I'll be able to do the backsprite switching and stuff, I'm just so confused. :x
Reply With Quote
  #21495  
Unread June 8th, 2012, 06:33 PM
SpadeEdge16's Avatar
SpadeEdge16
Mime Jr.
 
Join Date: May 2012
Gender: Male
Quote:
Originally Posted by Rokou View Post
You probably took a wrong offset by mistake and screwed up your ROM. Fixing this can be both, difficult and time consuming so I suggest to take a clean one and do it again.
Well, I used the Free Space Finder to get my offsets, and it's worked in the past, but when you say a a clean one do you mean Rom? I was thinking I might be able to redownload Advance Map instead, cause I have almost every map edited on my current save. :/
I've heard you can transfer your saved maps to another Rom, but I haven't seen how to do that yet.
Reply With Quote
  #21496  
Unread June 8th, 2012, 06:47 PM
Rokou's Avatar
Rokou
working on my project
 
Join Date: Jun 2012
Gender: Female
Nature: Adamant
You can save your maps, just browse around "File" - everything else is self explaining. By the way, which Advance Map version do you use? I recommend using 1.92 since 1.95 may has some bugs due the complete recode Lu-Ho made.
__________________

Last edited by Rokou; June 8th, 2012 at 07:04 PM.
Reply With Quote
  #21497  
Unread June 8th, 2012, 07:20 PM
SpadeEdge16's Avatar
SpadeEdge16
Mime Jr.
 
Join Date: May 2012
Gender: Male
Quote:
Originally Posted by Rokou View Post
You can save your maps, just browse around "File" - everything else is self explaining. By the way, which Advance Map version do you use? I recommend using 1.92 since 1.95 may has some bugs due the complete recode Lu-Ho made.
I think I did have 1.92, but I just got 1.95 and it's opening now, so I guess the Advance Map just got messed up somehow, but if 95 is buggy then I can still just download 92 again.
Also, do you know if FSF is better to use than Hex Editor? I tried using it since you said I may have used the wrong offset so I wanted to clearly see which ones I was getting, but when I saw my Pokemon in the game, they were all glitchy, and that hasn't happened since the first time i tried putting them in.
Reply With Quote
  #21498  
Unread June 8th, 2012, 07:28 PM
Rokou's Avatar
Rokou
working on my project
 
Join Date: Jun 2012
Gender: Female
Nature: Adamant
Version 1.95 is not buggy, it probably has some bugs which 1.92 doesnt have. I usually use a hex editor in order to find free space, starting at 0x800000 most of the time while using Firered. If you use FSF, do you look for FF or 00 bytes? Using 00 will most likely result in bugs and glitches, this is probably what happened to you.
__________________
Reply With Quote
  #21499  
Unread June 8th, 2012, 07:33 PM
FearAddict's Avatar
FearAddict
Addicted to Fear, as usually
 
Join Date: May 2012
Location: The Netherlands
Gender: Male
Hai all, I got a problem with A-map. When i set pokemon in wild pokemon editor (i put taillows in route 1 and some pidgeys and rattatas) but the only pokemon i encounter are sandslash of high level. Can someone help me? I would really appreciate!

Thanks in advance all!
Reply With Quote
  #21500  
Unread June 8th, 2012, 07:39 PM
SpadeEdge16's Avatar
SpadeEdge16
Mime Jr.
 
Join Date: May 2012
Gender: Male
Quote:
Originally Posted by Rokou View Post
Version 1.95 is not buggy, it probably has some bugs which 1.92 doesnt have. I usually use a hex editor in order to find free space, starting at 0x800000 most of the time while using Firered. If you use FSF, do you look for FF or 00 bytes? Using 00 will most likely result in bugs and glitches, this is probably what happened to you.
I use FF, but I can try searching near the offsets you suggested, at least that way I can know where I'm putting everything. Thank you very much.
Reply With Quote
Reply
Quick Reply

Sponsored Links


Thread Tools

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 UTC. The time now is 07:31 PM.


Style by Perdition Haze, artwork by Sa-Dui.
Like our Facebook Page Follow us on TwitterMessage Board Statistics | © 2002 - 2013 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to Pokémon USA, Inc. and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company, Pokémon USA, Inc., The Pokémon Company International, or Wizards of the Coast. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2013 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 posts belong to the user.