Building a Game

From Blood Wiki
Revision as of 22:05, 9 August 2012 by VorteX (Talk | contribs)

Jump to: navigation, search
Repository Reference | previous chapter: Key Concepts

Contents

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.

Blood Omen PC Version

  1. copy pill.big and all .jam/.vag files into kain_make/installscript/kain
  2. run kain_make/installscript/run_installationscript.cmd

Blood Omen PlayStation

  1. get a image of Blood Omen CD in IMG format and copy it to kain_make/installscript/kain_psx/kain.img
  2. run kain_make/installscript/run_installationscript_psx.cmd

Blood Omen Demo

  1. copy pill.big from Kain Sneak Peek Preview to kain_make/installscript/kain_demo
  2. run kain_make/installscript/run_installationscript_demo.cmd

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.

Textures DDS cache

Release version of the game contain all textures compressed in DDS format. This is done for both saving HDD space and for lower 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 of got updates, be sure to remove kain/PILL500.PK3 (a file containing generated DDS cache) or rebuild DDS cache.
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