Giter Site home page Giter Site logo

coolaj86 / acnescreator Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cuyler36/acnescreator

0.0 1.0 0.0 115 KB

A program that creates Animal Crossing NES ROM save files for Animal Crossing to load

License: GNU General Public License v2.0

C# 100.00%

acnescreator's Introduction

ACNESCreator

ACNESCreator allows you to create GameCube GCI save files with your favorite NES ROMs included in them to be played on Animal Crossing.

Supported Titles

  • Dōbutsu no Mori+ (どうぶつの森+)
  • Animal Crossing
    • NTSC
    • PAL
    • Australia
  • Dōbutsu no Mori e+ (どうぶつの森e+)

Features

  • Create save files with NES ROMs to play on the game-less NES in Animal Crossing
  • Create memory patches & code to be injected

Creating a NES ROM Save File

To create a NES ROM save file, open the program, give your ROM a name, browse for the NES ROM, and select your region. You can change the save file icon by right clicking on the current one and clicking "Import". 32x32 PNG is the supported format. Select any other options you wish to change, then click "Generate GCI File" to generate your save file. Once the save file has been created, import the save file to Dolphin, or use GCMM to get it on your physical memory card.

Creating a Memory Patch

By taking advantage of Animal Crossing's NES emulator's "Tag" settings, we can overwrite data anywhere in RAM with our own. First, you'll need to create a blank file. Then, you'll need to follow this structure format in that file:

struct AnimalCrossingNESPatchHeader {
	uint16_t GlobalFlags; // Global Loader Flags. Currently, setting the last flag will enable the JUTReportConsole without zurumode. [JUTConsoleEnabled = GlobalFlags & 1]
	uint16_t PatchCount; // Number of patches to copy.
};

struct AnimalCrossingNESPatch
{
  uint32_t PatchAddress; // The location in memory to write data to.
  uint32_t PatchSize; // Size in bytes of patch data to copy to RAM.
  uint32_t PatchFlags; // Only the last flag used to mark the code as exectuable currently. [Executable = PatchFlags & 1]
  uint8_t Data[]; // The data to copy to RAM.
} Patches[];

You can find the source code of the loader here.

After you've created your file, you should follow the same process as creating a NES ROM. The program will automatically detect that the file is a patch file and notify you of so.

Special thanks to James Chambers for discovering the NES Memory Card loading functionality & the PAT tag.

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.