Compare commits

..

No commits in common. "2e5ccadea898b61c8a71a075dcabc4222ae1ca79" and "d0ba0dc408e33dba1474defa69e24271ffab8571" have entirely different histories.

225 changed files with 62 additions and 43 deletions

View File

@ -9,8 +9,7 @@
# adapted by 4am on 2018-01-07
#
BUILDDISK=build/Pitch Dark.hdv
VOLUME=PITCH.DARK
DISK=Pitch Dark.hdv
# third-party tools required to build
# https://sourceforge.net/projects/acme-crossass/
@ -40,37 +39,45 @@ asm: md
$(ACME) -r build/zinfo5u.lst src/zinfo/z5u/z5u.s
dsk: md asm
cp res/blank.hdv "$(BUILDDISK)"
cp res/"Pitch Dark.master games collection.do.not.edit.hdv" build/"$(DISK)"
cp res/_FileInformation.txt build/
bin/fixFileInformation.sh build/_FileInformation.txt
$(CADIUS) CREATEFOLDER "$(BUILDDISK)" "/$(VOLUME)/Z/"
for f in res/Z/*; do \
$(CADIUS) ADDFOLDER "$(BUILDDISK)" "/$(VOLUME)/Z/$$(basename $$f)" "$$f"; \
done
$(CADIUS) ADDFOLDER "$(BUILDDISK)" "/$(VOLUME)/" "res/HINTS"
for f in "build/GRUE.SYSTEM" "build/ONBEYOND.SYSTEM" "build/ZINFO.SYSTEM" "build/PITCH.DARK" "res/PITCH.DARK.CONF" "res/GAMES.CONF" "res/CREDITS.TXT"; do \
$(CADIUS) ADDFILE "$(BUILDDISK)" "/$(VOLUME)/" "$$f"; \
done
$(CADIUS) CREATEFOLDER "$(BUILDDISK)" "/$(VOLUME)/LIB/"
for f in ONBEYONDZ1 ONBEYONDZ2 ONBEYONDZ3 ONBEYONDZ4 ONBEYONDZ5 ONBEYONDZ5U ZINFO1 ZINFO2 ZINFO3 ZINFO4 ZINFO5 ZINFO5U; do \
$(CADIUS) ADDFILE "$(BUILDDISK)" "/$(VOLUME)/LIB/" "build/$$f"; \
done
$(CADIUS) ADDFILE build/"$(DISK)" "/PITCH.DARK/" "build/GRUE.SYSTEM"
$(CADIUS) ADDFILE build/"$(DISK)" "/PITCH.DARK/" "build/ONBEYOND.SYSTEM"
$(CADIUS) ADDFILE build/"$(DISK)" "/PITCH.DARK/" "build/ZINFO.SYSTEM"
$(CADIUS) ADDFILE build/"$(DISK)" "/PITCH.DARK/" "build/PITCH.DARK"
$(CADIUS) ADDFILE build/"$(DISK)" "/PITCH.DARK/" "res/PITCH.DARK.CONF"
$(CADIUS) ADDFILE build/"$(DISK)" "/PITCH.DARK/" "res/GAMES.CONF"
$(CADIUS) ADDFILE build/"$(DISK)" "/PITCH.DARK/" "res/CREDITS.TXT"
$(CADIUS) CREATEFOLDER build/"$(DISK)" "/PITCH.DARK/LIB/"
$(CADIUS) ADDFILE build/"$(DISK)" "/PITCH.DARK/LIB/" "build/ONBEYONDZ1"
$(CADIUS) ADDFILE build/"$(DISK)" "/PITCH.DARK/LIB/" "build/ONBEYONDZ2"
$(CADIUS) ADDFILE build/"$(DISK)" "/PITCH.DARK/LIB/" "build/ONBEYONDZ3"
$(CADIUS) ADDFILE build/"$(DISK)" "/PITCH.DARK/LIB/" "build/ONBEYONDZ4"
$(CADIUS) ADDFILE build/"$(DISK)" "/PITCH.DARK/LIB/" "build/ONBEYONDZ5"
$(CADIUS) ADDFILE build/"$(DISK)" "/PITCH.DARK/LIB/" "build/ONBEYONDZ5U"
$(CADIUS) ADDFILE build/"$(DISK)" "/PITCH.DARK/LIB/" "build/ZINFO1"
$(CADIUS) ADDFILE build/"$(DISK)" "/PITCH.DARK/LIB/" "build/ZINFO2"
$(CADIUS) ADDFILE build/"$(DISK)" "/PITCH.DARK/LIB/" "build/ZINFO3"
$(CADIUS) ADDFILE build/"$(DISK)" "/PITCH.DARK/LIB/" "build/ZINFO4"
$(CADIUS) ADDFILE build/"$(DISK)" "/PITCH.DARK/LIB/" "build/ZINFO5"
$(CADIUS) ADDFILE build/"$(DISK)" "/PITCH.DARK/LIB/" "build/ZINFO5U"
# sample save game files for development
#$(CADIUS) ADDFILE "$(BUILDDISK)" "/$(VOLUME)/Z/WISHBRINGER/" "res/R69.850920.SAV"
#$(CADIUS) ADDFILE "$(BUILDDISK)" "/$(VOLUME)/Z/ZORK.I/" "res/R88.840726.SAV"
#$(CADIUS) ADDFILE build/"$(DISK)" "/PITCH.DARK/Z/WISHBRINGER/" "res/R69.850920.SAV"
#$(CADIUS) ADDFILE build/"$(DISK)" "/PITCH.DARK/Z/ZORK.I/" "res/R88.840726.SAV"
txt: dsk
mkdir -p build/TEXT
mkdir -p build/text
$(PY3) bin/textnormalize.py res/text/*
$(CADIUS) ADDFOLDER "$(BUILDDISK)" "/$(VOLUME)/TEXT" build/TEXT
cd build && $(CADIUS) ADDFOLDER "$(DISK)" "/PITCH.DARK/TEXT" text
artwork: dsk
$(CADIUS) ADDFOLDER "$(BUILDDISK)" "/$(VOLUME)/ARTWORK" "res/artwork"
$(CADIUS) ADDFILE "$(BUILDDISK)" "/$(VOLUME)/ARTWORK/" "res/DHRSLIDE.SYSTEM"
$(CADIUS) ADDFOLDER "$(BUILDDISK)" "/$(VOLUME)/ARTWORKGS" "res/artworkgs"
$(CADIUS) ADDFOLDER build/"$(DISK)" "/PITCH.DARK/ARTWORK" "res/artwork"
$(CADIUS) ADDFILE build/"$(DISK)" "/PITCH.DARK/ARTWORK/" "res/DHRSLIDE.SYSTEM"
$(CADIUS) ADDFOLDER build/"$(DISK)" "/PITCH.DARK/ARTWORKGS" "res/artworkgs"
mount: dsk
osascript bin/V2Make.scpt "`pwd`" bin/pitchdark.vii "$(BUILDDISK)"
osascript bin/V2Make.scpt "`pwd`" bin/pitchdark.vii build/"$(DISK)"
md:
mkdir -p build

View File

@ -8,7 +8,7 @@ for f in sys.argv[1:]:
with open(f) as buffer:
lines = buffer.readlines()
shortf = f.replace(".txt", "").replace("res/text/", "").upper()
newf = "build/TEXT/" + shortf
newf = "build/text/" + shortf
fileinfo.append(shortf + "=Type(04),AuxType(0000),VersionCreate(70),MinVersion(BE),Access(C3)")
with open(newf, 'w') as buffer:
for l in lines:
@ -22,5 +22,5 @@ for f in sys.argv[1:]:
linelength = 64
elif l.startswith("[description]"):
linelength = 77
with open("build/TEXT/_FileInformation.txt", "w") as infobuff:
with open("build/text/_FileInformation.txt", "w") as infobuff:
infobuff.write("\r\n".join(fileinfo))

View File

@ -1 +0,0 @@
Pitch Dark is a frontend for exploring and playing Infocom text adventures. Release 6 / Serial number DEVELOP Copyright 2018-2023 4am https://github.com/a2-4am/pitch-dark ~ On Beyond Z-Machine! is a ProDOS port of Infocom's Z-Machine interpreters. Copyright 2018-2023 qkumba based on code from six different games copyright 1979-1988 Infocom, Inc. ~ WeeGUI is a compact, easy-to-use GUI library for 8-bit Apple II computers. Copyright 2014-2018 Quinn Dunki https://github.com/blondie7575/WeeGUI/ ~ Artwork was scanned from original retail boxes and converted to Apple II native formats with the help of Bmp2DHR copyright 2014 Bill Buckels A2FCBmp copyright 2012-5 Bill Buckels buckshot copyright 2017 Dagen Brock ii-pix copyright 2021-3 Kris Kennaway https://www.appleoldies.ca/bmp2dhr/ https://apple2.gs/buckshot/ https://github.com/KrisKennaway/ii-pix ~ The PRIZM Project (Pretty Reliable Invisiclues for Z-Machine) are genuine Infocom Invisiclues, accessible in your favorite Z-Machine interpreter. Copyright 1999 Digby McWiggle and Steven Marsh Compiled, edited, and Z-coded by Digby McWiggle and Steven Marsh from material supplied by Henrik Dittmann, Paul David Doherty, Volker Blasius, and Mike Threepoint Thanks also to Brian Hall, L. Ross Raszewski, and Graham Nelson http://www.waitingforgo.com/ (offline) ~ Games, descriptions, and artwork are copyright 1979-1988 Infocom, Inc. Invisiclues are copyright 1993, 1999 Activision, Inc. Zork and all other game names are registered trademarks of Activision. [EOF]

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More