Project 1999

Go Back   Project 1999 > General Community > Technical Discussion

Reply
 
Thread Tools Display Modes
  #1  
Old 09-03-2022, 11:48 PM
Rabcor Rabcor is offline
Scrawny Gnoll


Join Date: Mar 2022
Location: Field of Bone
Posts: 25
Send a message via MSN to Rabcor
Default

Quote:
Originally Posted by Nori [You must be logged in to view images. Log in or Register.]
Anybody run into this issue on steam deck (arch linux) when trying to compile Zaela's login helper?

Code:
cc -c -o build/main.o src/main.c -O2 -Wall -Wno-strict-aliasing
In file included from src/connection.h:5:0,
from src/main.c:2:
src/netcode.h:10:10: fatal error: errno.h: No such file or directory
#include <errno.h>
^~~~~~~~~
compilation terminated.
Makefile:30: recipe for target 'build/main.o' failed
make: *** [build/main.o] Error 1

I'm trying to get EQ running on my steam deck but can't get through this step. Anybody give up on this and just use a VPN?
Edit: I just realized, you're not running the command from the correct directory :'D you have to open the terminal inside the build directory before running the make command otherwise it complains about no such file or directory, oh well, I suppose you can still use my precompiled file if u want, if you don't manage to compile it yourself.

I'm not an expert on this, but building software like this usually has dependenies, in a lot of cases though it has the same dependencies. Steam deck's OS is arch based I think, and on arch there's a meta package called base-devel which contains a whole lot of common build dependencies.

One possible solution might be doing this and installing that meta package afterwards. (It's a bad idea for a lot of reasons, but i mean if you're desperate then you're desperate)

There's probably a better solution (I don't have a steam deck but i imagine it has a package manager and an official repository for packages in it which probably contain all the packages under the base-develpackage on arch, and installing each one manually would for instance be a better if slower solution)

If you're linux savvy at all you might also be better off just replacing steamos with a distro of oyur choice (manjaro for instance), if you're not though then you probably shouldn't.

Lastly (and probably most easily) you can just get it precompiled, here's mine, I compiled it on manjaro (the .txt extension was necessary to be able to upload the file, just download it, remove .txt, make it executable (chmod +x) and run it if you want to use it):
Attached Files
File Type: txt p99-login-middlemand.txt (17.5 KB, 19 views)
Last edited by Rabcor; 09-04-2022 at 12:04 AM..
Reply With Quote
  #2  
Old 09-16-2022, 12:01 PM
Nori Nori is offline
Decaying Skeleton


Join Date: Jul 2018
Posts: 4
Default

Quote:
Originally Posted by Rabcor [You must be logged in to view images. Log in or Register.]

Lastly (and probably most easily) you can just get it precompiled, here's mine, I compiled it on manjaro (the .txt extension was necessary to be able to upload the file, just download it, remove .txt, make it executable (chmod +x) and run it if you want to use it):
I actually was in the correct directory, I was just lazy and copied and pasted this error from someone else who had the same issue as me.

Thank you for posting the precompiled script, I'm going to try that next. I've seen it suggested to install build essential libraries for arch linux, but that also threw back the same error w/ the .h file.

Fingers crossed!
Reply With Quote
  #3  
Old 09-12-2022, 08:26 PM
Naethyn Naethyn is offline
Planar Protector

Naethyn's Avatar

Join Date: Feb 2015
Posts: 1,141
Default

Installing base-devel still results in the same error on makefile. I tried using your and my own precompiled file and that throws an error on GLIBC_2.34 not found. For now, tethering to my phone works on steamdeck, but I'd like to get this compiled for arch linux (steam os).
__________________
Reply With Quote
  #4  
Old 09-16-2022, 12:11 PM
Nori Nori is offline
Decaying Skeleton


Join Date: Jul 2018
Posts: 4
Default

Quote:
Originally Posted by Naethyn [You must be logged in to view images. Log in or Register.]
Installing base-devel still results in the same error on makefile. I tried using your and my own precompiled file and that throws an error on GLIBC_2.34 not found. For now, tethering to my phone works on steamdeck, but I'd like to get this compiled for arch linux (steam os).
Have you tried any combination of VPNs? Hardware/software?
Reply With Quote
  #5  
Old 09-16-2022, 12:12 PM
mcoy mcoy is offline
Planar Protector


Join Date: Mar 2017
Posts: 2,222
Default

I thought I would have to use this, but I just tried p99 anyway and my server select is populating fine on the deck on both my fios and my 4g hotspot. I'm visiting some family this weekend so I'll try from their connection but so far it doesn't seem necessary.

-Mcoy
Reply With Quote
  #6  
Old 10-27-2022, 09:39 PM
8bitbang 8bitbang is offline
Decaying Skeleton


Join Date: Jul 2022
Posts: 2
Default

I installed Project 99 in kubuntu 22.10 and used the p99-login-middlemand. The servers now show up and I made sure to use the latest Spell files. But I'm getting the spells file is out of date error. I have no issues on windows but sadly NZXT put a bad update and now my CPU cooler pump doesn't work under windows. So I resorted to using linux, can anyone provide any feedback?
Reply With Quote
  #7  
Old 10-28-2022, 07:37 PM
8bitbang 8bitbang is offline
Decaying Skeleton


Join Date: Jul 2022
Posts: 2
Default

Quote:
Originally Posted by 8bitbang [You must be logged in to view images. Log in or Register.]
I installed Project 99 in kubuntu 22.10 and used the p99-login-middlemand. The servers now show up and I made sure to use the latest Spell files. But I'm getting the spells file is out of date error. I have no issues on windows but sadly NZXT put a bad update and now my CPU cooler pump doesn't work under windows. So I resorted to using linux, can anyone provide any feedback?
Figured it out, delete my post
Reply With Quote
  #8  
Old 11-07-2022, 02:15 AM
nanopino nanopino is offline
Decaying Skeleton


Join Date: Oct 2022
Posts: 4
Post No compilation fix for empty server list

Here's a repo with a python script that replicates Zaela's fix. No build tool chain required so it can run on the Steam Deck with minimal effort. Also has some beginner friendly instructions to setup Project 1999 on Steam Deck Gaming mode.

https://github.com/rtrajano/p99_login_helper
Reply With Quote
  #9  
Old 12-06-2022, 11:43 AM
Muchew Muchew is offline
Kobold

Muchew's Avatar

Join Date: Nov 2010
Posts: 188
Default

Quote:
Originally Posted by nanopino [You must be logged in to view images. Log in or Register.]
Here's a repo with a python script that replicates Zaela's fix. No build tool chain required so it can run on the Steam Deck with minimal effort. Also has some beginner friendly instructions to setup Project 1999 on Steam Deck Gaming mode.

https://github.com/rtrajano/p99_login_helper
Thanks for this. Any idea why I cant connect to login server after changing the eqhost? Pretty sure I followed instructions exactly. Prior to eqhost change I was able to login with no servers listed.

Only thing I did differently is install it to an SD card instead of home directly. Not sure why that would matter.
Last edited by Muchew; 12-06-2022 at 11:53 AM..
Reply With Quote
  #10  
Old 12-21-2022, 02:58 AM
nanopino nanopino is offline
Decaying Skeleton


Join Date: Oct 2022
Posts: 4
Default

Quote:
Originally Posted by Muchew [You must be logged in to view images. Log in or Register.]
Thanks for this. Any idea why I cant connect to login server after changing the eqhost? Pretty sure I followed instructions exactly. Prior to eqhost change I was able to login with no servers listed.

Only thing I did differently is install it to an SD card instead of home directly. Not sure why that would matter.
In desktop mode, try running the script in a separate terminal. Navigate to where the script lives and type ./login_helper.py

Leave it running and start EQ with the eqhost.txt pointed at localhost:5998

The Launch Options might be hiding the error or if you followed the instructions exactly, you will have only 1 minute to login before the script kills itself. Modify the Launch Options to be 5m or more instead of the 1m that was suggested.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:27 PM.


Everquest is a registered trademark of Daybreak Game Company LLC.
Project 1999 is not associated or affiliated in any way with Daybreak Game Company LLC.
Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.