|
|
 |
 |
 |
 |
|
 |
 |
|
 |
 |
|
 |
|
Support::Linux Servers Support forum for Linux EQEMu users. |
 |
|
 |

04-08-2018, 10:36 AM
|
Fire Beetle
|
|
Join Date: Mar 2018
Location: Taiwan
Posts: 4
|
|
I have successfully installed eqemu in RPi3 with Linux installer.
There are 3 key points to let it run without error.
1 is for RPi, and 2 are for ARM Arch.
1. Enlarge swap memory for compile. Original is 100M, I enlarged to 2G.
2. Fix the code in embperl.cpp for prevent segment fault (ERRSV).
3. Fix float operation by memcpy function for prevent signal SIGBUS, Bus error.
(zone/map.cpp,common/misc_function.h,common/base_packet.h)
I have completed most quests in tutorial zone,
and traveled to some zones to do some newbie quests with bots.
pi@everquest:/home/eqemu/server_source_bots $ uname -a
Linux everquest 4.9.59-v7+ #1047 SMP Sun Oct 29 12:19:23 GMT 2017 armv7l GNU/Linux
top - 22:39:59 up 2 days, 22:58, 2 users, load average: 0.11, 0.12, 0.09
Tasks: 159 total, 1 running, 158 sleeping, 0 stopped, 0 zombie
%Cpu(s): 1.7 us, 2.5 sy, 0.0 ni, 95.8 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
KiB Mem : 949580 total, 83808 free, 444220 used, 421552 buff/cache
KiB Swap: 1918972 total, 1812040 free, 106932 used. 444952 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
3778 pi 20 0 6460 2864 2376 R 0.7 0.3 0:00.19 top
10564 eqemu 20 0 174284 12528 9244 S 0.7 1.3 3:00.12 world
10560 eqemu 20 0 5328 3900 2984 S 0.3 0.4 1:20.25 perl
10574 eqemu 20 0 250464 76384 66404 S 0.3 8.0 0:54.19 zone
10582 eqemu 20 0 250464 76372 66392 S 0.3 8.0 0:53.75 zone
10584 eqemu 20 0 250464 76428 66448 S 0.3 8.0 0:53.89 zone
10591 eqemu 20 0 250464 76448 66468 S 0.3 8.1 0:53.70 zone
10595 eqemu 20 0 250464 76288 66308 S 0.3 8.0 0:53.82 zone
10599 eqemu 20 0 250464 76468 66488 S 0.3 8.1 0:53.22 zone
10605 eqemu 20 0 272344 112348 80448 S 0.3 11.8 5:33.12 zone
10609 eqemu 20 0 262560 102136 79924 S 0.3 10.8 1:27.42 zone
10614 eqemu 20 0 250464 76336 66356 S 0.3 8.0 0:53.21 zone
10617 eqemu 20 0 250464 76376 66396 S 0.3 8.0 0:53.65 zone
10620 eqemu 20 0 250464 76440 66460 S 0.3 8.0 0:54.01 zone
10631 eqemu 20 0 250464 76332 66352 S 0.3 8.0 0:54.01 zone
10651 eqemu 20 0 250464 76372 66392 S 0.3 8.0 0:53.39 zone
10656 eqemu 20 0 250464 76364 66384 S 0.3 8.0 0:53.30 zone
|
 |
|
 |

09-08-2018, 01:54 PM
|
Fire Beetle
|
|
Join Date: Apr 2014
Posts: 3
|
|
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.
|

09-09-2018, 09:44 AM
|
Fire Beetle
|
|
Join Date: Mar 2018
Location: Taiwan
Posts: 4
|
|
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);
|

10-06-2018, 01:39 PM
|
Fire Beetle
|
|
Join Date: Nov 2009
Posts: 1
|
|
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.
|

10-10-2018, 02:16 AM
|
 |
Discordant
|
|
Join Date: Jan 2007
Posts: 443
|
|
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 
|

07-16-2019, 09:27 AM
|
Fire Beetle
|
|
Join Date: Dec 2002
Posts: 1
|
|
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
|

07-16-2019, 12:17 PM
|
 |
Developer
|
|
Join Date: Mar 2003
Posts: 1,498
|
|
In the next few weeks, I planned on playing around with this on my 3b+.
|

08-22-2019, 09:01 PM
|
 |
Developer
|
|
Join Date: Mar 2003
Posts: 1,498
|
|
Did a successful manual build on my 3b+ today. Haven't confirmed if it runs with no issues yet or not...
|

02-22-2020, 11:45 AM
|
Forum Guide
|
|
Join Date: Jul 2005
Posts: 473
|
|
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.
__________________
Sayin Silverwolf
Server Op of The Sandbox (Non-Legit)
|

11-10-2021, 02:10 PM
|
 |
Developer
|
|
Join Date: Mar 2003
Posts: 1,498
|
|
Built/ran on 3B+ using fresh arm64 Raspbian Bullseye install last night. Only needed to increase swap size.
Last edited by joligario; 11-11-2021 at 07:58 AM..
Reason: arm - not x
|

02-15-2022, 06:34 PM
|
 |
Sarnak
|
|
Join Date: May 2010
Location: US
Posts: 87
|
|
No joy for me on Raspberry 4. Plan to play with it a bit.
|

02-15-2022, 06:38 PM
|
 |
Developer
|
|
Join Date: Mar 2003
Posts: 1,498
|
|
Not sure what problems you are having, but recommend limiting cores on build.
|

02-26-2022, 04:40 PM
|
 |
Sarnak
|
|
Join Date: May 2010
Location: US
Posts: 87
|
|
Quote:
Originally Posted by joligario
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.
|

06-11-2022, 06:41 PM
|
 |
Developer
|
|
Join Date: Mar 2003
Posts: 1,498
|
|
You now need a bigger swap - recommend 3GB.
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -4. The time now is 08:00 AM.
|
|
 |
|
 |
|
|
|
 |
|
 |
|
 |