Go Back  
Reply
 
Thread Tools
Old 11-21-2010   #1
Pirate
 
Pirate's Avatar
 
Join Date: Feb 2007
Posts: 6,931
Likes: 370
Liked 7,989 Times in 1,233 Posts
Mentioned: 568 Post(s)
Tagged: 0 Thread(s)
UPDATE: PS3 DOOM v0.3 with 720p support

UPDATE: xttl has updated DOOM to V0.3 with various new features such as 720p support, various resolution support, analog and sound now properly work. Full details below:
v3 is now out. Sound effects should work pretty much perfectly now, there's a simple launcher that will allow you to select an IWAD if you have multiple ones available (no PWADs yet, and the launcher menu only lists the first 10 IWADs it finds which can happen if you have duplicates of them on different storage devices) and in case an error happens after graphics have been initalized, you'll see the error message on screen. (not just via ethernet debugging if enabled).

I also switched the license to GPLv2 now (the DOOM source is available both under GPL and under another license that basically disallows any commercial use of the work, but allows you to withhold your sources). I had no intention to not release sources anyway, and this allows me to use code from other GPL'd ports. The 720p scaler in use now is from Chocolate Doom (though adapted to work with true transparencies instead of faking them with palette lookup tables) and 1080i/p is done using a similar idea.

v3 supported screenmodes: 1920x1080 and 1280x720. 640x480 and 720x576 STILL DO NOT WORK. Sorry! If you want to force 720p mode when you have 1080i or 1080p available, hold TRIANGLE immediately after you select PS3DOOM's icon from XMB and keep it held down until the launcher WAD menu appears. This is a workaround until I can figure out a way to query available video modes using PSL1GHT. I don't just want to assume a particular mode is available, and PSL1GHT's videoTest example just selects the same mode XMB is running in, which is always the highest resolution available.

You may want to force 720p because the scaler in 1080i/p is a bit slow. ;-)

I also changed the controls to analog now.

PSX-Scene member xttl has released, the classic Doom port for the PS3.
To quote: Hi, now that legal development tools are available, I thought I'd start porting the classic game DOOM for the PS3!



It took a little while to get it to start up at all (without any graphics, sound, input...pretty much nothing except debug output to the Ethernet port), mainly due to some 64 bit vs. 32 bit issues (endianness issues were already given some thought in the source!).

Right now it only runs in 1920x1080 because the upscaler (the game still renders in 320x200) is hard-coded for this. I set the resolution info in PARAM.SFO correctly so that XMB will not even let you launch it unless you have 1080i or 1080p selected as a supported mode in display options. The controls are also hard-coded and it has no sound or music yet, but because this version is already quite playable (I just played through the whole shareware episode using it) I thought I'd upload it. "Release early, release often" you know. ;-) The 35Hz timer the game requires is implemented using a separate thread that just does usleep(1000000/35); ticker++; all the time because PSL1GHT seems not to have any support for the Cell OS Lv-2 timer syscalls yet (except for sleep & usleep). Timing seems to work OK like this though.

To use this, download the PKG (link later in this post) and install it using "Install package files". Then copy a supported DOOM IWAD to the game's directory (/dev_hdd0/game/DOOM00666/USRDIR/) OR put it on a USB drive (or on a CF/SD/MMC/MS memory card if you have an early PS3 that has the integrated card readers) under /ps3doom/. Then you just launch the game from the XMB icon and it should work.

The hardcoded controls are:
  • D-PAD: Navigate menus and move/turn your character.
  • START: Bring up or exit the menu.
  • SELECT: Bring up or exit the auto-map. (while in game)
  • L1/R1: Strafe left/right.
  • L2: Use button. (open doors, activate lifts, exit the intermission screen, etc.)
  • R2: Attack button.
  • CROSS: Select an option from the menus.
  • CIRCLE: Go back to the previous menu.
  • SQUARE: Use for YES in menus and cycle to previous weapon in game.
  • TRIANGLE: Use for NO in menus and cycle to next weapon in game.
Yeah no analog support yet, sorry about that! I am probably going to add fully customizable controls including USB keyboard/mouse support later when I get around to adding some kind of a launcher for the game. The launcher will also allow you to put multiple IWADs in your WAD directory and select one of them, load PWADs, etc. Right now that's not possible. ;-)

I also already know that the aspect ratio is a bit off (not quite 4:3 as it should be), so don't bother reporting that. This will be fixed later when I get around to adding scaling using the RSX. BTW. before you ask: I will probably not even attempt to add true high-res or wide-screen support, instead I'll probably try porting prboom+ (which has both already well implemented) in the future. I am also not interested at all in hardware accelerated DOOM. Just take a look at any of the accelerated DOOM ports for the PC or even Carmack's official iPhone port. The lighting is totally wrong in all of them (way too bright and uniform) unless perhaps you're playing a map specifically designed for them. However, if it turns out that prboom+'s software renderer can't run in 1080p with adequate speed on the PPU alone, I don't think attempting to offload some of the work to the SPUs is totally of the question then. ;-)

I also know that saves don't work yet, that changing the screen size from the options menu crashes and that there is no way to enter cheats yet, and that order for cycling the weapons is not quite what you'd expect (it uses the internal ordering of the game which goes like this: fist, pistol, shotgun, chaingun, rocket launcher, plasma, bfg, chainsaw, super shotgun).

You must quit the game from the game's own menu, not from XMB. Otherwise Lv-2 will crash and reboot. AFAIK this is a bug in PSL1GHT and not my own fault, but feel free to tell me if I'm wrong.

Anyway, here are the download links: (see below)

The source is a mess, yes, and there are probably some stupid things in there. But that was the case even before I touched it at all. ;-)

Supported IWADs:

doom2.wad (DOOM 2: Hell on Earth) doom.wad (The Ultimate DOOM or regular registered DOOM) plutonia.wad (Final DOOM: Plutonia Experiment) tnt.wad (Final DOOM: TNT - Evilution) doom1.wad (shareware DOOM)

Use the latest versions (v1.9) of IWADs only or don't complain if something breaks. Especially the earliest versions of DOOM 1 are problematic.

Forgot one more thing: The filenames are case sensitive, so rename your IWAD to all lowercase if necessary ("doom2.wad", not "DOOM2.WAD").

[Download DOOM PS3 PKG]

[Download DOOM PS3 SOURCE]

[VIA PSX-SCENE]
Pirate is offline   Reply With Quote
Old 11-21-2010   #2
rome1234
Apprentice
 
Join Date: May 2010
Posts: 1
Likes: 0
Liked 0 Times in 0 Posts
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Great news
rome1234 is offline   Reply With Quote
Old 11-21-2010   #3
alienjiz420
Member
 
Join Date: Sep 2010
Posts: 140
Likes: 2
Liked 20 Times in 15 Posts
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
HELL YES! i'm gonna Doom it up so hard later
alienjiz420 is offline   Reply With Quote
Old 11-21-2010   #4
lernatix
Member
 
lernatix's Avatar
 
Join Date: Feb 2009
Posts: 975
Likes: 129
Liked 150 Times in 114 Posts
Mentioned: 4 Post(s)
Tagged: 0 Thread(s)
While I find this to be purely awesome on one hand.
(And it is awesome xttl)

On the other hand, watching my old linux install re-appear
one game or emulator at a time is rather frustrating.
It's taking forever to port it all and I bet I never see things
like e-mail or image editing ported.

Now bring on Quake, I bet the quakeworld servers are still online!
__________________
Honour: A concept entailing a perceived quality of worthiness that affects the social standing of an individual or corporate body. Accordingly, corporate bodies are assigned worth and stature based on the harmony of their actions with a specific code of honour, and the moral code of the society at large.
lernatix is offline   Reply With Quote
Old 11-21-2010   #5
BobbyBlunt
Senior Member
 
BobbyBlunt's Avatar
 
Join Date: Aug 2007
Location: Virginia US
Posts: 3,023
Likes: 1,591
Liked 1,935 Times in 912 Posts
Mentioned: 193 Post(s)
Tagged: 0 Thread(s)
Was wondering when we see this. This is always one of the first games to get ported.
__________________
Follow me on Twitter @BobbyBlunt83 Contact me via our irc server irc.ps3sanctuary.com/6667 You can figure out how to do so here. Don't start sh!t, there wont be sh!t.
BobbyBlunt is offline   Reply With Quote
Old 11-21-2010   #6
KillerBug
Senior Member
 
KillerBug's Avatar
 
Join Date: Apr 2010
Posts: 2,322
Likes: 148
Liked 1,100 Times in 619 Posts
Mentioned: 85 Post(s)
Tagged: 0 Thread(s)
Cool...I wonder if it will work with the other Doom Engine games...I could play Strife again...once there is sound.

So...who is working on the build engine? I know they released the source code.
__________________
KillerBug is offline   Reply With Quote
Old 11-22-2010   #7
trapspringer
Member
null
 
Join Date: Sep 2010
Posts: 41
Likes: 4
Liked 3 Times in 2 Posts
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
i just cried tears of joy
trapspringer is offline   Reply With Quote
Old 11-22-2010   #8
mikee
Member
null
 
Join Date: Sep 2010
Posts: 33
Likes: 7
Liked 2 Times in 2 Posts
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
cool a great game I cant play. nice release tho
mikee is offline   Reply With Quote
Old 11-22-2010   #9
d34thc0d3
Member
null
 
d34thc0d3's Avatar
 
Join Date: Dec 2008
Posts: 31
Likes: 6
Liked 3 Times in 2 Posts
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Just installed & played a few minutes. Never has playing doom been that much fun than on the PS3.
d34thc0d3 is offline   Reply With Quote
Old 11-22-2010   #10
Bodom87
Apprentice
 
Join Date: Nov 2010
Posts: 1
Likes: 0
Liked 0 Times in 0 Posts
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Thanx a lot for this keep up the great work everyone working on other things aswell. It is very much appreciated
Bodom87 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



PS3Hax.net is Copyright © 2010-2013.
Use of this site is governed by our Terms of Use and Privacy Policy. All Trademarks and images are owned by their respected owners.
Posts and links are subject to each author on this forum and are no way affiliated with the operations and/or opinions of ps3hax.net
All times are GMT -5. The time now is 05:54 AM.