build HDV instead of 2MG

This commit is contained in:
Peter Ferrie 2020-08-25 13:56:03 -07:00
parent 831775d9f5
commit 5de894565e
5 changed files with 7 additions and 8 deletions

View File

@ -10,7 +10,7 @@
# adapted by 4am on 2018-08-19
#
DISK=4cade.2mg
DISK=4cade.hdv
VOLUME=TOTAL.REPLAY
# third-party tools required to build
@ -26,7 +26,7 @@ CADIUS=cadius
EXOMIZER=exomizer mem -q -P23 -lnone
dsk: md asm
cp res/blank.2mg build/"$(DISK)" >>build/log
cp res/blank.hdv build/"$(DISK)" >>build/log
cp res/_FileInformation.txt build/ >>build/log
$(CADIUS) ADDFILE build/"$(DISK)" "/$(VOLUME)/" "build/LAUNCHER.SYSTEM" >>build/log
rsync -aP res/PREFS.CONF build/PREFS.CONF >> build/log

View File

@ -1,7 +1,6 @@
a = new ActiveXObject("scripting.filesystemobject")
b = a.opentextfile(WScript.Arguments(0))
c = b.read(0x40)
b.skip(0x200)
d = b.read(a.getfile(WScript.Arguments(0)).size-0x240)
d = b.read(a.getfile(WScript.Arguments(0)).size-0x200)
b.close()
b=a.createtextfile(WScript.Arguments(0), 1).write(c+a.opentextfile(WScript.Arguments(1)).read(512)+d)
b=a.createtextfile(WScript.Arguments(0), 1).write(a.opentextfile(WScript.Arguments(1)).read(512)+d)

View File

@ -1,3 +1,3 @@
#!/bin/sh
dd of="$1" bs=1 seek=64 count=512 conv=notrunc < "$2"
dd of="$1" bs=1 count=512 conv=notrunc < "$2"

Binary file not shown.

View File

@ -7,7 +7,7 @@ rem a qkumba monstrosity from 2018-10-29
rem
setlocal enabledelayedexpansion
set DISK=4cade.2mg
set DISK=4cade.hdv
set VOLUME=TOTAL.REPLAY
rem third-party tools required to build (must be in path)
@ -42,7 +42,7 @@ if "%1" equ "dsk" (
call :asm
call :compress
2>nul del build\log
1>nul copy /y res\blank.2mg "build\%DISK%" >>build\log
1>nul copy /y res\blank.hdv "build\%DISK%" >>build\log
1>nul copy /y res\_FileInformation.txt build\ >>build\log
%CADIUS% ADDFILE "build\%DISK%" "/%VOLUME%/" "build\LAUNCHER.SYSTEM" >>build\log
1>nul copy /y res\PREFS.CONF build\ >>build\log