Sponsored Links

Sponsored Links

Video: StarCraft Running on the PS3 via Qemu & YDL with Guide!


Sponsored Links
280w ago - Using Yellow Dog Linux on the PlayStation 3, efaustus9 used Qemu to emulate Windows 95 on the platform, allowing him to run StarCraft. To quote:

Want to run windows apps on your PS3? Windows runs on about 90% of home computers, consequently most software and games are designed for that OS. Wine is a good option for running windows apps in linux.

However it requires a x86 CPU and thus will not run on the PPC processor found in the ps3. So how do you run windows apps on the ps3? Qemu is how. Qemu runs windows in virtualization. Not the most efficient way to run win apps but it works.





In this video I use Qemu to emulate the relatively resource light Windows 95 in yellow dog linux on the ps3. I also use the fscaler tool to utilize the cells spe's and enlarge the image with out taking a performance hit.

As you can see the classic starcraft is quite playable all from the comfort of my living room. Want to try the same on your PS3? Check out my [Register or Login to view links].

I will presume you already have YDL installed with a working internet connection. If you do not have either or both see my guide above. You will need windows 95 install CD for the method described below. You can use newer versions of windows but it will be detrimental to performance. For installing windows 98SE or better see my guide above.

1st in the terminal type:
su
yourpassword
yum install qemu
exit

Then create an Hard drive image by typing the following.
qemu-img create -f qcow c.hd 1200M

Download this boot disk and copy to your home folder:

http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/1.0/fdbasecd.iso

Now type the following:
qemu -hda c.hd -cdrom /home/yourusername/fdbasecd.iso -boot d

Freedos will now open in the options provided press 1 to boot the cd. Then select "Install to harddisk using FreeDOS SETUP". Next chose to prepare the harddisk for FreeDos by running XFDisk. In FDisk press enter then select new Partition and press enter until you return to the main options.

Press enter once again select change partition type and make it FAT16 INT13X. Press F3 and select Yes to save partition table. The system will reboot. Once rebooted press 1 to boot the cd and chose option 1 again but this time select option 5 Run Freedos from CDROM (return to command prompt). Now type the following;

FORMAT C: /S

and then type YES

Then give the drive a name hit enter and shutdown qemu. Next download the appropriate boot disk for your version of windows from the page below and put it in your home folder.

http://www.allbootdisks.com/download/95.html

Put your windows 95 install cd in the disk drive and type in the terminal;

qemu -soundhw sb16 -fda /home/yourusername/Windows95x.img -hda c.hd -cdrom /dev/scd0 -boot a

*Attention: replace the x with the boot image version you downloaded (a or b).

In the command prompt type:

R:

then

setup

now install windows 95 but when it asks to reboot close qemu.

Now put the starcraft disk in the diskdrive
In the terminal type;

qemu -soundhw sb16 -hda c.hd -cdrom /dev/scd0 -boot c -m 64

Congrats you are using windows 95 on the ps3 now just install starcraft.

NOTE: expect performance akin to a ~100Mhz Pentium.

Additional Info as seen in the video:

TV: Samsung LN-S4041D
Playstation 3 SKU: CECHB01
Harddrive: 60GB 2.5" SATA
Generic USB Keyboard and Mouse
DualShock3
OtherOS: Yellow Dog Linux 6.0
Window Manager: Fluxbox
Software shown:
Qemu 0.8.2-4
Windows 95 4.00.950.B
fscaler 0.4
Starcraft 1.0


Stay tuned for more PS3 Hacks and PS3 CFW news, follow us on Twitter and be sure to drop by the PS3 Hacks and PS3 Custom Firmware Forums for the latest PlayStation 3 scene updates and homebrew releases!

Comments 3 Comments - Go to Forum Thread »

• Please Register at PS3News.com or Login to make comments on Site News articles. Thanks!

ps12245's Avatar
#3 - ps12245 - 271w ago
The biggest problem with QEMU is that it is actually emulating the x86 CPU (and the rest of the pc hardware also). But what makes things slow is the x86 emulation. To speed things up, QEMU internally translates the x86 code to powerpc code for the cell processor. But this translation is more a kind of advanced interpreter (it just pastes the powerpc-code for the emulated instructions next to each other). A way more faster way of emulation would be a true recompilation, where the resultant powerpc-code would also be optimized for inter-dependencies of the x86-instructions.

Actually IBM did a lot of research in the area of recompilation in the past. If I remember right there was also research done for x86->powerpc translation. I think x86-PC emulation would score on the PS3 if someone builds such an advanced recompilation for the CPU on top of QEMUs (or bochs) PC-hardware emulation.

Just a thought, would be a hell of work... QEMU is great (even if its slow )

stealth1122's Avatar
#2 - stealth1122 - 273w ago
what p/w do u type after su to download qemu?

ok i got tha password part... but i get this error: another copy is running as pid 4020. aborting... any help pls??

hacked2123's Avatar
#1 - hacked2123 - 280w ago
Why was the loading so long; was that a disk read thing or were you using the MPQ's?

Sponsored Links

Sponsored Links
Sponsored Links

Sponsored Links







Affiliates - Contact Us - PS3 Downloads - Privacy Statement - Site Rules - Top - © 2014 PlayStation 3 News