Log in

View Full Version : My experience w/p99, wine & debian9


rxfh
12-28-2018, 09:41 PM
Got the p99 itch again, didn't want to deal with windows just for this. It took some fiddling this time to get p99 working perfectly and I thought I'd toss some info out there in hopes it might help someone else. Most of the hints I got were from people having similar issues, their fixes didn't resolve the stuff I cared about (wanted to be able to click an EQ icon from clean boot and have everything just work).

Setup:

i7-7700k
Nvidia 1070
SSD
27" 144hz 1440p monitor

Stock Debian patched as of 12/25 (So ~ 9.6). Fairly minimal install, just Steam requirements and Nvidia drivers
Mate desktop (gnome based)
wine 1.8.7 (installed based on Debian wiki instructions for 64 bit procs)

Method:

- Largely followed the excellent guide https://wiki.project1999.com/EverQuest_in_Linux_Guide
- If you have iso's, you can just mount over existing mountpoint when it asks for next disc. Then when it asks for disc1 again, just umount until back to disc1 (4 times in my case, 5 total ISO files)

Then I used the shell script in the wiki to get it up and running. Login was successful immediately (kudos to staff, I haven't played in 2-3 years).

Issues:
- First issue, mouse look limit to 180 degrees. Tried various things. FPS limit didn't work well enough; only by turning to minimal did I get 360. Used the wine settings to emulate a desktop; that did fix the mouse look issue but still a little wonky, the cursor would end up off of the game window. Fixed after monitor resolution tweaks.

- Resolution issues
This was a bit of a mess. Couldn't go full screen or got a "device reset" error, couldn't make it jive with desktop resolution. Didn't want to go bigger than 1080p or can't see what's going on (imo 1440p/4k silly for EQ). Ultimately I fixed this by;

1) Manually editing eqclient.ini to reflect my actual desired resolution as provided by xrandr

[VideoMode]
Width=1920
Height=1080
FullscreenRefreshRate=0
FullscreenBitsPerPixel=32
WindowedWidth=1920
WindowedHeight=1080

2) Modifying the wiki shell script to manually switch my desktop mode to match desired resolution (aka 'gpu scaling'). I put this under the export WINEPREFIX section.

xrandr --output DP-0 --mode 1920x1080 --rate 144

I was then able to go into fullscreen in the game, and everything worked perfectly including mouselook. Until I quit and tried to log back in then the game started crashing! Which leads me to the next part..

3) The login UI and game client resolutions are totally disconnected. I was getting errors about the system not being able to find 1280xsomething (not supported by my monitor). After a fair bit of fiddling, I noticed that as long as I didn't exit the game in fullscreen mode it actually didn't crash on next startup. Which lead me to modifying the shell script to copy over a startup.ini over eqclient.ini which had fullscreen disabled, entered game in window mode then just go fullscreen. (This actually might not be an issue if you set your login resolution stuff to something your monitor supports but I couldn't get it to work right). I just added this below my initial xrandr line to the shell script: cp -v ~/start.ini ~/.wine/drive_c/Program\ Files\ \(x86\)/Sony/EverQuest/eqclient.ini

One final thing I did, add an xrandr directive to reset my resolution to default after eq client exits.


So there you have it. P99 working flawlessly under stock Debian 9. Very minimal amount of tweaking, just a little drama w/mouselook (common on many older games under wine) and resolution. Hope this helps someone.