EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Linux Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=588)
-   -   Raspberry Pi - Server (https://www.eqemulator.org/forums/showthread.php?t=36906)

Arune01 09-08-2018 01:54 PM

Hate to Rez an old thread but I have been working on a compile myself. Cannot seem to get it up. If I just gave you a RPi online 24/7 - could you help with this? I have a few of them so setting one online isn’t a big deal/dedicating it for eqemu dev.

iceflame 09-09-2018 09:44 AM

1. swap file: /etc/dphys-swapfile
https://www.raspberrypi.org/forums/v...ic.php?t=46472
2. ERRSV: embperl.cpp
Modify the code:
if(SvTRUE(ERRSV))
to:
if((count == 0) && (SvTRUE(ERRSV)))
3. memcpy: many files, use memcpy for float
example:
float x;
float y;
float z;
//float x = *(float*)buf;
memcpy(&x,buf,sizeof(float));
buf += sizeof(float);
//float y = *(float*)buf;
memcpy(&y,buf,sizeof(float));
buf += sizeof(float);
//float z = *(float*)buf;
memcpy(&z,buf,sizeof(float));
buf += sizeof(float);

Oggy 10-06-2018 01:39 PM

Iceflame,

I was digging around and realized today that you could potentially run an EQ client on RPi 3b+ using ExaGear + WINE.

So RPi uses ARM and EQ needs x86 processor.

ExaGear lets you install x86 on ARM processor with Wine.

Direct quote from their website:
"With Eltechs ExaGear Desktop you can run Intel x86 applications on your ARM-based Mini PC simultaneously with common native ARM applications. You can even run Windows applications on your ARM Mini PC using x86 Wine. ExaGear is a virtual machine that allows you to make your ARM device more flexible, combining programs with different architecture in one system. It is like QEMU but 5 times faster!"

Has anyone done this? If not...could we??

Imagine it...

Step 1) RPi#1 - EQEMU Server
Step 2) RPi#2 - EQ Client
Step 3) ...
Step 4) Profit.

N0ctrnl 10-10-2018 02:16 AM

distcc works to compile it too. Still have to increase the swap, but it'll shave quite a bit of time off the compile.

Granted, once it's up it runs terribly, but hey :)

ntsnts 07-16-2019 09:27 AM

Hi guys,
Sorry to revive a long dead thread,
but would it be possible for someone to post the binaries compiled for raspberry for the latest Eqemu release ? maybe just the modified files would be enough.
I tried following the suggestions from iceflame to do it myself but i am not a developer so this is out of my reach.

The latest raspberry pi 4 have lots of horsepower so it would be perfect as
a home toy to run eqemu ( max 2 clients ) maybe with an external database ( to avoid burning the sd card ).

Thanks to anyone wiling to help me.

cheers

joligario 07-16-2019 12:17 PM

In the next few weeks, I planned on playing around with this on my 3b+.

joligario 08-22-2019 09:01 PM

Did a successful manual build on my 3b+ today. Haven't confirmed if it runs with no issues yet or not...

hayward6 02-22-2020 11:45 AM

One of the reasons I feel this idea hasn't exactly taken off is due to the fact the largest expense to playing on an Everquest Emulator, is the client laptop or computer itself. Because we can setup the emulator on that same device and then run it locally we literally don't need to spend a dime on additional hardware. I currently run my server on a micro PC with a Corei7 processor and 64GB's of Ram and SSD. It's tiny, but it is a bit pricey. The Rasberry Pi argument is all about the hobby of it and seeing if it can be done. I have a couple units in stock, so I may start dabbling in it, but it's important to allow the emulator to run as it does today, or you risk needing to do a lot of development. So the first hurdle is how to run Native Linux on a Rasberry Pi? I know esxi has been setup on a Pi before, and that could simplify things.

joligario 11-10-2021 02:10 PM

Built/ran on 3B+ using fresh arm64 Raspbian Bullseye install last night. Only needed to increase swap size.

Rikon 02-15-2022 06:34 PM

No joy for me on Raspberry 4. Plan to play with it a bit.

joligario 02-15-2022 06:38 PM

Not sure what problems you are having, but recommend limiting cores on build.

Rikon 02-26-2022 04:40 PM

Quote:

Originally Posted by joligario (Post 267804)
Not sure what problems you are having, but recommend limiting cores on build.

My post wasn't helpful. Once I get back home and fire it up, I'll try to capture the issues. I'll also limit cores when building.

Freejack 02-26-2022 08:19 PM

Quote:

Originally Posted by cavedude (Post 224646)
The source for the crypto cannot be released, and those of us who have it do not have access to an ARM device that can run Linux. Just Android or iOS. I'm not sure if there is some sort of emulation, but if there is if somebody could get me an image with ARM Linux and the development environment already setup, I can attempt to compile the crypto and upload it to git.

I can't spend a lot of time on it, but if somebody can do the leg work with emulation and setting the environment up, I'll gladly compile the lib.

qemu which is a vm can be run on windows,mac, or linux. If you need a compile environment and can emulate arm, arm 64. Honestly it can do more than most out there. I just started using it. performance using kvm is almost bare metal performance.

Also you can use it to compile the server on your pc for the PI. just a thought.

joligario 06-11-2022 06:41 PM

You now need a bigger swap - recommend 3GB.


All times are GMT -4. The time now is 06:26 PM.

Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.