View Single Post
  #22625    
Old August 29th, 2012 (09:45 AM).
shinyabsol1's Avatar
shinyabsol1
Pokemon DarkJasper!?
 
Join Date: Aug 2010
Gender: Male
Nature: Calm
Quote originally posted by miksy91:
No it doesn't. Just think about it!
Lunar IPS is a program that creates patch files comparing the datas of two roms with another. If the two files are exactly the same, it gives some sort of error message like "Patch file does simply nothing.". Basically, when you start editing a clean FireRed rom and apply it the overworld hack, Lunar Ips transfers the data of the overworld hack into FireRed rom.

Let's assume the following:
0x12A056 (this would be one offset to write to)
06 2A 88 95 FE (bytes to write to 0x12A056)
0x28B522 (another offset to write to)
72 6B CC D7 AA (bytes to write to offset 0x28B522)

Basically, let's assume that this is what the overworld hack does. It writes those bytes in those rom addresses. If you then again create another patch file using this "overworld hack" -rom as unmodified rom and clean FireRed rom as modified rom, this is what the patch file would turn out:

0x12A056 (offset to write to)
9A FF 00 F0 (original bytes of FireRed rom that would be replaced in 0x12A056)
0x28B522 (offset to write to)
BB AA BA 9A B7 (original bytes of FireRed rom that would be replaced in 0x28B522)

This simple process goes straight as a "hack remover". If you wanted to remove only parts of it, you'd have to investigate properly what it does though.
This all makes perfect sense...but when I actually patch my hack with the "removal" patch that I made, it deletes many of the tiles that I have inserted (everything appears all black in game), and A-map gives me an error: "Error on compressed data (size of data is $FFFFFF)".

Here's how I made the patch:

1). Applied overworld hack to clean FR rom
2). Used LIPS to create a patch using the rom that I just applied the overworld hack to as the unmodified rom, and a clean FR rom as the modified rom

Anything wrong there?