The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > ROM Hacking > ROM Hacking Hub
Sign Up Rules/FAQ Live Battle Blogs Mark Forums Read

Notices

ROM Hacking Hub General discussions about ROM Hacking and Emulation. Not sure where to start? This is the place for you.
Posting links to ROMs is illegal and is not tolerated anywhere on the forum.
New threads in this forum are to be approved by a moderator before they are displayed.


Closed Thread
Click here to go to the first staff post in this thread.  
Thread Tools
  #8851    
Old April 10th, 2009, 07:18 PM
tom101222
Beginning Trainer
 
Join Date: Mar 2009
Gender:
wat in an emulator? go to file then save game
  #8852    
Old April 10th, 2009, 07:33 PM
0m3GA ARS3NAL's Avatar
0m3GA ARS3NAL
Im comin' home...
Community Supporter Tier 1
 
Join Date: Jan 2008
Location: Superjail Penitentiary
Age: 21
Gender: Male
Nature: Gentle
Quote:
Originally Posted by Crocky View Post
How do you get a Ruby Rom to save?
Or, set your save type to 128K flash, and you will be able to save like a regular gameboy advance.
__________________
>Boot Jailbot
>Pass *****
.
.
Jailbot OS Ver 1.1.2
Greetings Warden
of Superjail Penitentiary
Awaiting user input...

>Display User_Info
╠══User Info══╣
Username:
0m3GA ARS3NAL
Age: 18
Sex: Male ♂
Race: Caucasian
Quote:
"What is this
I don't even..."

M/O: Often acts out to get attention, but recently has changed that. Has been studying up on hacking information and hopes to participate in more advanced hacking discussion.
╠══End of File══╣
Awaiting user input...

>
  #8853    
Old April 10th, 2009, 09:45 PM
Raiser
Beginning Trainer
 
Join Date: Jun 2008
Gender:
I searched for this and saw it unanswered quite a few times.
So, I'm asking:

How do you change the music of a wild battle?

So say I have
Spoiler:
#org 0x880263B
'-----------------------------------
special 0x187
compare LASTRESULT 0x2
if 0x1 jump 0x81A7AE0 ' Equal To
special 0x188
lock
faceplayer
checksound
cry 0x196 0x2
waitcry
pause 0x14
playsound 0x0 0x2
battle 0x196 0x4B 0x0
setflag 0x807
special 0x138
waitspecial
clearflag 0x807
special2 0x800D 0xB4
compare LASTRESULT 0x1
if 0x1 jump 0x8162558 ' Equal To
compare LASTRESULT 0x4
if 0x1 jump 0x8162561 ' Equal To
compare LASTRESULT 0x5
if 0x1 jump 0x8162561 ' Equal To
fadescreen 0x1 ' Fade screen to black
disappear 0x800F
fadescreen 0x0 ' Fade back into the action from black
setflag 0x1016
release
end


This was generated by PKSVs Script Generator. This is an encounter with RAYQUAZA. I had to add fadescreen 0x1 -> fadescreen 0x0 so the sprite would disappear. xD

Anyways, what would I add/change to change the battle music?
(This is the compiled script)

Thanks
  #8854    
Old April 10th, 2009, 09:55 PM
0m3GA ARS3NAL's Avatar
0m3GA ARS3NAL
Im comin' home...
Community Supporter Tier 1
 
Join Date: Jan 2008
Location: Superjail Penitentiary
Age: 21
Gender: Male
Nature: Gentle
Quote:
Originally Posted by blastimpulseee View Post
I searched for this and saw it unanswered quite a few times.
So, I'm asking:

How do you change the music of a wild battle?

So say I have
Spoiler:
#org 0x880263B
'-----------------------------------
special 0x187
compare LASTRESULT 0x2
if 0x1 jump 0x81A7AE0 ' Equal To
special 0x188
lock
faceplayer
checksound
cry 0x196 0x2
waitcry
pause 0x14
playsound 0x0 0x2
battle 0x196 0x4B 0x0
setflag 0x807
special 0x138
waitspecial
clearflag 0x807
special2 0x800D 0xB4
compare LASTRESULT 0x1
if 0x1 jump 0x8162558 ' Equal To
compare LASTRESULT 0x4
if 0x1 jump 0x8162561 ' Equal To
compare LASTRESULT 0x5
if 0x1 jump 0x8162561 ' Equal To
fadescreen 0x1 ' Fade screen to black
disappear 0x800F
fadescreen 0x0 ' Fade back into the action from black
setflag 0x1016
release
end


This was generated by PKSVs Script Generator. This is an encounter with RAYQUAZA. I had to add fadescreen 0x1 -> fadescreen 0x0 so the sprite would disappear. xD

Anyways, what would I add/change to change the battle music?
(This is the compiled script)

Thanks
You need to use Mastermind_X's music hack. You'll have to go look for Mastermind_X, and get the link to his site, if someone could provide a link, that would be nice.... he has a few advanced tutorials on there, and it requires a little ASM... (Just inserting the ASM, not making it) But it will allow you to change the music...
__________________
>Boot Jailbot
>Pass *****
.
.
Jailbot OS Ver 1.1.2
Greetings Warden
of Superjail Penitentiary
Awaiting user input...

>Display User_Info
╠══User Info══╣
Username:
0m3GA ARS3NAL
Age: 18
Sex: Male ♂
Race: Caucasian
Quote:
"What is this
I don't even..."

M/O: Often acts out to get attention, but recently has changed that. Has been studying up on hacking information and hopes to participate in more advanced hacking discussion.
╠══End of File══╣
Awaiting user input...

>
  #8855    
Old April 10th, 2009, 10:28 PM
Raiser
Beginning Trainer
 
Join Date: Jun 2008
Gender:
Awesome thanks.
I just started ROM hacking a week ago, and I've learned so much so fast. xD

EDIT: Is this Mastermind_X's site? If so, I can't find any music hack tutorials/downloads. :o

Last edited by Raiser; April 10th, 2009 at 10:58 PM.
  #8856    
Old April 11th, 2009, 12:48 AM
Banjora Marxvile's Avatar
Banjora Marxvile
Oui Oui Si Si Ja Ja Da Da
 
Join Date: May 2008
Age: 20
Gender: Male
Nature: Lonely
Quote:
Originally Posted by blastimpulseee View Post
Awesome thanks.
I just started ROM hacking a week ago, and I've learned so much so fast. xD

EDIT: Is this Mastermind_X's site? If so, I can't find any music hack tutorials/downloads. :o
No, this isn't Mastermind_X's site. Search his name in the Member List, and a link should be on his Profile somewhere.
__________________

Man of Steel
He harbors no shame
Got cut a raw deal
But he holds no blame
Gone and forgot to feel
Numb for pretentious pain
As he spins the wheel
There's no loss nor no gain...


Nerves o
f Steel
He must remain
Even if it kills
To remember my name
A view to a thrill
Like Campari and Champagne
I'm on the rocks
Please tell me, What Is My Name?

  #8857    
Old April 11th, 2009, 01:57 AM
mineowyn's Avatar
mineowyn
Trainer
 
Join Date: Apr 2009
Gender:
Hi I'm pretty new to this ROM hacking.. I was just wondering, is it possible to create a Pokemon hack without basing it on the original Pokemon ROMs? How much of the game can you really change when you apply just an IPS patch? And after you've made your hack instead of distributing it as an IPS file, say quite a number of features have been added to the game hack for it to be too big to store as an IPS, is it possible to convert it into a ROM file?

I'd be thankful if anyone can answer my questions..
  #8858    
Old April 11th, 2009, 02:31 AM
Raiser
Beginning Trainer
 
Join Date: Jun 2008
Gender:
Quote:
Originally Posted by Marxvile View Post
No, this isn't Mastermind_X's site. Search his name in the Member List, and a link should be on his Profile somewhere.
Oh, sorry. I meant to post the link. xDD
Bleh, my history is gone already. But most of it was German and the banner had a "serving you since 2006" thing on it.

Anyways, one last question.
I changed the palettes of the Hero's backsprite and front, but I want to edit the overworld ones as well. I don't want to use OW Editor and do every single square inch of all the indexes/frames, so I'm asking for the palette offset of the main index.
Or, (they can be found with unlz-GBA, right?) where they're found in Unlz. (FireRed)

Thanks.
  #8859    
Old April 11th, 2009, 03:04 AM
Cheesymitten's Avatar
Cheesymitten
Dukcs
 
Join Date: Aug 2008
Gender: Male
Quote:
Originally Posted by mineowyn View Post
Hi I'm pretty new to this ROM hacking.. I was just wondering, is it possible to create a Pokemon hack without basing it on the original Pokemon ROMs?
Yep there's a programme called sphere which you can design a whole new game from scratch, there's another one i think it's RPG maker or something i'm not sure but i'm positive that sphere doesn't base it on other ROM's though you have to look for tutorials to help you with sphere.
  #8860    
Old April 11th, 2009, 03:14 AM
NTA's Avatar
NTA
Where?
 
Join Date: Nov 2007
Nature: Adamant
if instead of using a fanfare in a script how do i change the music during the script instead?
__________________

  #8861    
Old April 11th, 2009, 04:09 AM
Crocky's Avatar
Crocky
SuperScarlet!
 
Join Date: Feb 2009
Quote:
Originally Posted by 0m3GA ARS3NAL View Post
Or, set your save type to 128K flash, and you will be able to save like a regular gameboy advance.
It still won't save like a gameboy advance
__________________
My Pokémon Omega Ruby and Alpha Sapphire Wishlist!
  #8862    
Old April 11th, 2009, 04:53 AM
mineowyn's Avatar
mineowyn
Trainer
 
Join Date: Apr 2009
Gender:
Quote:
Originally Posted by cheesymitten View Post
Yep there's a programme called sphere which you can design a whole new game from scratch, there's another one i think it's RPG maker or something i'm not sure but i'm positive that sphere doesn't base it on other ROM's though you have to look for tutorials to help you with sphere.
O I see..Thanks for answering part of my question! I was thinking if a "Pokemon-esque" game could feasibly have the original battle and contest gameplay systems, plus added gameplay systems and features. Since I heard somewhere that it's impossible to have a hack with all 4 generation pokemon because the "slots" on the original base game isn't enough and that the .gba file is just too small or something like that. So I wondered whether it was necessary to create an entire new game from scratch or if I could just build a hack using the original base game.

Last edited by mineowyn; April 11th, 2009 at 05:53 AM.
  #8863    
Old April 11th, 2009, 06:48 AM
xyzmetal
The Metal Generation
 
Join Date: Mar 2009
Location: New Bark Town
Gender:
Nature: Docile
How do you edit the pokemon stats/wild pokemon modifier/items/etc in leafgreen?
  #8864    
Old April 11th, 2009, 07:02 AM
diegoisawesome's Avatar
diegoisawesome
Not the Script Help Thread
Community Supporter
 
Join Date: Dec 2007
Location: Goldenrod City, Johto
Age: 17
Gender: Male
Nature: Quirky
I have a little problem:
I inserted this new trainer sprite. It looks okay in UN-LZ and in PET.
But when I battle the trainer, everything works up until it loads the sprite into memory, which then causes the game to freeze with a red screen.
Also, this may or may not be related:
I inserted a new PKMN sprite over an old one, repointed it, and loaded it up in VBA. It also freezes when loading this sprite into memory.

Help please?
__________________


My other resources:
My Website
diegoisawesome's MEGA-HUGE XSE Scripting Tutorial
diegoisawesome's Miscellaneous Finds
The Ruins of Alph Puzzles
  #8865    
Old April 11th, 2009, 09:16 AM
Crocky's Avatar
Crocky
SuperScarlet!
 
Join Date: Feb 2009
How do you insert sprites into a game?
__________________
My Pokémon Omega Ruby and Alpha Sapphire Wishlist!
  #8866    
Old April 11th, 2009, 09:35 AM
Naikado's Avatar
Naikado
 
Join Date: Apr 2009
Location: Here
Gender: Male
Nature: Adamant
Er... 2 of my programs, unLZ.GBA and Advance-Mart seem to give out after a couple of uses... Advance-Mart worked about twice, and unLZ.GBA stopped working about 5 minutes ago. How can I fix them?

Note: Advance-Mart, when I open a ROM, the shop names don't appear, but on the bottom it says all the data was found, plus I can't edit items. For unLZ.GBA, I can't load any ROM at all.
  #8867    
Old April 11th, 2009, 11:23 AM
Melash's Avatar
Melash
Back for now.
 
Join Date: May 2008
Location: Idaho
Age: 20
Gender: Male
Nature: Relaxed
Okay, I've got a question that I would really like answered:
1. What is the format of music codes in Red/Blue. NOT the music header, but the actual music codes themselves. I've searched around for this, but I haven't been able to find an answer.
  #8868    
Old April 11th, 2009, 11:52 AM
sasquatchd00d's Avatar
sasquatchd00d
welcoming a clean head.
 
Join Date: Nov 2008
Location: barracuda, capital of the world
Age: 22
Nature: Relaxed
Quote:
Originally Posted by Naikado View Post
Er... 2 of my programs, unLZ.GBA and Advance-Mart seem to give out after a couple of uses... Advance-Mart worked about twice, and unLZ.GBA stopped working about 5 minutes ago. How can I fix them?

Note: Advance-Mart, when I open a ROM, the shop names don't appear, but on the bottom it says all the data was found, plus I can't edit items. For unLZ.GBA, I can't load any ROM at all.
Do you have your ROM open in any other programs? That might be why unLZ.gba isn't working. I don't know about Advance-Mart. Never used it.
__________________
[ [???="Not so good artwork. If you can even call it that."]deviantART[/???] | [???="No thread yet. Maybe eventually."]Pokémon Apollo[/???] | [???="SkythurBathandBeyond151"]Pair[/???] ]
  #8869    
Old April 11th, 2009, 12:04 PM
Tropical Sunlight's Avatar
Tropical Sunlight
The Faltine
 
Join Date: Mar 2008
Location: Slovenia
Age: 18
Gender: Male
Send a message via Windows Live Messenger to Tropical Sunlight
I was asking about the event in ShinyGold when you have to pursuit the Farfetch'd to get Cut. If you talk to him from the left, he goes right. But if you talk to him from the right, he'll go left.
__________________
  #8870    
Old April 11th, 2009, 12:12 PM
Shadow's Avatar
Shadow
Eeyah hah hah!
 
Join Date: Oct 2003
Location: Inside Bowser's Story
Age: 25
Gender:
Send a message via AIM to Shadow Send a message via Windows Live Messenger to Shadow Send a message via Yahoo to Shadow
Quote:
Originally Posted by ~Watermelon View Post
I was asking about the event in ShinyGold when you have to pursuit the Farfetch'd to get Cut. If you talk to him from the left, he goes right. But if you talk to him from the right, he'll go left.
I was wondering about this sort of thing, as well.

I was told by Hiroshi, there's a Game Freak example of this sort of check in Ruby/Sapphire/Emerald, in Oldale when you talk to the lady who shows you the PC and Mart. I haven't looked into it myself yet, though. Basically when she starts moving she moves you around to be behind her based on where you were standing before she moves.
__________________
  #8871    
Old April 11th, 2009, 12:47 PM
0m3GA ARS3NAL's Avatar
0m3GA ARS3NAL
Im comin' home...
Community Supporter Tier 1
 
Join Date: Jan 2008
Location: Superjail Penitentiary
Age: 21
Gender: Male
Nature: Gentle
Quote:
Originally Posted by Shadow View Post


I was wondering about this sort of thing, as well.

I was told by Hiroshi, there's a Game Freak example of this sort of check in Ruby/Sapphire/Emerald, in Oldale when you talk to the lady who shows you the PC and Mart. I haven't looked into it myself yet, though. Basically when she starts moving she moves you around to be behind her based on where you were standing before she moves.
This sort of thing can happen a few different ways.
You can use the current position of the camera ( getplayerpos 0xvariable 0xvariable)
and then you can make a check that checks if those variables equal a certain amount, and if they do, then the script does one thing, or, if it equals a different amount, it will do something else.

This is usually a more complicated way, but it works well with events that span across a few tiles, that the player can step on any of them...

Another way is using the player's facing direction.
variable 0x800C is the direction the player is currently facing.
0x1 is down
0x2 is up
0x3 is left
0x4 is right

You can make a check for this in a script, and have it change depending on the direction the player is facing.
Spoiler:
compare 0x800C 0x1
if b_true goto @down
compare 0x800C 0x2
if b_true goto @up

ect ect... get it?

The game just uses different compares and checks to see what script to use based on player position, and direction faced.
__________________
>Boot Jailbot
>Pass *****
.
.
Jailbot OS Ver 1.1.2
Greetings Warden
of Superjail Penitentiary
Awaiting user input...

>Display User_Info
╠══User Info══╣
Username:
0m3GA ARS3NAL
Age: 18
Sex: Male ♂
Race: Caucasian
Quote:
"What is this
I don't even..."

M/O: Often acts out to get attention, but recently has changed that. Has been studying up on hacking information and hopes to participate in more advanced hacking discussion.
╠══End of File══╣
Awaiting user input...

>
  #8872    
Old April 11th, 2009, 02:14 PM
Raiser
Beginning Trainer
 
Join Date: Jun 2008
Gender:
Question:
Has anyone encountered any problems when recoloring sprites using OW Editor RE?
I'm asking because for my Emerald hack, I recolored the Hero and after some customizations in AdvanceMap, I would load it up in VBA and the sprite would be "more white". So black was grey, grey was near white, etc.
I'm recoloring my FireRed one now and I wanna make sure no one has had any problems. xD
  #8873    
Old April 11th, 2009, 04:20 PM
Quickster's Avatar
Quickster
Dream or Drop?
 
Join Date: Oct 2007
Gender: Male
Nature: Quiet
Does anyone know the unzl numbers for item sprites in fire red?

EDIT: nevermind,i foundthem.
__________________
I laugh looking at this.

But sometimes I want to come back to it...


Last edited by Quickster; April 11th, 2009 at 05:43 PM.
  #8874    
Old April 11th, 2009, 08:43 PM
ckret2's Avatar
ckret2
usually pronounced "secret 2"
 
Join Date: Dec 2008
Location: You Are Here
Age: 23
Gender:
Nature: Rash
Send a message via AIM to ckret2
Quote:
Originally Posted by mineowyn View Post
O I see..Thanks for answering part of my question! I was thinking if a "Pokemon-esque" game could feasibly have the original battle and contest gameplay systems, plus added gameplay systems and features. Since I heard somewhere that it's impossible to have a hack with all 4 generation pokemon because the "slots" on the original base game isn't enough and that the .gba file is just too small or something like that. So I wondered whether it was necessary to create an entire new game from scratch or if I could just build a hack using the original base game.
Technically, it is "possible" to put more than 25-ish extra Pokémon into the game. However, you'd have to repoint so much data, moving all the Pokémon data to a new place in the game and then changing every pointer in the game that references the Pokémon data, that nobody has ever attempted to do it before. And, in fact, the idea of repointing all that data is entirely a theoretical idea, since no one has actually tried to open up more slots. The size of the .gba file itself isn't really a problem, since you can expand a rom with several different programs; it's getting the data for the Pokémon moved to a place where more slots can be added that's nearly impossible. And if I'm phrasing any of this wrong, feel free to correct me, since I'm a bit fuzzy on the workings of direct hex editing. I do know, however, that putting more slots for Pokémon into the game is such a tricky idea that even the most veteran hackers haven't done it.

So, the original base game is too limited to feasibly build a hack with all 400-whatever current Pokémon, especially for a hacker without much experience in hex editing. You could just take out the gen 1-3 Pokémon that you don't want to squeeze in as many gen 4 Pokémon as possible, if you decide any of them are expendable. If you really want a game with all 4 gens of Pokémon, your best bet would be to check out the Game Development section and make a game there. They've got tutorials on how to use the programs like RPG maker and stuff, and from what I've heard from people in that forum, it's not a whole lot more difficult than the tools to make a hack once you get the hang of it. There's even a starter kit called Pokémon Essentials for people who want to make a new game using the basic Pokémon system, like the one for battling. I don't know if the contest system is included in Pokémon Essentials, though.

A warning: not all of them, but some of the people in the Game Development section can be not nice to people who use starter kits. (They'll say stuff like "If you're going to take the easy way out, just go make a ROM hack," which goes to show what they think of ROM hackers, but what can you do? ) Most of them are nice people, though, and the ones who get bent out of shape are more the lunatic minority than the main body of the Game Development section. Make a good game with whatever tools you've got and they won't be able to say anything against you.

Anyway, hope that helps. Good luck with your game, however you decide to make it.
__________________

This one is my hack.


This one is the hack I part-time map for.

I got an Illumise?
Pretty awesome.
Glad I grabbed an egg I didn't recognize.
  #8875    
Old April 12th, 2009, 12:18 AM
Tropical Sunlight's Avatar
Tropical Sunlight
The Faltine
 
Join Date: Mar 2008
Location: Slovenia
Age: 18
Gender: Male
Send a message via Windows Live Messenger to Tropical Sunlight
Quote:
Originally Posted by 0m3GA ARS3NAL View Post
This sort of thing can happen a few different ways.
You can use the current position of the camera ( getplayerpos 0xvariable 0xvariable)
and then you can make a check that checks if those variables equal a certain amount, and if they do, then the script does one thing, or, if it equals a different amount, it will do something else.

This is usually a more complicated way, but it works well with events that span across a few tiles, that the player can step on any of them...

Another way is using the player's facing direction.
variable 0x800C is the direction the player is currently facing.
0x1 is down
0x2 is up
0x3 is left
0x4 is right

You can make a check for this in a script, and have it change depending on the direction the player is facing.
Spoiler:
compare 0x800C 0x1
if b_true goto @down
compare 0x800C 0x2
if b_true goto @up

ect ect... get it?

The game just uses different compares and checks to see what script to use based on player position, and direction faced.
Ooooh shiny...
Thanks 0M3GA!
__________________
Closed Thread
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
Minimum Characters Per Post: 25



All times are UTC -8. The time now is 01:50 PM.


Style by Nymphadora, artwork by Sa-Dui.
Like our Facebook Page Follow us on Twitter © 2002 - 2014 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 - 2014 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.