Doom – PlayStation 2 Port
Posted by Lukasz Bruun - 11/02/08 at 19:37:51Update 28/2/09:
Cosmito has been doing alot of addition work on my quick PS2 port of doom lately, recently adding sound support. To keep updated on the latest PS2Doom changes, check Cosmitos website.
Original post:
Doom by id Software seems to available for every platform known to man, except for the PlayStation 2. So I wondered how long it would take to port it over to PS2 and the answer to that question turned out to be less than 3 hours. Using the PS2 port of SDL, gsKit (SDL requires it for video) and PS2SDK, all available from PS2dev.org Subversion repository and a SDL port of Doom available here, I managed to get a very basic (read: hackish) port of Doom running on the PS2 without much effort.
I’ve only tested the port over PS2Link and it will most likely not run from a CD-R. There is no sound, however there is support for sound in PS2 SDL, but does not appear to work with Doom and I havn’t investigated the cause. Saving and loading of games works, as they just save to host/PC. The Dualshock controls are as follow (USB keyboard and mouse are untested)
Left Analog Stick : MoveCross : EnterSquare/R1 : CTRL / FireCircle/R2 : Space / Open doorsTriangle : EscapeL1 : xL2 : yL1 and L2 are for entering savegame names
I will not continue to work on this port, it was just a quick nostalgic proof of concept port :-)
Download: ps2doom-src.zip ps2doom-bin.zip (Binary includes shareware data)
Update: Follow this thread for further work on this port.
Update 2: A lsdldoom PS2 port by Jason Yu with sound effect support has surfaced. I’ve compiled the source into a single ELF with the DOOM shareware data included, which should run from CD-ROM, USB, etc (not tested). Included in the archive is also a ps2-packer compressed version of DOOM.ELF named DOOMP.ELF.
Download: lsdldoom-ps2-bin.zip
Ubuntu 7.10 and Nvidia nForce 630i
Posted by Lukasz Bruun - 09/02/08 at 13:26:20I recently upgraded my computer and got a Gigabyte GA-73PVM-S2H motherboard, not knowing that Ubuntu 7.10 did not support the included Nvidia nForce 630i chipset out of the box. I just moved my hard drives with Ubuntu 7.10 already installed from my old computer into my new and it turned out that neither the integrated Nvidia GeForce 7100 (I already had an Nvidia driver installed) nor the sound card was automatically detected.
To get the GeForce 7100 working I downloaded Envy and then manually selected the Nvidia 169.09 driver, which was then downloaded and installed. I used nvidia-settings to configure the graphics card.
The sound card (HDA Intel driver) is not supported by the version of ALSA included with Ubuntu 7.10, it is however supported by the latest ALSA version. So in order to get it working I had to download, compile and install the lastest ALSA driver myself, there is a guide available here which describes the process.
The network adapter works out of the box, it uses the forcedeth driver.
My new system would freeze on me after a few hours of use, I suspected the Gigabyte GA-73PVM-S2H motherboard was to blame for this. After checking the Gigabyte website for my motherboard, I saw there was a F5 BIOS update to my F2 version BIOS. Since I use Ubuntu, I couldn’t use their @BIOS Windows utility for updating the BIOS, so I had to use the BIOS built-in Q-Flash which supports updating from an USB stick.
First I downloaded the BIOS update and used Wine to extract the update file from the .EXE update available. When I then first tried to put the update file on my USB memory stick and used Q-Flash I got an BIOS ID checker error. This error is apparently related to the file system used on the memory stick, since after I formated my memory stick to FAT-16 with mkfs.vfat -F 16 /dev/sdc1 (my memory stick shows up at /dev/sdc1, used df to see where your memory stick is located) I was able to update my BIOS successfully, and I havn’t experienced any freezes since.
Powered by WordPress with GimpStyle Theme.
Entries and comments feeds.