changeset 2077:110599fca80d

Now uses tocgen which is now part of toolshed
author boisy
date Fri, 21 Jul 2006 16:07:41 +0000
parents b2820d3f1e38
children 975880f2e543
files 3rdparty/packages/sierra/kingsquest1/makefile 3rdparty/packages/sierra/kingsquest1/tOC_80d.txt
diffstat 2 files changed, 10 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/3rdparty/packages/sierra/kingsquest1/makefile	Fri Jul 21 14:41:13 2006 +0000
+++ b/3rdparty/packages/sierra/kingsquest1/makefile	Fri Jul 21 16:07:41 2006 +0000
@@ -37,13 +37,13 @@
 TEXTFILES_D1	= startup tOC_40d.txt
 TEXTFILES	= startup tOC_80d.txt
 
-SUPPORTFILES_D1	= logDir object picDir sndDir tOC_40d viewDir vol.0 \
+SUPPORTFILES_D1	= logDir object picDir sndDir viewDir vol.0 \
 		vol.1 words.tok
 
-SUPPORTFILES_D2	= logDir object picDir sndDir tOC_40d viewDir vol.0 \
+SUPPORTFILES_D2	= logDir object picDir sndDir viewDir vol.0 \
 		vol.1 vol.2 words.tok
 
-SUPPORTFILES	= logDir object picDir sndDir tOC_80d viewDir vol.0 \
+SUPPORTFILES	= logDir object picDir sndDir viewDir vol.0 \
 		vol.1 vol.2 words.tok
 
 ALLOBJS		= $(CMDS)
@@ -57,6 +57,7 @@
 	$(RM) $(DISK_1_40D) $(DISK_2_40D) $(DISK_80D)
 	$(CD) $(LEVEL2)/coco3; make
 	$(OS9FORMAT_DS40) -q $(DISK_1_40D) -n"King's Quest I Disk 1"
+	$(OS9FORMAT_DS40) -q $(DISK_2_40D) -n"King's Quest I Disk 2"
 	$(OS9FORMAT_DS80) -q $(DISK_80D) -n"King's Quest I"
 	$(MERGE) $(OS9BOOT_40D)>os9boot_40d
 	$(MERGE) $(OS9BOOT_80D)>os9boot_80d
@@ -80,15 +81,16 @@
 	$(OS9RENAME) $(DISK_80D),CMDS/sierra AutoEx
 	$(CPL) $(TEXTFILES_D1) $(DISK_1_40D),.
 	$(OS9RENAME) $(DISK_1_40D),tOC_40d.txt tOC.txt
+	tocgen tOC_40d.txt
+	$(CP) tOC $(DISK_1_40D),.
+	$(CP) tOC $(DISK_2_40D),.
 	$(CPL) $(TEXTFILES) $(DISK_80D),.
 	$(OS9RENAME) $(DISK_80D),tOC_80d.txt tOC.txt
+	tocgen tOC_80d.txt
+	$(CP) tOC $(DISK_80D),.
 	$(CP) $(SUPPORTFILES_D1) $(DISK_1_40D),.
-	$(OS9RENAME) $(DISK_1_40D),tOC_40d tOC
-	$(OS9FORMAT_DS40) -q $(DISK_2_40D) -n"King's Quest I Disk 2"
 	$(CP) $(SUPPORTFILES_D2) $(DISK_2_40D),.
-	$(OS9RENAME) $(DISK_2_40D),tOC_40d tOC
 	$(CP) $(SUPPORTFILES) $(DISK_80D),.
-	$(OS9RENAME) $(DISK_80D),tOC_80d tOC
 
 dskcopy: dsk
 	$(CP) $(DISK_1_40D) $(DISK_2_40D) $(DISK_80D) $(DSKDIR)
--- a/3rdparty/packages/sierra/kingsquest1/tOC_80d.txt	Fri Jul 21 14:41:13 2006 +0000
+++ b/3rdparty/packages/sierra/kingsquest1/tOC_80d.txt	Fri Jul 21 16:07:41 2006 +0000
@@ -1,2 +1,1 @@
-d1 s1 v0 v1
-d2 s1 v0 v1 v2
+d1 s1 v0 v1 v2