Results 1 to 4 of 4

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

  1. #1
    D3M0N2009 Guest

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

    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 Playstation 3 Yellow Dog Linux 6.x Guide.

    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:
    yum install qemu
    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:

    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.

    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:
    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
    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

    More PlayStation 3 News...

  2. #2
    hacked2123 Guest

    starcraft nice

    Why was the loading so long; was that a disk read thing or were you using the MPQ's?

  3. #3
    stealth1122 Guest

    What Password?

    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??

  4. #4
    ps12245 Guest
    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 )

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts