Author Topic: Fedora 17 & NWN troubles  (Read 512 times)

Legacy_Soleares

  • Newbie
  • *
  • Posts: 42
  • Karma: +0/-0
Fedora 17 & NWN troubles
« on: February 18, 2013, 09:30:22 pm »


               Since there are obviously not enough linux-based threads in this forum, I thought I would add one more. I seem to have some minor issues, which I was hoping people would know the answer to. Mind you, I have not got a lot of experience with Fedora, having only recently crossed over from using Windows.

I have gotten the game to work, and several other things, mostly thanks to the helpful threads that are already here, for which I am grateful. There are however a few minor issues that I do not understand the reason for.

The first being that I cannot get the game to run in windowed mode, despite my several efforts in changing it back and forth in the .ini file. I can launch the shell-script, and either running it normally or in the terminal does me no good. Switching workspaces does me no good, the game can display in any size, but takes up the entire screen, and switching back to 800x1280 while having loaded the game in 600x800 displays an 800x1280 screen, but cuts it at the sides displaying only 600x800 of this screen.

The other issue, is that the game, outside from the OC, clothing and some placeables, is displayed entirely in shades of white. Switching texturepacks did not help, and I also noticed that I was forced to change the name of some hakpacks, since these seemed to use captions, and due to the server not using these I was forced to change just the name. This was enough, but I found it curious, and since the OC does not use hakpacks, and is functioning normally, I suspect this to be part of the problem.

If anyone has experienced something similiar to this, or has any idea as to why this is happening, I would be very grateful.
               
               

               
            

Legacy_Skildron

  • Sr. Member
  • ****
  • Posts: 421
  • Karma: +0/-0
Fedora 17 & NWN troubles
« Reply #1 on: February 19, 2013, 01:12:29 pm »


               About renaming hak pack files: If you mean be "captions" "capital letters" in file names, then, yes, you have to rename them because, other then windows, all Linux file system arecase sensitive. So you can have a file "xyz.hak" alongside another one called "XYZ.hak" - on Linux systems, they are completly different file names. That's what the "fixinstall" script is for. It's intended to rename some files in your nwn install dirs to lower case, especially hak pack files, bmu music files. tlk tables and some others. After installing new modules, hak packs or other files, you need to run fixinstall to make sure NWN can use those files.

Regarding windowed mode: You have to allow windowed mode in the nwn.ini file by adding
AllowWindowedMode=1
FullScreen=0
to the section [Display Options]. IIRC, it's not in there by default.

The shades of white (metallic reflections?) on placeables and clothing may have different reasons. If you have an Intel integrated graphic chip, you need to install the programm "driconf" from the fedora repositories and set s3tc texture decompression to "on". If you have an ATi (AMD) or nvidia Graphics chip, then it may help to install the closed source drivers from the graphic manufacturers, if you have not already done so. If all that does not help, try enabling or disabling "Environment Mapping on Creatures" in the "Advanced Video Settings".

That should address your issues. Please report back if you could solve your nwn issues or feel free to ask if it did not help.

Greetings
Skildron
               
               

               
            

Legacy_Soleares

  • Newbie
  • *
  • Posts: 42
  • Karma: +0/-0
Fedora 17 & NWN troubles
« Reply #2 on: February 19, 2013, 04:12:09 pm »


               Thank you very much for the information, I ran the fixinstall script again, though I suppose since I had already changed back some capital letters myself it was not necessary, no harm done in redoing it in any case.

I had already added the lines regarding windowed mode, which is why I asked, I do not quite understand why it is not showing what I read it should in the file. I posted my .ini file below in case it helps.

[Sound Options]
Speaker Type=-1
SoundFX Volume=0.00
Voice Volume=0.00
Music Volume=0.00
2D3D Bias=0.00
Number 3D Voices=8
Number 2D Voices=8
3D Provider=
Environment Effects=0
DisableSound=0
[Display Options]
UseLargeFont=0
RefreshRate=0
BitsPerPixels=32
Height=600
Width=800
TexturePack=1
FullScreen=0
EnableWindowedMode=1
[Video Options]
Enable CreatureEnvironmentMapping=1
Enable TextureAnimations=0
EnableSkyboxes=0
Grass Far Render Distance=900.0
CreatureShadowDetail=0
Gamma=1.000000
VideoQualitySetting=0
EnableEnvironmentShadows=0
EnableFastGrass=1
EnableGrass=0
CreatureWindSetting=0
Enable AnisotropicFiltering=0
Enable Truform=0
EnableVisualEffectsHigh=0
NumShadowCastingLights=1
ShinyWater=0
Enable VSync=0
AntiAliasing Mode=0
NumDynamicLights=3


As for the monotone shadings, the one thing it does not display on is clothing. It takes to textures on placeables, and even entire indoor (tavern) areas are shifted entirely to their new colour. I used this to install my drivers, and the nvidia part specifically, the computer in particular has a 9200m series graphics card.

su -
Install the driver:

yum install kmod-nvidia


I read that I had to redo the Kernel after this to avoid loading the wrong files while the computer boots, so I did that afterwards. This is the current system in any case, Kernel Linux 3.7.6-102.fc17.i686

I will try another method for installing the nvidia driver, if that does not work, we'll see. Thank you very much for the quick response in any case, I will get back to you.
               
               

               
            

Legacy_Skildron

  • Sr. Member
  • ****
  • Posts: 421
  • Karma: +0/-0
Fedora 17 & NWN troubles
« Reply #3 on: February 19, 2013, 04:31:53 pm »


               

Soleares wrote...

Thank you very much for the information, I ran the fixinstall script again, though I suppose since I had already changed back some capital letters myself it was not necessary, no harm done in redoing it in any case.

I had already added the lines regarding windowed mode, which is why I asked, I do not quite understand why it is not showing what I read it should in the file. I posted my .ini file below in case it helps.

EnableWindowedMode=1

The correct setting is called
AllowWindowedMode=1

As for the monotone shadings, the one thing it does not display on is clothing. It takes to textures on placeables, and even entire indoor (tavern) areas are shifted entirely to their new colour. I used this to install my drivers, and the nvidia part specifically, the computer in particular has a 9200m series graphics card.

su -
Install the driver:

yum install kmod-nvidia


I read that I had to redo the Kernel after this to avoid loading the wrong files while the computer boots, so I did that afterwards. This is the current system in any case, Kernel Linux 3.7.6-102.fc17.i686

I will try another method for installing the nvidia driver, if that does not work, we'll see. Thank you very much for the quick response in any case, I will get back to you.


The 9200m series may be a bit on the low end, but should work. I don't know if you have to reinstall the kernel after installing the nvidia module - modern distributions should handle that automagically, but I'm not sure how this works with fedora.

Just to be sure that your nvidia module is in use and 3D-acceleration is active, type the following command in a terminal:
glxinfo | grep render
You can use copy and paste, if you like.
The output should be something like this:

direct rendering: Yes
OpenGL renderer string: GeForce GT 240/PCIe/SSE2
   GL_NV_conditional_render, GL_NV_copy_depth_to_color, GL_NV_copy_image,
   GL_NV_parameter_buffer_object2, GL_NV_path_rendering,
   GL_NVX_conditional_render, GL_NVX_gpu_memory_info,
   GL_OES_depth_texture, GL_OES_element_index_uint, GL_OES_fbo_render_mipmap


HTH
Greetings
Skildron
               
               

               
            

Legacy_Soleares

  • Newbie
  • *
  • Posts: 42
  • Karma: +0/-0
Fedora 17 & NWN troubles
« Reply #4 on: February 19, 2013, 08:57:33 pm »


               And that just did the trick, thank you very much. It seemed a good idea to post my .ini file, as in a previous installation of Fedora I did get the game to run in windowed mode. I am glad to see it was merely a silly mistake, thank you for double-checking for me, and thank you very much for the quick and well-informed help, perhaps I will see you IG sometime.