PDA

View Full Version : Doom for the PSP


Chilly Willy
10-29-2007, 04:40 AM
Doom is one of those homebrews that doesn't work with eLoader, so I decided to make my own. At the same time, I added TV out support as well... and a few other things. So here's v1.0. It doesn't do networking or cheats - yet. Let me know what you think.

Although it was done for the Slim, it does work on the Phat as well. I've checked this in 3.71 M33-2 on the Slim, and 3.52 M33-4 on the Phat.

EDIT: 2007/11/14 - v1.4 released. Automatically switches on LCD after using TV. No need to tap the display button anymore. Now uses intraFonts from Ben Hur as long as the ltn8.pgf font can be loaded. Looks a LOT better. If it fails to load the font for some reason (you deleted it to make room in the flash or something), it falls back to the debug printing. Altered next/previous weapon handling so that you can switch between the shotgun and the double-barrel shotgun in versions that allow it. The file requester now sorts the entries.

EDIT: 2007/11/05 - v1.3 released. Networking is finally working properly. The GUI has been altered to make it easier to set up network games.

EDIT: 2007/11/02 - v1.2 released. Added ability to access the OSK during the game
so that strings can be entered. Slowed the OSK by half to make inputting
characters easier. TRIANGLE can now be used as BACKSPACE when entering
the game save description. Added network support for Infrastructure
TCP/IP (wireless access points). Also added a selector for 16: 9 or 4:3
rendering to the LCD menu; that way you can have "normal" graphics in
480x272 mode. Optimized the rendering for almost twice the frame rate.

EDIT: 2007/10/29 - v1.1 released. Fixed problem with strafing and turning at the same time. Added ability to disable the analog stick, and to calibrate it. Added two forms of cheats. Read the readme!

Here's a link to my google page with the file. It's about 6.7 MB, so I didn't want to kill exo's bandwidth. :wink:
http://groups.google.com/group/chilly-willys-ice-flow/web/doom-for-the-psp?hl=en

x3sphere
10-29-2007, 05:14 AM
Nice work as always :) Big fan of Doom here.

btw, took a screenshot from my Slim:

http://exophase.com/wp-content/uploads/2007/10/snap009b.jpg

Chilly Willy
10-29-2007, 05:26 AM
Nice! I see you haven't bumped up the screen size in the options (DOOM options). Funny, but that particular screen size if what you're supposed to do all the speed tests in (and 320x200 or 320x240 resolution).

I should take a picture of it on my TV. I've been running it at 640x400 progressive. It's pretty nice. Surprisingly quick for that size on such a slow system (let's face it, computers haven't been 200-300 MHz in almost a decade).

BaDaPpLe
10-29-2007, 02:17 PM
Tried to run on slim keep getting error Error:W_init files not found. Any help?

x3sphere
10-29-2007, 03:24 PM
Tried to run on slim keep getting error Error:W_init files not found. Any help?

Read the readme. Go into Game Settings and select a Main WAD file. Chilly has already included a shareware version of Doom with the release, so a DOOM1.WAD option should show up.

Chilly Willy
10-29-2007, 07:38 PM
Yes, until you save the settings to "doom.set" the bare minimum you'd have to do every time you run this is select a main wad. All the rest can go by the defaults. I suppose I could make the default on the next version to simply pick the first file in the iwad directory. :)

Anywho, set your settings the way you like, then save the settings to the default name. The next time you run Doom, it will automatically load those settings so you're ready to play.

Chilly Willy
10-30-2007, 03:22 AM
v1.1 now up! Enjoy. :)

XsavioR
10-30-2007, 05:55 AM
Nice work chilly. Lets see if i can still remember the secret rooms and such. Dling now.

vigilantjab
10-30-2007, 04:47 PM
i cant get it to play it says curruption error.

roe-ur-boat
10-30-2007, 05:28 PM
Yeah very nice Chilly, when I read it was only 6mb I was pretty happy too. It looks great on full screen in remotejoy.

XsavioR
11-01-2007, 05:52 PM
quality release , was good fun playing the demo.

Hey chilly can u put in the mods... where the guys look like monkeys? etc Make them like options to turn on and off.

Chilly Willy
11-01-2007, 07:29 PM
quality release , was good fun playing the demo.

Hey chilly can u put in the mods... where the guys look like monkeys? etc Make them like options to turn on and off.

:biggrin:

I'm just trying to make a nice DOOM that plays on the PSP Slim. Any mods you can do by selecting patch WADs and DEHs in the proper place in the GUI (Game Settings). I don't include any specific mods at this point, but I might. The mod I'd include is Doominator. Now THAT was patch WAD! :w00t:

Or the DEH that makes the shotgun as fast as the chaingun. You could mow through ANYTHING with that DEH. 8)

XsavioR
11-02-2007, 03:56 AM
yeah if they are capable of being played we should make a performance pack, and gather up a bunch of mods.

Is this capable of being networked like doom was ? lan play and such

Chilly Willy
11-02-2007, 07:41 AM
yeah if they are capable of being played we should make a performance pack, and gather up a bunch of mods.

Is this capable of being networked like doom was ? lan play and such

This version should in theory, but I can't get my router to pass the packets to the second PSP. It's very frustrating. :mad1:

This is my second beta for v1.2 and has lots of bug fixes. It's just the EBOOT and the readme.

Chilly Willy
11-03-2007, 12:40 AM
I've gone ahead and posted an "official" v1.2. Although I still can't make my router cooperate, networking should work in theory, so I'm gonna use y'all as guinea pigs. The main reason I'm posting it is because I made a simple optimization in the screen rendering that makes it almost twice as fast. At 480x272, I went from 28 to 47 frames per second. I get a respectable 21 FPS in 720x480 on the TV, and a VERY nice 27 FPS at 640x400 on the TV. 8)

XsavioR
11-03-2007, 02:38 PM
nice optimizations. So could it be that a slim and phat psp dont communicate properly... i assume u are using a slim and a phat.

Chilly Willy
11-03-2007, 07:37 PM
nice optimizations. So could it be that a slim and phat psp dont communicate properly... i assume u are using a slim and a phat.

Yes, a Slim with 3.71 M33-2 and a Phat with 3.52 M33-4. They SHOULD communicate fine. The problem seems to be the router won't send the packets on the second PSP. I even found a nice page on network programming and I'm doing everything it says, but the packets from one PSP just never get to the second.

XsavioR
11-04-2007, 01:18 AM
Did u verify the mac address on the phat 82? We could try over hamatchi (virtual lan) if u want.

Chilly Willy
11-04-2007, 02:31 AM
Did u verify the mac address on the phat 82? We could try over hamatchi (virtual lan) if u want.

Yes, I verified the MAC addresses. You cannot get the "Test Connection" to succeed without having the MAC address in the filter list of the router (unless it's disabled, of course). I'm currently trying to set up "plain" DOOM for linux so I can try networking between the computer and the PSP to better trace the packets. I have yet to find any reason in the code for the problem. Everything seems fine from that end.

Chilly Willy
11-04-2007, 08:48 AM
Okay, I done figgered out the stupid networking. :biggrin:

Here's a beta for v1.3. The only difference between this and v1.2 is the fix for networking. The funny thing is the networking was fine. Doom busy loops, and since the PSP uses cooperative task switching, the thread the PSP network libs use for address resolution were not getting to run. I stuck a reschedule before the packet commands and TADA! Networking works for me.

So give this a try and see how it works for you. However, now that I've got networking working and had a chance to see how the program responds to changes in the network settings, I realize I need to alter the network config. So this is a beta to get you networking while I revamp the gui a bit for an official v1.3 release.

XsavioR
11-04-2007, 01:32 PM
dam your good. I get off around 7 or 8 tonight. If you want to try some hamatchi leme know.

Chilly Willy
11-04-2007, 07:37 PM
Maybe after I finish the update to 1.3, you can help "test" it. :wink:

x3sphere
11-04-2007, 08:33 PM
Okay, I done figgered out the stupid networking. :biggrin:

Here's a beta for v1.3. The only difference between this and v1.2 is the fix for networking. The funny thing is the networking was fine. Doom busy loops, and since the PSP uses cooperative task switching, the thread the PSP network libs use for address resolution were not getting to run. I stuck a reschedule before the packet commands and TADA! Networking works for me.

So give this a try and see how it works for you. However, now that I've got networking working and had a chance to see how the program responds to changes in the network settings, I realize I need to alter the network config. So this is a beta to get you networking while I revamp the gui a bit for an official v1.3 release.

Cool :) Well I was getting a 80110601 error on both v1.2 and this beta release in regards to network settings. However, I just tried restoring default settings and re-entered in my network config and it's all working fine again. Not sure why that happened, guess my settings became corrupted somehow.

XsavioR: yeah we should play sometime.

Chilly Willy
11-04-2007, 09:23 PM
Cool :) Well I was getting a 80110601 error on both v1.2 and this beta release in regards to network settings. However, I just tried restoring default settings and re-entered in my network config and it's all working fine again. Not sure why that happened, guess my settings became corrupted somehow.

XsavioR: yeah we should play sometime.

I got that myself once. It seems the connection editing can sometimes leave the net config trashed. You don't have to reset to default (I didn't at least), just delete the old config and re-enter it. That worked for me.

Kwipper
11-05-2007, 06:51 AM
After you get the network thing worked out, why not add some way to configure your own controls settings

Chilly Willy
11-05-2007, 06:51 AM
Okay, v1.3 is up. This marks the official debut of networking. It now even works against compatible versions of PC/Mac/Amiga/etc DOOM. I could play against another PSP and my linux box running SDL_DOOM v1.10. The GUI has been substantially altered to make it possible to set up a network game properly.

cupraR
11-12-2007, 09:52 PM
It works sweet for me.

However how do I save game on this. I heard you need to make a SAVE folder in /PSP/DOOM/

Is that correct and then when and how do i save game

Thanks for this

Chilly Willy
11-13-2007, 01:39 AM
It works sweet for me.

However how do I save game on this. I heard you need to make a SAVE folder in /PSP/DOOM/

Is that correct and then when and how do i save game

Thanks for this

Nothing special needed. Just pause (don't really NEED to pause, but it's highly recommended :wink: ), press TRI+SELECT for the menu, select SAVE GAME, use the d-pad to navigate the save slots, press X to select a slot, press TRI+START to get the OSK, enter the save description and press START (descr should now be in the selected slot), and finally press X to save. It's all EXACTLY like when playing the real DOOM except for pulling up the OSK. Note that you can use TRI by itself as backspace when editing the save slot description text.

Squeaky369
11-13-2007, 06:06 AM
Awesome work dude; just awesome. Quick question though; I've got full versions of all the dooms (1,2, TNT, Plutonia) How come on the 2, TNT, and Plutonia when your selecting weapons it skips the single shotgun and goes right to the double? (And Yes; I have it).

Chilly Willy
11-13-2007, 07:55 AM
Awesome work dude; just awesome. Quick question though; I've got full versions of all the dooms (1,2, TNT, Plutonia) How come on the 2, TNT, and Plutonia when your selecting weapons it skips the single shotgun and goes right to the double? (And Yes; I have it).

You have to press the same number key multiple times in a row to toggle between the two shotguns. You cannot do that using the next/previous weapon buttons. You have to use the OSK input to do that. The OSK is TRI+START.

XsavioR
11-13-2007, 07:59 AM
Nice work , Im going to try to get my stuff setup over here tomorrow. i dont work till late and dont think i have any thing going on early on.

Squeaky369
11-14-2007, 03:33 AM
Okay; I get how that works; because I can enter in the old fashion cheat codes and they work. But when I type in "3" it doesn't change weapons. I've tried multiple 3's and nothing; and I've tried other weapons and nothing.

Squeaky369
11-14-2007, 04:08 AM
Well; after messing with that for a few minutes trying different ways; it won't even let me change weapons anymore using the TRI+L or TRI+R. I guess I must be doing something wrong.

Chilly Willy
11-14-2007, 06:00 AM
Well; after messing with that for a few minutes trying different ways; it won't even let me change weapons anymore using the TRI+L or TRI+R. I guess I must be doing something wrong.

I'll check into that... I'm working on v1.4 right now.

Chilly Willy
11-14-2007, 07:39 AM
And I'm done. v1.4 is up! See the first post for changes.

XsavioR
11-14-2007, 04:02 PM
Hey Chilly, can u post a link to the original pc end files. id like to install it on my pc . (havent put in the 3rd and 4th gig of memory, or video card in on my pc so this is perfect)

RJC4LIFE
11-14-2007, 06:11 PM
Excellent work as always CW..

sorron20
11-14-2007, 06:12 PM
i are not ubar haxorz , how i haxorz teh downloadz plz halp meh ubar haxxorz.

x3sphere
11-14-2007, 06:27 PM
were do u effin download

Can you READ? Looks like you posted from the main page, and there's a download link right in the article.

http://groups.google.com/group/chilly-willys-ice-flow/web/doom-for-the-psp?hl=en

or

http://exophase.com/files/psp/psp-doom-v1.4.zip

Chilly Willy
11-14-2007, 10:08 PM
Hey Chilly, can u post a link to the original pc end files. id like to install it on my pc . (havent put in the 3rd and 4th gig of memory, or video card in on my pc so this is perfect)

If you're trying to play networked with the PSP, the trick is finding a DOOM port that hasn't been changed into a clone of Quake. Most of the normal ports have advanced so far that they're hardly DOOM anymore. Here's an older copy of SDLDoom. It compiles in linux and you CAN play against the PSP with it. In Windows, you should be able to make it compile with CygWin. It uses SDL for the video/sound/input, so that shouldn't be an issue. If I find another suitable DOOM port, I'll let y'all know.

pspfan
11-18-2007, 03:18 AM
Hey Chilly Willy,
I'm very happy to see a PSP Doom port with Infrastructure multiplayer support! Just a quick question though: Is there any way to talk to the opponent(s)? Like an OSK (i.e. Danzeff) or something like that?

I remember when Peter MacKay and Chris Swindle's Quake port first added Infrastructure there wasn't really away to do it but a guy named Garret Peters ( http://garretpeters.com/index.php?option=com_smf&Itemid=35 ) came up with a menu system where you could send short pre-made messages. This was pretty nice, but obviously an OSK where you could send ANYTHING would be a lot cooler and more useful (especially if it were the great Danzeff). Anyway, I'm starting to blabber...

So is there an OSK in the Infrastructure multiplayer of this Doom port? And if not, would you ever consider implementing one (preferrably Danzeff) or some other way to talk to the opponent (like the SOCOM microphone--hahaha just kidding on that one :p)?

Chilly Willy
11-18-2007, 04:24 AM
Doom has chat macros, but I have no idea what they do. I rarely play network games. You can enter text in Doom via the OSK by hitting TR+Start. That's how you input the more unusual cheats, so I suppose it should work with chat macros too.

I've had a thought of adding support for voice via the microphone, but that's really more work than I want to put into it. I've got the SOCOM headset and know how to input sound, but that would be overkill for Doom I'd think. :) Maybe if I get some more free time later. I have some other things I'm working on now.

pspfan
11-18-2007, 10:14 PM
So the cheat OSK will work for online communication? That's pretty cool and I'll have to try it out! I didn't think there was any OSK and that's why I had asked for some implementation like Danzeff. Anyway, thanks again for the work on this.

P.S. I was completely kidding about the SOCOM headset suggestion, although that would probably win a "most innovative" homebrew title :). It's cool that you had actually thought about it before, though.

Chilly Willy
11-19-2007, 12:25 AM
So the cheat OSK will work for online communication? That's pretty cool and I'll have to try it out! I didn't think there was any OSK and that's why I had asked for some implementation like Danzeff. Anyway, thanks again for the work on this.

P.S. I was completely kidding about the SOCOM headset suggestion, although that would probably win a "most innovative" homebrew title :). It's cool that you had actually thought about it before, though.

There are three ways of doing cheats, each a little slower and more trouble than the previous: "instant" cheats use TRI+<one of the other three buttons>; this is the fastest and easiest cheat, but you only get to select three. Then you have the "selected" cheat: hold TRI and press LEFT or RIGHT to get to one of twelve cheats, then release TRI to select it. Slower, but you get to choose from the twelve most popular cheats. Last, you have the OSK, which allows you to input anything, including cheats. You'd use the OSK to warp to a level or change the music.

I have a SOCOM headset for both my PSPs, and was playing around with audio input code just a couple weeks ago. Getting the audio is not really a big deal - sending it to the other players would be more trouble. Anywho, anything I work on that has audio in can be modified to work with the SOCOM headset pretty easily. It's apps that DON'T support sound initially that require more work. Doom comes from a time of 9600 baud modems, so they never even thought of sending audio to the players. I could probably add it, but it's not a priority right now. Maybe later...

pspfan
11-19-2007, 02:47 AM
Thanks again for another speedy and knowledgeable reply. I'll try the online play + OSK for communication in a bit.

As for the SOCOM mic stuff, definitely don't worry about it, like I said I was just kidding :)

codgedodger
12-01-2007, 04:07 AM
This game rocks thxz

mlwy45
01-13-2008, 08:05 AM
Hey my dad and i are DOOM fans we have been for years, now NATUALLY we downloaded a fine DOOM game for psp....WITH NETWORKING! but...i can get one psp to start a game but the other is eather loading or i did something wrong...can someone help me plz. we're both using 3.71 m33-4 (psp slims)

Chilly Willy
01-18-2008, 12:07 AM
Read the readme closely - network games are not quite the simplest thing to set up (yet). Make sure each player has their own unique player number. If you're player 1, the other guy (if only two players) should be player 2. Make sure to enter the IP address for the other players on the appropriate line. Doom will show you YOUR IP address in the display, at which point you just exchange IP address info with all the involved players. Make sure everyone is using the same port.

Note, if you are networking across networks (not on the same router), the address Doom gives you is the LOCAL IP address. You'll need to visit a website like http://whatismyipaddress.com/ to find the IP address as it appears to people on the internet. Note that your ISP may change that number every few hours unless you pay extra for a static IP address. Also note that if you are doing this kind of networking, make sure your router is forwarding the port Doom uses to your PSP, and not the computer.

DarkOne675
02-17-2008, 04:07 PM
i just downloaded doom for my psp and i read the readme and put the files in the right spot i have firmware 3.60 but when i go to the games folder on the psp and start up doom it starts going then it hits a black screen and after about 20 seconds it goes back to the psp menu and it says game could not be started? what should i do i really want to play doom

Acerthief
02-17-2008, 04:09 PM
i just downloaded doom for my psp and i read the readme and put the files in the right spot i have firmware 3.60 but when i go to the games folder on the psp and start up doom it starts going then it hits a black screen and after about 20 seconds it goes back to the psp menu and it says game could not be started? what should i do i really want to play doom


These homebrews can only be ran under custom firmware PSPs. So official 3.60 is unable.

Chilly Willy
02-17-2008, 08:03 PM
These homebrews can only be ran under custom firmware PSPs. So official 3.60 is unable.

Official ANY version is unusable. :biggrin:

Custom firmware 3.xx is required. On a slim, you should be using 3.90 M33-2. You'll need a pandora's battery and memstick to install custom firmware on the slim. See the guides in the PSP FAQ & Guide forum.

B2K24
06-17-2008, 12:26 AM
Just wanted to say I have been playing this for about 2 hours today.
Very awesome homebrew for the PSP it's alot of fun.
Recently some friends have taken notice to bunches of my homebrews and emulation that I game with on PSP. I have managed to get 5 of them to buy PSP's and some even sold there DS when I showed them what was possible on the PSP :smile:
Thank Chilly for all your work and releases 8)8):smile::biggrin:

Chilly Willy
06-17-2008, 01:13 AM
You're welcome. Devs always like it when you get good reports, but usually, no news is good news as people usually only report back when they have a problem. :)