Archive for December, 2006


Xdisc: Mac Xbox ISO Utility

Friday, December 29th, 2006

Often when dealing with Xbox content on the Mac, it’s useful to be able to create a bootable DVD, perhaps of a game or Xbox Dashboard program. While Xbox Media Center doesn’t run well from a DVD, games, utilities, and other programs are designed to be playable from a disc.

The Xbox can’t normally read computer formatted CDs like ISO 9660 and Joliet (XBMC can, though), but to make a bootable disc, it must be of the proper format. Microsoft designed a custom disc format for the Xbox in an attempt to stop piracy and secure the system, however it was quickly reverse engineered to allow for all kinds of uses. Xdisc is an Xbox disc image creator/extractor for Mac OS X, built on top of the open-source extract-xiso utility, which can be compiled for most operating systems. It can build an Xbox ISO file (disc image) from a folder on your computer, or can directly FTP into the Xbox and create an image of a folder or DVD, including games. It can also extract the contents of an Xbox ISO, producing the original files that make up the software. FTP is fully integrated into extract-xiso — and thus Xdisc — making for a great solution that can communicate directly with the Xbox to get the job done.

Xdisc Screenshot

The author, known as “trackfive,” does not have a personal site that I can find and link to, so I’m hosting a copy of Xdisc right here, so you can download away. Also included in the download are several drag-and-drop applets to quickly create and extract XISOs without launching the application and messing with settings.

1/7/2007 Update
Trackfive has also produced some Automator plugins, which allow you to Control-click (right-click) on a folder or file and create or extract the Xbox ISO in one simple step. What could be easier?

Burn Disks from the Terminal

Saturday, December 23rd, 2006

Command LineWhile burning a CD image today, I discovered a really quick and easy way to do it from a Terminal window with zero hassle. Without launching Toast, Burn, Disco, or any of the myriad of point-and-click disc burning applications, you can simply type hdiutil burn ~/Desktop/you/disk.dmg. The burn begins immediately, with all default settings set as expected (max burn speed, verify on, etc.) It’s not good looking compared to the alternatives, but memory usage is minimal, and it’s a fast way to dump an image onto a disk if you’re already working in the Terminal, or have a session open.

Aside from burning disks, hdiutil and its sidekick diskutil can do everything Apple’s Disk Utility application can do, thus they have a very robust set of commands to choose from. Together, they can create, mount, and convert disk images, create and rebuild Mac OS X RAIDs, mount and eject physical disks, and even repair permissions. By typing hdiutil of diskutil at the command line, you’ll be presented with the long list of options available for each program. Check them out — you might just find a quick way to automate some of those tasks you do often.

Mac Meet Xbox: Part 3

Thursday, December 21st, 2006

Mac Meet Xbox

Welcome back to the “Mac meet Xbox” series, Part 3, where we finally get to the good stuff. With the Xbox opened, modded, and ready to run beautiful, open-source, and decidedly non-Microsoft software, we’re going to format and install Xbox Media Center.

Getting XBMC
Yet again we run into the issue of legality in the Mac meet Xbox series, as Xbox Media Center is compiled from source code using Microsoft’s XDK (Xbox Development Kit). The XDK is a series of Windows programs, drivers, and Xbox software which allows developers to write and debug software for the Xbox. It is supposed to be available only to game publishers, however copies of it have leaked out onto the internet. The source code for Xbox Media Center is freely available and open source, but when you compile it into an Xbox program (an “.xbe” file, akin to Windows’ “.exe” files), you’re using copyrighted software, thus the resulting executable contains a portion of copyrighted code. Distributing such a copyrighted work violates the DMCA in the U.S., however laws in your country may vary. For the sake of this tutorial, I’ll leave the legalities up to you, but you should be aware of why the Microsoft XDK is publicly considered “off limits” in most discussion areas. For more details, you can visit the XBMC wiki page regarding the XDK and its involvement with Xbox Media Center.

Building Xbox Media Center from source code with the XDK isn’t a great option, let alone an easy one. Thankfully, a few charitable people build and post copies of XBMC around the net. I’ll have to leave you to your own devices to obtain a copy. As of this writing, the latest version is 2.0.1, and it can be found on many usenet servers and popular BitTorrent sites. Like the BIOS files mentioned in the previous Mac meet Xbox part, XBMC is also distributed in RAR format, which must first be decompressed.

Dashboard Swap
With a shiny new build of XBMC on your computer, you’ll need to prepare the Xbox to receive the files. The community that has developed around Xbox modding decided upon one of the best choices for file transfer — FTP. We’re going to run an FTP server on the newly modded Xbox, browse through it’s carefully arranged system files, and replace a bunch of them with Xbox Media Center. First, though, you’ll need an FTP server.

In the early days of Xbox modding, a replacement for Microsoft’s Xbox “dashboard” was created, EvolutionX, and it served a number of needs: launching programs, flashing the Xbox’s onboard BIOS, changing settings, and running an FTP server. While others have since been developed, and even our very own Xbox Media Center is capable, we need something simple and easy to get off the ground. The easiest way to run an FTP server is to boot a prepared EvolutionX disc, which automatically starts the FTP service. Again, you can find discs to do the job all over the web. Burn the disc image to a DVD-R, DVD+RW, or CD-RW, which are three of the most compatible disc types — CD-Rs tend not to work well. Pop in the disc, reboot your Xbox, and marvel at the first non-Microsoft application running on your Xbox. By the time you see the spinning “EvolutionX” text, it’s ready to accept FTP connections at the IP address displayed in the Utilities menu (assuming your network setup is the same as in Part 2).

There are several Mac FTP programs that will work for the next task, however I strongly recommend Panic’s Transmit client, which has proven to work reliably with the built-in FTP servers of the Xbox programs we’ll be dealing with. (For the full effect, paste on the replacement icon!) Launch Transmit, and connect to the IP given by EvolutionX, with the universal Xbox FTP login:
Username: xbox
Password: xbox
Of all your passwords, this should be the easiest to remember.

Transmit Xbox Connect

When connected, you’ll be presented with a list of folders much like that of a Windows “My Computer” view: C:, D:, E:, and a few other drive letters. Not surprisingly, the folders correspond to similarly arranged devices — C: is for the main Xbox system files, D: is the DVD-ROM drive, E: is for extra files like game saves. If you’re curious, you can browse the contents of the optical drive by peeking inside D:, however the real guts of the Xbox’s system lie in the C: folder. Unlike Windows, however, the Xbox system files are stores right inside C:. Opening it will list a number of important files, but the one to note is xboxdash.xbe. This file, along with its associated fonts, sounds, and textures is the heart the Xbox software. It’s the green screen you’re used to browsing through when you have no game inserted in the console or are about to play a DVD movie. At this point, I would advise backing up all the contents of the C: drive to a safe folder on your computer, should you need them in the future. Go “up” a directory where you can see the drive list again, and simply drag C: to your Mac, and wait for it to copy over. (If you’re so inclined, you might also drag over E: to back up your saved games and other data.)

Once the contents of C: are backed up and safely tucked away, promptly delete everything in the C: folder. That’s right. Blow it away. Doing so will rid your Xbox of its Microsoft dashboard and prepare the space for XBMC. Short of re-copying the files you just backed up, you won’t be able to get back to the standard Xbox dashboard any longer. If you’re going to make this machine a media center Xbox, you might as well go all the way and make the media center the default system. With that, highlight everything in C:, and click Transmit’s “Delete” toolbar button.

Some moments later, your C: folder will be empty, ready to accept new software. At this point, if you were to reboot your Xbox without the EvolutionX disc inserted, you would receive an error stating that your Xbox needs serious repair by trained Microsoft professionals. Slim chance of that happening any time soon, after all, you’re an Xbox modder now anyway — what do they know? Browse to the contents of the decompressed Xbox Media Center folder and find default.xbe contained within. Upload this file and all of its sibling files and folders, ensuring that the default.xbe is directly inside the C: drive. This may take some time, as XBMC totals over 100 MB and has quite a few small files which can slow down the overall transfer. Upon completion of the upload — and this is important — rename default.xbe to xboxdash.xbe. You’ll note that the original Microsoft dashboard had the same file name, thus we’ve replaced it with Xbox Media Center’s main program. Without an xboxdash.xbe to launch, the Xbox will produce an error screen. Renaming Xbox Media Center’s main program to match what the Xbox expects to find effectively tricks it into launching the new software at startup.

The Final Test
To ensure you’ve properly installed Xbox Media Center, open the DVD drive, remove the EvolutionX disc, and restart your Xbox. If all goes well, you’ll hear a startup tune and be greeted with the Xbox Media Center splash screen, and a brand new menu system. Movies, music, pictures, programs — it’s all here.

XBMC

If you’ve made it this far, consider yourself an official Xbox modder. You’ve successfully opened the console, modified it to run non-Microsoft software, and installed your own replacement system. Getting this far took countless hours of cracking and coding on the part of some very dedicated hackers, and you’ve managed to follow in their footsteps to assemble your own home media center. It would not be inappropriate to snicker now, as you’ve built yourself a very capable media center with TV output capabilities for under $150 — from Microsoft, of all places.

Now that you have Xbox Media Center up and running, take some time to browse through its features and familiarize yourself with the menu system, as we’ll be dealing with them extensively in Part 4 of Mac meet Xbox. Next time, we’ll cover the ins and outs of customizing Xbox Media Center and how to get content streaming from your networked Macs right to your TV screen.

Mac Meet Xbox: Navigation
Part 1: Why Xbox + Choosing Chips
Part 2: Cracking the Case + Installing and Flashing
Part 3: Installing XBMC
Part 3.1: Networking in Detail

NewsLife

Tuesday, December 19th, 2006

NewsLifeI’ve been a long time NetNewsWire fan and have readily dismissed most other RSS readers in favor of it, however I just tried out NewsLife, and I’m quite impressed with it. While it doesn’t sport all the bells and whistles of NetNewsWire, NewsLife has just the right feature set, making it seem more of a NetNewsWire Elementsâ„¢ application.

Working on only one Mac now (with Core 2 Duo hopes for 2007), I no longer require NetNewsWire’s great syncing abilities, and I never really used the built-in browser tabs. I tend to browse straight through the news list, opening any interesting links in the background, and rifling through the pages after they’ve all loaded. NewsLife works with me in this fashion, offering a News Bin, where I can store pages to-be-read-later. Stories in the News Bin persist across application launches, meaning what you put there stays there until you remove it. It’s a clever little concept I find very useful, especially when just skimming the news with little time to spare right then.

Like NetNewsWire and a few others, NewsLife is a uniquely Mac application (you can tell from the screenshot alone) which combines the best of NewsFire and NetNewsWire, making for an RSS reader that may actually win me over. I’ll be using it throughout the next week or so to see if it really holds up.