Repository Reference/Building a Game

From Blood Wiki
(Difference between revisions)
Jump to: navigation, search
m (fixes)
m
 
(15 intermediate revisions by one user not shown)
Line 1: Line 1:
 
{{navigation title|Key Concepts}}
 
{{navigation title|Key Concepts}}
 
==Test installation==
 
==Test installation==
Test installation will turn downloaded repository into the working game. Test installation does exactly same things as real installation of Blood Omnicide. For each version of the game (PC, PlayStation, Demo) installation procedure is slightly different.
+
Test installation will turn downloaded repository into the working game (a developer version). Test installation does exactly same things as real installation of Blood Omnicide. For each version of the game (PC, PlayStation, Demo) installation procedure is slightly different.
  
'''Blood Omen PC Version'''
+
<h4>1.Blood Omen PC Version</h4>
# copy '''pill.big''' and all '''.jam'''/'''.vag''' files into '''kain_make/installscript/kain'''
+
# copy '''pill.big''' and all '''.jam'''/'''.vag''' files into '''kain_make/installscript/kain/'''. If directory is not there, create it.
 
# run kain_make/installscript/run_installationscript.cmd
 
# run kain_make/installscript/run_installationscript.cmd
'''Blood Omen PlayStation'''
+
<h4>2. Blood Omen PlayStation</h4>
# Get a image of Blood Omen CD in IMG format and copy it to kain_make/installscript/kain_psx/kain.img
+
# get a image of Blood Omen CD in BIN/MDF/ISO/IMG format and copy it to '''kain_make/installscript/kain_psx/kain.bin''' (or kain.mdf, kain.iso, kain.img). If directory is not there, create it.
 
# run kain_make/installscript/run_installationscript_psx.cmd
 
# run kain_make/installscript/run_installationscript_psx.cmd
'''Blood Omen Demo'''
+
:{{important|For proper handling of CD image files, all attribute files created with image file (.ccd, .cue, .sub, .mds) should be available as well.}}
# copy '''pill.big''' from Kain Sneak Peek Preview to '''kain_make/installscript/kain_demo'''
+
:{{important|Only valid disk images are supported. There is some user-made translations which may work with PSX emulator, but is not working with install script.}}
 +
<h4>3. Blood Omen PlayStation (custom)</h4>
 +
This installation script is only provided as last resort when using bogus CD image (which failed to install with generic script). It have no support for FMV's.
 +
# mount image file with Alcohol 52%, Daemon Tools or any other tool
 +
# copy kain/pill.big into kain_make/installscript/kain_psx/pill.big
 +
# run kain_make/installscript/run_installationscript_psx_custom.cmd
 +
<h4>4. Blood Omen Demo</h4>
 
# run kain_make/installscript/run_installationscript_demo.cmd
 
# run kain_make/installscript/run_installationscript_demo.cmd
  
 
==Updating==
 
==Updating==
This is second SVN command to deal when working with Blood Omnicide subversion. Launch '''svn update''' command regularly to get all latest changes on repository made by other users.
+
Launch '''svn update''' command regularly to get all latest changes on repository made by other users.
  
{{important|Some updates bring the changes into the file structure (adding new monsters, renaming files). In this case '''test installations''' needs to be run once again. Check log for a message after updating you need to run test installation script.}}
+
Some updates bring the changes into the file structure (adding new monsters, renaming files). In this case '''test installations''' needs to be run once again. Check log for a message after updating you need to run test installation script.
  
 
==Textures DDS cache==
 
==Textures DDS cache==
Release version of the game contain all textures compressed in DDS format. This is done for both saving HDD smace and for lower VRAM requirements (Blood Omnicide with 32-bit textures requires videocard with 1GB VRAM, while compressed only requires 256MB VRAM).
+
Release version of the game contain all textures compressed in DDS format. DDS cache helps saving HDD space and lowering VRAM requirements.
 +
 
 +
Blood Omnicide with 32-bit textures requires videocard with 1GB VRAM, while with compressed textures only 256MB VRAM.
  
 
To build DDS cache for all textures run '''kain_make/makedds/makedds_textures.bat'''.
 
To build DDS cache for all textures run '''kain_make/makedds/makedds_textures.bat'''.
  
{{important|Once using DDS cache, engine will skip ALL [[TGA]] textures, so if you are testing changes with them of got updates, be sure to remove '''kain/PILL500.PK3''' (a file containing generated DDS cache) or rebuild DDS cache.}}
+
{{important|Once using DDS cache, engine will skip ALL [[TGA]] textures, so if you are testing changes with them or got svn updates, be sure to remove '''kain/PILL500.PK3''' (a file containing generated DDS cache) or rebuild it.}}
 
{{tip|Setting cvar '''r_texture_dds_load''' to 0 will disable DDS cache, but for all things including sprites.}}
 
{{tip|Setting cvar '''r_texture_dds_load''' to 0 will disable DDS cache, but for all things including sprites.}}
  
 
{{navigation footer|Naming conventions}}
 
{{navigation footer|Naming conventions}}

Latest revision as of 15:56, 23 December 2012

Repository Reference | previous chapter: Key Concepts

Contents

[edit] Test installation

Test installation will turn downloaded repository into the working game (a developer version). Test installation does exactly same things as real installation of Blood Omnicide. For each version of the game (PC, PlayStation, Demo) installation procedure is slightly different.

1.Blood Omen PC Version

  1. copy pill.big and all .jam/.vag files into kain_make/installscript/kain/. If directory is not there, create it.
  2. run kain_make/installscript/run_installationscript.cmd

2. Blood Omen PlayStation

  1. get a image of Blood Omen CD in BIN/MDF/ISO/IMG format and copy it to kain_make/installscript/kain_psx/kain.bin (or kain.mdf, kain.iso, kain.img). If directory is not there, create it.
  2. run kain_make/installscript/run_installationscript_psx.cmd
Important: For proper handling of CD image files, all attribute files created with image file (.ccd, .cue, .sub, .mds) should be available as well.
Important: Only valid disk images are supported. There is some user-made translations which may work with PSX emulator, but is not working with install script.

3. Blood Omen PlayStation (custom)

This installation script is only provided as last resort when using bogus CD image (which failed to install with generic script). It have no support for FMV's.

  1. mount image file with Alcohol 52%, Daemon Tools or any other tool
  2. copy kain/pill.big into kain_make/installscript/kain_psx/pill.big
  3. run kain_make/installscript/run_installationscript_psx_custom.cmd

4. Blood Omen Demo

  1. run kain_make/installscript/run_installationscript_demo.cmd

[edit] Updating

Launch svn update command regularly to get all latest changes on repository made by other users.

Some updates bring the changes into the file structure (adding new monsters, renaming files). In this case test installations needs to be run once again. Check log for a message after updating you need to run test installation script.

[edit] Textures DDS cache

Release version of the game contain all textures compressed in DDS format. DDS cache helps saving HDD space and lowering VRAM requirements.

Blood Omnicide with 32-bit textures requires videocard with 1GB VRAM, while with compressed textures only 256MB VRAM.

To build DDS cache for all textures run kain_make/makedds/makedds_textures.bat.

Important: Once using DDS cache, engine will skip ALL TGA textures, so if you are testing changes with them or got svn updates, be sure to remove kain/PILL500.PK3 (a file containing generated DDS cache) or rebuild it.
Tip: Setting cvar r_texture_dds_load to 0 will disable DDS cache, but for all things including sprites.



Next chapter: Naming conventions
Back to index | Top of the page

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox