This is a port of Apogee's Rise of the Triad (ROTT) to the Nintendo DS.

It's based off the SDL branch of ROTT, originally done by icculus.org

Many thanks to GPF (http://gpf.dcemu.co.uk) for his SDL port to the DS.
I've made several changes to SDL, including changing the video code and adding a mouse driver.
You can find the source for my copy of SDL at my web site.

The source code is released under the GNU General Public License.  See "COPYING" for details.

Version 0.7

New this version:
1.  Sleep mode (closing the hinge) now properly supported
2.  MissileCam added (it's now an option on the controls menu)
3.  Rearranged controls menu slightly
4.  Improved music playback (still some glitches, but it's much better)
5.  Preliminary Network support (you can start up a multiplayer game, but it does NOT work currently)

New from version 0.6:
1.  Some fixes for out-of-memory errors (Z_Malloc)
2.  Fixed graphical corruption on the Apogee logo and story screens
	(the ones that appear at the start of each episode in the registered version)
3.  Made the Jukebox accessible from the options menu (normally requires a cheat code)

New from version 0.5:
1.  Sound support
2.  Fixed statusbar corruption when loading saved games
3.  Music support.  Requires extracting the game's MIDI tracks,
	encoding to ADPCM, and adding the new files to your /rott/ directory.

New from version 0.4:
1.  Support for the registered version
2.  Better, DS-specific Customize Controls menu

New from version 0.3:
1.  Mouselook mode (option added to Customize Controls menu)

New from version 0.2:
1.  Saving / Loading games now works
2.  COMM-BAT now works (in single player)

Features not (yet) implemented:
1.  Native Music (i.e. without needing external files)
2.  Working multiplayer (network) games
3.  Remote Ridicule (voice chat in network games)

Controls:
D-Pad:  arrow keys (move / turn)
L & R:  strafe
A:      fire
B:      use / open door
Y:      run
X:      swap weapons
Start:  enter / navigate menus
Select: escape / return to menu

Files:
You'll need the following files in the /rott/ directory on your memory card:
  For Shareware Version:
    HUNTBGIN.WAD, HUNTBGIN.RTL, HUNTBGIN.RTC, REMOTE1.RTS
  For Registered Version:
    DARKWAR.WAD, DARKWAR.RTL, DARKWAR.RTC, REMOTE1.RTS
  For both versions (optional; these will be created by the game if they don't exist)
    BATTLE.ROT, CONFIG.ROT, SCORES.ROT, SOUND.ROT

Music:
As of version 0.5, music is supported.  However, ROTTDS cannot (currently) play
the native music stored in the WAD files.  The solution is to extract the music
files and convert them into a format that the DS can handle more easily.
1. Start the game, go to "Extract Music" on the Options menu.
   This will create a .MID file in your /rott/ directory for each song in the game.
   Note that the registered version includes all the music from the shareware version,
   plus several new songs; if you have both versions you only need to extract the
   music from the registered version.
2. Quit the game, and copy all the .MID files off your memory card, onto a PC.
3. Convert each song to an IMA-ADPCM WAV file, mono, 22050 Hz.  Exactly how to
   convert them is left as an exercise to the reader.  On my Linux machine, I used:
		for i in *.mid; do
			timidity $i -o ${i%.mid}.raw.wav -Ow1sM -s 22050
			ffmpeg -i ${i%.mid}.raw.wav -ar 22050 -acodec adpcm_ima_wav ${i%.mid}.wav
		done
4. Copy the .WAV files to the /rott/ directory on your memory card.
   This will require roughly 20MB for the shareware version, or 50MB for the
   registered version.  You're free to only copy some of the songs if you like;
   the missing ones will simply not be played.


Ported By:  Dopefish
Email:  ndsdev@thedopefish.com
Web:  http://vespenegas.com/

