Author Topic: NWN Toolset using Linux instalation  (Read 1679 times)

Legacy_henesua

  • Hero Member
  • *****
  • Posts: 6519
  • Karma: +0/-0
NWN Toolset using Linux instalation
« Reply #15 on: April 01, 2013, 03:59:23 pm »


               Yeah I hear you, but I really wanted all things NWN on Linux. With the setup I have I can still write code if anyone in the community needs help on a project, or I can work out a small module. Thats going to have to be good enough.
               
               

               
            

Legacy_painofdungeoneternal

  • Sr. Member
  • ****
  • Posts: 313
  • Karma: +0/-0
NWN Toolset using Linux instalation
« Reply #16 on: April 01, 2013, 11:22:56 pm »


               

henesua wrote...

Nissa those look like windows commands, how do they work for Linux?

I couldn't get the comands you posted to work for me on Ubuntu.


They work the same on the mac ( via unix ) for those which are actually supported. Lot of them are not present though which is logical, if they are there to support the toolset, why add them if no toolset.

I am using that syntax to launch the single player game. Very limited support though if you are not using windows NWN1, the mac version of NWN1 has no toolset, ergo they also do not support those commands which should be coming from the toolset for launching modules with a test character. ( if you use a hex editor you can see the strings in the game for those commands in the windows exe and the mac app's executable ) This means I have decent options for NWN1 on PC only, NWN2 on PC with client extender ( which adds +connect parameter for NWN2), but for mac users the +connect only works for NWN1 and launching SP just does not work for NWN1 or NWN2.

Would actually like to be able to specify a character, and need to figure out how to load a saved game ( which might be another of those parameters )

Not sure on wine support yet, this seems like an entirely new set of problems - i think there are some since packaging tools, and by using symlinks and the like i imagine i could get one install working whether booted as windows or mac, and run it on mac as either the mac app or as the wine bottled app.

I am not sure I can set up a client extender or NWNCX for the mac, but i have a feeling this is needed to address the various parameter issues. It would allow other modifications too which would be helpful.
               
               

               


                     Modifié par painofdungeoneternal, 01 avril 2013 - 10:29 .
                     
                  


            

Legacy_meaglyn

  • Hero Member
  • *****
  • Posts: 1451
  • Karma: +0/-0
NWN Toolset using Linux instalation
« Reply #17 on: April 02, 2013, 01:25:14 pm »


               

henesua wrote...

Yeah I hear you, but I really wanted all things NWN on Linux. With the setup I have I can still write code if anyone in the community needs help on a project, or I can work out a small module. Thats going to have to be good enough.

`

I never got wine to work completely either.  It doesn't crash but throws an error every time I close the script editor.
That doesn't leave me we enough of a warm fuzzy to really trust it, even though it seems to continue to run.

I have a bunch of tools cobbled together on Linux and I store the module files all in xml in git.  With a standalone compiler and conversation editor I can do quite a bit without being in windows. Just can't do anything involving
graphics. 

Why do you need to have one install? Are you disk space limited?  You can do a complete install on each side and then symlink the directories from the windows partition into the linux tree for hak,modules,localvault,  and so on. Then you have common all the important data files.  

It would be great it if did all work on Linux. At least the made the server and client '<img'>

Cheers,
meaglyn
               
               

               
            

Legacy_henesua

  • Hero Member
  • *****
  • Posts: 6519
  • Karma: +0/-0
NWN Toolset using Linux instalation
« Reply #18 on: April 02, 2013, 11:16:04 pm »


               

meaglyn wrote...
I have a bunch of tools cobbled together on Linux and I store the module files all in xml in git.


Very interesting. A bit advanced for someone like me, but Id be interested in learning how to do that. Do you do tutorials? '<img'>

meaglyn wrote...
Why do you need to have one install?


I have two installs with the symlinking as you suggest. The reason for that was to keep the data files in one place. Its tedious to migrate all that crap around to every instance of NWN.

meaglyn wrote...
It would be great it if did all work on Linux. At least the made the server and client '<img'>


Yes it would. I wiped my windows partition because I was sick of dealing with it on my laptop and I thought linux would be the complete solution. Alas not. At least I've taken the wise move of getting my personal data on linux.
               
               

               
            

Legacy_meaglyn

  • Hero Member
  • *****
  • Posts: 1451
  • Karma: +0/-0
NWN Toolset using Linux instalation
« Reply #19 on: April 04, 2013, 03:03:04 pm »


               

henesua wrote...

meaglyn wrote...
I have a bunch of tools cobbled together on Linux and I store the module files all in xml in git.


Very interesting. A bit advanced for someone like me, but Id be interested in learning how to do that. Do you do tutorials? '<img'>


We might be able to come up with something '<img'>  It's really not that complicated. It uses the nwn2xml tools from the leto project, the erf utility and a bunch of shell scripts. As I started thinking about how to explain this I remembered a couple of issues I have not worked through yet. The first is that I haven't managed to build my own version of the tools. I'm relying on the old linux binaries that came with it. I'm going back down that road now.   The second is that
there area a couple of bugs I'd like to fix in these tools, but due to the first problem...

The benefits, I find, outweigh the issues. I can version control the changes to all the module data in a way that uses textual diffs not binary.

Let me spend some time trying to solve this issue. The answer may turn out to be a re-implementation of the xml tools using a more portable language than borland's Delphi objective pascal. I seem to recall finding a ruby library for gff file handling...

Cheers,
meaglyn
               
               

               
            

Legacy_painofdungeoneternal

  • Sr. Member
  • ****
  • Posts: 313
  • Karma: +0/-0
NWN Toolset using Linux instalation
« Reply #20 on: April 04, 2013, 03:37:02 pm »


               Perhaps elven's nwnlib? That should run on linux, and was designed to make the game formats go into a cvs as text.
               
               

               
            

Legacy_meaglyn

  • Hero Member
  • *****
  • Posts: 1451
  • Karma: +0/-0
NWN Toolset using Linux instalation
« Reply #21 on: April 04, 2013, 05:50:30 pm »


               Yep, that'd be the one.  I'll have to check if the modpacker xml format it supports is the same as the one from nwn2xml. That would make it really nice. Probably too much to hope though. But still shouldn't be too hard to add support for a different xml format...
               
               

               
            

Legacy_henesua

  • Hero Member
  • *****
  • Posts: 6519
  • Karma: +0/-0
NWN Toolset using Linux instalation
« Reply #22 on: August 24, 2013, 04:16:53 am »


               I'm coming back to this and trying a commercial project, CrossOver, based on Wine. I'll keep folkd posted. So far so good though.
               
               

               
            

Legacy_henesua

  • Hero Member
  • *****
  • Posts: 6519
  • Karma: +0/-0
NWN Toolset using Linux instalation
« Reply #23 on: August 24, 2013, 07:16:52 pm »


               CrossOver is working great for the toolset. None of the hiccups I had with Wine. I have not yet tried VirusMan's nwntx. I'll keep you all posted on that, but I suspect it won't be an issue.

[edit]
NWNTX works as do the utilities.  Crossover rocks!
               
               

               


                     Modifié par henesua, 27 août 2013 - 02:59 .
                     
                  


            

Legacy_meaglyn

  • Hero Member
  • *****
  • Posts: 1451
  • Karma: +0/-0
NWN Toolset using Linux instalation
« Reply #24 on: August 28, 2013, 03:05:08 am »


               

henesua wrote...

CrossOver is working great for the toolset. None of the hiccups I had with Wine. I have not yet tried VirusMan's nwntx. I'll keep you all posted on that, but I suspect it won't be an issue.

[edit]
NWNTX works as do the utilities.  Crossover rocks!


Very cool! Thanks for the update. Too bad they don't upstream all their enhancements to wine. 
               
               

               
            

Legacy_henesua

  • Hero Member
  • *****
  • Posts: 6519
  • Karma: +0/-0
NWN Toolset using Linux instalation
« Reply #25 on: September 03, 2013, 03:15:29 am »


               A handful of utilities won't work in crossover. Excimer's Combinulator being one. Obsydian being another. Also I noticed a few peculiarities with the toolset (textures do not always display properly) but still its working fine.

For the other utilies, I am reopening virtual box and installing those few utilities there. I'm still happy with running everything on linux.

(edit: my issues may be due to having not installed the dependencies for the utilities.)
               
               

               


                     Modifié par henesua, 03 septembre 2013 - 02:29 .
                     
                  


            

Legacy_henesua

  • Hero Member
  • *****
  • Posts: 6519
  • Karma: +0/-0
NWN Toolset using Linux instalation
« Reply #26 on: September 13, 2013, 03:00:06 pm »


               I have discovered the the NWN Toolset Extender isn't actually functioning properly in Crossover. It does launch the toolset but it is not using skywing's compiler even though I have all the DLL's in my directory.

This is a big disappointment. I suppose I'll have to look into writing and compiling scripts outside of the toolset.
               
               

               
            

Legacy_henesua

  • Hero Member
  • *****
  • Posts: 6519
  • Karma: +0/-0
NWN Toolset using Linux instalation
« Reply #27 on: September 14, 2013, 04:31:52 pm »


               VMWare Player is playing nicely with the NWN Extended Toolset (NWNTX). So far I have only tested the compiler, but its giving me everything I expect.

One drawback is that I am using crossover's NWN installation which is on a shared drive. I suspect this is why the loading the module into the toolset (especially the HAK loading) is a little slow. This is not a problem though so far because I only intend to do scripting in VMWare Player.
               
               

               
            

Legacy_Vivienne L

  • Full Member
  • ***
  • Posts: 130
  • Karma: +0/-0
NWN Toolset using Linux instalation
« Reply #28 on: November 04, 2013, 06:59:42 am »


               

Update:  I now have an Ubuntu 14.04 installation and am using the latest beta version for wine. Still using the native linux graphics drivers.  The problem I was having with the small fonts was because I had tried some themes for wine and they had messed up the fonts. I threw out my .wine folder and the new clean wine's fonts are just fine.


 


(I have an Ubuntu 13.04 installation and have just started to dabble with the toolset using wine 1.6. I'm using the native Linux graphics drivers.)

It's working but there are a few problems like strange textures or just white textures but only in the toolset. They're fine in the game. The script compiler is working for me. The 'test module' button also works.


 


(The biggest frustration for me seems to be that the fonts are too small; this probably has to do with the desktop resolution, dpi etc. settings of wine which I guess I should tweak and try out.)

Using wine 1.6 under Ubuntu, I don't mind using the toolset, I'll just have to get used to the new 'quirks' that happen.


The game itself is working fine under wine, it seems faster than in my Win7 partition; I haven't tried to install it natively yet.


That said, the toolset does quirky things with me even in Win7; my older WinXP machine was barely powerful enough to run the toolset. But even in Win7 the toolset crashes and hangs and gives C++ errors sometimes, but it's workable.  I've gotten used to just meticulously saving my work every 10 or 15 minutes and if there's a crash or a hang, I quickly close the toolset and reopen it after a few minutes. 

The game itself doesn't always run; then I have to log out and log back in and sometimes even restart the computer.



I hope this information helps somebody.  If there's trouble running the game under wine, update wine and copy/paste your entire NWN installation folder from your Win partition to your home partition in linux. That way you get all your saved games, haks, modules etc. I suppose you could intall it normally under wine as well but when I installed the game using PlayonLinux and then imported my modules, haks and saved games, it didn't work.



               
               

               


                     Modifié par vivienne.l, 14 octobre 2014 - 06:34 .