*urgh* Alright, I've been trying to do this all day. I located a file on the PS2 DVD .iso with some dialogue in it - so I extracted the file and changed a few lines to make them say something else. I then reinserted the file, and went to test it on the emulator. Unfortunately, it wouldn't run! The original image runs perfectly(actually, for a PS2 game, I'm surprised at how fast it ran... around 2/3 speed!), but the new one doesn't want to run. I'm using pcsx2. The big series of debug statements show the program stopping after loading a bunch of sectors from CD, but doesn't start loading sectors from DVD like the original game does.
I believe this is the fault of the reinserted file being assigned a different sector, and everything else's sectors being pushed down in order to accomodate for it. Thus, the program can't load from the correct sectors and phails.
Is there a program that can reinsert the edited file in the same sector block as the original was in? UltraISO is what I've been trying to use, but that obviously doesn't do it.