Project 1999

Go Back   Project 1999 > General Community > Technical Discussion

Reply
 
Thread Tools Display Modes
  #1  
Old 12-03-2014, 05:50 PM
hextasy hextasy is offline
Orc

hextasy's Avatar

Join Date: Aug 2011
Posts: 37
Default Temp. gamma fix for linux clients

So I whipped up a new launcher script for P99 today to eliminate this pesky gamma issue, while the devs continue to work on it. So here it is for you. You'll need to change your logfile location and your exectutable location. Also note that I'm setting this to core 2 so use a multi-core CPU too [You must be logged in to view images. Log in or Register.]

hope this helps someone, works great for me.

Code:
#!/bin/bash
export WINEPREFIX=$HOME/.wine/


function fixGamma ()
{
logfile="/home/user/.wine/drive_c/P99/Logs/eqlog_PLAYER_project1999.txt"

tail -fn0 $logfile | while read line ; do
        echo "$line" | grep "You have entered"
        if [ $? = 0 ]
        then
                /usr/bin/xgamma -gamma 1
        fi
done
}



cd /home/user/.wine/drive_c/P99
WINEDEBUG=-all taskset -c 2 wine '/home/user/.wine/drive_c/P99/eqgame.exe' patchme 2>/dev/null & fixGamma
exit 0
Reply With Quote
  #2  
Old 12-08-2014, 12:11 AM
hextasy hextasy is offline
Orc

hextasy's Avatar

Join Date: Aug 2011
Posts: 37
Default

So maybe it's just me, but the gamma issue with my desktop is even worse after the v36 patch. Now everything is super bright. Script still works as a workaround tho.
Reply With Quote
Reply

Thread Tools
Display Modes

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 10:00 AM.


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 - 2021, Jelsoft Enterprises Ltd.