Starcraft on RPI 4 - easier than ever!!

Starcraft on RPI 4 - easier than ever!!

Channel:
Subscribers:
9,730
Published on ● Video Link: https://www.youtube.com/watch?v=3_g2tTJvNOs



StarCraft
Game:
StarCraft (1998)
Duration: 10:34
1,836 views
31


many peoplea asked me to try this on rpi4 and I found it easier than ever.

nothing strange, normal kernel, raspbian 32 bits. you need to be running un mesa driver (which its running by default on buster)

if you have any problems with performance please leave me your problem on the comments. it could crash eventually (it does on exit), but I mean speed problems, etc.

here are the notaz binaries (it includes other games obviously), you just need your starcraft folder with the right version (check the video)

https://notaz.gp2x.de/misc/starec/

this are the notes from Notaz himself:

ARM recompiled exe of StarCraft

requires: 1.16.1 version of the game data files
usage: LD_LIBRARY_PATH=. setarch linux32 -L wine libscr_sa_arm.exe.so

"setarch -L" is needed because the game (or more likely compiled-in m$ c++
runtime) relies on pointers to be below 0x80000000 (as they are on Windows).
Since 3.3 kernel ARM Linux uses so called topdown mapping and uses addresses
above 0x80000000 by default.

LD_LIBRARY_PATH=. is needed for dynamic loader to find standard.snp_arm,
which is an ELF shared object after recompilation.

Beware of GCC bug 67037!
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67037
Some distributions (like Debian jessie) are affected by it.
workaround:
$ cd src/wine/dlls/kernel32
$ touch volume.c
$ sed -i -e 's/-O2/-Os/' Makefile
$ make

You may also want to disable wine's OpenGL blits and use gdi instead,
see DirectDrawRenderer in http://wiki.winehq.org/UsefulRegistryKeys

whit the last line notaz means than you could modify the wine prefix register to use gdi intead of opengl on DDraw, if you experience any problem on performance, that may help.







Tags:
starcraft
rpi
rpi4
raspberry



Other Statistics

StarCraft Statistics For Pi Labs

There are 4,249 views in 2 videos for StarCraft. Less than an hour worth of StarCraft videos were uploaded to his channel, less than 0.88% of the total video content that Pi Labs has uploaded to YouTube.