Difference between revisions of "SAGA/Datafiles"

Jump to navigation Jump to search
4,081 bytes added ,  01:46, 19 July 2007
m
don't use redirect links
m (Formatting)
m (don't use redirect links)
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Inherit the Earth data files ==
== Inherit the Earth Data Files ==


Inherit the Earth (ITE) was shipped in two versions, a disk version and an enhanced CD version.
Inherit the Earth (ITE) was shipped in two versions, a disk version and an enhanced CD version. All information applies for both versions unless otherwise specified.
All information applies for both versions unless otherwise specified.


ITE stores its resources in four datafiles:
The RSC file format is [[SAGA/RSC|here]].


* [[Inherit_The_Earth/Datafiles#ITE.RSC|ITE.RSC]] - Scene data, graphics, animation, music
ITE stores its resources in four data files:
* [[Inherit_The_Earth/Datafiles#SCRIPTS.RSC|SCRIPTS.RSC]] - Script resources & dialogue
 
* [[Inherit_The_Earth/Datafiles#VOICES.RSC|VOICES.RSC]] - Voice resources (And in the DISK version, Sound effects)
* [[SAGA/Datafiles#ITE.RSC|ITE.RSC]] - Scene data, graphics, animation, music
* [[Inherit_The_Earth/Datafiles#SOUNDS.RSC|SOUNDS.RSC]] - CD version: All sound effects. Not present in DISK version
* [[SAGA/Datafiles#SCRIPTS.RSC|SCRIPTS.RSC]] - Script resources & dialogue
* [[SAGA/Datafiles#VOICES.RSC|VOICES.RSC]] - Voice resources (And in the DISK version, Sound effects)
* [[SAGA/Datafiles#SOUNDS.RSC|SOUNDS.RSC]] - CD version: All sound effects. Not present in DISK version




Line 20: Line 21:


All scene descriptor resources are listed by the Scene Lookup Table.  
All scene descriptor resources are listed by the Scene Lookup Table.  
Each scene desciptor resource references a scene resource list resource.  
Each scene descriptor resource references a scene resource list resource.  
Each scene resource list identifies a number of additional resources.
Each scene resource list identifies a number of additional resources.


ITE.RSC contains the following resource formats:
ITE.RSC contains the following resource formats:


* Bitmap Font Resources  
* [[SAGA/Datafiles/Bitmap Font|Bitmap Font]] Resources  
* XMIDI (Music) Resources  
* [[SAGA/Datafiles/XMIDI (Music)|XMIDI (Music)]] Resources  
* Background / Interface image Resources  
* [[SAGA/Datafiles/Background & Interface Image|Background/Interface Image]] Resources  
* Background Mask Resources  
* [[SAGA/Datafiles/Background Mask|Background Mask]] Resources  
* Sprite List Resources  
* [[SAGA/Datafiles/Sprite List|Sprite List]] Resources  
* Animation Resources  
* [[SAGA/Datafiles/Animation|Animation]] Resources  
* Palette Animation Resources  
* [[SAGA/Datafiles/Palette Animation|Palette Animation]] Resources  
* String List Resources  
* [[SAGA/Datafiles/String List|String List]] Resources  
* Scene Resource List Resources  
* [[SAGA/Datafiles/Scene Resource List|Scene Resource List]] Resources  
* Scene Descriptor Resources  
* [[SAGA/Datafiles/Scene Descriptor|Scene Descriptor]] Resources  
* Object Name List Resources  
* [[SAGA/Datafiles/Object Name List|Object Name List]] Resources  
* Object Map Resources  
* [[SAGA/Datafiles/Object Map|Object Map]] Resources  
* Exit Map Resources  
* [[SAGA/Datafiles/Exit Map|Exit Map]] Resources  
* Entrance Map Resources  
* [[SAGA/Datafiles/Entrance Map|Entrance Map]] Resources  
* Isometric Tileset Resources  
* [[SAGA/Datafiles/Isometric Tileset|Isometric Tileset]] Resources  
* Scene Lookup Table Resource  
* [[SAGA/Datafiles/Scene Lookup Table|Scene Lookup Table]] Resource  
* Script Lookup Table Resource  
* [[SAGA/Datafiles/Script Lookup Table|Script Lookup Table]] Resource  
 


Some resources are compressed, with various RLE methods:
Some resources are compressed, with various RLE methods:


* SAGA_RLE1 (Image resources)  
 
* SAGA_RLE2 (Sprite resources)  
* [[SAGA/Datafiles/SAGA_RLE1|SAGA_RLE1]] (Image resources)  
* SAGA_RLE3 (Animation resources)  
* [[SAGA/Datafiles/SAGA_RLE2|SAGA_RLE2]] (Sprite resources)  
* [[SAGA/Datafiles/SAGA_RLE3|SAGA_RLE3]] (Animation resources)  
 


[[Inherit The Earth/Master Resource Access List|Inherit the Earth Master Resource Access List]]
[[Inherit The Earth/Master Resource Access List|Inherit the Earth Master Resource Access List]]
Line 55: Line 59:
SCRIPTS.RSC contains the following resource formats:
SCRIPTS.RSC contains the following resource formats:


* Script Resources  
* [[SAGA/Datafiles/Script|Script]] Resources  
* Dialogue List Resources  
* [[SAGA/Datafiles/Dialogue List|Dialogue List]] Resources  
* Voice Lookup Resources ( CD version only )  
* [[SAGA/Datafiles/Voice Lookup|Voice Lookup]] Resources ( CD version only )  
* Script resources contain compiled bytecode instructions.
* Script resources contain compiled bytecode instructions.
** [[SAGA/Bytecode Instruction Table|SAGA Bytecode Instruction Table]]


SAGA bytecode instruction documentation


The contents of SCRIPTS.RSC is as follows:
The contents of SCRIPTS.RSC is as follows:


Disk & CD version:
 
(TODO)
{| border="0" cellspacing="1" cellpadding="2" style="margin-left:1em; background:#CADCFB;"
|'''R#'''||'''Type'''||'''Description'''
|- border="0" cellpadding="2" cellspacing="1" align="center" style="margin-left:1em; background:#ffffff;"
!colspan="3" | Disk & CD version
|- style="background:#ffffff"
|0||Script Misc.||Actors & Items
|- style="background:#ffffff"
|1||Dialogue List||^
|- style="background:#ffffff"
|2||Script||Moneychanger's Tent
|- style="background:#ffffff"
|3||Dialogue List||^
|- style="background:#ffffff"
|4||Script||Orb Santuary
|- style="background:#ffffff"
|5||Dialogue List||^
|- style="background:#ffffff"
|6||Script||Sist's Room
|- style="background:#ffffff"
|7||Dialogue List||^
|- style="background:#ffffff"
|8||Script||Rat Tribe
|- style="background:#ffffff"
|9||Dialogue List||^
|- style="background:#ffffff"
|10||Script||Ferret Village
|- style="background:#ffffff"
|11||Dialogue List||^
|- style="background:#ffffff"
|12||Script||Tycho Northpaw & Dog Castle
|- style="background:#ffffff"
|13||Dialogue List||^
|- style="background:#ffffff"
|14||Script||End Game & Human Ruins
|- style="background:#ffffff"
|15||Dialogue List||^
|- style="background:#ffffff"
|16||Script||Intro Faire Puzzle Sequence
|- style="background:#ffffff"
|17||Dialogue List||^
|- style="background:#ffffff"
|18||Script||Boar King
|- style="background:#ffffff"
|19||Dialogue List||^
|- style="background:#ffffff"
|20||Script||Elk Court
|- style="background:#ffffff"
|21||Dialogue List||^
|- style="background:#ffffff"
|22||Script||Alamma & Wildcat Tribe
|- style="background:#ffffff"
|23||Dialogue List||^
|- style="background:#ffffff"
|24||Script||Wolf Capture & Chota
|- style="background:#ffffff"
|25||Dialogue List||^
|- style="background:#ffffff"
|26||Script||Sea Wolf
|- style="background:#ffffff"
|27||Dialogue List||^
|- style="background:#ffffff"
|28||Script||Crystal Cave & Kylas Honeyfoot
|- style="background:#ffffff"
|29||Dialogue List||^
|- border="0" cellpadding="2" cellspacing="1" align="center" style="margin-left:1em; background:#ffffff;"
!colspan="3" | CD version only
|- style="background:#ffffff"
|30||Voice Lookup||Misc. Actors & Items
|- style="background:#ffffff"
|31||Voice Lookup||Moneychanger's Tent
|- style="background:#ffffff"
|32||Voice Lookup||Orb Santuary
|- style="background:#ffffff"
|33||Voice Lookup||Sist's Room
|- style="background:#ffffff"
|34||Voice Lookup||Rat Tribe
|- style="background:#ffffff"
|35||Voice Lookup||Ferret Village
|- style="background:#ffffff"
|36||Voice Lookup||Tycho Northpaw & Dog Castle
|- style="background:#ffffff"
|37||Voice Lookup||End Game & Human Ruins
|- style="background:#ffffff"
|38||Voice Lookup||Intro Faire Puzzle Sequence
|- style="background:#ffffff"
|39||Voice Lookup||Boar King
|- style="background:#ffffff"
|40||Voice Lookup||Elk Court
|- style="background:#ffffff"
|41||Voice Lookup||Alamma & Wildcat Tribe
|- style="background:#ffffff"
|42||Voice Lookup||Wolf Capture & Chota
|- style="background:#ffffff"
|43||Voice Lookup||Sea Wolf
|- style="background:#ffffff"
|44||Voice Lookup||Crystal Cave & Kylas Honeyfoot
|}
 
 
Voice Lookup resources associate the dialogue strings present in Dialogue List resources with the actual voice waveforms present in the CD version of VOICES.RSC.




===VOICES.RSC===
===VOICES.RSC===
'''CD version'''  
'''CD version'''<br>
All resources in this file are raw, headerless 16-bit 22.05 KHz PCM waveforms.Only voice dialogue is stored.
All resources in this file are raw, headerless 16-bit 22.05 KHz PCM waveforms.Only voice dialogue is stored.


'''DISK version'''
'''DISK version'''<br>
All resources in this file are Creative Labs .VOC files. Both voices and sound effects are stored.
All resources in this file are Creative Labs .VOC files. Both voices and sound effects are stored.


2,051

edits

Navigation menu