mirror of https://github.com/a2-4am/4cade.git
Compare commits
82 Commits
Author | SHA1 | Date |
---|---|---|
Peter Ferrie | f4484a3dc4 | |
4am | fcc6c1bd80 | |
Peter Ferrie | 8c0c2cfe95 | |
Peter Ferrie | 42a7941e61 | |
Peter Ferrie | 43c1f99df8 | |
Peter Ferrie | 5fbd3a831f | |
Peter Ferrie | e4b4e997aa | |
Peter Ferrie | 49fafc4688 | |
Peter Ferrie | b4c2de8e4e | |
Peter Ferrie | ec5a83eb26 | |
Peter Ferrie | 8ccd1fe044 | |
Peter Ferrie | 665e7ffa67 | |
Peter Ferrie | 13b5d876e8 | |
Peter Ferrie | 370e544d24 | |
4am | c361472951 | |
4am | ada45c1fc2 | |
Peter Ferrie | c2de0a2ccc | |
Peter Ferrie | edd6192a22 | |
Peter Ferrie | b8e7d480e6 | |
4am | 7cc7fd357b | |
4am | a7efbea1f8 | |
Peter Ferrie | 6dd38440df | |
Peter Ferrie | 674638fb7e | |
Peter Ferrie | 9066bb2145 | |
Peter Ferrie | ada2f3b0b1 | |
4am | 535f3a8a4c | |
Peter Ferrie | 9f3cce4731 | |
4am | e0d2172132 | |
4am | 51b5f51666 | |
Peter Ferrie | 4a7ebf3a6d | |
4am | 1bba465e92 | |
4am | 990cf25809 | |
Peter Ferrie | a362597c09 | |
Peter Ferrie | 0c0050d6cf | |
Peter Ferrie | b6b193c4ae | |
4am | ead3094694 | |
Peter Ferrie | c7626b11d8 | |
4am | 8872250ac7 | |
Peter Ferrie | 586c2fc227 | |
Peter Ferrie | a10337ef9b | |
4am | dba357c27a | |
Peter Ferrie | 082e277e3d | |
Peter Ferrie | 8e657186e1 | |
Peter Ferrie | 7a21398f75 | |
4am | 005f96d6af | |
Peter Ferrie | 65f090b53f | |
Peter Ferrie | 9e69cdca94 | |
Peter Ferrie | 128385ea62 | |
Peter Ferrie | f681fe1d32 | |
Peter Ferrie | 581099b175 | |
Peter Ferrie | 8bb101a337 | |
Peter Ferrie | b138d030d5 | |
Peter Ferrie | 13f3461621 | |
Peter Ferrie | f26e9f1763 | |
Peter Ferrie | 7f0518fd46 | |
4am | f49ea558ab | |
Peter Ferrie | ccee4e55cf | |
4am | 055cba6340 | |
4am | 0845ea468a | |
4am | 90c45e4e5e | |
Peter Ferrie | 2c010c0851 | |
4am | a137612d08 | |
Peter Ferrie | 7085faebc8 | |
Peter Ferrie | d29e8554df | |
Peter Ferrie | 4e186fd530 | |
4am | 2fbdd2bb37 | |
Peter Ferrie | dfc882b2fd | |
Peter Ferrie | 4a2c619929 | |
4am | 535c4c841d | |
4am | 7acb717b11 | |
4am | b5dffa65ab | |
4am | bc38e605d9 | |
4am | 43ab54a120 | |
4am | 6637a5e51e | |
4am | 124432f373 | |
4am | 65c5d0697f | |
Peter Ferrie | 7e5bb82d63 | |
Peter Ferrie | 48567554df | |
Peter Ferrie | 8ec38d2c95 | |
Peter Ferrie | af2f83fccc | |
4am | 270d81d749 | |
4am | 409de6a218 |
47
Makefile
47
Makefile
|
@ -59,20 +59,33 @@ dsk: index asmproboot asmlauncher extract
|
|||
res/TITLE.ANIMATED \
|
||||
res/ICONS \
|
||||
build/FX \
|
||||
build/PRELAUNCH; do \
|
||||
build/PRELAUNCH \
|
||||
build/X; do \
|
||||
rm -f "$$f"/.DS_Store; \
|
||||
$(CADIUS) ADDFOLDER build/"$(DISK)" "/$(VOLUME)/$$(basename $$f)" "$$f" -C >>build/log; \
|
||||
done
|
||||
$(CADIUS) CREATEFOLDER build/"$(DISK)" "/$(VOLUME)/X/" -C >>build/log
|
||||
for f in build/X/*; do \
|
||||
$(CADIUS) ADDFOLDER build/"$(DISK)" "/$(VOLUME)/X/$$(basename $$f)" "$$f" -C >>build/log; \
|
||||
done
|
||||
bin/changebootloader.sh build/"$(DISK)" build/proboothd
|
||||
|
||||
extract: preconditions md
|
||||
gamesconf: preconditions md
|
||||
#
|
||||
# create a version of GAMES.CONF without comments or blank lines or anything after display titles
|
||||
#
|
||||
[ -f build/index ] || (awk '!/^$$|^#/' < res/GAMES.CONF | awk -F'/' '{ print $$1 }' > build/GAMES.CONF)
|
||||
#
|
||||
# create a list of all game filenames, without metadata or display names, sorted by game filename
|
||||
#
|
||||
[ -f build/index ] || (awk -F, '/,/ { print $$2 }' < build/GAMES.CONF | awk -F= '{ print $$1 }' | sort > build/GAMES.SORTED)
|
||||
|
||||
extract: preconditions md gamesconf
|
||||
$(PARALLEL) '$(CADIUS) EXTRACTVOLUME {} build/X/ >>build/log' ::: res/dsk/*.po
|
||||
rm -f build/X/**/.DS_Store build/X/**/PRODOS* build/X/**/LOADER.SYSTEM*
|
||||
for f in $$(grep '^....1' res/GAMES.CONF | awk '!/^$$|^#/' | awk -F, '/,/ { print $$2 }' | awk -F= '{ print $$1 }'); do mv build/X/"$$(basename $$f)"/"$$(basename $$f)"* build/X.INDEXED/; rm -rf build/X/"$$(basename $$f)"; done
|
||||
rm -f build/X/**/.DS_Store build/X/**/PRODOS* build/X/**/LOADER.SYSTEM* build/X/**/_FileInformation.txt
|
||||
for f in $$(grep '^....1' build/GAMES.CONF | awk '!/^$$|^#/' | awk -F, '/,/ { print $$2 }' | awk -F= '{ print $$1 }'); do mv build/X/"$$(basename $$f)"/"$$(basename $$f)"* build/X.INDEXED/; rm -rf build/X/"$$(basename $$f)"; done
|
||||
for d in build/X/*; do \
|
||||
for f in "$$d"/*; do \
|
||||
mv "$$f" build/X/"$$(basename $$f)"; \
|
||||
done; \
|
||||
rmdir "$$d"; \
|
||||
done
|
||||
(for f in build/X.INDEXED/*; do echo "$$(basename $$f)"; done) | bin/buildindexedfile.sh -a -p build/TOTAL.DATA build/X.INDEXED > build/XSINGLE.IDX
|
||||
|
||||
index: preconditions md asmfx asmprelaunch asmdemo compress extract
|
||||
|
@ -88,14 +101,6 @@ index: preconditions md asmfx asmprelaunch asmdemo compress extract
|
|||
[ -f build/index ] || (bin/converthelp.sh res/CREDITS build/CREDITS)
|
||||
[ -f build/index ] || $(PARALLEL) 'bin/converthelp.sh "{}" "build/GAMEHELP/{/}"' ::: res/GAMEHELP/*
|
||||
#
|
||||
# create a version of GAMES.CONF without comments or blank lines
|
||||
#
|
||||
[ -f build/index ] || (awk '!/^$$|^#/' < res/GAMES.CONF > build/GAMES.CONF)
|
||||
#
|
||||
# create a list of all game filenames, without metadata or display names, sorted by game filename
|
||||
#
|
||||
[ -f build/index ] || (awk -F, '/,/ { print $$2 }' < build/GAMES.CONF | awk -F= '{ print $$1 }' | sort > build/GAMES.SORTED)
|
||||
#
|
||||
# precompute indexed files for prelaunch
|
||||
# note: prelaunch must be first in TOTAL.DATA due to a hack in LoadStandardPrelaunch
|
||||
# note 2: these can not be padded because they are loaded at $0106 and padding would clobber the stack
|
||||
|
@ -254,12 +259,12 @@ attract: compress
|
|||
bin/check-attract-mode.sh
|
||||
bin/generate-mini-attract-mode.sh
|
||||
|
||||
cache: preconditions md
|
||||
cache: preconditions md gamesconf
|
||||
$(PARALLEL) ::: \
|
||||
'awk -F= '"'"'/^00/ { print $$2 }'"'"' < res/GAMES.CONF | bin/buildcache.py > build/cache00.a' \
|
||||
'awk -F= '"'"'/^0/ { print $$2 }'"'"' < res/GAMES.CONF | bin/buildcache.py > build/cache01.a' \
|
||||
'awk -F= '"'"'/^.0/ { print $$2 }'"'"' < res/GAMES.CONF | bin/buildcache.py > build/cache10.a' \
|
||||
'awk -F= '"'"'!/^$$|^#|^\[/ { print $$2 }'"'"' < res/GAMES.CONF | bin/buildcache.py > build/cache11.a'
|
||||
'awk -F= '"'"'/^00/ { print $$2 }'"'"' < build/GAMES.CONF | bin/buildcache.py > build/cache00.a' \
|
||||
'awk -F= '"'"'/^0/ { print $$2 }'"'"' < build/GAMES.CONF | bin/buildcache.py > build/cache01.a' \
|
||||
'awk -F= '"'"'/^.0/ { print $$2 }'"'"' < build/GAMES.CONF | bin/buildcache.py > build/cache10.a' \
|
||||
'awk -F= '"'"'!/^$$|^#|^\[/ { print $$2 }'"'"' < build/GAMES.CONF | bin/buildcache.py > build/cache11.a'
|
||||
$(PARALLEL) ::: \
|
||||
'$(ACME) -o res/CACHE00.IDX build/cache00.a' \
|
||||
'$(ACME) -o res/CACHE01.IDX build/cache01.a' \
|
||||
|
|
|
@ -50,13 +50,13 @@ cat res/GAMES.CONF |
|
|||
grep '^\!to' src/demo/*.a | cut -d'/' -f5-|cut -d'#' -f1 |
|
||||
grep -v "SPCARTOON" |
|
||||
while read f; do
|
||||
grep "$f=0" res/ATTRACT.CONF >/dev/null || echo "unused demo: $f";
|
||||
grep "^$f=0" res/ATTRACT.CONF >/dev/null || echo "unused demo: $f";
|
||||
done
|
||||
|
||||
# warn about unused slideshows
|
||||
cd res/SS
|
||||
for f in *.CONF; do
|
||||
grep "$f" ../ATTRACT.CONF >/dev/null || echo "unused slideshow: $f";
|
||||
grep "^$f=" ../ATTRACT.CONF >/dev/null || echo "unused slideshow: $f";
|
||||
done
|
||||
cd ../..
|
||||
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
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.
File diff suppressed because one or more lines are too long
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
Loading…
Reference in New Issue