mirror of
https://github.com/a2-4am/4cade.git
synced 2024-12-09 13:50:22 +00:00
build HDV instead of 2MG
This commit is contained in:
parent
831775d9f5
commit
5de894565e
4
Makefile
4
Makefile
@ -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
|
||||
|
@ -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)
|
||||
|
@ -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.
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user