Difference between revisions of "PrBoom"

From ArmadeusWiki
Jump to: navigation, search
m (Install)
m (Install)
Line 16: Line 16:
 
[[Image:Menuconfig_package_prboom.png]]
 
[[Image:Menuconfig_package_prboom.png]]
  
Activate PrBoom package and "share Doom WAD file" (it will autoselect SDL, SDL_mixer and SDL_net). Then, exit and save your config. Re-Build your rootfs:
+
Activate PrBoom package and "shareware Doom WAD file" (it will autoselect SDL, SDL_mixer and SDL_net). Then, exit and save your config. Re-Build your rootfs:
 
  $ make
 
  $ make
  

Revision as of 15:03, 27 April 2009

PrBoom

PrBoom
Gametype FPS
Web site http://
Doom.jpg
Fully working
Video http://www.youtube.com/watch?v=256RY8DaoX0

Infos

Doom clone derived from original ID Software sources and enhanced (SDL support, bugs correction...). Doom is the sequel of Wolfenstein. It is working quite well on 8bpp framebuffers; for 16bpp one, a bug has to be corrected in i.MX framebuffer (ongoing).
PrBoom is integrated in Buildroot on latest SVN snapshots. It needs SDL, SDL_mixer & SDL_net. Currently there is no sound support on Armadeus boards. Video was taken on the new LCD. Runs at full speed in 320x240 with only ~40% CPU usage in 8bpp mode.

Install

  • Launch Buildroot configuration:
$ make menuconfig

Menuconfig package.png

Menuconfig package games.png

Menuconfig package prboom.png

Activate PrBoom package and "shareware Doom WAD file" (it will autoselect SDL, SDL_mixer and SDL_net). Then, exit and save your config. Re-Build your rootfs:

$ make

APF9328 with only 8 MBytes of FLASH

As the generated rootfs is too big to be put on the 8MBytes APF9328 FLASH, there are 2 solutions:

1. put rootfs on a MMC/SD and boot it

MultiMediaCard#Booting_from_MMC.2FSD

2. boot your board from your NFS export

Network_Configuration#Boot_from_NFS

armadeus/buildroot/build_armv4t/root/usr/games/prboom, armadeus/buildroot/project_build_armv4t/apf9328/root/usr/share/games/doom/prboom.wad and doom1.wad.!! Files should be in the same directory !! Then cd in directory and launch the game:

Launching

  • If you have a 320x240 display:
 # /usr/games/prboom -width 320 -height 240 &
  • If you want some sound be sure that ALSA is running, with OSS emulation loaded.

Troubleshots

  • If SDL is complaining because it can't find any mouse (Unable to init SDL: Unable to open mouse) then, before launching the game, do:
 # export SDL_NOMOUSE=1
  • APF9328 LCD controller has difficulties to process all data when launching PrBoom in 480x272 mode (random black lines on screen)

Links