v1.01. DSFE is a small standalone executable, written in C for the Windows XP console that watches your nwclientlog1.txt each 1.5 seconds, reads out certain commands and makes all kinds of things. Start dsfe.exe BEFORE you start NWN with your dsfe-capable module and after you installed its files.
It's meant for singleplayer. It's lightweight, easy to maintain and to compile. It's a bit like NWNX for the poor, but for the client.
Most of the commands are executed with WIN32 ShellExecuteEx();. This means, you need a properly configured system and the respective applications for it to work.
Its root of operations (I'd suggest) is the new NWN subdirectory �dsfe_mount� for sake of security and transparency.
Commands so far:
DSFECOM PLAY MID para
- plays the MIDI file (no extension) from the dsfe_mount directory
DSFECOM GOWEB para
- starts your browser to visit URL para
DSFECOM SHOW JPGPDFAVITXT para.ext
- shows an JPG, an PDF, AVI or TXT.
Append extension. Use small letters.
DSFECOM TERMINATE
- tries to terminate the last known handle (i.e. closes windows)
DSFECOM WMCLOSE para
- sends a WM_CLOSE to FindWindow(para)
DSFECOM EXE para para2 para3 ...
- starts an executable
Compiling should be fairly simple. Requests here, report bugs. This is very much a work in progress.
WARNING: DSFE IS A GREAT COMPUTER SECURITY RISK FOR THE UNEXPERIENCED ADVENTURER. MAKE SURE YOU TRUST YOUR MODULES. MAKE SURE YOUR DIRECTORY nwn\dsfe_mount IS CLEAN.
- 1.01 -
sorry, a small update: (1) he didn't take it too kindly when NWN was restarted. (2) DSFECOM SHOW JPGPDFAVI is now DSFECOM SHOW JPGPDFAVITXT and handles also TXT. _________________________ Five Flagons Inn: Link - ds-tl Theater Scripting Language: Link - dstl NWN2: Link - NWN2 one-click GUI away (except chat-windows): Link - NWN1 small file extensions for SP (and General MIDI): Link - Suggested Naming Conventions: Link - DS Sneaking: Link - DS Base (Pseudo-)Maze: Link
You must be Logged In to post comments in this section.