Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Getting Farcry to work full-screen
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
Rainmaker
Veteran
Veteran


Joined: 12 Feb 2004
Posts: 1650
Location: /home/NL/ehv/

PostPosted: Mon Jul 26, 2004 1:23 am    Post subject: Getting Farcry to work full-screen Reply with quote

Hi guys,

I finally got farcry working. Pretty amazing, considering I got a Geforce 2 MX :P.

I got one problem remaining: it won't go fullscreen. I configured cedega to run fullscreen. I don't think it's cedega's problem, because CoD works fullscreen.

If I select full screen in the farcry options, it just gives me a 800x600 window, and just shows me the left-bottom 800x600 pixels. The rest of the screen is just... My desktop. Sorry, don't know how to explain it otherwise.

Can anyone who's got this working post his / her system.cfg file?

Here's mine:

Code:

-- [System-Configuration]
-- Attention: This file is generated by the system, do not modify! Editing is not recommended!

ca_ambient_light_intensity = "0.2000000029802322"
ca_ambient_light_range = "10"
ca_EnableDecals = "1"
cl_installshieldversion = "44"
cl_lazy_weapon = "0.0"
cl_projectile_light = "0"
cl_punkbuster = "0"
cl_saveubipassword = "1"
cl_weapon_fx = "2"
cl_weapon_light = "0"
e_active_shadow_maps_receving = "0"
e_beach = "1"
e_brushes_merging = "1"
e_cgf_load_lods = "1"
e_decals = "1"
e_decals_life_time_scale = "1.000000"
e_detail_texture_quality = "1"
e_EntitySuppressionLevel = "2"
e_flocks = "0"
e_light_maps_quality = "1"
e_max_entity_lights = "2"
e_obj_lod_ratio = "5.000000"
e_overlay_geometry = "1"
e_particles_lod = "0.750000"
e_particles_max_count = "2048"
e_shadow_maps = "0"
e_shadow_maps_from_static_objects = "1"
e_shadow_maps_view_dist_ratio = "10.000000"
e_shadow_spots = "0"
e_stencil_shadows = "0"
e_stencil_shadows_only_from_strongest_light = "1"
e_use_global_fog_in_fog_volumes = "0"
e_vegetation_min_size = "2.200000"
e_vegetation_sprites_distance_ratio = "1.000000"
es_CharZOffsetSpeed = "2.0"
es_EnableCloth = "1"
ExitOnQuit = "1"
fs_homepath = ""
g_gore = "1"
g_language = "english"
g_playerprofile = "default"
g_serverprofile = ""
g_timezone = "0"
game_GliderBackImpulse = "2.5f"
game_GliderDamping = "0.15f"
game_GliderGravity = "-0.1f"
game_GliderStartGravity = "-0.8f"
GL_TextureFilter = "GL_LINEAR_MIPMAP_LINEAR"
i_direct_input = "0"
i_mouse_accel = "0.0"
i_mouse_accel_max = "100.0"
i_mouse_mirror = "0"
i_mouse_smooth = "0.0"
log_FileVerbosity = "3"
log_Verbosity = "0"
mp_model = "objects/characters/pmodels/hero/hero_mp.cgf"
net_cheatprotection = "1"
p_color = "4"
p_deathtime = "30"
p_lightrange = "10"
p_model = "objects/characters/pmodels/hero/hero.cgf"
p_name = "Rainmaker"
r_Beams = "1"
r_Brightness = "0.445000"
r_checkSunVis = "1"
r_ColorBits = "16"
r_Contrast = "0.445000"
r_CoronaFade = "0.200000"
r_Coronas = "1"
r_CoronaSizeScale = "1.000000"
r_CryvisionType = "1"
r_DepthBits = "16"
r_DetailDistance = "4.000000"
r_DetailNumLayers = "1"
r_DetailTextures = "1"
r_DisableSfx = "0"
r_DisplayInfo = "1"
r_Driver = "OpenGL"
r_EnhanceImage = "0"
r_EnhanceImageAmount = "1.000000"
r_EnvCMResolution = "1"
r_EnvCMupdateInterval = "0.150000"
r_EnvLCMupdateInterval = "0.100000"
r_EnvLightCMSize = "8"
r_EnvLighting = "0"
r_EnvTexResolution = "2"
r_EnvTexUpdateInterval = "0.075000"
r_Flares = "1"
r_FSAA = "0"
r_FSAA_samples = "4"
r_Fullscreen = "0"
r_Gamma = "0.793750"
r_Glare = "0"
r_GlareQuality = "1"
r_HeatHaze = "0"
r_Height = "600"
r_MotionBlur = "0"
r_ProcFlares = "1"
r_Quality_BumpMapping = "0"
r_Quality_Reflection = "0"
r_RenderMode = "0"
r_ScopeLens_fx = "0"
r_SelfShadow = "0"
r_ShadowBlur = "0"
r_StencilBits = "8"
r_TexBumpResolution = "0"
r_TexLMResolution = "0"
r_TexQuality = "0"
r_TexResolution = "0"
r_TexSkyResolution = "1"
r_Texture_Anisotropic_Level = "1"
r_TexturesStreamPoolSize = "0"
r_Vegetation_PerpixelLight = "0"
r_VolumetricFog = "1"
r_VSync = "0"
r_WaterReflections = "1"
r_WaterRefractions = "0"
r_WaterUpdateFactor = "0.020000"
r_Width = "800"
s_CapsCheck = "0"
s_CompatibleMode = "0"
s_DopplerEnable = "0"
s_DopplerValue = "1.0"
s_DummySound = "0"
s_EnableSoundFX = "1"
s_InactiveSoundIterationTimeout = "1"
s_MaxActiveSoundSpots = "100"
s_MaxHWChannels = "28"
s_MaxSoundDist = "500"
s_MinHWChannels = "16"
s_MinRepeatSoundTimeout = "200"
s_MusicEnable = "1"
s_MusicMaxPatterns = "12"
s_MusicStreamedData = "0"
s_MusicVolume = "0.5"
s_SampleRate = "44100"
s_SFXVolume = "1"
s_SoundEnable = "1"
s_SpeakerConfig = "5"
s_VisAreasPropagation = "10"
sv_mapcyclefile = "mapcycle.txt"
sv_maxrate = "30000"
sv_maxrate_lan = "100000"
sv_punkbuster = "0"
sys_firstlaunch = "0"
sys_script_debugger = "0"
sys_skiponlowspec = "1"
sys_spec = "1"
sys_SSInfo = "0"
sys_warnings = "0"
ui_BackGroundVideo = "0"
ui_EasyToolTip = "0"
ui_RepeatDelay = "200"
ui_RepeatSpeed = "40"
ui_ToolTipDelay = "1500"
ui_ToolTips = "1"
ui_TriggerUIEvents = "1"
ui_TriggerWidgetEvents = "1"

_________________
If you can't dazzle them with brilliance, baffle them with bullshit.
Back to top
View user's profile Send private message
r3pek
Retired Dev
Retired Dev


Joined: 17 Sep 2003
Posts: 568
Location: Lisbon - Portugal

PostPosted: Mon Jul 26, 2004 1:44 am    Post subject: Reply with quote

try to change your game resolution to 1024x768 or whatever your desktop resolution is...
Back to top
View user's profile Send private message
antonlacon
Apprentice
Apprentice


Joined: 27 Jun 2004
Posts: 257

PostPosted: Mon Jul 26, 2004 2:13 am    Post subject: Reply with quote

Does the desktop "zoom" into that 800x600 area so that FC appears to take up a full screen, but you can still scroll (by moving mouse) to the rest of the desktop?
Back to top
View user's profile Send private message
Rainmaker
Veteran
Veteran


Joined: 12 Feb 2004
Posts: 1650
Location: /home/NL/ehv/

PostPosted: Mon Jul 26, 2004 2:20 am    Post subject: Reply with quote

I tried that, but the window is not excactly center, so it displays the title bar, and I'm missing the radar.

My desktop is running at 1280x1024. I simply do not have the system recourses (video memory) to run 2 x servers, one at 800x600 just for farcry. There must be a pretty simple setting I'm missing here?
_________________
If you can't dazzle them with brilliance, baffle them with bullshit.
Back to top
View user's profile Send private message
Plastic
l33t
l33t


Joined: 24 Mar 2004
Posts: 649

PostPosted: Mon Jul 26, 2004 3:46 am    Post subject: Reply with quote

What nvidia drivers are you using? 6106 is known to be incompatible with FarCry.
Back to top
View user's profile Send private message
yutt
n00b
n00b


Joined: 22 Sep 2003
Posts: 59

PostPosted: Mon Jul 26, 2004 5:12 am    Post subject: Reply with quote

Plastic wrote:
What nvidia drivers are you using? 6106 is known to be incompatible with FarCry.

They are? I am playing using my Gainward 5700 with the 6106 drivers without a hitch. Well, besides the game pausing every 3 - 5 seconds, but that's not related to the graphics card.
Back to top
View user's profile Send private message
Plastic
l33t
l33t


Joined: 24 Mar 2004
Posts: 649

PostPosted: Mon Jul 26, 2004 2:32 pm    Post subject: Reply with quote

You got 6106 working with FarCry? I MUST KNOW YOUR CONFIGURATION! Tell me which wine, which resolution, which quality settings, if you used the loki installer, and what your ~/.wine/config looks like.
Back to top
View user's profile Send private message
Rainmaker
Veteran
Veteran


Joined: 12 Feb 2004
Posts: 1650
Location: /home/NL/ehv/

PostPosted: Mon Jul 26, 2004 3:30 pm    Post subject: Reply with quote

yes, I'm using 6106...

Code:

WINE REGISTRY Version 2
;; All keys relative to \\Machine\\Software\\Wine\\Wine\\Config

;;
;; MS-DOS drives configuration
;;
;; Each section has the following format:
;; [Drive X]
;; "Path"="xxx"       (Unix path for drive root)
;; "Type"="xxx"       (supported types are 'floppy', 'hd', 'cdrom' and 'network')
;; "Label"="xxx"      (drive label, at most 11 characters)
;; "Serial"="xxx"     (serial number, 8 characters hexadecimal number)
;; "Filesystem"="xxx" (supported types are 'msdos'/'dos'/'fat', 'win95'/'vfat', 'unix')
;;   This is the FS Wine is supposed to emulate on a certain
;;   directory structure.
;;   Recommended:
;;   - "win95" for ext2fs, VFAT and FAT32
;;   - "msdos" for FAT16 (ugly, upgrading to VFAT driver strongly recommended)
;;   DON'T use "unix" unless you intend to port programs using Winelib !
;; "Device"="/dev/xx" (only if you want to allow raw device access)
;;
[Drive A]
"Type" = "floppy"
"Path" = "/mnt/floppy"
"Label" = "/mnt/floppy"
"Device" = "/dev/floppy/0"

[Drive C]
"Path" = "/home/windows/"
"Type" = "hd"
"Label" = "/home/windows/"
"Filesystem" = "win95"


[Drive L]
"Type" = "cdrom"
"Path" = "/mnt/image"
"Label" = "/mnt/image"
"FS" = "win95"

[Drive M]
"Type" = "cdrom"
"Path" = "/mnt/cdrom"
"Label" = "/mnt/cdrom"
"FS" = "win95"
"Device" = "/dev/cdroms/../ide/host0/bus1/target0/lun0/cd"

[Drive N]
"Type" = "cdrom"
"Path" = "/mnt/cdrom1"
"Label" = "/mnt/cdrom1"
"FS" = "win95"
"Device" = "/dev/cdroms/../ide/host0/bus1/target1/lun0/cd"

[Drive X]
"Type" = "hd"
"Path" = "/tmp"
"Label" = "Tmp Drive"
"FS" = "win95"

[Drive Z]
"Type" = "network"
"Path" = "/"
"Label" = "Root"

[wine]
"Windows" = "C:\\Windows"
"System" = "C:\\Windows\\System"
"Temp" = "X:\\"
"Path" = "C:\\Windows;C:\\Windows\\System;X:\\"
"GraphicsDriver" = "x11drv"
; Wine doesn't pass directory symlinks to Windows programs by default.
; Enabling this may crash some programs that do recursive lookups of a whole
; subdir tree in case of a symlink pointing back to itself.
;
; Note: The WINESHELLLINK Environment variable will override this setting.
;       (which is set in the winex startup script)
;"ShowDirSymlinks" = "1"
"ShellLinker" = "/usr/lib/transgaming_cedega/winex/bin/wineshelllink"
;
; Browser to be used by winebrowserlink.
; Note: The WINEBROWSER Environment variable will override this setting.
;"Browser" = "/usr/bin/konqueror"

# <wineconf>

"Profile" = "C:\\Windows\\Profiles\\Administrator"

[DllDefaults]
"DefaultLoadOrder" = "native, builtin, so"

[DllOverrides]
"commdlg"      = "builtin, native"
"comdlg32"     = "builtin, native"
"oleaut32"     = "builtin, native"
"ver"          = "builtin, native"
"version"      = "builtin, native"
"shell"        = "builtin, native"
"shell32"      = "builtin, native"
"shfolder"     = "builtin, native"
"shlwapi"      = "builtin, native"
"lzexpand"     = "builtin, native"
"lz32"         = "builtin, native"
"comctl32"     = "builtin, native"
"commctrl"     = "builtin, native"
"advapi32"     = "builtin, native"
"crtdll"       = "builtin, native"
"mpr"          = "builtin, native"
"winspool.drv" = "builtin, native"
"d3d8"         = "builtin, native"
"d3drm"        = "builtin, native"
"ddraw"        = "builtin, native"
"dinput"       = "builtin, native"
"dinput8"      = "builtin, native"
"dmusic"       = "builtin, native"
"dsound"       = "builtin, native"
"opengl32"     = "builtin, native"
"msvcrt"       = "native, builtin"
"rpcrt4"       = "native, builtin"
"msvideo"      = "builtin, native"
"msvfw32"      = "builtin, native"
"mcicda.drv"   = "builtin, native"
"mciseq.drv"   = "builtin, native"
"mciwave.drv"  = "builtin, native"
"mciavi.drv"   = "native, builtin"
"mcianim.drv"  = "native, builtin"
"msacm.drv"    = "builtin, native"
"msacm"        = "builtin, native"
"msacm32"      = "builtin, native"
"midimap.drv"  = "builtin, native" 
"wininet"      = "builtin, native"

[Version]
; Windows version to imitate. Valid versions are: 'win20', 'win30', 'win31', 'win95', 'win98', 'winme', 'nt351', 'nt40', 'win2000', 'winxp'
"Windows" = "win98"
; DOS version to imitate
;"DOS" = "6.22"

[x11drv]
; Number of colors to allocate from the system palette
"AllocSystemColors" = "100"
; Number of colors to copy from the default palette
"CopyDefaultColors" = "0"
; Use a private color map
"PrivateColorMap" = "N"
; Favor correctness over speed in some graphics operations
"PerfectGraphics" = "N"
; Color depth to use on multi-depth screens
;;"ScreenDepth" = "16"
; Name of X11 display to use
;;"Display" = ":0.0"
; Allow the window manager to manage created windows
"Managed" = "Y"
; Use a desktop window of 640x480 for Wine
"Desktop" = "N"
; Use XFree86 DGA extension if present
; (make sure /dev/mem is accessible by you !)
"UseDGA" = "Y"
; Use XShm extension if present
"UseXShm" = "Y"
; Enable DirectX mouse grab
"DXGrab" = "Y"
; Use XVidMode extension if present
"UseXVidMode" = "Y"
; Use XRandR extension if present
"UseXRandR" = "Y"
; Create the desktop window with a double-buffered visual
; (useful to play OpenGL games)
"DesktopDoubleBuffered" = "N"
; Code page used for captions in managed mode
; 0 means default ANSI code page (CP_ACP == 0)
"TextCP" = "0"
; Use this if you have more than one port for video on your setup
; (Wine uses for now the first 'input image' it finds).
;; "XVideoPort" = "43"
; Use this to make your X server execute all commands
; sequentially rather than buffering commands. Will make
; everything really SLOW but can be nice for debugging.
"Synchronous" = "N"
; Enable the FPS count on the TransGaming HUD (also activates the HUD)
;; "ShowFPS" = "Y"
; Enable memory statistics on the TransGaming HUD (must have ShowFPS activated)
;; "ShowMem" = "Y"
; How much Video RAM does your card have?
"VideoRam" = "64"
; How much should WineX attempt to store into faster AGP memory
"AGPVertexRam" = "64"
; Use NV_VAR (enabled by default)
;;"NV_VAR" = "Y"
; Use ARB_VBO (enabled by default, NV_VAR takes precendence)
;;"ARB_VBO" = "Y"
"AGPVertexRam" = "0"

[d3dgl]
"AnisotropicTextureFiltering" = "N"
"VertexShaders" = "Y"
; type of vertex shaders to use (Hardware/Software/Auto)
; hardware will use whatever the opengl drivers make available
; software will use winex software emulation (will be slow!)
; (has not been implemented yet!)
;; "VertexShaderMode" = "Auto"
"PixelShaders" = "Y"
; Which version of pixel shaders to attempt to use, if available
;;"PixelShadersLevel" = "1.1"
"ClipSpaceFix" = "Y"
; enable software vertex blend weight support (Yes/No/Auto)
; provide software blending fallback if hardware support not available
; (has not been implemented yet!)
;; "SoftwareVertexBlending" = "Auto"
; (dev-only) Maximum number of texture stages that WineX should attempt to use (1-8)
;; "MaxTextureStages" = "8"
; (dev-only) Identify polygons under the mouse cursor
;; "InterceptMode" = "N"
; (dev-only) apply fragment translation in vertex program (Yes/No/Auto)
;;"FragmentOffset" = "Auto"

[dinput]
; dead zone for joystick input from 0 to 10000. 1000 is 10% of range.
"DefaultDeadZone" = "1000"

[joystick]
;; Configuration of the function of joystick axes
;; The joystick name and axis functions can be determined with jstest.
;; The available axis types are:
;;   "none", "X", "Y", "Z", "RX", "RY", "RZ",
;;   "slider", "hat", "POV", and "ball"
;; "hat" and "POV" are synonymous. Hats use two axes.

"Logitech Inc. WingMan RumblePad" = "X,Y,slider,Z,RZ,hat,none"

[fonts]
;Read documentation/fonts before adding aliases
"Resolution" = "96"
"Default" = "-adobe-times-"
; Use new improved fonts (uses FreeType and XRender libraries) at user request.
; Defaults to "Y".
;"FreeType" = "N"


[FontPatterns]
"Pattern0" = "-adobe-times*"
"Pattern1" = "-adobe-helvetica*"
"Pattern2" = "-adobe-courier*"
"Pattern3" = "-misc-fixed*"

[FontDirs]
;"0"="/path/to/extra/fonts"

[FontAlias]
;; Add font aliases here. On the left put the name of the windows font family
;; that you want to fake, on the right put the a similar font family that you
;; have installed. These will override the fontconfig and the WineX builtin fallbacks,
;; but may look better (if you choose them correctly).
;; Alias' may refer to other alias' that have been defined above them.
;; These alias' are the first that WineX loads.
;;
;; Serif Fonts
;"Times New Roman"="Times"
"MS Serif"="Times New Roman"
;;
;; Sans Serif Fonts
;"Arial"="Helvetica"
"Helv"="Arial"
"MS Sans Serif"="Arial"
"System"="Arial"
"Tahoma"="Arial"
;;
;; Mono Space Fonts
;"Courier New"="Courier"
;"FixedSys"="Courier"

[memory]
;; Attempt to make memory allocation more windows like.
;; Not for use with all applications. Best used in app default section.
; "MemoryLayoutOverride" = "0x10000000"



[serialports]
"Com1" = "/dev/ttyS0"
"Com2" = "/dev/ttyS1"
"Com3" = "/dev/ttyS2"
"Com4" = "/dev/modem"

[parallelports]
"Lpt1" = "/dev/lp0"

[spooler]
"LPT1:" = "|lpr"
"LPT2:" = "|gs -sDEVICE=bj200 -sOutputFile=/tmp/fred -q -"
"LPT3:" = "/dev/lp3"

[ports]
;"read" = "0x779,0x379,0x280-0x2a0"
; "write" = "0x779,0x379,0x280-0x2a0"

[spy]
"Exclude" = "WM_SIZE;WM_TIMER;"

[registry]
;These are all booleans.  Y/y/T/t/1 are true, N/n/F/f/0 are false.
;Defaults are read all, write to Home
; Global registries (stored in /etc)
"LoadGlobalRegistryFiles" = "Y"
; Home registries (stored in ~user/.wine/)
"LoadHomeRegistryFiles" = "Y"
; Load Windows registries from the Windows directory
"LoadWindowsRegistryFiles" = "Y"
; TRY to write all changes to home registries
"WritetoHomeRegistryFiles" = "Y"
; Registry periodic save timeout in seconds
; "PeriodicSave" = "600"
; Save only modified keys
"SaveOnlyUpdatedKeys" = "Y"

[Tweak.Layout]
;; supported styles are 'Win31'(default), 'Win95', 'Win98'
"WineLook" = "Win98"

[Console]
"Drivers" = "xterm"
;"Drivers" = "tty"
"XtermProg" = "xterm -ls"
;"InitialRows" = "25"
;"InitialColumns" = "80"
;"TerminalType" = "nxterm"

[Clipboard]
"ClearAllSelections" = "0"
"PersistentSelection" = "1"

; List of all directories directly contain .AFM files
[afmdirs]
;"1" = "/usr/share/ghostscript/fonts"
;"2" = "/usr/share/a2ps/afm"
;"3" = "/usr/share/enscript"
;"4" = "/usr/X11R6/lib/X11/fonts/Type1"

[Wineserver]
"SHMWineserver" = "Y"

[WinMM]
"Drivers" = "wineoss.drv"
"WaveMapper" = "msacm.drv"
"MidiMapper" = "midimap.drv"

[wineoss]
"UseMMap" = "N"
"FullDuplex" = "Y"
;; Specify a mapping for what digital audio devices to use
;"dsp0" = "/dev/dsp0"
;"mixer0" = "/dev/mixer0"

[winealsa]
"UseMMap" = "Y"
;"pcm0" = "hw"
;"ctl0" = "hw"

;; App default settings

;; Battle Field 1942 settings
[AppDefaults\\bf1942.exe\\d3dgl]
"ClipSpaceFix" = "N"

;; Medal Of Honor settings
[AppDefaults\\mohaa.exe\\memory]
"MemoryLayoutOverride" = "0x10000000"
[AppDefaults\\mohaademo.exe\\memory]
"MemoryLayoutOverride" = "0x10000000"

[AppDefaults\\moh_spearhead.exe\\memory]
"MemoryLayoutOverride" = "0x10000000"
[AppDefaults\\moh_spearhead.exe\\Version]
"Windows" = "win2k"
[AppDefaults\\moh_spearhead_demo.exe\\memory]
"MemoryLayoutOverride" = "0x10000000"

;; SimCity 4 settings
[AppDefaults\\SimCity 4.exe\\Version]
"Windows" = "win2k"
[AppDefaults\\SimCity 4.exe\\transgaming]
"cmdlineadd" = "-d:software"

;; Civ 3
[AppDefaults\\Civilization3.exe\\Version]
"Windows" = "win2k"

;; Call of Duty
[AppDefaults\\CoDSP.exe\\Version]
"Windows" = "win2k"
[AppDefaults\\CoDMP.exe\\Version]
"Windows" = "win2k"

;; City of Heros
[AppDefaults\\CityOfHeroes.exe\\Version]
"Windows" = "win2k"
[AppDefaults\\CityOfHeroes.exe\\cursor]
"CursorAlphaAlwaysOn" = "Y"
[AppDefaults\\CohUpdater.exe\\Version]
"Windows" = "win2k"
[AppDefaults\\CohUpdater.exe\\cursor]
"CursorAlphaAlwaysOn" = "Y"

;; EverQuest
[AppDefaults\\eqgame.exe\\d3dgl]
"ClipSpaceFix" = "N"
"ForceMaxVertexBlendMatrices" = "2"
[AppDefaults\\testeqgame.exe\\d3dgl]
"ClipSpaceFix" = "N"
"ForceMaxVertexBlendMatrices" = "2"

;; Need for Speed Underground
[AppDefaults\\Speed.exe\\d3dgl]
"PixelShaders" = "N"

;; Max Payne 2
[AppDefaults\\MaxPayne2.exe\\d3dgl]
"PixelShaders" = "N"
# </wineconf>


Code:
# File generated by xorgconfig.

#
# Copyright 2004 The X.Org Foundation
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
# THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
# OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# Except as contained in this notice, the name of The X.Org Foundation shall
# not be used in advertising or otherwise to promote the sale, use or other
# dealings in this Software without prior written authorization from
# The X.Org Foundation.
#

# **********************************************************************
# Refer to the xorg.conf(5x) man page for details about the format of
# this file.
# **********************************************************************

# **********************************************************************
# Module section -- this  section  is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
Section "Module"

# This loads the DBE extension module.

    Load        "dbe"     # Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection

# This loads the Type1 and FreeType font modules
    Load        "type1"
    Load        "speedo"
    Load        "freetype"
#    Load        "xtt"

# This loads the GLX module
    Load       "glx"
# This loads the DRI module
#    Load       "dri"

EndSection

# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"

# The location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.

    RgbPath   "/usr/X11R6/lib/X11/rgb"

# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
#
#
#     FontPath   "unix/:-1"
    FontPath   "/usr/share/fonts/corefonts"
    FontPath   "/usr/share/fonts/misc/"
    FontPath   "/usr/share/fonts/TTF/"
    FontPath   "/usr/share/fonts/Speedo/"
    FontPath   "/usr/share/fonts/Type1/"
    FontPath   "/usr/share/fonts/CID/"
    FontPath   "/usr/share/fonts/75dpi/"
    FontPath   "/usr/share/fonts/100dpi/"
    FontPath   "/usr/share/fonts/local/"
    FontPath   "/usr/share/fonts/TrueType/"
    FontPath   "/usr/share/fonts/freefont/"

# The module search path.  The default path is shown here.

#    ModulePath "/usr/X11R6/lib/modules"

EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"

# Uncomment this to cause a core dump at the spot where a signal is
# received.  This may leave the console in an unusable state, but may
# provide a better stack trace in the core dump to aid in debugging

#    Option "NoTrapSignals"

# Uncomment this to disable the <Crtl><Alt><Fn> VT switch sequence
# (where n is 1 through 12).  This allows clients to receive these key
# events.

#    Option "DontVTSwitch"

# Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
# This allows clients to receive this key event.

#    Option "DontZap"

# Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
# sequences.  This allows clients to receive these key events.

#    Option "Dont Zoom"

# Uncomment this to disable tuning with the xvidtune client. With
# it the client can still run and fetch card and monitor attributes,
# but it will not be allowed to change them. If it tries it will
# receive a protocol error.

#    Option "DisableVidModeExtension"

# Uncomment this to enable the use of a non-local xvidtune client.

#    Option "AllowNonLocalXvidtune"

# Uncomment this to disable dynamically modifying the input device
# (mouse and keyboard) settings.

#    Option "DisableModInDev"

# Uncomment this to enable the use of a non-local client to
# change the keyboard or mouse settings (currently only xset).

#    Option "AllowNonLocalModInDev"

EndSection

# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"

    Identifier   "Keyboard1"
    Driver   "Keyboard"

# For most OSs the protocol can be omitted (it defaults to "Standard").
# When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
# uncomment the following line.

#    Option     "Protocol"      "Xqueue"

    Option "AutoRepeat" "500 30"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
#    Option   "Xleds"      "1 2 3"

#    Option "LeftAlt"     "Meta"
#    Option "RightAlt"    "ModeShift"

# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults).  For example, for a non-U.S.
# keyboard, you will probably want to use:
#    Option "XkbModel"    "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
#    Option "XkbModel"    "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
#    Option "XkbLayout"   "de"
# or:
#    Option "XkbLayout"   "de"
#    Option "XkbVariant"  "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
#    Option "XkbOptions"  "ctrl:swapcaps"

# These are the default XKB settings for Xorg
#    Option "XkbRules"    "xorg"
#    Option "XkbModel"    "pc101"
#    Option "XkbLayout"   "us"
#    Option "XkbVariant"  ""
#    Option "XkbOptions"  ""

#    Option "XkbDisable"

    Option "XkbRules"   "xorg"
    Option "XkbModel"   "pc104"
    Option "XkbLayout"   "us"

EndSection


# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"

# Identifier and driver

    Identifier   "Mouse1"
    Driver   "mouse"
    Option "ZAxisMapping" "4 5"
    Option "Protocol"    "IMPS/2"
    Option "Device"      "/dev/mouse"

# Mouse-speed setting for PS/2 mouse.

#    Option "Resolution"   "256"

# When using XQUEUE, comment out the above two lines, and uncomment
# the following line.

#    Option "Protocol"   "Xqueue"

# Baudrate and SampleRate are only for some Logitech mice. In
# almost every case these lines should be omitted.

#    Option "BaudRate"   "9600"
#    Option "SampleRate"   "150"

# Emulate3Buttons is an option for 2-button Microsoft mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)

#    Option "Emulate3Buttons"
#    Option "Emulate3Timeout"    "50"

# ChordMiddle is an option for some 3-button Logitech mice

#    Option "ChordMiddle"

EndSection


# **********************************************************************
# Other input device sections
# this is optional and is required only if you
# are using extended input devices.  This is for example only.  Refer
# to the xorg.conf man page for a description of the options.
# **********************************************************************
#
# Section "InputDevice"
#    Identifier  "Mouse2"
#    Driver      "mouse"
#    Option      "Protocol"      "MouseMan"
#    Option      "Device"        "/dev/mouse2"
# EndSection
#
# Section "InputDevice"
#    Identifier "spaceball"
#    Driver     "magellan"
#    Option     "Device"        "/dev/cua0"
# EndSection
#
# Section "InputDevice"
#    Identifier "spaceball2"
#    Driver     "spaceorb"
#    Option     "Device"        "/dev/cua0"
# EndSection
#
# Section "InputDevice"
#    Identifier "touchscreen0"
#    Driver     "microtouch"
#    Option     "Device"        "/dev/ttyS0"
#    Option     "MinX"          "1412"
#    Option     "MaxX"          "15184"
#    Option     "MinY"          "15372"
#    Option     "MaxY"          "1230"
#    Option     "ScreenNumber"  "0"
#    Option     "ReportingMode" "Scaled"
#    Option     "ButtonNumber"  "1"
#    Option     "SendCoreEvents"
# EndSection
#
# Section "InputDevice"
#    Identifier "touchscreen1"
#    Driver     "elo2300"
#    Option     "Device"        "/dev/ttyS0"
#    Option     "MinX"          "231"
#    Option     "MaxX"          "3868"
#    Option     "MinY"          "3858"
#    Option     "MaxY"          "272"
#    Option     "ScreenNumber"  "0"
#    Option     "ReportingMode" "Scaled"
#    Option     "ButtonThreshold"       "17"
#    Option     "ButtonNumber"  "1"
#    Option     "SendCoreEvents"
# EndSection

# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"

    Identifier  "Eizo F56"

# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

    HorizSync   27-86

#    HorizSync   30-64         # multisync
#    HorizSync   31.5, 35.2    # multiple fixed sync frequencies
#    HorizSync   15-25, 30-50  # multiple ranges of sync frequencies

# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

    VertRefresh 50-160

EndSection


# **********************************************************************
# Graphics device section
# **********************************************************************

# Any number of graphics device sections may be present

# Standard VGA Device:

Section "Device"
    Identifier   "Standard VGA"
    VendorName   "Unknown"
    BoardName   "Unknown"

# The chipset line is optional in most cases.  It can be used to override
# the driver's chipset detection, and should not normally be specified.

#    Chipset   "generic"

# The Driver line must be present.  When using run-time loadable driver
# modules, this line instructs the server to load the specified driver
# module.  Even when not using loadable driver modules, this line
# indicates which driver should interpret the information in this section.

    Driver     "nvidia"
# The BusID line is used to specify which of possibly multiple devices
# this section is intended for.  When this line isn't present, a device
# section can only match up with the primary video device.  For PCI
# devices a line like the following could be used.  This line should not
# normally be included unless there is more than one video device
# intalled.

#    BusID      "PCI:0:10:0"

#    VideoRam   256

#    Clocks   25.2 28.3

EndSection

# Device configured by xorgconfig:

Section "Device"
    Identifier  "Nvidia Geforce 2"
    Driver      "nvidia"
   # unsupported card
    #VideoRam    65536
    # Insert Clocks lines here if appropriate
EndSection


# **********************************************************************
# Screen sections
# **********************************************************************

# Any number of screen sections may be present.  Each describes
# the configuration of a single screen.  A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
    Identifier  "Screen 1"
    Device      "Nvidia Geforce 2"
    Monitor     "Eizo F56"
    DefaultDepth 16

    Subsection "Display"
        Depth       8
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
EndSection

# **********************************************************************
# ServerLayout sections.
# **********************************************************************

# Any number of ServerLayout sections may be present.  Each describes
# the way multiple screens are organised.  A specific ServerLayout
# section may be specified from the X server command line with the
# "-layout" option.  In the absence of this, the first section is used.
# When now ServerLayout section is present, the first Screen section
# is used alone.

Section "ServerLayout"

# The Identifier line must be present
    Identifier  "Simple Layout"

# Each Screen line specifies a Screen section name, and optionally
# the relative position of other screens.  The four names after
# primary screen name are the screens to the top, bottom, left and right
# of the primary screen.  In this example, screen 2 is located to the
# right of screen 1.

    Screen "Screen 1"

# Each InputDevice line specifies an InputDevice section name and
# optionally some options to specify the way the device is to be
# used.  Those options include "CorePointer", "CoreKeyboard" and
# "SendCoreEvents".

    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"

EndSection

# Section "DRI"
#    Mode 0666
# EndSection


Sorry for the long post, but I hope I can help plastic with this...

BTW Plastic: what videocard? Works good on my Geforce 2 (only not fullscreen), might give troubles on other videocards though
_________________
If you can't dazzle them with brilliance, baffle them with bullshit.
Back to top
View user's profile Send private message
Rainmaker
Veteran
Veteran


Joined: 12 Feb 2004
Posts: 1650
Location: /home/NL/ehv/

PostPosted: Mon Jul 26, 2004 3:31 pm    Post subject: Reply with quote

Oh, and here's the shellscript I use to start Farcry:

Code:

#!/bin/sh

GAME_BINARY="FarCry.exe"
SUBDIR="Bin32"
WINE_NAMES="cedega"

#----------------------------------------
script=$0
count=0

while [ -L "$script" ] 
do
    script=`perl -e "print readlink(\"$script\"), \"\n\""`
    count=`expr $count + 1`

    if [ $count -gt 100 ] 
    then
          echo "Too many symbolic links"
          exit 1
    fi
done

GAME_DIR=`dirname $script`

if [ -z "$WINE_EXEC" ]
then
   WINE_EXEC=`type -p $WINE_NAMES | head -1 `
fi


if [ -e "$WINE_EXEC" ]
then
   cd $GAME_DIR
   cd $SUBDIR
   $WINE_EXEC $GAME_BINARY -DEVMODE $* &
   sleep 2 &&
   renice 20 -p `pgrep wineserver`
else
   echo "Wine(X) not in your PATH"
   exit 1
fi


From the Loki installer
_________________
If you can't dazzle them with brilliance, baffle them with bullshit.
Back to top
View user's profile Send private message
Malakin
Veteran
Veteran


Joined: 14 Apr 2002
Posts: 1692
Location: Victoria BC Canada

PostPosted: Mon Jul 26, 2004 5:45 pm    Post subject: Reply with quote

So some of you are actually getting FarCry to run fullscreen without having it match your desktop resolution?
I was always running a separate X server for it.
Back to top
View user's profile Send private message
Rainmaker
Veteran
Veteran


Joined: 12 Feb 2004
Posts: 1650
Location: /home/NL/ehv/

PostPosted: Tue Jul 27, 2004 1:32 am    Post subject: Reply with quote

Yeah, if I could I would do that to, but 64 Megs in your videocard is barely enough to run farcry, let alone an extra x server + farcry...

I tried downgrading my nvidia drivers, but still the same problem...
_________________
If you can't dazzle them with brilliance, baffle them with bullshit.
Back to top
View user's profile Send private message
Plastic
l33t
l33t


Joined: 24 Mar 2004
Posts: 649

PostPosted: Tue Jul 27, 2004 2:27 am    Post subject: Reply with quote

I'm running a 6800 :D Thanks for the configs, I'll tell you if they work.
Back to top
View user's profile Send private message
Rainmaker
Veteran
Veteran


Joined: 12 Feb 2004
Posts: 1650
Location: /home/NL/ehv/

PostPosted: Tue Jul 27, 2004 12:02 pm    Post subject: Reply with quote

You might wanna take a look at system.cfg. My version uses 800x600x16...

You could definetly use 1024x768x32...
_________________
If you can't dazzle them with brilliance, baffle them with bullshit.
Back to top
View user's profile Send private message
Plastic
l33t
l33t


Joined: 24 Mar 2004
Posts: 649

PostPosted: Tue Jul 27, 2004 3:17 pm    Post subject: Reply with quote

I think the reason that it won't work on my machine is because you have the full version of Cedega, and I only have the un-updated CVS version (known to be glitchy). Maybe I'll shell out the $15 for Cedega and see how it works...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum