r/raspberry_pi • • 12d ago

Show-and-Tell Final Fantasy 13 running as a native Linux ARM64 app on the $60 Raspberry Pi 400 (~10FPS)

Sorry for the low quality. Made possible with the WhiteRecomp project (LLM-assisted) which allows the game to be compiled for native macOS, x64 Windows, x64 or ARM64 Linux, or an Android port that just got added but is very experimental at the moment

94 Upvotes

17 comments sorted by

2

u/Whoa_PassTheSauce 12d ago

Cool work, any OC applied to the pi?

4

u/AbbeyDull 12d ago edited 12d ago

It is actually a friend's machine so I'm not completely sure (I highly doubt it). Will ask though.

EDIT: he just confirmed it was not OCed at all

1

u/Whoa_PassTheSauce 12d ago

Worth giving it a boost to see! Interesting to see this working, I have a raspberry pi 5 sitting in a box on my desk. I want to try and get a few true 3d games setup on it - most the games I have working on my pi 4 are more sprite based (civ 3, sudden strike, etc).

1

u/AbbeyDull 12d ago

The rpi 5 AFAIK should probably already be able to run this at around 30FPS at 360p since its GPU seems to be around 3 times better. That said I did just implement some huge CPU improvements by writing a full CFG analyzer and an LLVM backend to the recompiler, so the next github release will have even better performance and may even get up to ~15-20 FPS on the 400 with worse quality settings.

1

u/KAMMERON1 9d ago

And still can’t play it on PS4 or PS5

1

u/AbbeyDull 9d ago

PS4/PS5 ports may be coming (of course not officially because Square Enix doesn't care, just through the recomp project, and you'd have to jailbreak them first).

-8

u/hiro24 13 pis deep 12d ago

the word "running" is doing heavy lifting here. Still, very cool.

9

u/AbbeyDull 12d ago

Haha. For reference the GPU in this rpi is 56 times worse than the 1GB VRAM integrated graphics one in my laptop, so it's kind of crazy that it goes anywhere near this fast.

1

u/JamesGecko 11d ago

I dunno, isn’t this a game that ran on 256 MB VRAM in the PS3 twenty years ago?

4

u/AbbeyDull 11d ago

The PS3's GPU alone has 192 GFLOPS and that's not including the fact it has a CELL architecture to take advantage of for graphics code, which if you take full advantage of, can bring it up to about 1,800 GFLOPS.

The RPI400 has a 32 GFLOPS GPU. VRAM isn't the constraint here. The fact it runs at 1/3 of the PS3's frame rate is crazy given the GPU difference.

3

u/yyg-linux 12d ago

Very neat ty for sharing

2

u/tripplebeamteam 12d ago

Idk, overlock, active cooling, drop the resolution, and frame skip and you might be able to play comfortably

2

u/AbbeyDull 12d ago edited 12d ago

Yes, I'm planning to implement most of these. It's rendering this at 480p, but 360p is more realistic as well as probably disabling all particle effects and post-processing shaders. The CPU does surprisingly well (I manually patched hundreds of the original game's terrible functions with custom C code and maxed out compiler optimizations) and doesn't seem to be a major bottleneck.

3

u/ShamelessC 12d ago

It's a fucking Raspberry Pi...

1

u/MINKIN2 8d ago

For those of us who lived in the 90s, we have played worse. And had a blast.

1

u/yyg-linux 12d ago

Its not stopping (for too too long)