Repository Reference Building a Game - isgallagher/DpOmnicide GitHub Wiki
{{navigation title|Key Concepts}} ==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.
# 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 # 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 :{{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.}} 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 # 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. 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.}}
{{navigation footer|Naming conventions}}