Jack Palevich 的个人资料GrammerJack日志 工具 帮助
2006/9/19

Using XNA Game Studio Express from F#

The recent XNA Game Studio Express Beta provides the first look at Microsoft's new framework for developing games using the Common Language Runtime. I tried using the framework from F#, a new language from Microsoft Research. The results were promising. More information on the F# Hub:  http://cs.hubfs.net/forums/1/657/ShowThread.aspx
2006/9/4

How to unpack you BootCamp drivers without a working Macintosh partition

I run Windows XP on my Apple Macbook without any MacOS X partition. (How's that for Thinking Different. :-) ) It works great, except when Apple releases an upgraded set of drivers.
 
The problem is that Apple releases the drivers wrapped up in several layers of Macintosh-specific archive files. They want you to download the drivers on the Mac side, and burn a CD that you then use on the Windows side.
 
Unfortunately, there's no Mac OSX on my Macbook, so I can't do that.
 
To get around that, I did the following:
  1. Download BootCamp.1.1.1.dmg from http://www.apple.com/bootcamp
  2. Install a free 30-day-trial version of TransMac from http://www.asy.com/sharetm.htm
    1. Note that if you do a web search you will see many references to a free tool called dmg2iso.exe. Unfortunately this tool does not seem to work with the BootCamp.1.1.1.dmg file
  3. Install the free 7-Zip compression/decompression utility from http://www.7-Zip.org
  4. Run TransMac
  5. Open the BootCamp.1.1.1.dmg file from within TransMac
  6. In the TransMac "Mac Volumes" window click multiple times to navigate to this object:
    1. HFS+ Volume:Install Boot Campe Assistant.mpkg:Contents:Resources:BootCampAssistant.pkg:Contents:Archive.pax.gz
  7. Drag-and-drop Archive.pax.gz to the upper "PC Folder:" panel.
  8. Click "OK" to the "Mac to PC Copy Settings" dialog.
  9. Click "OK" to the "Ready to Copy" dialog
  10. Wait for the file to copy
  11. Close TransMac.
  12. Right-Click on the Archive.pax.gz file that you created in step 9 and choose 7-Zip:Extract Here from the right-click menu.
  13. Wait for Archive.pax to be extracted
  14. Right-Click on Archive.pax and choose 7-Zip:Extract here from the right-click menu.
  15. Wait for the "Applications" folder to be extracted
  16. Navigate to Applications\Utilities\Boot Camp Assistant.app\Contents\Resources\DiskImage.dmg
  17. Right-click on DiskImage.dmg and choose 7-Zip:Extract Here from the right-click menu. (Yes, you have to use 7-Zip instead of TransMac for this step because TransMac doesn't understand this particular dmg file. But for some reason 7-Zip does understand it.)
  18. Wait for "Install Macintosh Drivers for Windows XP.exe" to be extracted.
  19. Double-click on "Install Macintosh Drivers for Windows XP.exe" to start installing your Macintosh drivers.

Whew, that wasn't too hard now, was it? If only Apple would make the final "Install Macintosh Drivers for Windows XP.exe" executable available for download, by itself, without wrapping it in so much packaging.