There can’t be anything geekier than playing a Doom game on the Apple iPhone connected to an Apple II monitor!

     Steven Troughton Smith, the creator of iPhone Doom, has implemented a full TV out functionality to an early build of Doom for iPhone! These are the same TV enhancements used for making the Motochaser app work with TV Out last week. This version outputs only the video of the game and not the buttons so you just play on your iPhone and watch the TV!

     Currently, the developer has no fixed plans to make this feature available in a Public release, although he says that he will investigate about the possibility.

     Ars quote:

     As for why he chose to use an Apple II monitor rather than a high-end HDTV? He says, “this is what passes for ‘fun’ around me.” Infinite Loop approves and gives his picture two (II) classic thumbs up.

     Also, if you are a registered iPhone developer (paid $99), then it’s your lucky day! You can try out this mod as the open source code of the app is available at google-code.

     Per Ars, follow the steps below:

  • Check out the latest svn repository from Google Code: svn checkout iphonedoom-read-only
  • Locate the Xcode MobileDoom.xcodeproj in the iphonedoom-read-only folder. Right-click (control-click
    it) and choose Show Package Contents.
  • Copy the steven.pbxuser file and rename it as your normal Xcode user name. In my case, that’s ericasadun.pbxuser. Your name will obviously vary.
  • Download a copy of the Doom levels file, doom1.wad. I found a copy at MIT. I am not sure what the copyright/intellectual property of this material is, so use your best judgment. Add the .wad file to the project folder.
  • Launch Xcode and open the MobileDoom.xcodeproj file.
  • Open DoomAppDelegate.m and add a one-line definition to the top of the file to enable TV-out.
    #define ENABLE_TV_OUT 1
  • >In the Project Window, locate Groups & Files > Targets > MobileDoom and double click it. This opens up the Target Info window.
  • In the Target Info window, click the Properties tab and update the Identfier to match your Apple signing identity. In my case, that was com.sadun.${PRODUCT_NAME}.
  • Open the Build tab and update your Code Signing Identity, typically iPhone Developer: Your Name.
  • In the Build tab, find Other C Flags. Set them to -DNORMALUNIX -DUSE_SOUND.
  • Clean any previous builds, compile and deploy to your device.    

     Just make sure that you use an Apple Branded cable and then you can enjoy your Doom on TV!