Rise of the Triad v1.01

Posted by x3sphere at June 18, 2008, 6:42 pm


Developer Chilly Willy has released an update to Deniska’s Rise of the Triad port for PSP. Originally developed by 3D Realms, ROTT is a first-person shooter powered by a heavily modified Wolfenstein 3D engine. The source code to the title was released to the general public back in December of 2002.

For the PSP port, Chilly has rewritten the video code to support SDL, complete with TV-out functionality. As a result of the switch to SDL, version 1.0.1 processes sound effects more accurately. Furthermore, two of the game’s key mappings have been tweaked for accessibility. Additional details on the aforementioned changes can be found after the break.

* Updated for *current* SDK/Toolchain.
* Uses new SDL with TV support. Just hold the TRIANGLE button when you start the game from the XMB.
* New SDL also fixes the pitch problem with the sound effects.
* Uses SDL_mixer for playing the music again.
* Bundled with mini-instruments for much better music while still keeping the size reasonable.
* Changed a couple of the default key mappings for changing weapons and setting the gamma.

Download Rise of the Triad v1.01

Release Thread

Read moreUpdate: Chilly Willy’s Duke Nukem 3D Port, Triple Triad PSP v0.4.21, Wolfenstein 3D PSP v5.0: Proper Fullscreen Mode, Audio Processing Enhancements, Chilly Willy’s Doom PSP v1.1, DaedalusX64 Public Beta 1

Comments

RJC4LIFE says:

Downloading this now,thanks alot Chilly! Question,is there anything you can't do on the psp? Ever thought of taking a stab at Daedalus?

Chilly Willy says:

The N64 emu? Isn't strmmnekjshiwriutgwihgf (whatever his username is :D ) still working on that?

Got a lot to work on, so I work on things as I feel the urge. Right now, I'm working on OpenAL. OpenAL is one of those things needed for Quake3 and EDuke32.

midnitdragoon says:

this game skips alot on my psp slim. is this because the port is still being worked on or did i do something wrong?? O_O im using the full version because i have the game.

Chilly Willy says:

You'll notice it only skips on one section of the music - it think that's where the music repeats, so timidity is reloading the music. I'm not sure what to do about that, but I'll look into it. In the meantime, give it a second or two to get past that part of the music, or don't use the music.

Darkchild says:

chilly willy, I do not know how to use timidity nor if this is possible, but!

can't you do something like:

if (music.length == music.cur_position) {music.setposition = 0;}

??
Probably cheating, but it will probably make timidity NOT load the midi again thus not slowing the game down :3

Chilly Willy says:

Haven't looked at how they handle looped music, but it's probably fairly dumb. After all, it's only MIDI and we're on a 3GHz Quad Core system with 8 GB of DDR2-1066 memory, right? That's half the battle on porting stuff to the PSP - making sure that code meant for 2 GHz or better works decently on a 300 MHz system.

Darkchild says:

300 or less :P

at 300 it'll consume lots of battery

But, now back to the subject in matter, if you cannot loop it, try to at least make like I did above, I know its stupid, but hey, if it works, who cares? XD

Chilly Willy says:

It's definitely the instruments - if you substitute the TINY instruments in v1.00 in place of the MINI instruments, it doesn't have that issue (it just sounds really crappy :biggrin: ). I'd hate to see it with the BIG instrument package. :crying:

From looking at SDL_mixer, it looks like when you play looping music, mixer keeps mixing until the music is flagged as inactive (done), then if you have it set for looping, it manually restarts the music back at position 0.0. Looking at the timidity music start code, the first thing it does is the load_missing_instruments() function. That goes through the general instruments bank and the percussion bank loading instruments. So it's clearly something to do with loading the instruments. I think that last instrument before the music loops might be so big it's forcing other instruments to be flushed, which then have to reload on the next loop. I'll look into that.

B2K24 says:

Thank you Chilly, I wasn't sure what I was gonna be playing tonight until I found this post :)

Chilly Willy says:

Okay. it's not so much timidity as one of the instruments. It's not a big instrument (since none of the instruments in the mini set are big), it's a complicated instrument. I tried using the 18 MB instrument set and it plays fine too. Anyone know any good patch editors so we can locate which instrument in the mini set is the problem? I'd like to replace it. The mini set of instruments is GOOD and SMALL, and except for this instrument that just happens to be in the first song in ROTT, is just about perfect as a general set of instruments for the PSP.

EDIT: Found it! Hehehe, damn I'm good!

Replace this instrument in the mini directory. Note that it's EXACTLY the same size, but sounds a little different and doesn't slow the system down. Amazing that such a small file could cause that much trouble.

Darkchild says:

well, by the looks of it you will have to modify timidity a little bit, best of luck anyways :)

Chilly Willy says:

Wow, you posted right as I was editing... see my post above... just replace one instrument and you're all set!

Darkchild says:

well, since you have found a mini set, better update it XD

johnny_88 says:

Hey Chilly Willy, thanks for updating!


Just a question about the default key mappings you have made;


I can no longer use the thumb stick to turn right because the key is already assigned to fix the gamma (F11),its annoying when I try to turn that direction and I don't like using the arrow keys, too cramped. Is there any way I can change the gamma key to a different one? So I can go back to using thumb stick?


Hope to hear back from you soon, thanks again!

Chilly Willy says:

I see what you mean... you can reassign it to right, but because you can't reassign gamma, it tries to do both. Yeah, I'll try to do something about that - I don't like the controls the way they are anyway. I was only looking at minor changes before, but I should probably just completely redo the control layout. Maybe make it like my version of Doom.

Chilly Willy says:

Okay, here's a test for new button controls. It's just the registered eboot, so you can't use this with the shareware files.

I tried to make only minor changes with two exceptions: the analog stick now is the default movement, and holding the SQUARE button (which previously did nothing) gives different keys for certain other buttons.

While not pressing SQUARE:
TRIANGLE = toggle weapon (don't know why I never noticed this before :biggrin: )
CIRCLE = use/open
CROSS = fire
LTRIGGER = strafe left
RTRIGGER = strafe right
DOWN = look/fly down
LEFT = volte-face (turn around)
UP = look/fly up
RIGHT = drop weapon
SELECT = map
START = run

While pressing SQUARE:
DOWN = detail level
UP = change gamma
SELECT = main menu

I'm thinking about adding quick save/load to the SQUARE mappings as SQ+LT/RT, and maybe auto-run as SQ+START.

johnny_88 says:

Cool thatd be great! I like the PSP Quake and Doom layout controls cos they're soo comfortable, really like how you can use either of the triggers to fire. Makes it a lot different and spread out.. :)


My game controls for those 3 games go something like this;


eg; Quake


RTRIGGR - Fire
TRIANGLE - Change weapon or, (left and right arrows)
CIRCLE - Jump
Thumb Stick - Move about
SELECT - Menu
CROSS - Select menu option
SQUARE - Console, (auto run on/off for ROTT)
START - Go back previous menu (all 3 games)
UP, DOWN Arrows - Scroll up and down through menus


U can use the brightness button on the PSP to make it brighter, but an in game gamma key in pretty useful too...


Hope to see some changes. Keep up the good work!

tiga says:

Woah! This game was my first FPS experience. thanks for the memories, Chilly Willy.

Quick question, do you think a port of System Shock 2 is doable on the PSP?

Chilly Willy says:

No source == no port.

tiga says:

right, of course. :blushing:

XsavioR says:

Understatement of the century.

PS nice work bud.

you say:

Login with your username and password below. New User?





ss_blog_claim=bf55edcce6ff2f078693a24c8876e229