View previous topic :: View next topic |
Author |
Message |
mykbaker
Joined: 11 Jul 2005 Posts: 1
|
Posted: Mon Jul 11, 2005 23:54 Post subject: What isn't working under Linux? |
|
|
I'm a professional C/C++ programmer and I know just a little assembly as well. What features are not yet working in the Linux version of NWNX? Are all the modules supported under Linux? I have not used NWNX before but I would like to start and I refuse to use a windows server so mostly I want to know what works now and what still needs work. |
|
Back to top |
|
|
Vladiat0r
Joined: 17 Jun 2005 Posts: 25
|
|
Back to top |
|
|
Acrodania
Joined: 02 Jan 2005 Posts: 208
|
Posted: Tue Jul 12, 2005 3:43 Post subject: |
|
|
One of the functions plugins hasn't been ported. And since no one can seem to find the source it probably won't |
|
Back to top |
|
|
Guest
|
Posted: Tue Jul 12, 2005 4:50 Post subject: |
|
|
which plugin isn't ported? |
|
Back to top |
|
|
Acrodania
Joined: 02 Jan 2005 Posts: 208
|
Posted: Tue Jul 12, 2005 7:45 Post subject: |
|
|
Dazzle's isn't. And the source code is no longer available as he can't find it |
|
Back to top |
|
|
Papillon x-man
Joined: 28 Dec 2004 Posts: 1060 Location: Germany
|
Posted: Tue Jul 12, 2005 9:28 Post subject: |
|
|
NWNX on linux cannot store objects in the database (SCORCO), development tools like the profiler are only available in the windows version. _________________ Papillon |
|
Back to top |
|
|
Guest
|
Posted: Tue Jul 12, 2005 13:20 Post subject: |
|
|
for the profiler, I plan to release my linux nwn script profiler in short time |
|
Back to top |
|
|
harry_x
Joined: 01 May 2005 Posts: 2
|
Posted: Tue Jul 12, 2005 13:21 Post subject: |
|
|
sorry, I forgot to login |
|
Back to top |
|
|
Dazzle
Joined: 29 Dec 2004 Posts: 19
|
Posted: Wed Jul 13, 2005 19:06 Post subject: |
|
|
Acrodania wrote: | Dazzle's isn't. And the source code is no longer available as he can't find it |
Mm, the plugin I posted is just a compilation of Isilweo's SetName/Description and the Set/GetBodyPart code.
I managed to dig up the original topic about Set/GetBodyParton the NWNX Guild Forums. It has the Set/GetBodyPart source for both Windown and Linux. It can be found here: http://nwn.bioware.com/guilds_registry/viewtopic.html?forum=5041&topic=111321&gid=3087
Isilweo's plugin with source can be found here: http://nwvault.ign.com/View.php?view=scripts.Detail&id=2068
As already stated in another topic on this forum, changing wings currently doesn't work. I do not know if the other bodyparts are broken too, haven't touched my plugin for ages.
Ugh, I remember trying to compile my plugin, took me ages since I'm not that proficient with C++, still aren't actually. Anyway, good luck trying to port it. |
|
Back to top |
|
|
Parsec
Joined: 06 Jan 2005 Posts: 7
|
Posted: Sun Aug 21, 2005 14:25 Post subject: |
|
|
Whats this looking like now? I had a quick try of the latest linux Letoscript and didnt notice any particular problems, but then I am not very familiar with letoscript.
Any comments? |
|
Back to top |
|
|
marcush
Joined: 16 Dec 2005 Posts: 1
|
Posted: Wed Jan 18, 2006 20:21 Post subject: |
|
|
Papillon wrote: | NWNX on linux cannot store objects in the database (SCORCO), development tools like the profiler are only available in the windows version. |
Are there any plans to support SCORCO on linux?
and is there anything i could help with to get this done or is there some limitation of the system? |
|
Back to top |
|
|
Papillon x-man
Joined: 28 Dec 2004 Posts: 1060 Location: Germany
|
Posted: Mon Jan 23, 2006 22:42 Post subject: |
|
|
As far as I know, nobody found (or tried to find) the function signature (i.e. offset) of the SetLocalString function in the linux binary. If that is done, the functions need to be hooked with some assembler code. If that is done, some boiler plate code for storing and retrieving blobs to and from mysql needs to be written. _________________ Papillon |
|
Back to top |
|
|
vallis
Joined: 13 Jun 2005 Posts: 6
|
Posted: Sun Feb 05, 2006 16:41 Post subject: Finding function signatures |
|
|
Papillon wrote: | As far as I know, nobody found (or tried to find) the function signature (i.e. offset) of the SetLocalString function in the linux binary. If that is done, the functions need to be hooked with some assembler code. If that is done, some boiler plate code for storing and retrieving blobs to and from mysql needs to be written. |
Hi,
How does one go about finding a function signature? What can I read to find out more about it? (I'm eager to learn, just not quite sure where to start.)
V. |
|
Back to top |
|
|
Papillon x-man
Joined: 28 Dec 2004 Posts: 1060 Location: Germany
|
Posted: Sun Feb 05, 2006 17:41 Post subject: |
|
|
Anything you can find on GDB and x86 assembler, really. There are a couple of "hacking howtos" for windows binaries, but the general approach is the same on linux. Try to find something on removing serial number checks or anything of that sort. Note: I do not endorse things like that, but as long as it's done for educational purposes, I'm fine with it.
Since objects are written to the Bioware DBs and thus on the disk, you can work your way backwards from where the code starts accessing the database subdirectory. Check out the callstack, a few functions higher should be SetCampaignObject (not SetLocalString, that was a mistake of course).
Once you think you have found the right function, write down the first 20-30 bytes (in hex) and you've got your signature. _________________ Papillon |
|
Back to top |
|
|
virusman
Joined: 30 Jan 2005 Posts: 1020 Location: Russia
|
Posted: Tue Feb 14, 2006 17:58 Post subject: |
|
|
Quote: | Anything you can find on GDB and x86 assembler, really. There are a couple of "hacking howtos" for windows binaries, but the general approach is the same on linux. Try to find something on removing serial number checks or anything of that sort. Note: I do not endorse things like that, but as long as it's done for educational purposes, I'm fine with it.
Since objects are written to the Bioware DBs and thus on the disk, you can work your way backwards from where the code starts accessing the database subdirectory. Check out the callstack, a few functions higher should be SetCampaignObject (not SetLocalString, that was a mistake of course).
Once you think you have found the right function, write down the first 20-30 bytes (in hex) and you've got your signature. |
Hmm. Then what's this?
http://www.nwnx.org/phpBB2/viewtopic.php?t=343 |
|
Back to top |
|
|
|