Giter VIP home page Giter VIP logo

gcrebuilder's People

Contributors

bsv798 avatar

Stargazers

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

Watchers

 avatar  avatar

gcrebuilder's Issues

Command line issue

Hello,

Sorry for spamming you with this, but I don't know if you check your email address in the readme.

I am trying to use GCR to command line extract SystemData\start.dol from the game Starfox Adventures.

However it gives me this error at Windows command line:

System.NullReferenceException: Object reference not set to an instance of an object.
   at GCRebuilder.MainForm.Export(String expPath)
   at GCRebuilder.Program.Main(String[] args)

Commands tried so far:

gcr "C:\starfox\game.iso" "&&SystemData\start.dol" "e" "C:\starfox"
gcr "C:\starfox\game.iso" "SystemData\start.dol" "e" "C:\starfox"
gcr C:\starfox\game.iso &&SystemData\start.dol e C:\starfox
gcr "C:\starfox\game.iso" "SystemData\start.dol" "e" "C:\starfox\start.dol"
gcr "C:\starfox\game.iso" "root\SystemData\start.dol" "e" "C:\starfox"
gcr "C:\starfox\game.iso" "\SystemData\start.dol" "e" "C:\starfox"

Looking at the source code, the issue may be in here somewhere:

public void Export(string expPath)
{
    expImpPath = expPath;
    expImpIdx = Convert.ToInt32(selNode.Name);      // is selNode.Name null?
    if (toc.fils[expImpIdx].isDir)                  // is toc.fils null?
        ExportDir();
    else
        Export(expImpIdx, expPath);
}

Starfox and some other GCN games have a unique deflicker vfilter which ruins the graphics a bit. We can patch them in start.dol, and I'm trying to write a tool that automates this patching and then repacking back into the ISO using GCR's command line.

GCR is the only tool that can re-insert files without having to rebuild the entire ISO which saves a lot of time.

Thanks

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.