|
|
Line 1: |
Line 1: |
| {{Riven}} | | {{Riven}} |
− | This document talks about Riven resources controlling the game path and world; actually, it tries to document every resource other than [[Riven SFXE resources|SFXE]], [[Riven tBMP resources|tBMP]], [[Riven tWAV resources|tWAV]] and [[Riven tMOV resources|tMOV]]. | + | This page lists resource types used by the Riven engine. |
| | | |
− | ==Notes on stack switching==
| + | Resources used in Riven data files: |
− | The current stack can be changed from scripts using a special script command (27). For example, when the player activates a MagLev first the car movie is played, and then command 27 is called to change the current stack to the new island. This command is also used in the "Play Riven" button. However, most linking books actually change stack simply by moving to another card which has no buttons and no scripts. Apparently, there is some hardcoded mechanism inside the engine which triggers the stack change when one of these "special" cards is entered. These cards are listed here.
| + | * [[Riven BLST resources|BLST]] |
− | {| border=1 cellpadding=4 cellspacing=0 style="border:1px #000 solid;border-collapse:collapse;"
| + | * [[Riven CARD resources|CARD]] |
− | |- style="background:#CCC" | + | * [[Riven FLST resources|FLST]] |
− | ! Stack !! Card ID !! Target stack !! Target card
| + | * [[Riven HSPT resources|HSPT]] |
− | |- | + | * [[Riven MLST resources|MLST]] |
− | |bspit||447||ospit||1 | + | * [[Riven NAME resources|NAME]] |
− | |- | + | * [[Riven PLST resources|PLST]] |
− | |gspit||178||ospit||1 | + | * [[Riven RMAP resources|RMAP]] |
− | |- | + | * [[Riven SFXE resources|SFXE]] |
− | |jspit||228||rspit||3 | + | * [[Riven SLST resources|SLST]] |
− | |- | + | * [[Riven tBMP resources|tBMP]] |
− | |jspit||344||ospit||1 | + | * [[Riven tMOV resources|tMOV]] |
− | |- | + | * [[Riven tWAV resources|tWAV]] |
− | |ospit||58||pspit||43 | + | |
− | |- | + | |
− | |ospit||62||jspit||341
| + | |
− | |-
| + | |
− | |ospit||67||gspit||175
| + | |
− | |-
| + | |
− | |ospit||72||bspit||444
| + | |
− | |-
| + | |
− | |ospit||76||tspit||387
| + | |
− | |-
| + | |
− | |pspit||46||ospit||1
| + | |
− | |-
| + | |
− | |rspit||13||jspit||215
| + | |
− | |-
| + | |
− | |tspit||392||ospit||1
| + | |
− | |} | + | |
| | | |
− | ==BLST, FLST, MLST, PLST, SLST==
| + | Resources used in Riven saved games: |
− | These resources are lists and begin with an unsigned short telling the number of records. Then the records follow, and their structure depends on the resource type. There is one of these resources for each card; their ID matches the corresponding CARD resource ID.
| + | * [[Riven VARS resources|VARS]] |
− | | + | * [[Riven VERS resources|VERS]] |
− | ===[[Riven BLST resources|BLST]]===
| + | * [[Riven ZIPS resources|ZIPS]] |
− | {{:Riven BLST resources}}
| + | |
− | ===[[Riven FLST resources|FLST]]===
| + | |
− | {{:Riven FLST resources}}
| + | |
− | ===[[Riven MLST resources|MLST]]===
| + | |
− | {{:Riven MLST resources}}
| + | |
− | ===[[Riven PLST resources|PLST]]===
| + | |
− | {{:Riven PLST resources}}
| + | |
− | ===[[Riven SLST resources|SLST]]===
| + | |
− | {{:Riven SLST resources}}
| + | |
− | ==[[Riven HSPT resources|HSPT]]==
| + | |
− | {{:Riven HSPT resources}}
| + | |
− | ==[[Riven CARD resources|CARD]]==
| + | |
− | {{:Riven CARD resources}}
| + | |
− | ==[[Riven NAME resources|NAME]]==
| + | |
− | {{:Riven NAME resources}}
| + | |
− | ==[[Riven RMAP resources|RMAP]]==
| + | |
− | {{:Riven RMAP resources}}
| + | |
− | ==[[Riven VARS resources|VARS]]==
| + | |
− | {{:Riven VARS resources}}
| + | |
− | ==[[Riven VERS resources|VERS]]==
| + | |
− | {{:Riven VERS resources}}
| + | |
− | ==[[Riven ZIPS resources|ZIPS]]==
| + | |
− | {{:Riven ZIPS resources}}
| + | |
This page lists resource types used by the Riven engine.