Author Topic: Screen Resolution Resetting  (Read 9311 times)

Nationalist

  • Posts: 12
  • Turrets: +0/-0
Screen Resolution Resetting
« on: September 05, 2006, 09:14:06 am »
Hello

I installed Tremulous on Linux SuSE 10.1. I set my resolution to 1280x1024. When I restart Tremulous, my resolution is set to 640x480. I reset my resolution multiple times but it goes back to 640x480.

I'm wondering if the command sh tremulous-1.1.0-installer.x86.run instead of sh ./tremulous-1.1.0-installer.x86.run has anything to do with it?

Any ideas?

zukka

  • Posts: 14
  • Turrets: +0/-0
Re: Screen Resolution Resetting
« Reply #1 on: September 05, 2006, 03:26:02 pm »
Quote from: "Nationalist"

I'm wondering if the command sh tremulous-1.1.0-installer.x86.run instead of sh ./tremulous-1.1.0-installer.x86.run has anything to do with it?

Any ideas?

Do you run that command every time you wanna play???  :eek:
That's the installer, you should run it only once...
Once installed you should be able to start the game with:
/usr/local/bin/tremulous

Undeference

  • Tremulous Developers
  • *
  • Posts: 1254
  • Turrets: +122/-45
Re: Screen Resolution Resetting
« Reply #2 on: September 05, 2006, 03:51:25 pm »
Quote from: "Nationalist"

I'm wondering if the command sh tremulous-1.1.0-installer.x86.run instead of sh ./tremulous-1.1.0-installer.x86.run has anything to do with it?

Any ideas?

Those two commands are identical.

Quote
I installed Tremulous on Linux SuSE 10.1. I set my resolution to 1280x1024. When I restart Tremulous, my resolution is set to 640x480. I've tried resetting my resolution multiple times but it goes back to 640x480.
Are you saying that your game resolution settings aren't being saved or that when you quit Tremulous your resolution doesn't switch back properly?
Need help? Ask intelligently. Please share solutions you find.

Thats what we need, helpful players, not more powerful admins.

Nationalist

  • Posts: 12
  • Turrets: +0/-0
Re: Screen Resolution Resetting
« Reply #3 on: September 05, 2006, 03:59:53 pm »
Quote from: "zukka"
Quote from: "Nationalist"

I'm wondering if the command sh tremulous-1.1.0-installer.x86.run instead of sh ./tremulous-1.1.0-installer.x86.run has anything to do with it?

Any ideas?

Do you run that command every time you wanna play???  :eek:
That's the installer, you should run it only once...
Once installed you should be able to start the game with:
/usr/local/bin/tremulous


There were two tremulous icons in my games menu. I assumed they both did the same thing so I deleted one of them. I launch the game with the remaining icon.

What is your recommendation?

next_ghost

  • Posts: 892
  • Turrets: +3/-6
Screen Resolution Resetting
« Reply #4 on: September 05, 2006, 05:00:11 pm »
Open ~/.tremulous/base/autogen.cfg in your text editor and search for 'unsafe' without apostrophes. I bet you'll find about 20 lines that read 'seta r_foo "bar" unsafe'. If you do, copy all those lines to ~/.tremulous/base/autoexec.cfg and delete the word 'unsafe'. Problem solved.
If my answer to your problem doesn't seem helpful, it means I won't help you until you show some effort to fix your problem yourself!
1.2.0 release's been delayed for 5:48:00 already because of stupid questions.

Nationalist

  • Posts: 12
  • Turrets: +0/-0
Screen Resolution Resetting
« Reply #5 on: September 05, 2006, 05:16:29 pm »
Quote from: "next_ghost"
Open ~/.tremulous/base/autogen.cfg in your text editor and search for 'unsafe' without apostrophes. I bet you'll find about 20 lines that read 'seta r_foo "bar" unsafe'. If you do, copy all those lines to ~/.tremulous/base/autoexec.cfg and delete the word 'unsafe'. Problem solved.


This my /home/colin/.tremulous/base/autogen.cfg file:

// generated by tremulous, do not modify
unbindall
bind TAB "+scores"
bind ENTER "+button2"
bind ESCAPE "togglemenu"
bind SPACE "+moveup"
bind + "sizeup"
bind - "sizedown"
bind = "sizeup"
bind [ "weapprev"
bind \ "+mlook"
bind ] "weapnext"
bind _ "sizedown"
bind ` "toggleconsole"
bind a "+moveleft"
bind b "buy ammo"
bind c "+movedown"
bind d "+moveright"
bind e "deconstruct"
bind f "+button3"
bind h "scoresUp"
bind i "messagemode4"
bind m "itemact medkit"
bind n "scoresDown"
bind q "+button7"
bind r "reload"
bind s "+back"
bind t "messagemode"
bind u "messagemode3"
bind w "+forward"
bind x "boost"
bind y "messagemode2"
bind z "+zoom"
bind ~ "toggleconsole"
bind PAUSE "pause"
bind UPARROW "+forward"
bind DOWNARROW "+back"
bind LEFTARROW "+left"
bind RIGHTARROW "+right"
bind ALT "+strafe"
bind CTRL "+attack"
bind SHIFT "+speed"
bind DEL "+lookdown"
bind PGDN "+lookup"
bind END "centerview"
bind F1 "vote yes"
bind F2 "vote no"
bind F11 "screenshotJPEG"
bind MOUSE1 "+attack"
bind MOUSE2 "+button5"
bind MOUSE3 "+button2"
bind MWHEELDOWN "weapnext"
bind MWHEELUP "weapprev"
seta com_hunkMegs "128"
seta com_altivec "0"
seta com_maxfps "85"
seta com_blood "1"
seta vm_cgame "2"
seta vm_game "2"
seta vm_ui "2"
seta sv_hostname "noname"
seta sv_maxRate "0"
seta sv_minPing "0"
seta sv_maxPing "0"
seta sv_master2 ""
seta sv_master3 ""
seta sv_master4 ""
seta sv_master5 ""
seta sv_lanForceRate "1"
seta cl_consoleHistory ""
seta cl_autoRecordDemo "0"
seta cl_aviFrameRate "25"
seta cl_aviMotionJpeg "1"
seta cl_yawspeed "140"
seta cl_pitchspeed "140"
seta cl_maxpackets "30"
seta cl_packetdup "1"
seta cl_run "1"
seta sensitivity "5"
seta cl_mouseAccel "0"
seta cl_freelook "1"
seta cl_allowDownload "0"
seta r_inGameVideo "1"
seta cg_autoswitch "1"
seta m_pitch "0.022"
seta m_yaw "0.022"
seta m_forward "0.25"
seta m_side "0.25"
seta m_filter "0"
seta cl_maxPing "800"
seta name "UnnamedPlayer"
seta rate "25000"
seta snaps "20"
seta model "sarge"
seta headmodel "sarge"
seta team_model "james"
seta team_headmodel "*james"
seta g_redTeam "Stroggs"
seta g_blueTeam "Pagans"
seta color1 "4"
seta color2 "5"
seta handicap "100"
seta sex "male"
seta cl_anonymous "0"
seta cg_predictItems "1"
seta cg_viewsize "100"
seta r_glDriver "libGL.so.1"
seta r_allowExtensions "1"
seta r_ext_compressed_textures "0"
seta r_ext_gamma_control "1"
seta r_ext_multitexture "1"
seta r_ext_compiled_vertex_array "1"
seta r_ext_texture_env_add "0"
seta r_picmip "0"
seta r_roundImagesDown "1"
seta r_detailtextures "1"
seta r_texturebits "0"
seta r_colorbits "0"
seta r_stereo "0"
seta r_stencilbits "8"
seta r_depthbits "0"
seta r_overBrightBits "1"
seta r_ignorehwgamma "0"
seta r_mode "3"
seta r_fullscreen "1"
seta r_customwidth "1600"
seta r_customheight "1024"
seta r_customaspect "1"
seta r_simpleMipMaps "1"
seta r_vertexLight "0"
seta r_subdivisions "4"
seta r_smp "0"
seta r_ignoreFastPath "1"
seta r_lodCurveError "250"
seta r_lodbias "0"
seta r_flares "0"
seta r_ignoreGLErrors "1"
seta r_fastsky "0"
seta r_drawSun "0"
seta r_dynamiclight "1"
seta r_dlightBacks "1"
seta r_finish "0"
seta r_textureMode "GL_LINEAR_MIPMAP_LINEAR"
seta r_swapInterval "0"
seta r_gamma "1.593750"
seta r_facePlaneCull "1"
seta r_railWidth "16"
seta r_railCoreWidth "6"
seta r_railSegmentLength "32"
seta r_primitives "0"
seta r_GLlibCoolDownMsec "0"
seta in_mouse "1"
seta in_subframe "1"
seta in_joystick "0"
seta joy_threshold "0.15"
seta r_lastValidRenderer "RADEON 9550 Generic"
seta s_volume "0.8"
seta s_musicvolume "0.5"
seta s_doppler "1"
seta s_useOpenAL "0"
seta s_khz "22"
seta s_mixahead "0.2"
seta s_mixPreStep "0.05"
seta s_sdlBits "16"
seta s_sdlSpeed "0"
seta s_sdlChannels "2"
seta s_sdlDevSamps "0"
seta s_sdlMixSamps "0"
seta com_soundMegs "8"
seta ui_ffa_fraglimit "20"
seta ui_ffa_timelimit "0"
seta ui_tourney_fraglimit "0"
seta ui_tourney_timelimit "15"
seta ui_team_fraglimit "0"
seta ui_team_timelimit "20"
seta ui_team_friendly "1"
seta ui_ctf_capturelimit "8"
seta ui_ctf_timelimit "30"
seta ui_ctf_friendly "0"
seta g_spScores1 ""
seta g_spScores2 ""
seta g_spScores3 ""
seta g_spScores4 ""
seta g_spScores5 ""
seta g_spAwards ""
seta g_spVideos ""
seta g_spSkill "2"
seta ui_browserMaster "0"
seta ui_browserGameType "0"
seta ui_browserSortKey "4"
seta ui_browserShowFull "1"
seta ui_browserShowEmpty "1"
seta cg_brassTime "2500"
seta cg_drawCrosshair "4"
seta cg_drawCrosshairNames "1"
seta cg_marks "1"
seta server1 ""
seta server2 ""
seta server3 ""
seta server4 ""
seta server5 ""
seta server6 ""
seta server7 ""
seta server8 ""
seta server9 ""
seta server10 ""
seta server11 ""
seta server12 ""
seta server13 ""
seta server14 ""
seta server15 ""
seta server16 ""
seta ui_teamName "Pagans"
seta ui_opponentName "Stroggs"
seta ui_redteam "Pagans"
seta ui_blueteam "Stroggs"
seta ui_dedicated "0"
seta ui_gametype "3"
seta ui_joinGametype "0"
seta ui_netGametype "3"
seta ui_actualNetGametype "3"
seta ui_redteam1 "0"
seta ui_redteam2 "0"
seta ui_redteam3 "0"
seta ui_redteam4 "0"
seta ui_redteam5 "0"
seta ui_blueteam1 "0"
seta ui_blueteam2 "0"
seta ui_blueteam3 "0"
seta ui_blueteam4 "0"
seta ui_blueteam5 "0"
seta ui_netSource "2"
seta ui_menuFiles "ui/menus.txt"
seta ui_currentTier "0"
seta ui_currentMap "0"
seta ui_currentNetMap "0"
seta ui_mapIndex "0"
seta ui_currentOpponent "0"
seta cg_selectedPlayer "5"
seta cg_selectedPlayerName "StevenM"
seta ui_lastServerRefresh_0 "Sep-4, 2006 at 20:59"
seta ui_lastServerRefresh_1 ""
seta ui_lastServerRefresh_2 "Sep-5, 2006 at 17:04"
seta ui_lastServerRefresh_3 ""
seta ui_scoreAccuracy "0%"
seta ui_scoreImpressives "0"
seta ui_scoreExcellents "0"
seta ui_scoreCaptures "0"
seta ui_scoreDefends "0"
seta ui_scoreAssists "0"
seta ui_scoreGauntlets "0"
seta ui_scoreScore "0"
seta ui_scorePerfect "0"
seta ui_scoreTeam "0 to 0"
seta ui_scoreBase "0"
seta ui_scoreTime "00:00"
seta ui_scoreTimeBonus "0"
seta ui_scoreSkillBonus "0"
seta ui_scoreShutoutBonus "0"
seta ui_smallFont "0.2"
seta ui_bigFont "0.5"
seta ui_findPlayer "Sarge"
seta ui_q3model "0"
seta cg_hudFiles "ui/hud.txt"
seta ui_recordSPDemo "0"
seta ui_teamArenaFirstRun "1"
seta g_warmup "20"
seta capturelimit "8"
seta ui_serverStatusTimeOut "7000"
seta cg_shadows "1"
seta cg_drawGun "1"
seta cg_zoomfov "22.5"
seta cg_fov "90"
seta cg_stereoSeparation "0.4"
seta cg_gibs "1"
seta cg_draw2D "1"
seta cg_drawStatus "1"
seta cg_drawTimer "1"
seta cg_drawFPS "1"
seta cg_drawDemoState "1"
seta cg_drawSnapshot "0"
seta cg_draw3dIcons "1"
seta cg_drawIcons "1"
seta cg_drawAmmoWarning "1"
seta cg_drawAttacker "1"
seta cg_drawRewards "1"
seta cg_crosshairX "0"
seta cg_crosshairY "0"
seta cg_simpleItems "0"
seta cg_lagometer "0"
seta cg_teslaTrailTime "250"
seta cg_railTrailTime "400"
seta cg_runpitch "0.002"
seta cg_runroll "0.005"
seta cg_bobpitch "0.002"
seta cg_bobroll "0.002"
seta cg_teamChatTime "3000"
seta cg_teamChatHeight "0"
seta cg_forceModel "0"
seta cg_deferPlayers "1"
seta cg_drawTeamOverlay "0"
seta cg_drawFriend "1"
seta cg_teamChatsOnly "0"
seta cg_noVoiceChats "0"
seta cg_noVoiceText "0"
seta cg_creepRes "16"
seta cg_wwSmoothTime "300"
seta cg_wwFollow "1"
seta cg_wwToggle "1"
seta cg_depthSortParticles "1"
seta cg_consoleLatency "3000"
seta cg_lightFlare "3"
seta cg_disableWarningDialogs "0"
seta cg_disableScannerPlane "0"
seta cg_tutorial "1"
seta cg_cameraOrbitDelay "50"
seta cg_scorePlums "1"
seta cg_smoothClients "0"
seta cg_noTaunt "0"
seta cg_noProjectileTrail "0"
seta cg_oldRail "1"
seta cg_oldRocket "1"
seta cg_oldPlasma "1"
seta cg_trueLightning "0.0"
seta cm_playerCurveClip "1"
seta com_zoneMegs "24"

I'm not seeing what you're looking for.

Nationalist

  • Posts: 12
  • Turrets: +0/-0
Re
« Reply #6 on: September 08, 2006, 07:57:05 pm »
Ok, I fixed it.

It turns out that Tremulous executes from usr/local/bin/tremulous.x86 and not usr/local/games/tremulous/tremulous.x86. So, when I deleted one of the two shortcuts created by the installer [thinking one was a duplicate] I deleted the shortcut that results in program settings being saved.

All is well now.

rasz_pl

  • Guest
Re: Re
« Reply #7 on: September 08, 2006, 08:20:59 pm »
Quote from: "Nationalist"
Ok, I fixed it.

It turns out that Tremulous executes from usr/local/bin/tremulous.x86 and not usr/local/games/tremulous/tremulous.x86. So, when I deleted one of the two shortcuts created by the installer [thinking one was a duplicate] I deleted the shortcut that results in program settings being saved.

All is well now.


no its not, why on earth did you install trem globally?

Nationalist

  • Posts: 12
  • Turrets: +0/-0
Re
« Reply #8 on: September 08, 2006, 09:06:21 pm »
What's wrong with installing trem globally?

stahlsau

  • Posts: 160
  • Turrets: +1/-1
Screen Resolution Resetting
« Reply #9 on: September 08, 2006, 09:53:01 pm »
nothing afaik. I think it does this by default.
Who cares? Although linux is a perfect multiuser system, not everyone uses it as one. Most people i know running linux use it as singleuser-system, and so they could install it to /var if they like to ;)

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Re: Re
« Reply #10 on: September 08, 2006, 11:40:19 pm »
Quote from: "rasz_pl"
Quote from: "Nationalist"
Ok, I fixed it.

It turns out that Tremulous executes from usr/local/bin/tremulous.x86 and not usr/local/games/tremulous/tremulous.x86. So, when I deleted one of the two shortcuts created by the installer [thinking one was a duplicate] I deleted the shortcut that results in program settings being saved.

All is well now.


no its not, why on earth did you install trem globally?


What wrong with installing globally?
Trem is a program not user data so should not be in /home
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

rasz_pl

  • Guest
Re: Re
« Reply #11 on: September 09, 2006, 12:34:25 am »
Quote from: "Nationalist"
What's wrong with installing trem globally?


trem installs globally only when you install it as root (last time i checked)

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Screen Resolution Resetting
« Reply #12 on: September 09, 2006, 12:35:30 am »
only root can install globally. whats wrong with that?
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

stahlsau

  • Posts: 160
  • Turrets: +1/-1
Screen Resolution Resetting
« Reply #13 on: September 09, 2006, 07:24:46 am »
nothing afaik. I think it does this by default.
Who cares? Although linux is a perfect multiuser system, not everyone uses it as one. Most people i know running linux use it as singleuser-system, and so they could install it to /var if they like to ;)

Nationalist

  • Posts: 12
  • Turrets: +0/-0
Re
« Reply #14 on: September 16, 2006, 10:16:22 pm »
I reinstalled Tremulous to my Home dir and now I have the same problem I had before with my resolution going back to 640x480. Since this is the second time i've had the problem in two installs, I would call it a confirmed bug.

Does anyone know of a workaround?

rasz_pl

  • Guest
Screen Resolution Resetting
« Reply #15 on: September 16, 2006, 11:27:10 pm »
delete autogen.cfg

Nationalist

  • Posts: 12
  • Turrets: +0/-0
Re
« Reply #16 on: September 16, 2006, 11:49:48 pm »
I deleted autogen.cfg in the base and base2 folders. My resolution still resets back to 640x480. I checked the permission of my .tremulous folder and everything is as it should be.

rasz_pl

  • Guest
Screen Resolution Resetting
« Reply #17 on: September 17, 2006, 12:20:11 am »
seta r_mode "6"
seta r_fullscreen "1"

find those in your new autogen adn change to 6 and 1

edit: 1 not 0, my bad

Nationalist

  • Posts: 12
  • Turrets: +0/-0
Re
« Reply #18 on: September 17, 2006, 08:24:20 am »
Tried it and it didn't work.

I noticed that if I set my resolution to 1024x768, that is the resolution I run at the next time I start Tremulous. It appears that 1280x1024 is the problematic resolution. Also, if I set it to 32bit, it goes back to default when I restart Tremulous.

rasz_pl

  • Guest
Screen Resolution Resetting
« Reply #19 on: September 17, 2006, 04:09:44 pm »
I know about resetting resolution with mipmap_nearest, but you got linear so its weird ...

Nationalist

  • Posts: 12
  • Turrets: +0/-0
Re
« Reply #20 on: September 17, 2006, 04:35:36 pm »
I just have no idea what to do about this. I can only hope it's a bug that will be fixed.

Nationalist

  • Posts: 12
  • Turrets: +0/-0
Re
« Reply #21 on: October 01, 2006, 10:00:59 pm »
Loandbehold the same problem has manifested itself in Windows XP SP2.

You have a bug !!

rasz_pl

  • Guest
Re: Re
« Reply #22 on: October 01, 2006, 10:40:44 pm »
Quote from: "Nationalist"
Loandbehold the same problem has manifested itself in Windows XP SP2.

You have a bug !!


again, in autogen, do you have
seta r_mode "6"
seta r_fullscreen "1"
??