mirror of
https://github.com/a2-4am/pitch-dark.git
synced 2024-06-20 02:29:29 +00:00
.
This commit is contained in:
parent
19a511e44f
commit
0105bc0fa8
2
Makefile
2
Makefile
|
@ -48,7 +48,7 @@ dsk: md asm
|
||||||
|
|
||||||
txt: dsk
|
txt: dsk
|
||||||
mkdir -p build/text
|
mkdir -p build/text
|
||||||
$(PY3) bin/textnormalize.py text/*
|
$(PY3) bin/textnormalize.py res/text/*
|
||||||
cd build && $(CADIUS) ADDFOLDER "$(DISK)" "/PITCH.DARK/TEXT" text
|
cd build && $(CADIUS) ADDFOLDER "$(DISK)" "/PITCH.DARK/TEXT" text
|
||||||
|
|
||||||
artwork: dsk
|
artwork: dsk
|
||||||
|
|
|
@ -7,7 +7,7 @@ for f in sys.argv[1:]:
|
||||||
linelength = 0
|
linelength = 0
|
||||||
with open(f) as buffer:
|
with open(f) as buffer:
|
||||||
lines = buffer.readlines()
|
lines = buffer.readlines()
|
||||||
shortf = f.replace(".txt", "").replace("text/", "").upper()
|
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)")
|
fileinfo.append(shortf + "=Type(04),AuxType(0000),VersionCreate(70),MinVersion(BE),Access(C3)")
|
||||||
with open(newf, 'w') as buffer:
|
with open(newf, 'w') as buffer:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user