View previous topic :: View next topic |
Author |
Message |
Via Con Diablos
Joined: 23 Nov 2005 Posts: 55
|
Posted: Wed Jan 31, 2007 8:45 Post subject: |
|
|
Yes the 1.06 part is currently hardcoded, I'll make some changes to that so that it will just say NWNX4 and display the version later.
nwn2temp - will do
gamespy - will do
mysql - will do
will interactive be needed with the gui?
I'll look into the ini issue
Here's the ini that this version is using
Code: | [NWNX]
URL=http://www.shadowlands.ca/nwnx4.zip
NUM_PLUGINS=3
[PLUGIN1]
NAME=MySQL Plugin
URL=http://www.shadowlands.ca/mysql.zip
DESC=This plugin allows communication with a MySQL database.
[PLUGIN2]
NAME=SQLite Plugin
URL=http://www.shadowlands.ca/sqlite.zip
DESC=This plugin allows communication with an SQLite database.
[PLUGIN3]
NAME=Time Plugin
URL=http://www.shadowlands.ca/time.zip
DESC=A plugin for use with timers in game. |
|
|
Back to top |
|
|
Via Con Diablos
Joined: 23 Nov 2005 Posts: 55
|
Posted: Wed Jan 31, 2007 8:56 Post subject: |
|
|
Papillon wrote: |
Could you post an example ini file for setting up a plugin installer page ? Maybe for one of the DB plugins, for illustration purposes. |
If you meant an ini to automate the setup of a non included plugin, I haven't worked that out yet. The setup for nwnx4, mysql and sqlite are currently hardcoded into the installer.
Hmm not sure how much trouble this would be for you/plugin authors, but this might work for me. I'll test it out later this week when I'm working on it again.
Here's a modified nwnx.ini that I'm currently thinking would work for me to read in and create the setup pages based on.
I'm assuming that nwnx won't care about extra entries in the ini.
Though I could probably have the installer delete the installation instructions once it processes them. Some of the lines might wrap in the forum here, but in the ini they shouldn't. I'll also work out a maximum length which would be required to fit in the installer properly. SectionType would have to be one of the following strings: string, int, bool, float
Code: |
# NWNX4 configuration file
# These are the default values for NWNX4.
numsections = 11
#list the section names, and a description for the user
section1=nwn2
section1desc=Path to NWN2 installation (where nwn2server.exe is located) no default. You really have to specify it, currently.
section1type=string
#etc
#etc
# Path to NWN2 installation (where nwn2server.exe is located)
# no default. You really have to specify it, currently.
nwn2 = D:\Games\nwn2
# You can override the tempory path NWN2 uses
# This is where NWN2 will put its logfiles (among other files)
# no default
nwn2temp = D:\Projekte\NWNX4svn\bin\dist
# Command line parameters to start the server with
# default: no parameters
parameters = -module nwnx
# Should NWNX restart the server if the server process has gone away ?
# 0 = do not restart the server
# 1 = restart the server
# default: 1
processWatchdog = 1
# Should NWNX restart the server if it locks up ?
# This can happen if the server is still running, but does not react to gamespy queries any more.
# 0 = do not query the server
# 1 = query the server
# default: 1
gamespyWatchdog = 1
# If you activate the gamespy watchdog, you need to specify the port your NWN2 server is running on
# default: 5151
gamespyPort = 5121
# How often should the gamespy watchdog query the server ?
# Note: The server will be restarted if it does not react to a certain number of
# queries in a row. See setting gamespyTolerance below.
# default: every 30 seconds
gamespyInterval = 30
# How often may the server not react to gamespy queries ?
# Note: The server will be restarted if it does not react this many queries in a row
# Example: gamespyInterval = 30 and gamespyTolerance = 4 means that the server will
# be restarted if it does not react within 2 minutes
# default: 4 queries
gamespyTolerance = 4
# If the server crashes, how long should NWNX wait before it restarts the server ?
# Value = seconds to wait
# default: 5 seconds
restartDelay = 5
# Should NWNX disable the general protection fault error dialog ?
# Note: The watchdogs may fail to restart the server properly if this dialog stays open
# 0 = do not disable the GPFault dialog
# 1 = disable the GPFault dialog
# default: 1
noGPFaultErrorBox = 1
# If you want NWNX to execute a CMD or BAT file before restarting the server after
# a crash, specify it's name here. If you leave this setting empty, no program
# will be run. NWNX will wait for the program to finish before it continues.
# no default
# restartCmd = nwnx_restart.cmd
|
|
|
Back to top |
|
|
Papillon x-man
Joined: 28 Dec 2004 Posts: 1060 Location: Germany
|
Posted: Fri Feb 09, 2007 0:01 Post subject: |
|
|
I'd like to offer a beta version of the installer soon, in order to iron out any problems that might still be left before NWNX becomes final.
What do I need to do in order to get nwnx.org ready ? Upload separate ZIPs and and INI file like the one you posted above ? The dynamically generated installer pages could be something for version 2.
What else still needs to be done (and can I help) ? _________________ Papillon |
|
Back to top |
|
|
Via Con Diablos
Joined: 23 Nov 2005 Posts: 55
|
Posted: Mon Feb 12, 2007 20:11 Post subject: |
|
|
Yep, upload the ini like I mentioned above, and separate zips for nwnx and the plugins. I'll work on the installer tonight to point it to your versions, and we can see how it goes. |
|
Back to top |
|
|
Via Con Diablos
Joined: 23 Nov 2005 Posts: 55
|
Posted: Thu Mar 01, 2007 11:28 Post subject: |
|
|
Have you had a chance to upload the files? |
|
Back to top |
|
|
Papillon x-man
Joined: 28 Dec 2004 Posts: 1060 Location: Germany
|
Posted: Thu Mar 01, 2007 22:14 Post subject: |
|
|
No, but I plan to complete some things on the weekend, including the installer. Thanks for beeing patient so far. _________________ Papillon |
|
Back to top |
|
|
Via Con Diablos
Joined: 23 Nov 2005 Posts: 55
|
Posted: Fri Mar 02, 2007 9:16 Post subject: |
|
|
Hey no problem, I haven't had a chance to work on it much either. |
|
Back to top |
|
|
Papillon x-man
Joined: 28 Dec 2004 Posts: 1060 Location: Germany
|
Posted: Tue May 01, 2007 22:51 Post subject: |
|
|
I really want to go forward with the installer for version 1.08.
Now it even needs to care for some dependencies: The C runtime libraries by MS need to be the correct version on the end users machine. This is not really new, but since all versions up to 1.07 were compiled with the first edition of Visual C++ Express, everybody had the current runtime installed by some other program. Since I switched to SP1 of VC++ Express now, a lot of people will not be able to run NWNX4, since they are missing the newest runtime. I still need to find out which libraries need to go where, though.
Would you mind posting the sources to the installer somewhere for me to download ? Ultimately, I'd like to add them to the NWNX repository. Or, if you'd rather submit them yourself, send me a PM and I'll set up write access for you. _________________ Papillon |
|
Back to top |
|
|
TroveLord
Joined: 22 Nov 2006 Posts: 136 Location: Italy
|
Posted: Tue May 01, 2007 23:24 Post subject: |
|
|
I'm not sure how this is gonna help but I used a PE explorer to check DLLs dependencies, here's the results.
NWNX4_Controller.exe
Quote: | activeds.dll c:\windows\system32\activeds.dll
adsldpc.dll c:\windows\system32\adsldpc.dll
advapi32.dll c:\windows\system32\advapi32.dll
advpack.dll c:\windows\system32\advpack.dll
apphelp.dll c:\windows\system32\apphelp.dll
atl.dll c:\windows\system32\atl.dll
authz.dll c:\windows\system32\authz.dll
bcrypt.dll c:\windows\system32\bcrypt.dll
browseui.dll c:\windows\system32\browseui.dll
cabinet.dll c:\windows\system32\cabinet.dll
certcli.dll c:\windows\system32\certcli.dll
cfgmgr32.dll c:\windows\system32\cfgmgr32.dll
clbcatq.dll c:\windows\system32\clbcatq.dll
comctl32.dll c:\windows\winsxs\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.6000.16386_none_5d07289e07e1d100\comctl32.dll
comdlg32.dll c:\windows\system32\comdlg32.dll
credui.dll c:\windows\system32\credui.dll
crypt32.dll c:\windows\system32\crypt32.dll
cryptui.dll c:\windows\system32\cryptui.dll
cscapi.dll c:\windows\system32\cscapi.dll
dbghelp.dll c:\windows\system32\dbghelp.dll
devmgr.dll c:\windows\system32\devmgr.dll
dhcpcsvc.dll c:\windows\system32\dhcpcsvc.dll
dhcpcsvc6.dll c:\windows\system32\dhcpcsvc6.dll
dnsapi.dll c:\windows\system32\dnsapi.dll
duser.dll c:\windows\system32\duser.dll
dwmapi.dll c:\windows\system32\dwmapi.dll
efsadu.dll c:\windows\system32\efsadu.dll
feclient.dll c:\windows\system32\feclient.dll
fwpuclnt.dll c:\windows\system32\fwpuclnt.dll
gdi32.dll c:\windows\system32\gdi32.dll
gdiplus.dll c:\windows\winsxs\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.6000.16386_none_9ea0ac9ec96e7127\gdiplus.dll
gpapi.dll c:\windows\system32\gpapi.dll
gpsvc.dll c:\windows\system32\gpsvc.dll
iertutil.dll c:\windows\system32\iertutil.dll
imagehlp.dll c:\windows\system32\imagehlp.dll
imm32.dll c:\windows\system32\imm32.dll
iphlpapi.dll c:\windows\system32\iphlpapi.dll
kernel32.dll c:\windows\system32\kernel32.dll
ktmw32.dll c:\windows\system32\ktmw32.dll
linkinfo.dll c:\windows\system32\linkinfo.dll
madchook.dll c:\users\andrea\desktop\nwnx4\madchook.dll
mfc42u.dll c:\windows\system32\mfc42u.dll
mlang.dll c:\windows\system32\mlang.dll
mmdevapi.dll c:\windows\system32\mmdevapi.dll
mpr.dll c:\windows\system32\mpr.dll
mprapi.dll c:\windows\system32\mprapi.dll
msasn1.dll c:\windows\system32\msasn1.dll
msctf.dll c:\windows\system32\msctf.dll
msiltcfg.dll c:\windows\system32\msiltcfg.dll
msimg32.dll c:\windows\system32\msimg32.dll
msrating.dll c:\windows\system32\msrating.dll
mssign32.dll c:\windows\system32\mssign32.dll
msvcr80.dll Path not Found.
msvcrt.dll c:\windows\system32\msvcrt.dll
ncrypt.dll c:\windows\system32\ncrypt.dll
netapi32.dll c:\windows\system32\netapi32.dll
netplwiz.dll c:\windows\system32\netplwiz.dll
netrap.dll c:\windows\system32\netrap.dll
newdev.dll c:\windows\system32\newdev.dll
nlaapi.dll c:\windows\system32\nlaapi.dll
normaliz.dll c:\windows\system32\normaliz.dll
nsi.dll c:\windows\system32\nsi.dll
ntdll.dll c:\windows\system32\ntdll.dll
ntdsapi.dll c:\windows\system32\ntdsapi.dll
ntshrui.dll c:\windows\system32\ntshrui.dll
odbc32.dll c:\windows\system32\odbc32.dll
ole32.dll c:\windows\system32\ole32.dll
oleacc.dll c:\windows\system32\oleacc.dll
oleaut32.dll c:\windows\system32\oleaut32.dll
oledlg.dll c:\windows\system32\oledlg.dll
powrprof.dll c:\windows\system32\powrprof.dll
printui.dll c:\windows\system32\printui.dll
propsys.dll c:\windows\system32\propsys.dll
psapi.dll c:\windows\system32\psapi.dll
puiapi.dll c:\windows\system32\puiapi.dll
query.dll c:\windows\system32\query.dll
rasapi32.dll c:\windows\system32\rasapi32.dll
rasdlg.dll c:\windows\system32\rasdlg.dll
rasman.dll c:\windows\system32\rasman.dll
regapi.dll c:\windows\system32\regapi.dll
rpchttp.dll c:\windows\system32\rpchttp.dll
rpcrt4.dll c:\windows\system32\rpcrt4.dll
rtutils.dll c:\windows\system32\rtutils.dll
samlib.dll c:\windows\system32\samlib.dll
scecli.dll c:\windows\system32\scecli.dll
secur32.dll c:\windows\system32\secur32.dll
setupapi.dll c:\windows\system32\setupapi.dll
shdocvw.dll c:\windows\system32\shdocvw.dll
shell32.dll c:\windows\system32\shell32.dll
shlwapi.dll c:\windows\system32\shlwapi.dll
slc.dll c:\windows\system32\slc.dll
sysntfy.dll c:\windows\system32\sysntfy.dll
tapi32.dll c:\windows\system32\tapi32.dll
urlmon.dll c:\windows\system32\urlmon.dll
user32.dll c:\windows\system32\user32.dll
userenv.dll c:\windows\system32\userenv.dll
uxtheme.dll c:\windows\system32\uxtheme.dll
version.dll c:\windows\system32\version.dll
w32topl.dll c:\windows\system32\w32topl.dll
winbrand.dll c:\windows\system32\winbrand.dll
windowscodecs.dll c:\windows\system32\windowscodecs.dll
winhttp.dll c:\windows\system32\winhttp.dll
wininet.dll c:\windows\system32\wininet.dll
winmm.dll c:\windows\system32\winmm.dll
winnsi.dll c:\windows\system32\winnsi.dll
winscard.dll c:\windows\system32\winscard.dll
winspool.drv c:\windows\system32\winspool.drv
winsta.dll c:\windows\system32\winsta.dll
wintrust.dll c:\windows\system32\wintrust.dll
wldap32.dll c:\windows\system32\wldap32.dll
ws2_32.dll c:\windows\system32\ws2_32.dll
wsock32.dll c:\windows\system32\wsock32.dll
wtsapi32.dll c:\windows\system32\wtsapi32.dll
xmllite.dll c:\windows\system32\xmllite.dll
|
NWNX4_GUI
Quote: | activeds.dll c:\windows\system32\activeds.dll
adsldpc.dll c:\windows\system32\adsldpc.dll
advapi32.dll c:\windows\system32\advapi32.dll
advpack.dll c:\windows\system32\advpack.dll
apphelp.dll c:\windows\system32\apphelp.dll
atl.dll c:\windows\system32\atl.dll
authz.dll c:\windows\system32\authz.dll
bcrypt.dll c:\windows\system32\bcrypt.dll
browseui.dll c:\windows\system32\browseui.dll
cabinet.dll c:\windows\system32\cabinet.dll
certcli.dll c:\windows\system32\certcli.dll
cfgmgr32.dll c:\windows\system32\cfgmgr32.dll
clbcatq.dll c:\windows\system32\clbcatq.dll
comctl32.dll c:\windows\winsxs\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.6000.16386_none_5d07289e07e1d100\comctl32.dll
comdlg32.dll c:\windows\system32\comdlg32.dll
credui.dll c:\windows\system32\credui.dll
crypt32.dll c:\windows\system32\crypt32.dll
cryptui.dll c:\windows\system32\cryptui.dll
cscapi.dll c:\windows\system32\cscapi.dll
dbghelp.dll c:\windows\system32\dbghelp.dll
devmgr.dll c:\windows\system32\devmgr.dll
dhcpcsvc.dll c:\windows\system32\dhcpcsvc.dll
dhcpcsvc6.dll c:\windows\system32\dhcpcsvc6.dll
dnsapi.dll c:\windows\system32\dnsapi.dll
duser.dll c:\windows\system32\duser.dll
dwmapi.dll c:\windows\system32\dwmapi.dll
efsadu.dll c:\windows\system32\efsadu.dll
feclient.dll c:\windows\system32\feclient.dll
fwpuclnt.dll c:\windows\system32\fwpuclnt.dll
gdi32.dll c:\windows\system32\gdi32.dll
gdiplus.dll c:\windows\winsxs\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.6000.16386_none_9ea0ac9ec96e7127\gdiplus.dll
gpapi.dll c:\windows\system32\gpapi.dll
gpsvc.dll c:\windows\system32\gpsvc.dll
iertutil.dll c:\windows\system32\iertutil.dll
imagehlp.dll c:\windows\system32\imagehlp.dll
imm32.dll c:\windows\system32\imm32.dll
iphlpapi.dll c:\windows\system32\iphlpapi.dll
kernel32.dll c:\windows\system32\kernel32.dll
ktmw32.dll c:\windows\system32\ktmw32.dll
linkinfo.dll c:\windows\system32\linkinfo.dll
madchook.dll c:\users\andrea\desktop\nwnx4\madchook.dll
mfc42u.dll c:\windows\system32\mfc42u.dll
mlang.dll c:\windows\system32\mlang.dll
mmdevapi.dll c:\windows\system32\mmdevapi.dll
mpr.dll c:\windows\system32\mpr.dll
mprapi.dll c:\windows\system32\mprapi.dll
msasn1.dll c:\windows\system32\msasn1.dll
msctf.dll c:\windows\system32\msctf.dll
msiltcfg.dll c:\windows\system32\msiltcfg.dll
msimg32.dll c:\windows\system32\msimg32.dll
msrating.dll c:\windows\system32\msrating.dll
mssign32.dll c:\windows\system32\mssign32.dll
msvcr80.dll Path not Found.
msvcrt.dll c:\windows\system32\msvcrt.dll
ncrypt.dll c:\windows\system32\ncrypt.dll
netapi32.dll c:\windows\system32\netapi32.dll
netplwiz.dll c:\windows\system32\netplwiz.dll
netrap.dll c:\windows\system32\netrap.dll
newdev.dll c:\windows\system32\newdev.dll
nlaapi.dll c:\windows\system32\nlaapi.dll
normaliz.dll c:\windows\system32\normaliz.dll
nsi.dll c:\windows\system32\nsi.dll
ntdll.dll c:\windows\system32\ntdll.dll
ntdsapi.dll c:\windows\system32\ntdsapi.dll
ntshrui.dll c:\windows\system32\ntshrui.dll
odbc32.dll c:\windows\system32\odbc32.dll
ole32.dll c:\windows\system32\ole32.dll
oleacc.dll c:\windows\system32\oleacc.dll
oleaut32.dll c:\windows\system32\oleaut32.dll
oledlg.dll c:\windows\system32\oledlg.dll
powrprof.dll c:\windows\system32\powrprof.dll
printui.dll c:\windows\system32\printui.dll
propsys.dll c:\windows\system32\propsys.dll
psapi.dll c:\windows\system32\psapi.dll
puiapi.dll c:\windows\system32\puiapi.dll
query.dll c:\windows\system32\query.dll
rasapi32.dll c:\windows\system32\rasapi32.dll
rasdlg.dll c:\windows\system32\rasdlg.dll
rasman.dll c:\windows\system32\rasman.dll
regapi.dll c:\windows\system32\regapi.dll
rpchttp.dll c:\windows\system32\rpchttp.dll
rpcrt4.dll c:\windows\system32\rpcrt4.dll
rtutils.dll c:\windows\system32\rtutils.dll
samlib.dll c:\windows\system32\samlib.dll
scecli.dll c:\windows\system32\scecli.dll
secur32.dll c:\windows\system32\secur32.dll
setupapi.dll c:\windows\system32\setupapi.dll
shdocvw.dll c:\windows\system32\shdocvw.dll
shell32.dll c:\windows\system32\shell32.dll
shlwapi.dll c:\windows\system32\shlwapi.dll
slc.dll c:\windows\system32\slc.dll
sysntfy.dll c:\windows\system32\sysntfy.dll
tapi32.dll c:\windows\system32\tapi32.dll
urlmon.dll c:\windows\system32\urlmon.dll
user32.dll c:\windows\system32\user32.dll
userenv.dll c:\windows\system32\userenv.dll
uxtheme.dll c:\windows\system32\uxtheme.dll
version.dll c:\windows\system32\version.dll
w32topl.dll c:\windows\system32\w32topl.dll
winbrand.dll c:\windows\system32\winbrand.dll
windowscodecs.dll c:\windows\system32\windowscodecs.dll
winhttp.dll c:\windows\system32\winhttp.dll
wininet.dll c:\windows\system32\wininet.dll
winmm.dll c:\windows\system32\winmm.dll
winnsi.dll c:\windows\system32\winnsi.dll
winscard.dll c:\windows\system32\winscard.dll
winspool.drv c:\windows\system32\winspool.drv
winsta.dll c:\windows\system32\winsta.dll
wintrust.dll c:\windows\system32\wintrust.dll
wldap32.dll c:\windows\system32\wldap32.dll
ws2_32.dll c:\windows\system32\ws2_32.dll
wsock32.dll c:\windows\system32\wsock32.dll
wtsapi32.dll c:\windows\system32\wtsapi32.dll
xmllite.dll c:\windows\system32\xmllite.dll
|
Hope it helps. |
|
Back to top |
|
|
Papillon x-man
Joined: 28 Dec 2004 Posts: 1060 Location: Germany
|
Posted: Sun May 20, 2007 22:48 Post subject: |
|
|
Via, your take on things ? _________________ Papillon |
|
Back to top |
|
|
Via Con Diablos
Joined: 23 Nov 2005 Posts: 55
|
Posted: Tue May 29, 2007 8:18 Post subject: |
|
|
Sorry haven't been watching the boards at all lately. My player base all disdain NWN2 so I've fallen off the radar a bit.
I'll try and get a running version up this weekend. That'll give me a chance to comment stuff in the installer as well so that others can update it if need be.
I know all about the SP1 issues, and honestly, I would really, *really* recommend just rolling back your version of Dev Studio.
I write tools at work, and had made the mistake of upgrading. I ended up having to build a number of the tools statically linked for a bit, as even running the redist that came with SP1, people still could not run the tools and were getting side by side errors. Eventually it became enough of a pain that I had to reinstall Dev Studio without SP1 so everyone else in the office could use them. |
|
Back to top |
|
|
Papillon x-man
Joined: 28 Dec 2004 Posts: 1060 Location: Germany
|
Posted: Tue May 29, 2007 10:21 Post subject: |
|
|
Yeah, I think downgrading to the first release version would be best... and here I thought I'd be a good Microsoft user and would update just the way they like it... not good .
Some comments here or there would definitely help, but my main priority right now is to have at least something in the repository. So should you not be able to find enough time to work on it, just throw everything into a ZIP and I'll take care of the rest (GPL license, credits, docs and stuff). I'll send my email address in a PM. _________________ Papillon |
|
Back to top |
|
|
Via Con Diablos
Joined: 23 Nov 2005 Posts: 55
|
Posted: Tue May 29, 2007 11:19 Post subject: |
|
|
Papillon wrote: | I still need to find out which libraries need to go where, though.
|
Oh yeah, I forgot to mention, the old way of bundling the respective DLL's with your application, or putting them in the same directory as your app no longer works.
Due to the way Microsoft changed manifests and Side by Side DLL loading in VS2005, we've been reborn in DLL hell all over again.
One option may be for me to rewrite the installer in VS and see what happens there. I'll install SP1 on my laptop, and see what we end up with. |
|
Back to top |
|
|
Via Con Diablos
Joined: 23 Nov 2005 Posts: 55
|
Posted: Thu Jul 19, 2007 8:50 Post subject: |
|
|
So I've completely dropped off the face of the map, and probably won't have time to take care of this as well as I'd like anymore
I've archived up the InnoSetup stuff I had working, including the additional DLL's for downloading and unzipping etc.
The inno setup code is pretty messy, as I was experimenting a lot to get things working.
Anyway, it can be downloaded from www.shadowlands.ca/nwnx4.rar |
|
Back to top |
|
|
Papillon x-man
Joined: 28 Dec 2004 Posts: 1060 Location: Germany
|
Posted: Thu Jul 19, 2007 9:55 Post subject: |
|
|
Thanks for helping out with the installer ! I am sure it is a good base to continue with.
Would anyone be interested in helping me out with the installer ? I am not sure when or if I will be able to work on it in the next couple of weeks. _________________ Papillon |
|
Back to top |
|
|
|