Coder Social home page Coder Social logo

game-genie-good-guy's Introduction

Game Genie Good Guy

License

Game Genie Good Guy is based on Game Genie Guy:

This is a small Windows utility for applying Game Genie codes to roms. This saves you the trouble of having to enter them each time the game is played.

The original tool is written in BCX-BASIC and the source code is released with the Windows executable compatible with Game Boy/Game Gear/Genesis/Mega Drive/NES/SNES roms and generate rom patched ready to be shared (or generate the IPS patch).

The idea of the new project is to get that tool (or the patching engine) running on Linux (and replicate the features) with 0 experience on BASIC and C/C++ code, with a bit of knowledge with code compilation.

Notes from original version

Master System and PC Engine support added. Only use the codes from the supplied text files. Pro Action Replay codes are not supported.

Not all codes like being applied in this fashion. Ex: Contra Hard Corps 99 lives work fine while infinite lives does not. If you do not get the desired result try another code.

8 digit NES codes are preferrable to 6. 8 digit codes contain validation that ensures the game is being patched in the right spot. 6 digit codes just go for it. Applying too many 6 digit codes can make a game crash. Try fewer codes if this occurs.

Steps

Parameters

./GGGG "[Codes one per line or combine with +]" [1-4] [originalrom] [newrom]

ROM modes

Use that numbers to define the rom type

  • 1: Game Boy/Gear/Master System
  • 2: Genesis/Mega Drive (no SMD roms)
  • 3: Nintendo
  • 4: Super Nintendo

Instructions

./GGGG "AJDV-4A4L+963B-4JAC" 2 ./rom.md ./rom-new.md

Multiple cheat code can be concatenated with + or new lines.

./gui/app.py

Open the UI version.

Compile both versions

./compile.sh

This script will patch the C code for the various errors on converting it.

Convert new BASIC version to C/C++

./generate.sh

Check if the roms are different

xxd rom.md > 1.hex
xxd rom-new.md > 2.hex
diff 1.hex 2.hex

game-genie-good-guy's People

Contributors

mte90 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

game-genie-good-guy's Issues

Optimize C code

Understand if the C code can be optimized, or also the BASIC code.

Support for GBC

I have to do some tests for GBC support, GBA doesn't exists.
GBA games (also GBC often) uses password for cheats so is different the situation.

Create GUI

We can replicate the UI of the original app

Windows/OSX version

Compile the tool also for windows and the support for the interface will be awesome.

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.