The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Script How to delete all existing scripts in 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 October 6th, 2017 (10:44 AM).
NicolasLukas NicolasLukas is offline
 
Join Date: Aug 2015
Location: Germany
Gender: Male
Nature: Relaxed
Posts: 160
Hello everyone, I need to delete all scripts from Pokemon Emerald to start from a clean ROM with clean space. How do I delete existing scripts (like person scripts, signposts etc)?
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old October 6th, 2017 (10:49 AM).
Auros's Avatar
Auros Auros is offline
 
Join Date: Sep 2015
Gender: Male
Posts: 87
You should open your ROM in an hex editor, go to the offset of every single script and replace its content with FF bytes. However that would be a really huge work and you would have to be careful not to delete useful data.
Reply With Quote
  #3   Link to this post, but load the entire thread.  
Old October 6th, 2017 (10:58 AM).
dannyboy941 dannyboy941 is offline
 
Join Date: Apr 2013
Gender: Male
Posts: 23
I did this with German Leaf Green version(as test) begins at 0x160000 to 0x1C5604 but i remove everything like the block script ones like tv to. On advance map 1.92 i cant edit the maps anymore he does not responding state or crash on ingame is it very laggy he is at slowmotion on player walking.
Reply With Quote
  #4   Link to this post, but load the entire thread.  
Old October 6th, 2017 (11:42 AM). Edited October 6th, 2017 by NicolasLukas.
NicolasLukas NicolasLukas is offline
 
Join Date: Aug 2015
Location: Germany
Gender: Male
Nature: Relaxed
Posts: 160
Quote:
Originally Posted by Auros View Post
You should open your ROM in an hex editor, go to the offset of every single script and replace its content with FF bytes. However that would be a really huge work and you would have to be careful not to delete useful data.
Thanks for the replies. So in other words you guys recommend me not to delete the scripts. Would it be better to use these offsets (of the scripts) and rewrite the scripts (for my own game)?
Reply With Quote
  #5   Link to this post, but load the entire thread.  
Old October 6th, 2017 (3:36 PM). Edited October 6th, 2017 by Auros.
Auros's Avatar
Auros Auros is offline
 
Join Date: Sep 2015
Gender: Male
Posts: 87
No, it could be even worse I guess since by changing the dimension of the scripts you would overwrite other data.
If you truly want to use that space it'd be better to do as I told you before but in that case I'd recommend you to be sure of what you're doing (so you should understand how that script works and how it is written on ROM by hexadecimals).
Still it's a long work and maybe it's not really useful (you can just expand your ROM to 32MB and use all that free space).
Reply With Quote
  #6   Link to this post, but load the entire thread.  
Old October 8th, 2017 (5:51 AM).
Bladecraft's Avatar
Bladecraft Bladecraft is offline
It's written "Bladecraft" on my forehead.
 
Join Date: Feb 2017
Gender: Male
Nature: Calm
Posts: 83
Realistically you don't really need to delete anything from the ROM and you'll have enough space for anything you need.
Just use XSE in order to expand your ROM to 32 MB and you're good to go.
FYI, pointers that are in expanded area have 09 instead of 08.
__________________
Rule #0: Always Make a Backup




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