add options to game files

This commit is contained in:
4am 2018-03-03 18:07:13 -05:00
parent 7078a67165
commit 293d42958f
34 changed files with 130 additions and 14 deletions

View File

@ -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]

View File

@ -26,3 +26,7 @@
[versions]
R97.851218.Z3=r97 / 851218
[options]
VERSIONS=0
[eof]

View File

@ -47,3 +47,6 @@ R51.870923.Z5=r51 / 870923
R49.870917.Z5=r49 / 870917
R47.870915.Z5=r47 / 870915
[options]
[eof]

View File

@ -53,3 +53,7 @@
[versions]
R9.871008.Z5=r9 / 871008
[options]
VERSIONS=0
[eof]

View File

@ -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]

View File

@ -25,3 +25,7 @@
[versions]
R23.840809.Z3=r23 / 840809
[options]
VERSIONS=0
[eof]

View File

@ -28,3 +28,6 @@ R21.820512.Z3=r21 / 820512
R19.820427.Z3=r19 / 820427
R18.820311.Z3=r18 / 820311
[options]
[eof]

View File

@ -28,3 +28,6 @@ R16.831118.Z3=r16 / 831118
R15.831107.Z3=r15 / 831107
R10.830810.Z3=r10 / 830810
[options]
[eof]

View File

@ -34,3 +34,6 @@ R58.851002.Z3=r58 / 851002
R56.841221.Z3=r56 / 841221
R47.840914.Z3=r47 / 840914
[options]
[eof]

View File

@ -45,3 +45,6 @@
R37.861215.Z3=r37 / 861215
R235.861118.Z3=r235 / 861118
[options]
[eof]

View File

@ -22,3 +22,7 @@
[versions]
R22.830916.Z3=r22 / 830916
[options]
VERSIONS=0
[eof]

View File

@ -27,3 +27,6 @@
R59.860730.Z3=r59 / 860730
R50.860711.Z3=r50 / 860711
[options]
[eof]

View File

@ -42,3 +42,6 @@ R221.870918.Z3=r221 / 870918
R219.870912.Z3=r219 / 870912
R203.870506.Z3=r203 / 870506
[options]
[eof]

View File

@ -21,3 +21,9 @@
[versions]
R34.871124.Z3=r34 / 871124
[options]
ARTWORK=0
CLUES=0
VERSIONS=0
[eof]

View File

@ -30,3 +30,6 @@
R9.861022.Z3=r9 / 861022
R4.860918.Z3=r4 / 860918
[options]
[eof]

View File

@ -46,3 +46,7 @@
[versions]
R19.870722.Z4=r19 / 870722
[options]
VERSIONS=0
[eof]

View File

@ -28,3 +28,6 @@ R29.840118.Z3=r29 / 840118
R26.831014.Z3=r26 / 831014
R20.830708.Z3=r20 / 830708
[options]
[eof]

View File

@ -37,3 +37,7 @@
[versions]
R26.870730.Z3=r26 / 870730
[options]
VERSIONS=0
[eof]

View File

@ -29,3 +29,6 @@ R15B.840522.Z3=r15 / 840522
R15A.840501.Z3=r15 / 840501
R86.840320.Z3=r86 / 840320
[options]
[eof]

View File

@ -52,3 +52,6 @@
R26.880127.Z5=r26 / 880127
R21.871214.Z5=r21 / 871214
[options]
[eof]

View File

@ -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]

View File

@ -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]

View File

@ -20,3 +20,6 @@
R17.821021.Z3=r17 / 821021
R15.820901.Z3=r15 / 820901
[options]
[eof]

View File

@ -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]

View File

@ -26,3 +26,7 @@
[versions]
R14.841005.Z3=r14 / 841005
[options]
VERSIONS=0
[eof]

View File

@ -30,3 +30,6 @@ R8A.830521.Z3=r8 / 830521
R7.830419.Z3=r7 / 830419
R5.830222.Z3=r5 / 830222
[options]
[eof]

View File

@ -26,3 +26,6 @@
R12.860926.Z4=r12 / 860926
R11.860509.Z4=r11 / 860509
[options]
[eof]

View File

@ -22,3 +22,6 @@
R69.850920.Z3=r69 / 850920
R68.850501.Z3=r68 / 850501
[options]
[eof]

View File

@ -30,3 +30,6 @@ R20.831119.Z3=r20 / 831119
R18.830910.Z3=r18 / 830910
R13.830524.Z3=r13 / 830524
[options]
[eof]

View File

@ -35,3 +35,6 @@ R25.820515.Z3=r25 / 820515
R23.820428.Z3=r23 / 820428
R20.000000.Z3=r20 / 000000
[options]
[eof]

View File

@ -33,3 +33,6 @@ R18A.820512.Z3=r18 / 820512
R17.820427.Z3=r17 / 820427
R15.820308.Z3=r15 / 820308
[options]
[eof]

View File

@ -30,3 +30,6 @@ R15A.830331.Z3=r15 / 830331
R12.821025.Z3=r12 / 821025
R10.820818.Z3=r10 / 820818
[options]
[eof]

View File

@ -44,3 +44,9 @@
[versions]
R16.970828.Z5=r16 / 970828
[options]
ARTWORK=0
CLUES=0
VERSIONS=0
[eof]

View File

@ -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