-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvalidator.bat
22 lines (22 loc) · 958 Bytes
/
validator.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
:: start validator in cmd terminal
@echo off
cd C:\github\GB-Dumper\code-pc\validator\
echo ***ROM (game) VALIDATOR***
set /p gameTitle="Input game title (no spaces) with extention [.gb]: "
call xgbfix.exe -v -p -d %gameTitle%
::motorgbfix v1.0.0 (part of ASMotor 0.1.0)
::https://github.com/asmotor/asmotor/
::Usage: xgbfix.exe [flags] gametitle[.gb]
::Options: Flags
:: -h This text
:: -d Debug: Don't change image
:: -p Pad image to valid size
:: Pads to 32/64/128/256/512kB as appropriate
:: -t <name> Change cartridge title field (16 characters)
:: -v Validate header
:: Corrects: - Nintendo Character Area (0x0104)
:: - ROM type (0x0147)
:: - ROM size (0x0148)
:: - Checksums (0x014D-0x014F)
echo ***done***
PAUSE