Author Topic: Symlinking NWN Resources across multiple NWN installations  (Read 424 times)

Legacy_henesua

  • Hero Member
  • *****
  • Posts: 6519
  • Karma: +0/-0
Symlinking NWN Resources across multiple NWN installations
« on: June 23, 2013, 02:50:10 am »


               I'm doing pretty well with symlinking some installs of NWN. One install is in OS X on an HFS formatted partition, and another is in Windows XP on an NTFS formatted partition. I have not linked with the installations I have on an Ubuntu box.

Since the Windows XP install is used for toolsetting, I use those resources as the master. I installed an NTFS driver for OS X that allows read and write, but don't know if that was necessary.

Three issues however did not work when symlinked:
  • dialog.tlk: this was expected, but mildly disappointing.
  • data directory: I don't know why this is the case. Is there anything special about the data files?
  • oddly capitalization now matters with all resources. I suspect this is the case because I believe that the NTFS driver I am using was developed on Linux first. I had to build from source on my Mac etc....
Anyone else try this out? How'd you do it? What were your findings?

Lastly I'd like to encourage people who create HAKs to keep their names entirely lower case. It can be a pain in the ass on non-Windows systems to deal with random capitalization. The Mac usually solves this on its own, but as I mentioned above when it reads the resources from the NTFS drive, capitalization suddenly matters (and gums everything up).
               
               

               


                     Modifié par henesua, 23 juin 2013 - 01:52 .
                     
                  


            

Legacy_Skildron

  • Sr. Member
  • ****
  • Posts: 421
  • Karma: +0/-0
Symlinking NWN Resources across multiple NWN installations
« Reply #1 on: June 23, 2013, 09:20:11 am »


               The upper / lower case problem is the reason for bioware to ship the tool 'fixinstall' with the Linux client. It's a shell script that renames all hak files to lower case and some other files to mixed upper and lower case. Probably some file and path names are hard coded in the nwn engine and since Windows file system are not aware of upper or lower case, it does not matter how they are spelled for the windows client, but it does matter for the Mac and Linux clients. That is probably why dialog.tlk failed, too.

Have a look at the fixinstall tool from the nwn Linux client to find out which files should be lower case and which not.

You can download the linux client archive to get the fixinstall script of you don't have it ready with your ubuntu install.

Greetings
Skildron
               
               

               
            

Legacy_henesua

  • Hero Member
  • *****
  • Posts: 6519
  • Karma: +0/-0
Symlinking NWN Resources across multiple NWN installations
« Reply #2 on: June 26, 2013, 05:50:31 pm »


               Skildron, thanks for your explanation about what the 'fixinstall' script does. Very useful script.