How to Patch ROM Dumps with IPS Files in Linux

If you have a USB cartridge dumper or another way to legitimately acquire a ROM file, then you might want to get in on the ROM hacking scene. International Patching System (.IPS) files allow programmers to send changed ROM data for video games without distributing any code from the original game, which helps avoid some of the licensing issues involved in distributing derivative work video games.

While you need special utilities to patch these files under Windows or OS X, you can use a simple Python script to do the same under Linux. Since it’s an interpreted Python script and not a compiled program, you can run it on most modern distributions of GNU/Linux.

Patching Files with IPS Additions

You’ll need a package called Lazy IPS from Boris Timofeev, which will come named and should still be scanned before use. Unzip the file either by right clicking on it and choosing “Extract Here” in Nautilus or another file manager or by using the unzip command at the CLI prompt. You’ll end up with a single file. Start the script by double-clicking on it or typing ./ from the CLI prompt. If you’re asked for permission to execute it, then do so but make sure the colors of the window match your GTK theme. If you have any custom GTK colors or fonts, then this program will take to them. It’s completely unnecessary to run it as root.

Click on the Open button next to the first file entry field, and then select the ROM from the box that comes up. It might have a different extension depending on what kind of hardware the game ran on originally. Click the second Open button and pick an IPS patch file and make sure there’s a check next to “Create a backup file.”  You may want to make additional copies of the original ROM in another directory anyway. Click on the Execute button and then wait until it reads done. You can hit the Quit button once it’s done. Right click on the ROM file you used in Lazy IPS and then go to properties. The file modification date should be the same as the day you ran the program on. The .bak file in the same directory is the backup Lazy IPS made.


Kevin Arrows

Kevin Arrows is a highly experienced and knowledgeable technology specialist with over a decade of industry experience. He holds a Microsoft Certified Technology Specialist (MCTS) certification and has a deep passion for staying up-to-date on the latest tech developments. Kevin has written extensively on a wide range of tech-related topics, showcasing his expertise and knowledge in areas such as software development, cybersecurity, and cloud computing. His contributions to the tech field have been widely recognized and respected by his peers, and he is highly regarded for his ability to explain complex technical concepts in a clear and concise manner.
Back to top button