DSII TOOLKIT V1.1 RELEASED


Thursday, December 1, 2005 - 18:10

Dungeon Siege 2 Tool Kit
Version 1.1

Installation Notes:

The The DSII Tool Kit V1.1 is available for download.

Interested in modding but don't know where to begin? Start with the DSII Toolkit companion, Siege University II. The DS2 Tool Kit V1.1 installer includes the complete set of files that make up the tool kit; however, if you are updating from a previous release you can simply run the new installer WITHOUT uninstalling your existing tools.

If it detects an installed version, the v1.1 installer will automatically select the current DS2TK directory as the install target. If you have made specific changes to the tools (for example, modifications to the maxscripts used in Siege Max) and are concerned about losing your customizations, you can elect to install this DS2TK release to a different folder and then migrate your personalized files by hand from the old folder to the new one.

CAUTION: The DS2TK uninstaller will automatically remove your Siege Editor 'favorites' list when it removes the Tool Kit. If you are uninstalling and want to preserve your favorites, be sure to copy your '..\My Documents\My Games\Dungeon Siege 2 Mod\Dev\Config\editor\favorites.gas' file to safe place before you run the uninstaller. Once you have re-installed the DS2TK, you can restore your favorites list by overwriting the new favorites.gas with your original.

Siege Max Changes:

Support has been added for 3ds Max versions 4.2 and 5.1 (in addition to previously supported versions 6, 7 and 8 )

If you have any of these versions installed on your system, the appropriate files and shortcuts will be created in the DS2TK install directory.

Dungeon Siege 2 Mod Changes:

A ‘mood’ command has been added to the console which will allow modders to test mood settings without having to add additional triggers. Type “help mood” at the console prompt after loading a map for syntax info.

Fixed a bug in the code that locates the dbghelp.dll file. DS2Mod now uses the version installed by the retail release.

Several new and revised command line options improve mod support <see below>


configfile=<filename>                                       default:"DungeonSiege2"

Sets the name of the configuration file used to resolve game settings. Relying on a custom config file allows you to avoid long command line arguments as any option allowed on the command line can be entered into this file. Settings for different mods can be selected by specifying alternate config files.

If the config file path is not specified, the default is "..\My Documents\My Games\Dungeon Siege 2 Mod".

The config file extension is always ".ini".

silentstartup=[true|false]                                  default:false

Hides the console during engine initialization.
NOTE: Initialization can take several seconds during which the screen will remain blank!

disableconsole=[true|false]                                 default:false   

Disables the debug console display. The console is still available to skrit routines (through the ConsoleExecute() function ) but it cannot be toggled on by the user.

nointro=[true|false]                                        default:false

Skip initial credits movie, jumps to main menu.

noloadintro=[true|false]                                    default:false

Skip the DS2 loading movie

breakonerror=[true|false]                                   default:false

Enable this to halt the program and pop up an error message dialog if an error is encountered. If this flag is false, errors are simply written to the error log file.

treatskritwarningsaserrors=[true|false]                     default:false

Warning messages encountered when parsing skrit code are normally just written to the warning log file. Enable this option to treat such warnings as errors.

NOTE: Enabling this flag will detect issues with skrit code improperly marked as 'dev_only' in DungeonSiege2 retail tanks. These messages can safely be ignored!

enable_template_warnings=[true|false]                       default:false

Display warnings encountered while parsing content db templates.

NOTE: Enabling this flag will detect issues with templates improperly marked as 'dev_only' in DungeonSiege2 retail tanks. These messages can safely be ignored!

skrit_debugging=[true|false]                                default:false 

Collect additional information regarding errors detected in skrit code. This info includes the source file, line number and virtual machine state.

skrit_retry=[true|false]                                    default:false

When errors are detected during compilation of skrit code, a retry message will be generated. Enabling this flag allows you to edit the skrit file and retry the compilation without having to restart the application.

log_all=[true|false]                                        default:false

Log all console output to the "..\My Documents\My Games\Dungeon Siege 2 Mod\Logs\log-<machinename>.log" file. By default, only error and warning messages are logged.

pcontent_db_dump=[true|false]                               default:false

Dump contents of the parameterized database to tab-delimited text files suitable for loading into Excel. These files will be placed in a 'pcontent_reports' folder located in the DS2TK install directory (or which ever directory the game executable is launched from, if the 'Start In' shortcut parameter is changed)

dumphelp=[true|false]                                       default:false

Generates a 'fubi.log' file that contains a listing of the functions, classes and enumerations exported by the game engine that are available to skrit. This file is written to the DS2TK install directory.

NOTE: The game will exit after generating the help information!

skritbot=<string[,string]...>

List of skritbots to load and run. These specialized skrits can be used to automate the startup of the game. See the Siege U skritbot entry at garage.gaspowered.com for more info.

Submitted by biddle on Thu, 2005-12-01 19:30.
biddle's picture

Before you all take me to task...

There is no additional documentation or assets included with this DS2TK update. All the changes were to code.

Things are really busy in the GPG compound these days but I didn't want to sit on the update any longer.

I chose to spend the time improving features at the request of people that were blocked (and truth be told, I'm a pretty weak technical writer, my explanations are often anything but simple...)

I hope you newbs that are reading this will take heart that while I have been catering to the existing experts in the community, you haven't been forgotten!

Many thanks to those of you that are picking up the slack and helping people out. You are freeing up my time to focus on what I do best ...putting the bugs in, as Bilas used to say ;)

Enjoy,

.biddle


Submitted by x0r on Thu, 2005-12-01 20:00.
x0r's picture

woop woop!! Things are going great, thanks for the hard work!

Have you ever thought of making a MMORPG version of Dungeon Siege?" - Newby


Submitted by Wyvante on Fri, 2005-12-02 01:54.
Wyvante's picture

Woot coders will be coding now!! Thanks for the update biddle it's much needed and know the coders have been looking forward to it. I'm glad you added in the new mood feature as well.

-----------------------------------
Moderator at Siegetheday , Herena Forge , and a ds modder since ds1 came out.


Submitted by mcarp on Fri, 2005-12-02 03:40.
mcarp's picture

Good deal Mike! I cant wait to dive in. I've been looking at skrit pad way way more than I thought I wanted to but you know, whatever floats my boat at the time is what rolls down the hill. Now I get to jaw drop on skirt errors :P I hope you are eating and sleeping well, you are working up a sweat over there.
mcarpville


Submitted by sharkull on Mon, 2005-12-12 20:10.
sharkull's picture

Is there a target line flag to turn off DS2Mod's use of untanked Bits (or to specify an alternate \Bits\ folder)?


Submitted by biddle on Mon, 2005-12-12 23:41.
biddle's picture

You can append an ADDITIONAL bits folder from the command line with:

bits="yourfoldername"

If you want to use this folder EXCLUSIVELY (and not have it scan the default bits folder as well) prefix your name with an exclamation point:

bits="!yourfoldername"

You can trick DS2Mod into ignoring all your untanked files by creating an 'empty' sub folder in your current bits and using the following command line option:

bits="!%user_path%\bits\empty"

In this case I've used the percent character '%' to denote an existing ds2 pathvar that I want to have expanded.

"user_path" is the 'base' overridable path var (the one that points to your My Documents\My Games\Dungeon Siege 2 Mod by default) You can avoid having absolute paths in your path var arguments if you reference your custom "maps", "bits" & "mods" override paths relative to it.

Type 'system paths' on the console to check where all of your paths are mapped to.

NOTE: Command line path overrides can also appear in a config .ini file (if you find your command line is getting really long...)

.biddle


Submitted by sharkull on Tue, 2005-12-13 16:43.
sharkull's picture

Thanks! :) That's what I was looking for.

BTW, the exact syntax you wrote above doesn't work.
bits="!%user_path%\bits\empty" - Gives an error (the "!" within the quotes makes an invalid path...).

bits=!"%user_path%\bits\empty" - seems to work fine...
bits=!%user_path%\bits\empty - works fine too.


Submitted by biddle on Tue, 2005-12-13 23:19.
biddle's picture

ouch! transcription error!

It was supposed to be:

bits=!"%user_path%\bits\empty"

You only need the quotes if there are spaces in the folder name, but I always add them in anyhow...

Sorry about that, good catch.


Submitted by The Hanker Chief on Fri, 2005-12-16 15:27.
The Hanker Chief's picture

Avast, more command line parameters! 'Tis sure to be added to yonder command line switch list

Yar!
-The Hanker (Pirate) Chief


Submitted by ghastley on Wed, 2005-12-07 07:20.
ghastley's picture

I was amazed and delighted to see even Max 4.2 is supported, but unfortunately it's not recognising my installation. I get the scripts installed, but not the dll. What is it looking for in the registry?

Alternatively, is there a way to extract the dll(s?) from the .exe file?


Submitted by biddle on Wed, 2005-12-07 19:10.
biddle's picture

For versions prior to 6, I peek at the 'uninstall' path that Discreet's installer fills out.

Here is the registry entry export of the machine I tested with:

File: 3dsmax4.reg

REGEDIT4

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\3ds max 4]
"uninstallpath"="D:\\3dsmax42\\"

File: 3dsmax5.reg

REGEDIT4

[HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk\3dsmax\5.0\MAX-1:409]
"uninstallpath"="D:\\3dsmax5\\"

Set the uninstallpath regkey to the folder that contains your '3dsmax.exe' executable and the installer should find it.

.biddle


Submitted by fxzero on Wed, 2005-12-07 23:11.

GPG, you guys should make sure all of the download links for the dsII Toolkit are pointing to version 1.1. For example it looks like the following page is still has a link to version 1.0:

http://garage.gaspowered.com/?q=ds2modding

-Pete

Submitted by sharkull on Wed, 2005-12-07 23:23.
sharkull's picture

Yes, I second this sentiment. A dedicated permanent link / URL for the current DS2TK download page would be nice for reference when writing modding tutorials... ;)


Submitted by DragonTeeth12 on Thu, 2005-12-08 05:55.
DragonTeeth12's picture

Thanks - I've updated the link on the DS2 modding page.

I admit I was surprised it was a new link. I'm not sure we can control where the file is located, as the file is actually hosted by Microsoft. But I'll pass along the comment in case we can.

DragonTeeth12
GPG moderator


Submitted by Garage Grease Monkey on Thu, 2005-12-08 10:36.
Garage Grease Monkey's picture

Thanks Pete! I missed that one!


Submitted by ghastley on Thu, 2005-12-08 15:46.
ghastley's picture

Thanks Biddle, adding the registry key worked.


Submitted by Sleaker on Thu, 2005-12-08 18:33.

is there a list of DS2mod ingame commands? Looking to test stuff but I need to be able to lvl a character and drop around template items etc..

Submitted by sharkull on Fri, 2005-12-09 11:47.
sharkull's picture

Enter "help" at the DS2Mod console (accessed with the ~ key) for a list of commands... you can also get more detailed information on each command by entering "help command" (where command is the command you want to learn about). You might be interested in these two:
help give
help stats

:)


Submitted by myavatar on Sat, 2010-02-06 07:14.

Choose, buy and shop for on sale tiffany jewelry including Tiffany & Co Silver Necklace, Pendants, Bangles, Bracelets, Earrings, Rings and Accessories. Tiffany Jewellery Tiffany Jewellery offering bangle Jewellery, bracelet jewelry, eardrop jewelry,necklace jewelry, ring jewelry, finger ring jewelry and earring jewelry tiffany tiffany and co tiffany jewellery links of london Tiffany Style Silver Jewelry: Rings, Earrings, Necklaces, Bracelets and more Tiffany Jewellery at low prices

Submitted by jewellery on Wed, 2010-02-17 21:36.

Emma and John, they get married this year links of london , in the sound of everyone's blessing, the two elderly people over fifty years of age entered the marriage hall. They were so happiness when john wears the “links of london” ring on Emma’s ring finger which touched everyone attendant.

Submitted by linkszxc on Sat, 2010-02-27 00:39.

Faithful links of london ladies are always looking for
discount links of london collections among UK, and we can get access to the discount collections like
links of london bracelets and cheap
links of london charms on the internet.

Submitted by zwy001 on Mon, 2010-03-08 19:48.

tiffany rings tiffany rings
tiffany engagement rings tiffany engagement rings
tiffany wedding rings tiffany wedding rings tiffany necklace tiffany necklace
tiffany sets tiffany sets
tiffany bracelet tiffany bracelet tiffany pendant tiffany pendant
tiffany earrings tiffany earrings
tiffany accessories tiffany accessories tiffany charms tiffany charms
Abercrombie And Fitch Abercrombie And Fitch
Abercrombie Abercrombie
Abercrombie Clothing Abercrombie Clothing
Abercrombie UK Abercrombie UK
Abercrombie London Abercrombie London
Abercrombie Fitch Abercrombie Fitch
Abercrombie Outlet Abercrombie Outlet
shamwow shamwow Tulip

Submitted by james99 on Tue, 2010-03-09 02:50.

I like the way you explain the things. Keep posting. Thanks..I will be one of your loyal reader if you maintain this kind of post.
dermajuv reviews

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.