diff options
author | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2018-08-30 10:49:48 +0300 |
---|---|---|
committer | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2018-08-30 10:49:48 +0300 |
commit | 71a210afe35322060ccd4fe4b95ba08792cbca44 (patch) | |
tree | 23fb84f2a3803db1c67b164ca8b7faaa8fdeb791 | |
parent | b359364b1f7a44bda57b83783ecbc4636a574e46 (diff) |
Readme fixes, some automationv1.0
-rw-r--r-- | !build_rom.bat | 10 | ||||
-rw-r--r-- | README.md | 4 | ||||
-rw-r--r-- | make_release.bat | 22 |
3 files changed, 34 insertions, 2 deletions
diff --git a/!build_rom.bat b/!build_rom.bat index 5312094..138c02d 100644 --- a/!build_rom.bat +++ b/!build_rom.bat @@ -26,9 +26,19 @@ if "%1"=="clean" exit 0 if /I %SORT_GAMES% NEQ TRUE SET NOSORTP=--nosort @echo on %TILES_CONVERTER% %MENU_IMAGE% menu_pattern0.dat menu_nametable0.dat menu_palette0.dat +@if %ERRORLEVEL% neq 0 goto error %TILES_CONVERTER% menu_sprites.png menu_pattern1.dat menu_nametable1.dat menu_palette1.dat +@if %ERRORLEVEL% neq 0 goto error %COMBINER% prepare --games %GAMES_LIST% --asm games.asm --maxsize %MAX_SIZE% --offsets %OFFSETS_FILE% --report %REPORT_FILE% %NOSORTP% +@if %ERRORLEVEL% neq 0 goto error %NESASM% menu.asm +@if %ERRORLEVEL% neq 0 goto error %COMBINER% combine --loader menu.nes --offsets %OFFSETS_FILE% --unif %OUTPUT_UNIF% --bin %OUTPUT_BIN% +@if %ERRORLEVEL% neq 0 goto error @if exist %OUTPUT_UNIF% echo Seems like everything is fine! %OUTPUT_UNIF% created. @pause +@exit 0 +:error +@echo Oops, something is wrong! +@pause +exit 1 @@ -1,9 +1,9 @@ # Coolboy Multirom Builder -It's a toolset that allows you to create multirom images for cheap COOLBOY (and clones) Famicom cartridges. Which can be writed with my other tool: https://github.com/ClusterM/famicom-dumper-client +It's a toolset that allows you to create multirom images for cheap COOLBOY (and clones) Famicom cartridges. Which can be written with my other tool: https://github.com/ClusterM/famicom-dumper-client Features: -* It can combine up to 768 games into single binary which can be writed to cheap COOLBOY cartridge +* It can combine up to 768 games into single binary which can be written to cheap COOLBOY cartridge * Create menu where you can easily select game * Can alphabetically sort games in menu if you need it * Allows to use your own image for menu header diff --git a/make_release.bat b/make_release.bat new file mode 100644 index 0000000..e8aa0ac --- /dev/null +++ b/make_release.bat @@ -0,0 +1,22 @@ +make clean
+SET OUTDIR=coolboy-multirom-builder
+del /F /S /Q "%OUTDIR%"
+mkdir "%OUTDIR%"
+mkdir "%OUTDIR%\tools"
+mkdir "%OUTDIR%\demos"
+mkdir "%OUTDIR%\games"
+mkdir "%OUTDIR%\spec"
+copy LICENSE "%OUTDIR%"
+copy *.md "%OUTDIR%"
+copy *.asm "%OUTDIR%"
+copy Makefile "%OUTDIR%"
+copy games.list "%OUTDIR%"
+copy *.png "%OUTDIR%"
+copy "!build_rom.bat" "%OUTDIR%"
+copy "tools\CoolboyCombiner.exe" "%OUTDIR%\tools"
+copy "tools\TilesConverter.exe" "%OUTDIR%\tools"
+copy "tools\nesasm.exe" "%OUTDIR%\tools"
+copy "spec\*.nes" "%OUTDIR%\spec"
+
+copy "games\*.nes" "%OUTDIR%\games"
+copy "demos\Unchained_Nostalgia.nes" "%OUTDIR%\demos"
|