• Homebrew, PS3 Hacks , 28.11.2010

    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: 1920×1080 and 1280×720. 640×480 and 720×576 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 1920×1080 because the upscaler (the game still renders in 320×200) 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]

    Tags:

    Discuss in Forums (40)


  • 40 Comments

    1. rome1234
      11-21-2010
      11:06 PM
      1

      Great news

    2. alienjiz420
      11-21-2010
      11:12 PM
      2

      HELL YES! i'm gonna Doom it up so hard later

    3. lernatix
      11-21-2010
      11:47 PM
      3

      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!

    4. BobbyBlunt
      11-22-2010
      12:38 AM
      4

      Was wondering when we see this. This is always one of the first games to get ported.

    5. KillerBug
      11-22-2010
      12:53 AM
      5

      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.

    6. trapspringer
      11-22-2010
      02:35 AM
      6

      i just cried tears of joy

    7. mikee
      11-22-2010
      02:43 AM
      7

      cool a great game I cant play. nice release tho

    8. d34thc0d3
      11-22-2010
      03:10 AM
      8

      Just installed & played a few minutes. Never has playing doom been that much fun than on the PS3.

    9. Bodom87
      11-22-2010
      03:52 AM
      9

      Thanx a lot for this keep up the great work everyone working on other things aswell. It is very much appreciated

    10. spinifex08
      11-22-2010
      05:59 AM
      10

      id love to see wolfenstein3d ported to homebrew.
      i know you can buy it on psn but to be honest who would be that daft to pay for abandonware!?

      id love to try porting it myself but have never dealt with homebrew stuff before!

    11. devil hunter
      11-22-2010
      08:01 AM
      11

      Trust me forum well see duke nukem ported eventually .

      General question :

      Why lot of pc apps and games are portable to ps3 ? as far as I know , the ps3 cant

      run their codes since it has power-pc processpr .

    12. lernatix
      11-22-2010
      08:25 AM
      12

      Thanks to PPC Linux I guess. You know, that thing $ony removed, pissing off a lot of people and motivating the scene to start looking at a previously unhacked machine. Poor idiots should have left otherOS alone, most of us were happy to just play with that.

    13. xflarex
      11-22-2010
      11:19 AM
      13

      source link is dead or down

    14. BC910
      11-22-2010
      11:26 AM
      14

      LOVE THIS GAME!
      First there was wolfenstien 3d, then Doom, then Quake! With Quake came Quakeworld and IMHO the best fps mp perhaps ever! Team fortress baby! :D
      I will play the hell outa this and hopefully soon we'll see that quakeworld port!
      Great job! Thanks.

    15. Rax909
      11-22-2010
      05:07 PM
      15

      Just like I said on the download page. It doesn't work and never will for me. It errors no matter what I do, I got my wad in the folder. The game WOULD play....if I had an HD tv. It can't be played on my premitive tv that I am using. I NEVER get this issue with games of any other kind...just ports and homebrew games. None work with my display setup, and changing my video output doesnt work even though it tells me it doesn't work. It can't play it on a regular output. For some screwed up unrealistic reason. Anyone else have the same error? I'd appreciate "some" sort of help. If it's possible. I don't understand why I would need to have an HD tv just to play this. I'd love to play it...because if it worked that would mean I could contact the creator and ask him to port Hexen or Heritic also. That would rule. Or the Quake games.

    16. GregoryRasputin
      11-22-2010
      05:19 PM
      16

      Originally Posted by Rax909
      For some screwed up unrealistic reason. Anyone else have the same error? I'd appreciate "some" sort of help. If it's possible. I don't understand why I would need to have an HD tv just to play this. I'd love to play it...because if it worked that would mean I could contact the creator and ask him to port Hexen or Heritic also. That would rule. Or the Quake games.
      Im not quite sure the reason for putting it straight out on HD, perhaps the author thought most users would have a HD TV, regardless, this is still a work in progress and will probably support your TV soon.

    17. Milhouse
      11-23-2010
      01:03 PM
      17

      yay! doom rocks!

    18. Rax909
      11-24-2010
      05:57 PM
      18

      Did they fix it yet? Anyone playing it on a regular tv?....=/

    19. GregoryRasputin
      11-24-2010
      05:59 PM
      19

      Originally Posted by Rax909
      Did they fix it yet? Anyone playing it on a regular tv?....=/
      Here is a quote from the author on PSX Scene:

      Originally Posted by xttl
      I just uploaded a new version (v0.02) at http://taateli.fi/ps3doom/

      It's basically the same as the last one (still 1920x1080 only, the same controls, ...) but it has sound now.

      The sound quality is still a bit ****ty though (though the pitch should be ok if you compare it vs. the PC version). I'll put in better resampling using libsamplerate, speex-resampler or something later.

      For the next release I will probably finally fix the scaler so that it's truly 4:3 and supports all resolutions selectable from XMB and add some kind of a launcher (which will allow you to load PWADs and change the controls)...

    20. Rax909
      11-25-2010
      06:37 PM
      20

      Oh wow that's great. Thank you for posting that. That makes me feel better. Now I can wait and not have to worry. Let's hope when I get back from New York in 2 weeks that it will be released then. That would be perfect.

    21. samson
      11-25-2010
      07:53 PM
      21

      Originally Posted by spinifex08
      id love to see wolfenstein3d ported to homebrew.
      i know you can buy it on psn but to be honest who would be that daft to pay for abandonware!?

      id love to try porting it myself but have never dealt with homebrew stuff before!
      you got me thinking can the homemade WAD's work on this port? if they can here's wolfenstin3d (doom1) wad page. this is so cool to have a legal doom game engine with ton's of resources already available.
      a big thanks from me , keep up the good work xttl.

    22. lernatix
      11-26-2010
      03:30 AM
      22

      v3 is already out!

      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.
      Sound, video modes and analogue. Sweet.

      @RAX909 - What mode is your TV? I hope it's not 720x576.

    23. samson
      11-27-2010
      05:57 AM
      23

      Originally Posted by lernatix
      v3 is already out!


      Sound, video modes and analogue. Sweet.
      Joy stick's work sweet. video mode's didn't show when i held i also tried freedoom (named doom2.wad) splash showed for a second before giving an error , i have found a nice set of tools to edit doom maybe someone more computer savvy can have a go at some of the homemade wads so they work on our port. editing shareware doom maybe and importing new maps from the many total conversions.

      Here's the
      The Top 10 Infamous WADs
      and a few really are infamous.

      i also found Odamex a free cross platform open source client/server multiplayer engine for doom.

      Odamex home page
      sourceforge page
      Odamex wikki
      by the looks of it , well developed-ish and easy to port/use for someone who knows what there doing as there is a ppc build already.

    24. rodpad
      11-28-2010
      05:31 PM
      24

      Ah Chocolate Doom! As made by my old school friend and Team Onslaught deathmatch WAD making group.

      As a priority it would be useful to use these particular wads as a benchmark for compatibility since these are still played by the Doom community online via ZDaemon.

    25. 2die4
      11-28-2010
      09:00 PM
      25

      in what folder do the wads go

    26. lernatix
      11-28-2010
      10:47 PM
      26

      Then copy a supported DOOM IWAD to the game's directory (/dev_hdd0/game/DOOM00666/USRDIR/) OR put it on a USB drive
      (10 chars)

    27. Lacoste
      11-29-2010
      07:18 AM
      27

      please make duke 3D support on ps3

    28. rampage2
      11-29-2010
      02:01 PM
      28

      any way to save the game?

    29. Rax909
      12-04-2010
      04:21 PM
      29

      Well I got it working with Doom2, except I cant save. I tried all buttons, and the keyboard doesnt seem to want to work while in the game. So I cant type in a name for the save, and in the options menu I was browsing it I didnt even touch any buttons and it kicked me out and locked up my entire system. So the game is crazy buggy, the controls are all messed up and on top of all that I can't even save the game. OH and heretic and Hexen ports don't work at all. It errors and won't even read the heretic files even though it asks for them. I tried putting them into the hdd actual folders where the pkg installed them to. I had both wad's and eveytthing it wouldn't read them at all. It was like I didn't even put them into the system. So everything is a complete fail.

    30. julia1975
      12-13-2010
      02:43 AM
      30

      Originally Posted by 2die4
      in what folder do the wads go
      Have to say, I am in each subject which will see this big ass
      Although your answers are insightful, but I also suggest you change picture

    31. samson
      12-13-2010
      05:49 AM
      31

      Originally Posted by 2die4
      in what folder do the wads go
      usb
      /ps3doom/
      hdd
      /dev_hdd0/game/DOOM00666/USRDIR/

      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.

      i would advise everyone to start reading the first post of the relevant thread to find the answers to your questions before dismissing it as non-working, and then if you can not find the answer , ask away.

      and as for big butts..
      'my anaconda don't want none unless you've got buns hun'

    32. Rax909
      12-23-2010
      04:12 PM
      32

      No answers for me.

    33. samson
      12-23-2010
      06:29 PM
      33

      Originally Posted by Rax909
      Well I got it working with Doom2, except I cant save. I tried all buttons, and the keyboard doesnt seem to want to work while in the game. So I cant type in a name for the save, and in the options menu I was browsing it I didnt even touch any buttons and it kicked me out and locked up my entire system. So the game is crazy buggy, the controls are all messed up and on top of all that I can't even save the game. OH and heretic and Hexen ports don't work at all. It errors and won't even read the heretic files even though it asks for them. I tried putting them into the hdd actual folders where the pkg installed them to. I had both wad's and eveytthing it wouldn't read them at all. It was like I didn't even put them into the system. So everything is a complete fail.

      Originally Posted by Rax909
      No answers for me.
      no questions to answer , just complaints.

      but i did read this

      I also know that saves don't work yet

      IN THE FIRST POST. but no mention of keyboard support.

    34. Rax909
      12-23-2010
      08:20 PM
      34

      Originally Posted by samson
      no questions to answer , just complaints.

      but i did read this


      IN THE FIRST POST. but no mention of keyboard support.
      My questions are right there. Whether I put a Question mark behind them is personally an optional matter for me that I feel isn't needed. Whether or not your smart enough to know this is beyond my understanding. And the first post never mention anything about saving not working. Infact From what I read it was OUT of beta and working 100% is what I read. But when I was playing it it certainly was FAR being 100%. So actually the fault is not mine, it's who ever was obviously too incompetent to say anything about this.

    35. samson
      12-23-2010
      08:42 PM
      35

      Originally Posted by Pirate
      PSX-Scene member xttl has released, the classic Doom port for the PS3.
      To quote:

      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).


      can you see it now?

    36. Rax909
      01-04-2011
      04:45 PM
      36

      Ya I can see that it was "edited" just fine.

    37. samson
      01-10-2011
      05:26 PM
      37

      lol , you still chewing over this ..

      signed for 3.55

      ps3doom.pkg

      found on psx scene enjoy

    38. jeff_d5
      01-23-2011
      07:12 PM
      38

      now we just need multiplayer suppord (Zdaemon seems to the most popular with people still playing on there servers and such)

    39. jeff_d5
      01-26-2011
      11:19 PM
      39

      http://odamex.net/boards/index.php?t...;boardseen#new

      Heres what i got so far for this lol

    40. tallzilla
      02-02-2011
      08:44 PM
      40

      link is dead