diff --git a/res/text/amfv.txt b/res/text/amfv.txt index f1f0583..23e7853 100644 --- a/res/text/amfv.txt +++ b/res/text/amfv.txt @@ -29,8 +29,11 @@ future. [versions] -R79.DEPROT.Z4=r79 / 851122 (deprotected) -R77.DEPROT.Z4=r77 / 850814 (deprotected) +R79.DEPROT.Z4=r79 / cracked R79.851122.Z4=r79 / 851122 +R77.DEPROT.Z4=r77 / cracked R77.850814.Z4=r77 / 850814 +[options] + +[eof] diff --git a/res/text/ballyhoo.txt b/res/text/ballyhoo.txt index f7c76b5..ae29a12 100644 --- a/res/text/ballyhoo.txt +++ b/res/text/ballyhoo.txt @@ -26,3 +26,7 @@ [versions] R97.851218.Z3=r97 / 851218 +[options] +VERSIONS=0 + +[eof] diff --git a/res/text/beyond.zork.txt b/res/text/beyond.zork.txt index 69b9cee..4ef10b8 100644 --- a/res/text/beyond.zork.txt +++ b/res/text/beyond.zork.txt @@ -47,3 +47,6 @@ R51.870923.Z5=r51 / 870923 R49.870917.Z5=r49 / 870917 R47.870915.Z5=r47 / 870915 +[options] + +[eof] diff --git a/res/text/border.zone.txt b/res/text/border.zone.txt index df5c97d..c6d59f3 100644 --- a/res/text/border.zone.txt +++ b/res/text/border.zone.txt @@ -53,3 +53,7 @@ [versions] R9.871008.Z5=r9 / 871008 +[options] +VERSIONS=0 + +[eof] diff --git a/res/text/bureaucracy.txt b/res/text/bureaucracy.txt index 2f51655..312438a 100644 --- a/res/text/bureaucracy.txt +++ b/res/text/bureaucracy.txt @@ -38,8 +38,11 @@ that be. [versions] -R116.DEPROT.Z4=r116 / 870602 (deprotected) -R86.DEPROT.Z4=r86 / 870212 (deprotected) +R116.DEPROT.Z4=r116 / cracked R116.870602.Z4=r116 / 870602 +R86.DEPROT.Z4=r86 / cracked R86.870212.Z4=r86 / 870212 +[options] + +[eof] diff --git a/res/text/cutthroats.txt b/res/text/cutthroats.txt index f8bb397..189eb21 100644 --- a/res/text/cutthroats.txt +++ b/res/text/cutthroats.txt @@ -25,3 +25,7 @@ [versions] R23.840809.Z3=r23 / 840809 +[options] +VERSIONS=0 + +[eof] diff --git a/res/text/deadline.txt b/res/text/deadline.txt index 2d4f9f9..4d23992 100644 --- a/res/text/deadline.txt +++ b/res/text/deadline.txt @@ -28,3 +28,6 @@ R21.820512.Z3=r21 / 820512 R19.820427.Z3=r19 / 820427 R18.820311.Z3=r18 / 820311 +[options] + +[eof] diff --git a/res/text/enchanter.txt b/res/text/enchanter.txt index 5aa2fe6..a21da62 100644 --- a/res/text/enchanter.txt +++ b/res/text/enchanter.txt @@ -28,3 +28,6 @@ R16.831118.Z3=r16 / 831118 R15.831107.Z3=r15 / 831107 R10.830810.Z3=r10 / 830810 +[options] + +[eof] diff --git a/res/text/hgttg.txt b/res/text/hgttg.txt index 2d882c7..f78aa40 100644 --- a/res/text/hgttg.txt +++ b/res/text/hgttg.txt @@ -34,3 +34,6 @@ R58.851002.Z3=r58 / 851002 R56.841221.Z3=r56 / 841221 R47.840914.Z3=r47 / 840914 +[options] + +[eof] diff --git a/res/text/hollywood.txt b/res/text/hollywood.txt index 3757573..94fff67 100644 --- a/res/text/hollywood.txt +++ b/res/text/hollywood.txt @@ -45,3 +45,6 @@ R37.861215.Z3=r37 / 861215 R235.861118.Z3=r235 / 861118 +[options] + +[eof] diff --git a/res/text/infidel.txt b/res/text/infidel.txt index 4842b38..1ae21c3 100644 --- a/res/text/infidel.txt +++ b/res/text/infidel.txt @@ -22,3 +22,7 @@ [versions] R22.830916.Z3=r22 / 830916 +[options] +VERSIONS=0 + +[eof] diff --git a/res/text/lgop.txt b/res/text/lgop.txt index 1ae0d32..79b8808 100644 --- a/res/text/lgop.txt +++ b/res/text/lgop.txt @@ -27,3 +27,6 @@ R59.860730.Z3=r59 / 860730 R50.860711.Z3=r50 / 860711 +[options] + +[eof] diff --git a/res/text/lurking.horror.txt b/res/text/lurking.horror.txt index 3323b58..f41b357 100644 --- a/res/text/lurking.horror.txt +++ b/res/text/lurking.horror.txt @@ -42,3 +42,6 @@ R221.870918.Z3=r221 / 870918 R219.870912.Z3=r219 / 870912 R203.870506.Z3=r203 / 870506 +[options] + +[eof] diff --git a/res/text/mini.zork.txt b/res/text/mini.zork.txt index cb06fc0..0d4a993 100644 --- a/res/text/mini.zork.txt +++ b/res/text/mini.zork.txt @@ -21,3 +21,9 @@ [versions] R34.871124.Z3=r34 / 871124 +[options] +ARTWORK=0 +CLUES=0 +VERSIONS=0 + +[eof] diff --git a/res/text/moonmist.txt b/res/text/moonmist.txt index 8badd40..c3580ad 100644 --- a/res/text/moonmist.txt +++ b/res/text/moonmist.txt @@ -30,3 +30,6 @@ R9.861022.Z3=r9 / 861022 R4.860918.Z3=r4 / 860918 +[options] + +[eof] diff --git a/res/text/nord.and.bert.txt b/res/text/nord.and.bert.txt index 97bf85c..67c6e72 100644 --- a/res/text/nord.and.bert.txt +++ b/res/text/nord.and.bert.txt @@ -46,3 +46,7 @@ [versions] R19.870722.Z4=r19 / 870722 +[options] +VERSIONS=0 + +[eof] diff --git a/res/text/planetfall.txt b/res/text/planetfall.txt index aa634e2..eae1569 100644 --- a/res/text/planetfall.txt +++ b/res/text/planetfall.txt @@ -28,3 +28,6 @@ R29.840118.Z3=r29 / 840118 R26.831014.Z3=r26 / 831014 R20.830708.Z3=r20 / 830708 +[options] + +[eof] diff --git a/res/text/plundered.txt b/res/text/plundered.txt index 2deda81..4c2506a 100644 --- a/res/text/plundered.txt +++ b/res/text/plundered.txt @@ -37,3 +37,7 @@ [versions] R26.870730.Z3=r26 / 870730 +[options] +VERSIONS=0 + +[eof] diff --git a/res/text/seastalker.txt b/res/text/seastalker.txt index 6750c4b..c87406e 100644 --- a/res/text/seastalker.txt +++ b/res/text/seastalker.txt @@ -29,3 +29,6 @@ R15B.840522.Z3=r15 / 840522 R15A.840501.Z3=r15 / 840501 R86.840320.Z3=r86 / 840320 +[options] + +[eof] diff --git a/res/text/sherlock.txt b/res/text/sherlock.txt index efd55d0..7d10725 100644 --- a/res/text/sherlock.txt +++ b/res/text/sherlock.txt @@ -52,3 +52,6 @@ R26.880127.Z5=r26 / 880127 R21.871214.Z5=r21 / 871214 +[options] + +[eof] diff --git a/res/text/sorcerer.txt b/res/text/sorcerer.txt index 581cbf8..40b778e 100644 --- a/res/text/sorcerer.txt +++ b/res/text/sorcerer.txt @@ -19,14 +19,17 @@ time, you must gain the power and cunning of a true Sorcerer. [versions] -R18.DEPROT.Z3=r18 / 860904 (deprotected) -R15.DEPROT.Z3=r15 / 851108 (deprotected) -R13.DEPROT.Z3=r13 / 851021 (deprotected) -R6.DEPROT.Z3=r6 / 840508 (deprotected) -R4.DEPROT.Z3=r4 / 840131 (deprotected) +R18.DEPROT.Z3=r18 / cracked R18.860904.Z3=r18 / 860904 +R15.DEPROT.Z3=r15 / cracked R15.851108.Z3=r15 / 851108 +R13.DEPROT.Z3=r13 / cracked R13.851021.Z3=r13 / 851021 +R6.DEPROT.Z3=r6 / cracked R6.840508.Z3=r6 / 840508 +R4.DEPROT.Z3=r4 / cracked R4.840131.Z3=r4 / 840131 +[options] + +[eof] diff --git a/res/text/spellbreaker.txt b/res/text/spellbreaker.txt index b1456fb..13b28a8 100644 --- a/res/text/spellbreaker.txt +++ b/res/text/spellbreaker.txt @@ -23,8 +23,11 @@ land. [versions] -R87.DEPROT.Z3=r87 / 860904 (deprotected) -R63.DEPROT.Z3=r63 / 850916 (deprotected) +R87.DEPROT.Z3=r87 / cracked R87.860904.Z3=r87 / 860904 +R63.DEPROT.Z3=r63 / cracked R63.850916.Z3=r63 / 850916 +[options] + +[eof] diff --git a/res/text/starcross.txt b/res/text/starcross.txt index 60ec4a2..12cf715 100644 --- a/res/text/starcross.txt +++ b/res/text/starcross.txt @@ -20,3 +20,6 @@ R17.821021.Z3=r17 / 821021 R15.820901.Z3=r15 / 820901 +[options] + +[eof] diff --git a/res/text/stationfall.txt b/res/text/stationfall.txt index e7f4d06..c532695 100644 --- a/res/text/stationfall.txt +++ b/res/text/stationfall.txt @@ -39,6 +39,9 @@ will keep you laughing, and Floyd will win your heart. [versions] -R107.DEPROT.Z3=r107 / 870430 deprotected +R107.DEPROT.Z3=r107 / cracked R107.870430.Z3=r107 / 870430 +[options] + +[eof] diff --git a/res/text/suspect.txt b/res/text/suspect.txt index 3330efd..f0f09c1 100644 --- a/res/text/suspect.txt +++ b/res/text/suspect.txt @@ -26,3 +26,7 @@ [versions] R14.841005.Z3=r14 / 841005 +[options] +VERSIONS=0 + +[eof] diff --git a/res/text/suspended.txt b/res/text/suspended.txt index 9f93196..1849397 100644 --- a/res/text/suspended.txt +++ b/res/text/suspended.txt @@ -30,3 +30,6 @@ R8A.830521.Z3=r8 / 830521 R7.830419.Z3=r7 / 830419 R5.830222.Z3=r5 / 830222 +[options] + +[eof] diff --git a/res/text/trinity.txt b/res/text/trinity.txt index 018d3da..6094f5d 100644 --- a/res/text/trinity.txt +++ b/res/text/trinity.txt @@ -26,3 +26,6 @@ R12.860926.Z4=r12 / 860926 R11.860509.Z4=r11 / 860509 +[options] + +[eof] diff --git a/res/text/wishbringer.txt b/res/text/wishbringer.txt index e235dfc..8f7213a 100644 --- a/res/text/wishbringer.txt +++ b/res/text/wishbringer.txt @@ -22,3 +22,6 @@ R69.850920.Z3=r69 / 850920 R68.850501.Z3=r68 / 850501 +[options] + +[eof] diff --git a/res/text/witness.txt b/res/text/witness.txt index 7ba42ec..7a480e6 100644 --- a/res/text/witness.txt +++ b/res/text/witness.txt @@ -30,3 +30,6 @@ R20.831119.Z3=r20 / 831119 R18.830910.Z3=r18 / 830910 R13.830524.Z3=r13 / 830524 +[options] + +[eof] diff --git a/res/text/zork.i.txt b/res/text/zork.i.txt index 0f6c012..8c45799 100644 --- a/res/text/zork.i.txt +++ b/res/text/zork.i.txt @@ -35,3 +35,6 @@ R25.820515.Z3=r25 / 820515 R23.820428.Z3=r23 / 820428 R20.000000.Z3=r20 / 000000 +[options] + +[eof] diff --git a/res/text/zork.ii.txt b/res/text/zork.ii.txt index 435b7a8..b47796f 100644 --- a/res/text/zork.ii.txt +++ b/res/text/zork.ii.txt @@ -33,3 +33,6 @@ R18A.820512.Z3=r18 / 820512 R17.820427.Z3=r17 / 820427 R15.820308.Z3=r15 / 820308 +[options] + +[eof] diff --git a/res/text/zork.iii.txt b/res/text/zork.iii.txt index 01579ac..9a5f286 100644 --- a/res/text/zork.iii.txt +++ b/res/text/zork.iii.txt @@ -30,3 +30,6 @@ R15A.830331.Z3=r15 / 830331 R12.821025.Z3=r12 / 821025 R10.820818.Z3=r10 / 820818 +[options] + +[eof] diff --git a/res/text/ztuu.txt b/res/text/ztuu.txt index 2146a74..51ab3ea 100644 --- a/res/text/ztuu.txt +++ b/res/text/ztuu.txt @@ -44,3 +44,9 @@ [versions] R16.970828.Z5=r16 / 970828 +[options] +ARTWORK=0 +CLUES=0 +VERSIONS=0 + +[eof] diff --git a/src/config.a b/src/config.a index 8cba455..9a3a8fc 100644 --- a/src/config.a +++ b/src/config.a @@ -158,6 +158,10 @@ GAMES ; length of this array must = kNumberOfGame !raw "ZTUU" sectionPointers ; array of pointers to start of each section +addrEOF + !word 0 +addrOptions + !word 0 addrVersions !word 0 addrDescription @@ -170,7 +174,7 @@ addrInfo ; load file with information about the current game ; ; in: gCurrentGame between 0 and (kNumberOfGames-1) -; out: addrInfo, addrDescription, addrVersions populated +; out: addrInfo, addrDescription, addrVersions, addrOptions populated ; all registers and flags clobbered ;------------------------------------------------------------------------------ LoadGameInfo @@ -196,7 +200,7 @@ LoadGameInfo lda #$07 sta $01 ; ($00) points to start of data buffer ldy #$00 ; index into ($00) pointing to current character - ldx #$04 ; index into sectionPointers array, stores pointer to start of each section + ldx #$08 ; index into sectionPointers array, stores pointer to start of each section .convertSectionLoop jsr IncAndGetChar