Neverwinter Vault

Expand AllContract All -Site -My Profile -Features

Neverwinter Nights 2

-NWN2 Files -NWN2 Game Info -NWN2 Resources -NWN2 Community

Neverwinter Nights

-NWN Files -NWN Game Info -NWN Resources -NWN Community

Vault Network
RPG Vault
VN Boards
IGN Vault
Vault Wiki
· Age of Conan
· Anarchy Online
· Asheron's Call
· Dark Age of Camelot
· City of Heroes
· D&D
· EVE Online
· EverQuest
· EverQuest 2
· Final Fantasy
· Guild Wars
· Lineage 2
· Lord of the Rings Online
· Middle Earth
· Neverwinter Nights
· Pirates of the Burning Sea
· Rise of the Argonauts
· Star Wars Galaxies
· Tabula Rasa
· The Matrix Online
· The Witcher
· Titan Quest
· Two Worlds
· Vanguard
· Warhammer
· World of Warcraft

Planet Network
Planet Hub

IGN
Games
Cheats
Entertainment

The Web   The Site  



NWN OTHER

- Jump to comments -
Title  Perl NWScript dependencies
Author  Donwulff
Submitted / Updated  02-25-2006 / 02-25-2006
Category  Utility
Format  Other
Description
Behold, it's Perl. I wrote this long ago to handle orkign with PrC scripts. Building ALL the scripts will take hours, so you want to have to do that as rarely as possible. I guess you could tweak make and makedepend to do the job for you, but always wanting to do everything backwards, I decided to put together my own little utility for dependencies. This does the opposite of makedepend, ie. "I know what files I've changed, but which scripts do I now need to recompile and redistribute?"
You'd be looking at something like:
Bash: for n in `nssdepend.pl changedfile.nss otherchange.nss`; do nwnsscomp -c $n; done
CMD: for /F %n in ('perl nssdepend.pl changedfile.nss otherchange.nss') do nwnsscomp -c %n
Want to know what files to include in module if you were to modify nw_i0_generic?
nssdepend.pl nw_i0_generic.nss
...forget it.
I guess now y'all want a script that can be executed from desktop and given the name of the modified script(s), without .nss extension, and will automatically rebuild everything. Or better yet, recompile everything that needs to be recompiled automatically. Well, it does what I need it to do, I'll probably improve it when it no longer does. As an added benefit in current form it can be used to do those "what is affected" queries. Note that it ONLY shows leaves of the dependency tree, ie. it doesn't show all include-files you need for compiling that set. Ps. Ofcourse you need Perl for this to work.

Files

NameTypeSizeDownloads
nssdepend.zipnssdepend.zip
Submitted: 02-25-2006 / Last Updated: 02-25-2006
zip0.67b224
Perl script to show affected scripts
SCORE OUT OF 10
N/A
Cast Your Vote!

PORTFOLIO
Add this entry to your portfolio so you can track it
Manage your existing portfolios or create a new one.
SCREENS
No Images




You Must Be Logged In to Participate.
Comments (0):

You must be Logged In to post comments in this section.

 
Most recent posts on the MMO General Boards
Analyst: Star Wars: The Old Republic Could...Analyst: Star Wars: The Old Republic Could Sell 3M: more numbers
- last reply by Acao on Aug 15, 2011 06:15 PM
which class will your first character be
- last reply by Blisteringballs on Aug 15, 2011 05:50 PM
New Community Content!
- posted by Vault_News on Aug 15, 2011 05:00 PM
New Community Content!
- posted by Vault_News on Aug 15, 2011 04:00 PM
NWN Idea Database Update
- posted by Vault_News on Aug 15, 2011 03:46 PM
Missing Votes for NWN2 Hall of Fame
- posted by Vault_News on Aug 15, 2011 03:40 PM
Missing Votes for NWN Hall of Fame
- posted by Vault_News on Aug 15, 2011 03:39 PM
Random Questions and game altering suggest...Random Questions and game altering suggestions!!!
- last reply by ArkadyTepes on Aug 15, 2011 03:22 PM
State of the game?
- last reply by LyricOpera on Aug 15, 2011 01:37 PM
Yesterday streaming, now demanding downloa...Yesterday streaming, now demanding download :(
- last reply by Sinane-tk on Aug 15, 2011 10:23 AM
 

   


IGN Entertainment
By continuing past this page, and by your continued use of this site, you agree to be bound by and abide by the User Agreement.
Copyright 1996-2011, IGN Entertainment, Inc. | Support | Privacy Policy | User Agreement | RSS Feeds
IGN’s enterprise databases running Oracle, SQL and MySQL are professionally monitored and managed by Pythian Remote DBA.


NWN2 Hall of Fame

HOF NWN2 Modules


View all Hall of Fame entries


Neverwinter Nights 2

TOP NWN2 Modules

NEW Modules

NEW Reviews

NEW INTL. Modules

TOP Hakpaks

TOP Gameworlds

TOP Tutorials

TOP Prefab:Areas

TOP Blueprints

TOP Plugins

TOP UI

TOP Other

TOP Visual Effects

TOP Scripts

TOP Tools

TOP Movies

TOP Models

TOP Characters





Hall of Fame

HOF NWN Modules


View all Hall of Fame entries


TOP NWN Modules

NEW NWN Modules

NEW Reviews

TOP Intl. Modules

TOP NWN Hakpaks

TOP NWN Gameworlds

TOP NWN Models

TOP NWN Portraits

TOP NWN Scripts

TOP NWN Prefabs

TOP NWN Other

TOP NWN Movies

TOP Sounds

TOP NWN Textures

TOP NWN Creatures

TOP NWN Characters