Newest Hacks

Pizza Pop! MMC3 BS-Zelda MottZilla Patch Lucy in SMB1 Random Encounters Menu Option

Newest Translations

Phantasy Star Diddy Kong Racing 64 Double Dragon III: The Sacred Stones Kaitou Saint Tail

Newest Utilities

Secret of Evermore Rom Info Goof Troop Editor PSX/2 CNF Creator FFA Expander

Newest Reviews

Super Duper Metroid Mega Man 7 Refit F-Zero - Climax Mega Man 5 - Ridley X Hack 6

Newest Homebrew

ROOMS For the Birds VI Game Boy Advance RGB Colour Test (GBA) Plummet Challenge Game

Featured Hack Images

FF4 Magic Plus Dream World Pogie Revival Super Mario Fantasy Adventure Prince of Persia - Easy Breeze

Featured Translation Images

Umihara Kawase The Legend of Oasis Kunio Kun no Nekketsu Soccer League Fire Emblem: Thracia 776

Recent Updates

Lightweight Checksum Calculator

Miscellaneous

Description:

This simple, lightweight and fast CLI (Command-Line Interface) checksum calculator will calculate and apply checksums for the various types of ROMs supported by the SNES.

This was developed mainly for use in scripts, but is easy enough to use that manual use is not only viable but simple.

Usage:

Simply drag and drop your ROM into checksum.exe or execute it as a command.

Example: checksum “Chrono Trigger (USA).sfc”

For batch execution, simply pass each ROM as a separate argument.

Example: checksum rom1.sfc rom2.sfc rom3.sfc

To make the program use all of your logical cores and thus multi-thread the checksum calculation, use the “-t” option.

Example: checksum -t “Chrono Trigger (USA).sfc”

Single-threaded vs Multi-threaded:

The performance between the two will vary from hardware to hardware. CPUs with multiple cores running at low clock speeds will likely perform better under multi-threading, while CPUs running at high clock speeds will likely perform better under single-threading.

The data below comes from the Release Build (Visual Studio 2019) running on an i7-4770k @ 4.3 GHz and a 32 Mbits (4 MBs) ROM.

  • Single-threaded: ~6.5 ms
  • Multi-threaded: ~5.5 ms

Tested ROMs:

These are the ROMs that were used to test this program.

  • LoROM: Kirby Super Star (USA)
  • HiROM: Chrono Trigger (USA)
  • LoROM (bigger than 4 MB): Star Ocean (Japan)
  • ExHiROM: Tales of Phantasia (Japan)
  • SPC7110: Tengai Makyou Zero (Japan)

Source Code and Compatibility:

The source code is available under the BSD license and can be found inside the src folder.

Any C++11 compatible compiler should be able to compile it without any issues.

Only Windows binary and project files are included; however, the source code was tested under Linux with GCC (g++ compiled).

Links:

User Review Information
No User Reviews!