The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Other How to insert a script into a ROM

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
Reply
 
Thread Tools
  #1   Link to this post, but load the entire thread.  
Old April 6th, 2016 (8:39 AM).
Santalune Forest's Avatar
Santalune Forest Santalune Forest is offline
Oh dear, he's here
 
Join Date: Nov 2014
Location: Third Rock from the Sun
Gender: Male
Nature: Relaxed
Posts: 36
I've got my script written and everything, but I can't figure out how to actually save the script into the game file. All the tutorials I have watched are using an outdated version of Pokescript. I'm assuming I have to start by using "Search for Free Space" but there is no option to insert the script into the space it's found. >.<

Also, this might be the place to post this, and if it is please tell me and I will move it.
__________________
-Santalune
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old April 6th, 2016 (10:57 AM).
illumine's Avatar
illumine illumine is offline
 
Join Date: Nov 2014
Location: Obscure cities, that are dark.
Gender: Male
Posts: 611
Generally speaking, script was an off-shoot of the hex coding of the game. As such, it had to firstly be placed into the game, in free or unused space or in place of another script, and then either used or pointed to elsewhere, for instance by a character event. In that sense, you're correct to find 'free space' first of all, and then write to it.

This might be program-specific issue, however, or you might not have searched for enough space to place your script. You would usually be able to navigate to the free space found, and write or paste to it, however. As such, others who use the program might be able to specify. It might also depend in part on what the script is, or what type of script it is rather, but that needn't be the central issue at that point.
__________________
When it dawns that Keats' idea of 'negative capability' is basically reducible to the public perception of Lucario.


Reply With Quote
  #3   Link to this post, but load the entire thread.  
Old April 6th, 2016 (11:34 AM).
NightwingJay's Avatar
NightwingJay NightwingJay is offline
 
Join Date: Mar 2016
Posts: 109
Quote:
Originally Posted by Santalune Forest View Post
I've got my script written and everything, but I can't figure out how to actually save the script into the game file. All the tutorials I have watched are using an outdated version of Pokescript. I'm assuming I have to start by using "Search for Free Space" but there is no option to insert the script into the space it's found. >.<

Also, this might be the place to post this, and if it is please tell me and I will move it.
You said an outdated version of Pokescript? I highly recommend XSE it is a great scripting program then after that download Freespace finder and put it in the same folder as XSE. And XSE has a TON of tutorials so it will help in the long run.
__________________
PC broke don't know when will be able to get a new one. :/
:t125:
Reply With Quote
  #4   Link to this post, but load the entire thread.  
Old April 6th, 2016 (12:34 PM).
Santalune Forest's Avatar
Santalune Forest Santalune Forest is offline
Oh dear, he's here
 
Join Date: Nov 2014
Location: Third Rock from the Sun
Gender: Male
Nature: Relaxed
Posts: 36
Quote:
Originally Posted by NightwingJay View Post
You said an outdated version of Pokescript? I highly recommend XSE it is a great scripting program then after that download Freespace finder and put it in the same folder as XSE. And XSE has a TON of tutorials so it will help in the long run.
Thank you for recommending XSE, I downloaded it and watched some tutorials and now it's working perfectly!
__________________
-Santalune
Reply With Quote
  #5   Link to this post, but load the entire thread.  
Old April 6th, 2016 (12:44 PM).
NightwingJay's Avatar
NightwingJay NightwingJay is offline
 
Join Date: Mar 2016
Posts: 109
Quote:
Originally Posted by Santalune Forest View Post
Thank you for recommending XSE, I downloaded it and watched some tutorials and now it's working perfectly!
Glad you like it! Have fun with your ROM!
__________________
PC broke don't know when will be able to get a new one. :/
:t125:
Reply With Quote
  #6   Link to this post, but load the entire thread.  
Old April 6th, 2016 (8:58 PM).
INDIAN MEW(ARAZI)'s Avatar
INDIAN MEW(ARAZI) INDIAN MEW(ARAZI) is offline
THE WORLDS MOST DUMB MAN
 
Join Date: Mar 2015
Location: Sleeping in clouds.
Gender: Male
Nature: Relaxed
Posts: 399
1-WRITE SCRIPT IN XSE
2-COMPILE IT
3-INSERT IT
4-REMEMBER OFFSET
5-GIVE OFFSET TO WHATEVER YOU WANT
6-ENJOY
__________________
MY DEVIANT ART
http://arazitheman.deviantart.com
RUMOUR RED(FIRE RED BASE)
https://www.pokecommunity.com/showthread.php?t=396639
A2z GUIDE
http://www.pokemonhackersonline.com/showthread.php?t=15772-A2z-PokeRED-a-guide-for-fire-red
START LEARNING C,C++ OR PYTHON FOR FREE
https://www.sololearn.com

Reply With Quote
Reply

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:08 AM.