Hacking Is Wii and other PowerPC code on the PS3 doable?

Can it be done?

  • Yes.

    Votes: 1 7.7%
  • No.

    Votes: 12 92.3%

  • Total voters
    13

Maxternal

Peanut Gallery Spokesman
OP
Member
Joined
Nov 15, 2011
Messages
5,210
Trophies
0
Age
40
Location
Deep in GBAtemp addiction
Website
gbadev.googlecode.com
XP
1,709
Country
Here's the deal as I see it:
PowerPC processors run in all the following:
1. Older Mac computers
2. GameCube
3. Wii
4. PS3
EDIT : (almost forgot about this one)
5. XBox 360

Since the GC, Wii, and at least earlier versions of the PS3 could run Linux and because of a little program called Mac-on-Linux there's no mystery on how Mac Software can be run on the other three.

Since PPC Macs are no longer produced, no one has really thought of making an emulator for either of these consoles although it would be a very efficient process since it WOULDN'T really have to EMULATE most of the code and could just run it natively. I'm sure, though, that just because of slower processor clocks and different Video hardware it would still be a little slow.

Wii can run GameCube games and homebrew natively.

A GameCube at least definitely can't take Wii or PS3 games because they're meant for something much more powerful. No one's every tried getting it to run less hardware intensive homebrew from the other consoles but that's usually just a matter of porting the code since so much of it's open sourced anyhow.

The same thing with the idea of PS3 on Wii. It's just silly to think it would run software meant for something that much more powerful.

That only leaves one thing to question :

Would it theoretically be possible to develop a virtual machine program that would run on a PS3 and could take and run Wii games and homebrew?
The PS3 processor runs a 4X the clock speed of a Wii and that's not even including the PS3's cells. I figure that would be plenty of extra computation power to be able to emulate the differences in hardware. I'm not sure if the PS3's GPU is programmable but that would help, too. It would just be one short step from there to running GC software as I see it

There's also something Crediar was working on something called BroadOff to emulate Starlet which is the part of the Wii processor that isn't on the PS3.

I'm sure Nintendo (if not Sony) would go nuts if it was to be made, though.

Anyway, does that sound reasonable or am I the only one that thinks this is a good idea?
Any of the more techy PS3 guys willing to think about if it can or can't be done?
Better yet, any techy programming guys willing to give it a try?
 

Psionic Roshambo

Well-Known Member
Member
Joined
Aug 12, 2011
Messages
2,246
Trophies
2
Age
50
XP
3,338
Country
United States
No it's not possible, at least not good emulation.

The real show stopper is going to be RAM on the PS3, with just slightly over double what the Wii has for RAM it would make it almost impossible. That and having to emulate the NAND and and and... just not enough room in the PS3's memory for it.
 

Maxternal

Peanut Gallery Spokesman
OP
Member
Joined
Nov 15, 2011
Messages
5,210
Trophies
0
Age
40
Location
Deep in GBAtemp addiction
Website
gbadev.googlecode.com
XP
1,709
Country
The really sucky option would be something like this :

PS3 runs Linux runs Mac-on-Linux runs Mac OS X runs VirtualPC runs WindowsXP runs Dolphin runs Wii Game

but especially in that case I would have to agree with [member='PsionicRoshambo']. There's no way there's enough RAM for all of that plus the two redundant layers of emulation with VirtualPC and Dolphin.
And using a page file kinda defeats the purpose.

However having about twice the ram seems to me to like it would be enough since you don't have an OS to clog the space above the Wii's normal memory addresses.
 

Clarky

Don't you know who I think I am?
Member
Joined
Oct 4, 2007
Messages
1,960
Trophies
0
Age
39
XP
834
Country
United States
The really sucky option would be something like this :

PS3 runs Linux runs Mac-on-Linux runs Mac OS X runs VirtualPC runs WindowsXP runs Dolphin runs Wii Game

but especially in that case I would have to agree with [member='PsionicRoshambo']. There's no way there's enough RAM for all of that plus the two redundant layers of emulation with VirtualPC and Dolphin.
And using a page file kinda defeats the purpose.

pretty certain there are mac and linux builds of dolphin already...so you could save yourself 6 steps or so already, but yet again i doubt you would see dolphin running
 

finkmac

Well-Known Member
Member
Joined
Nov 9, 2011
Messages
458
Trophies
0
Age
35
Location
Over there
Website
www.epicwinrar.com
XP
306
Country
Canada
The really sucky option would be something like this :

PS3 runs Linux runs Mac-on-Linux runs Mac OS X runs VirtualPC runs WindowsXP runs Dolphin runs Wii Game

but especially in that case I would have to agree with [member='PsionicRoshambo']. There's no way there's enough RAM for all of that plus the two redundant layers of emulation with VirtualPC and Dolphin.
And using a page file kinda defeats the purpose.

pretty certain there are mac and linux builds of dolphin already...so you could save yourself 6 steps or so already, but yet again i doubt you would see dolphin running

There was a GameCube emulator for PPC Macs called GCube or something like that...
 

fgghjjkll

GBATemp MegaMan
Member
Joined
Jul 7, 2008
Messages
2,043
Trophies
0
Age
28
XP
1,038
The really sucky option would be something like this :

PS3 runs Linux runs Mac-on-Linux runs Mac OS X runs VirtualPC runs WindowsXP runs Dolphin runs Wii Game

but especially in that case I would have to agree with [member='PsionicRoshambo']. There's no way there's enough RAM for all of that plus the two redundant layers of emulation with VirtualPC and Dolphin.
And using a page file kinda defeats the purpose.

pretty certain there are mac and linux builds of dolphin already...so you could save yourself 6 steps or so already, but yet again i doubt you would see dolphin running

There was a GameCube emulator for PPC Macs called GCube or something like that...
You'll need some sort of x86 virtualization technology to run Windows XP in a virtual environment in the first place.
 

Maxternal

Peanut Gallery Spokesman
OP
Member
Joined
Nov 15, 2011
Messages
5,210
Trophies
0
Age
40
Location
Deep in GBAtemp addiction
Website
gbadev.googlecode.com
XP
1,709
Country
You'll need some sort of x86 virtualization technology to run Windows XP in a virtual environment in the first place.
Yeah, that's why I said I thought it was a sucky way to go about it. Not only that but that way you have Dolphin going back from x86 to PPC code again, too.
Wouldn't it just be a better idea to buy a Wii? Seems a lot simpler to do.
True, but I was just curious if anyone thought it were possible. It's the theory that intrigues me.
 

codezer0

Gaming keeps me sane
Member
Joined
Jul 14, 2009
Messages
3,576
Trophies
2
Location
The Magic School Bus
XP
4,523
Country
United States
Short answer, no.

tl;dr answer...
  • While all three current consoles are based off the same underlying PowerPC architecture, they are all widely different takes on it. Of the tree, the Wii's CPU is the only one most closely resembling how older Macintosh computers operated. The 360's is multiple, homogeneous cores with each having full functionality, and a strong propensity for general-purpose processing. The PS3's is based off one super-capable core, but with up to 7 (1 disabled out of eight possibles so they could have an acceptable amount of yields from each wafer) micro-cores with limited scope and functionality. It's not really fair to say the PS3's architecture is truly multicore, as it is insanely parallel processing optimized.
  • Emulators have to at least emulate the basic underlying hardware effectively enough, along with overhead for BIOS and the like (in this case, the Wii's myriad of IOS's), before it could attempt to run a game.
  • PPC emulating x86 (or x64 for that matter) has and always was a trial in futility. Does anyone here remember having to use VirtualPC for Mac prior to the intel switch? That was just abominable.
  • If by some miracle the PPC-style code on the Wii/GC could be run natively on a PS3, it would be grounds for nintendo to file for patent infringement, given that you're dealing with integral functionality that allowed Nintendo's system to work, and it would be hard for Sony to prove they didn't just flat out steal it. Then again, original PlayStation could run SNES code near-natively, but that was settled out of court.
Just wayyyy too much to even consider before such an undertaking could happen... and even if the project went on its way, the legal red tape, if not the performance issues alone, would make it unwieldy to try.
 
  • Like
Reactions: 1 person

Maxternal

Peanut Gallery Spokesman
OP
Member
Joined
Nov 15, 2011
Messages
5,210
Trophies
0
Age
40
Location
Deep in GBAtemp addiction
Website
gbadev.googlecode.com
XP
1,709
Country
While all three current consoles are based off the same underlying PowerPC architecture, they are all widely different takes on it. Of the tree, the Wii's CPU is the only one most closely resembling how older Macintosh computers operated. The 360's is multiple, homogeneous cores with each having full functionality, and a strong propensity for general-purpose processing. The PS3's is based off one super-capable core, but with up to 7 (1 disabled out of eight possibles so they could have an acceptable amount of yields from each wafer) micro-cores with limited scope and functionality. It's not really fair to say the PS3's architecture is truly multicore, as it is insanely parallel processing optimized.
Okay, I'm going slightly off topic here but this has sparked my curiosity.

Is programming for PS3 similar to programming a hyperthreaded PC just with 8 threads for one core or is it more complicated than that? I've always wondered exactly what each of the cells could do that a normal core couldn't but do they then share their missing functions with the main core then or does the programmer have to take their limitations into consideration?
 

codezer0

Gaming keeps me sane
Member
Joined
Jul 14, 2009
Messages
3,576
Trophies
2
Location
The Magic School Bus
XP
4,523
Country
United States
Not really; Sony has always favored extreme parallel processing in their consoles.

If anything, the 360 is more akin to a hyperthreaded PC, because each physical core can handle 2 threads at a time, and all cores have the same procesisng capabilities, cache, instructions, strengths, weaknesses... basically 3 identical cores, and each capable of processing 2 threads at a time.

The main SPU of the PS3's Cell CPU is the only one with full, unbridled access to cache, memory, and all instructions. the 7(out of 8) SPEs are limited in function and scope... if you remember way back with the early 386/486 intel days, there used to be additional floating-point/math co-processors. Those were limited in their scope, but for what they were programmed for, all one needed to get the job done. The ps3's architecture is much more like this... one main core with a lot of the functionality, with a small army of smaller co-processors that handle limited functionality, but rather efficiently.

The original PS2 did something very similar with regard to how it solved the backward compatibility issue... in short, early phat PS2's used a separate chip to handle I/O primarily... but this same chip was the one used as the CPU in the PS1, complete with its own cache and RAM. When it came time to load up and play a PSOne game on these PS2's, the bootloader would forfeit control from the EE to the MIPS CPU and used the GS chip for graphics. Later on, $ony decided to screw the pooch by removing this chip to try and save $0.00000005/console with the slim PStwo. However, since MIPS emulation on the EE ran so asstastically slow, they had to overclock the chips to compensate. Here's where it gets interesting. If a dev that was sure they weren't going to use the USB/1394 ports on the PS2 for any reason, there was an undocumented but exploitable feature in the SDK that allowed that MIPS chip to be treated as a co-processor for the PS2 as well. See where I'm going with this? with the slims, code that would normally be sent to the ps1 chip was now expected to be processed by something that was no longer there. This led to glitches and even some compatibility issues on games... which wouldn't be so bad if many of the games that used these features weren't high-profile titles. there was at least one known errata page I was able to find where the asian edition of the PStwo slim couldn't even play Final Fantasy VII... and a curiously high number of reports of those who did buy the first slims who couldn't play GTA: San Andreas... at all.

Back on Topic...

Another thing to keep in mind is that Nintendo and Microsoft's SDK's to work with their respective hardware does a lot of automatic performance monitoring of code that Sony's official one did/does not. Whether it does now is debatable (I haven't found any info suggesting this has improved, but I hope I'm wrong), but basically the Sony setup requires a lot more hand-tweaking and optomizing and monitoring that the other platforms don't require.
 
  • Like
Reactions: 1 person

spotanjo3

Well-Known Member
Member
Joined
Nov 6, 2002
Messages
11,145
Trophies
3
XP
6,205
Country
United States
Since you hope that Wii can be done on the PS3 doable... Then you should buy Wii to give Nintendo supporting, thats simple. Therefore, no, it is not possible and never will. ;)
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Psionic Roshambo @ Psionic Roshambo:
    They have FSR or whatever it's called and yeah it's still not great
  • The Real Jdbye @ The Real Jdbye:
    so AMD seem to finally be starting to take AI seriously
  • Psionic Roshambo @ Psionic Roshambo:
    Oh yeah those new 8000 CPUs have AI cores built in that's interesting
  • Psionic Roshambo @ Psionic Roshambo:
    Maybe they plan on offloading to the CPU?
  • Psionic Roshambo @ Psionic Roshambo:
    Would be kinda cool to have the CPU and GPU working in random more
  • Psionic Roshambo @ Psionic Roshambo:
    Tandem even
  • The Real Jdbye @ The Real Jdbye:
    i think i heard of that, it's a good idea, shouldn't need a dedicated GPU just to run a LLM or video upscaling
  • The Real Jdbye @ The Real Jdbye:
    even the nvidia shield tv has AI video upscaling
  • The Real Jdbye @ The Real Jdbye:
    LLMs can be run on cpu anyway but it's quite slow
  • BakerMan @ BakerMan:
    Have you ever been beaten by a wet spaghetti noodle by your girlfriend because she has a twin sister, and you got confused and fucked her dad?
  • Psionic Roshambo @ Psionic Roshambo:
    I had a girlfriend who had a twin sister and they would mess with me constantly.... Until one chipped a tooth then finally I could tell them apart.... Lol
  • Psionic Roshambo @ Psionic Roshambo:
    They would have the same hair style the same clothes everything... Really messed with my head lol
  • Psionic Roshambo @ Psionic Roshambo:
    @The Real Jdbye, I could see AMD trying to pull off the CPU GPU tandem thing, would be a way to maybe close the gap a bit with Nvidia. Plus it would kinda put Nvidia at a future disadvantage since Nvidia can't make X86/64 CPUs? Intel and AMD licensing issues... I wonder how much that has held back innovation.
  • The Real Jdbye @ The Real Jdbye:
    i don't think nvidia wants to get in the x64 cpu market anyways
  • The Real Jdbye @ The Real Jdbye:
    you've seen how much intel is struggling getting into the gpu market
  • The Real Jdbye @ The Real Jdbye:
    and nvidia is already doing ARM
  • The Real Jdbye @ The Real Jdbye:
    i don't think they want to take more focus away from their gpus
  • Psionic Roshambo @ Psionic Roshambo:
    Yeah I think Nvidia s future lays in AI GPU acceleration stuff if they can get that going it's going to be super interesting in the long term
  • Psionic Roshambo @ Psionic Roshambo:
    AI assisted game creation might become a thing
  • Psionic Roshambo @ Psionic Roshambo:
    At least that's something I think would be pretty cool.
  • Psionic Roshambo @ Psionic Roshambo:
    Don some VR glasses and gloves and talk to the computer and paint entire worlds
  • Psionic Roshambo @ Psionic Roshambo:
    "OK Cortana I want that mountain a little taller and more snow on top, and I would like some random ancient pine forest around the bottom"
  • Psionic Roshambo @ Psionic Roshambo:
    "Now we need a spring fed river flowing down the north side and add some wild life appropriate for the biome"
  • Psionic Roshambo @ Psionic Roshambo:
    Many TBs of assets and the programming of something like that is going to be tough but I think it's something we might see in 20 years maybe sooner
    Psionic Roshambo @ Psionic Roshambo: Many TBs of assets and the programming of something like that is going to be tough but I think...