This is an old revision of the document!
Table of Contents
User Interface
User Interface (UI) is somewhat complicated stuff to get it right, but once done really is enjoyable to view.
Main UI Background Screen Tutorial
by Widowmaker
Requirements:
Perl tga2res.pl procidx.pl irc2res.pl
UI's are all 800×600 256 colors TGA 8 bit uncompressed and flipped (turned up side down) be sure to name the tga files the same as here:
Main screen - mainbg.tga
Dogfight screen - dgftbg.tga
Tactical Engagement screen - tacengbg.tga
Campaign screen - campbg.tga
use the following lines to produce the idx/rsc files
./tga2res.pl mainbg.tga MAIN_SCRN
./tga2res.pl dgftbg.tga DGFT_SCREEN
./tga2res.pl tacengbg.tga TAC_SCREEN
./tga2res.pl campbg.tga CB_MAIN_TGA
Perl script has now created the following files:
mainbg.idx
mainbg.rsc
dgftbg.idx
dgftbg.rsc
tacengbg.idx
tacengbg.rsc
campbg.idx
campbg.rsc
Copy the newly produced files into art/resource folder. You're done!
Credits Tutorial
How to build your theaters own Credits file which is shown at exit from sim.
Grab a copy of default Korean credits.idx and credits.rsc files from art\resource directory. Use the perl
./procidx.pl credits.idx
And you'll get ENGLISH_CREDITS.txt file, now edit there your own credit information and then use cred2res.pl to create new credits files, like this:
./cred2res.pl credits.idx ENGLISH_CREDITS.txt
Perl script just produced you a credits.idx and credits.rsc files which you need to place to terrdata\Theater.name\files directory so TSwitch.exe can swap them when you change theaters. That's it.