Code Monkey home page Code Monkey logo

rompar's Introduction

rompar

Masked ROM optical data extraction tool.

Latest version:

https://github.com/AdamLaurie/rompar

Original version by Adam Laurie, but significant changes by John McMaster, Caitlin Morgan, and Jessy Exum.

Rompar is an interactive tool for extracting bianry data out of mask ROM images. The computer vision method implemented is rather simple, but has proven useful in several projects. There is still a lot that can be added to rompar, and pull requests are welcome.

Installing

Ubuntu 16.04

sudo apt-get install python3-pyqt5
sudo pip3 install opencv-python

Windows

git clone https://github.com/AdamLaurie/rompar
cd rompar
virtualenv venv
venv\Scripts\activate
pip install opencv-python pyqt5
python rompar.py file.jpg 16 8

Usage

To start a new project out of a mask rom image:

rompar.py <IMAGE> <BITS PER GROUP> <ROWS PER GROUP>

To open an existing rompar grid project:

rompar.py --load <GRIDFILE>

When the rompar python package is installed, romparqt should be used instead of rompar.py.

The new QT ui differs greatly from the original project, but the original walked through example is still useful for seeing what Rompar can do:

For more information, check the tutorial in the help menu, and the shortcuts on the various menu items inside of Rompar.

Colors:

  • Green: detected as bright spot ("1")
  • Blue: detected as dark spot ("0")

There are some more advanced ML aspects that were explored but never merged in. This is still an open area to explore

Some ROMs can be post procssed into binaries using https://github.com/SiliconAnalysis/zorrom

Enjoy! Adam & Rompar contributors.

Release history

2.1.0

  • Better command line error handling
  • Improved similar die import optons: --dx/--dy
  • Bug fix: fix crash on bit groups of size 1
  • Windows installer

2.0.0

  • Qt GUI major rewrite

1.0.0

  • JSON save files instead of pickle
  • rompar library

0.2.0

  • Validate input better
  • Misc code cleanup

0.1.0

  • Adam Laurie original code

rompar's People

Contributors

johndmcmaster avatar diamondman avatar argylestoat avatar adamlaurie avatar socram8888 avatar peterbjornx avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.