PDA

View Full Version : COD2 on Raspberry pi



guiismiti
29th January 2016, 00:10
Hello, long time no "post" :)

So, I just searched Killtube for "raspberry", got no results.

Has anybody tried to run a COD2 server using it?


900MHz quad-core ARM Cortex-A7 CPU;
1Gb RAM.


You can run Raspbian on it (raspberry's version of Debian).

And, ofcourse.... it's so cheap!

IzNoGoD
29th January 2016, 00:33
QEMU it, but performance will be worse than shit

kung foo man
29th January 2016, 01:40
Binary translation would be way faster, basically just convert x86 to ARM, but you would really have to geek into it to get shit done: https://en.wikipedia.org/wiki/Binary_translation

Or decompile the whole damn binary and recompile for ARM.

But I guess you won't spent that time and energy for an 11 year old engine, unless you can reuse it for your diploma thesis or something.

Well, ARM is the reason I dislike smartphones... still waiting for a nice&cheap x86 phones and boards. Current x86 mini pc's like Intels MinnowBoard (http://wiki.minnowboard.org/MinnowBoard_Wiki_Home) cost like 140$.

guiismiti
30th January 2016, 04:05
Off topic - did you guys know that pi 2 has its version of Minecraft? You probably did, but I still decided to post it since there's a Minecraft section in this forum.
I've never run it, but the review I watched on youtube showed it running very well.

kung foo man
30th January 2016, 14:40
Well, Java can run "native", it just needs the native code dependencies of Minecraft compiled for ARM (but contrary as you implied, never heard of it).

I found another software, named ExaGear Deskop by Eltech, basically doing what I described, Binary Translation, and it should be faster than QEMU by some magnitudes, because it's not emulating the x86 opcodes, but just translates them once to ARM (as far my understanding, never tested it). It costs some money tho: http://eltechs.com/product/exagear-desktop/

Check this: http://linuxgizmos.com/emulator-brings-x86-linux-apps-to-arm-devices/

Only problem is:



ExaGear is based on binary translation technology, and requires ARMv7, which means that it should run on mini-PCs and SBCs that use Cortex-A8, A7, A9, and A15 system-on-chips. However, it won’t run on the ARM11 (ARMv6) SoC found on the Raspberry Pi. It also does not support applications that require kernel modules. It currently requires Ubuntu (v12.04 or higher), but will soon support another, unnamed Linux distro.



Too bad if you have an old Rasperry PI with ARMv6. The new "Raspberry Pi 2 Model B" is using an ARMv7 though, which Rasperry you got? Meh, on Eltech they write it's working on every Raspberry...