As a Mac Unity user I of course am of course considering porting my games to desktop Linux with Unity 4. My only concern was testing them, as the only machine I have with a good video card is my MacBook Pro, which cannot easily run Linux. Or I could test my game on my Linux compatible but crappy Intel graphics Dell laptop.
I think I’ve found a solution. I recently wrote a program which takes an ISO of a Linux distro (like, say, Ubuntu) and lets you boot it natively on Macs using EFI from a USB device. rEFIt and similiar are not required - just boot with the USB in a port and hold down the Option key. I have successfully used this tool to boot Ubuntu on my MBP and test out my Linux build with no issues whatsoever.
Now I’d like to open this tool to the community. Anyone who is in the same boat as me I would like to try my tool and see if you can use it to boot Linux. It’s open source and on GitHub. So if you have a Mac running the latest OS X and Xcode, please try this. It should take, like, 5 seconds to compile, or you download a very buggy older build from the Downloads page on the GitHub repo.
For the link to the GitHub page, go here and for information read my blog post here. If you want to make my holiday season, you can also fork my code and add features. Push them back and if they’re good I’ll add them.
Please try this and let me know how everything goes.
Yes. Macs boot via EFI, which is a new method to replace the BIOS. Linux can boot with EFI, but it is not not very good in terms of support and is buggy. Because regular tools to put Linux on a USB drive happen to use boot loaders that rely on BIOS, booting them in Mac is not possible.
What my tool does is copies a 64-bit Linux distribution ISO to the USB along with some special EFI firmware. This firmware is based on GRUB and basically is invoked by the Mac upon boot. Once invoked, it then boots Linux normally from the ISO as if BIOS was being used. It’s very effective and it is a saving grace for me as I can now play Linux games on the only computer I have with decent hardware.
I also noticed someone said this tool was a worthless piece of crap. Mac hater, perhaps?
I’d recommend VirtualBox instead; that way you don’t have to reboot. This is a much faster and less annoying way to test Linux builds, especially if you do multiple iterations of the build. (The only annoyingly unclear part is getting a shared folder accessible in Linux, so here’s how: after getting everything set up, open a shell in Linux and enter “sudo usermod -aG vboxsf [username]”, and replace [username] with your actual username, then restart Linux.)
Or maybe you created survey options that really gave little option other than saying its great, good or terrible.
Although this might be a nice technical achievement it doesn’t seem very practical. I’m with Eric, I don’t really know many developers who use a Mac and don’t run something like Parallels or virtual box.
Depending on how big your files are you can just use somthing like Google drive to share the files with your self , or use a usb stick and let the VM access host USB devices , AFTER you copy your files their
I don’t quite understand what you’re saying. Are you asking about installing GRUB2 over the EFI on a Mac? If so, yes, not only will that break OS X, it will make it immensely difficult to reinstall.
If you are referring to the USB key, you can install GRUB on that because the tool I created does not modify any files on the USB drive. And, no, that method will not break OS X.
While I do agree with you to an extent, everyone knows that virtual machines cause a performance decrease, especially when it comes to high-graphic video games. You lose a lot of performance. I don’t know what your experiences have been, but when I couldn’t run Linux games on my PC I tried a VM and was not happy with performance even with a solid state drive and a respectable amount of memory, which let me to seek alternatives and create this tool.
Yeah, maybe my survey options were biased, but maybe I just wasn’t expecting that response.
There’s certainly a performance hit (about 40%), but it’s still perfectly usable for testing and a lot more convenient than rebooting. Also, It’s A Feature Not A Bug™…think of it as testing on a slower machine without actually needing to buy a slower machine.