smcfix

command module
v0.0.0-...-2de3cef Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 23, 2022 License: MIT Imports: 17 Imported by: 0

README

SMCFIX

SMCFix icon, a SNES cart guillotine.

Chop headers off SNES roms!

Cross-platform command line and GUI tool for removing headers on .smc files (SNES ROMs) so they work with FPGA hardware emulators.

SMC headers are often added to hold metadata for software emulators, but altering the original format breaks the ROM for FPGA emulation which expects original-hardware accurate data.

Basically this is to fix games to play on my Analogue Pocket.

It's very fast and can process a whole directory or individual files. Overwrite existing files or create new ones with a suffix.

Barebones right now. Might be a naive implementation, but has fixed all the broken ROMs I found to test on.

GUI

Cross-platform GUI using Fyne (https://fyne.io). I don't love it, but it's functional. I'd never used Fyne before, and I barely know Go, so if you're reviewing this: sorry about the slapdash prototype.

SMCFix icon, a SNES cart guillotine.

CLI

Usage of ./smcfix:
  -dir string
    	Directory to scan for SMC files. (default "/Users/kevin/Workspace/smcfix/bin/mac")
  -file string
    	Single SMC file to check and clean.
  -help
    	Show this help.
  -out string
    	Specify alternate output directory.
  -overwrite
    	Overwrite or create new e.g. "[filename]-smcfix.smc" (default false)

For smcfix.app the command line utility would be run from the exacutable inside the .app package:

Example:

./smcfix.app/Contents/MacOS/smcfix -dir /Users/kevin/roms/snes -overwrite=true

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL