Larian Studios
Posted By: DAD Divine Divinity Item Editor V 1.0.0 - 15/07/03 02:08 PM
Divine Divinity Item Editor V 1.0.0 (Complete)

The configuration file

OK, Here it is.
Click the link URL and click the selection then follow the save sequence.
You must save bothe files in the same directory.
Have fun.

N.B.
You may edit Item's names.
You may add damage spells to melee weapons.
You may increase the charm slots.
You may change the rank of your item indicated by the text color of its name.

With my best wishes.
If you need any dll files or OCX files let me know.
wave


EDIT: Here is a mirror link for version 1.4 of DAD's Item Editor.
If you do not already have the Visual Basic 6 redistributable installed, and get missing file/component errors, use the full installer for v1.1, then replace the executable in the install folder with the latest version.
Posted By: Jurak Re: Divine Divinity Item Editor V 1.0.0 - 15/07/03 02:24 PM
there is only this on the config link....

"C:\Program Files\Divine Divinity\Run\savegames"

is this where to extract the editor? or......? <img src="/ubbthreads/images/graemlins/think.gif" alt="" />

i'm going to try it now....i'll be bach! <img src="/ubbthreads/images/graemlins/suspicion.gif" alt="" />
Posted By: DAD Re: Divine Divinity Item Editor V 1.0.0 - 15/07/03 02:28 PM
Quote
there is only this on the config link....

"C:\Program Files\Divine Divinity\Run\savegames"

is this where to extract the editor? or......? <img src="/ubbthreads/images/graemlins/think.gif" alt="" />

i'm going to try it now....i'll be bach! <img src="/ubbthreads/images/graemlins/suspicion.gif" alt="" />


After you click on the link, select save as from the file menu.
Please save it under the file name:
DDIE.cfg
in the same directory in which you save DDIE.exe
That is all I hope. <img src="/ubbthreads/images/graemlins/biggrin.gif" alt="" />

<img src="/ubbthreads/images/graemlins/wave.gif" alt="" />
Posted By: Jurak Re: Divine Divinity Item Editor V 1.0.0 - 15/07/03 02:40 PM
That is all I hope ....... <img src="/ubbthreads/images/graemlins/ouch.gif" alt="" /> ......not!


Error #53 file not found....

i've got my DDIE.cfg, and DDIE.exe
in the run savegame folder and ......

<img src="/ubbthreads/images/graemlins/ouch.gif" alt="" />

is all I get! <img src="/ubbthreads/images/graemlins/biggrin.gif" alt="" />


hello..... <img src="/ubbthreads/images/graemlins/wave.gif" alt="" />

ya'll got me pumped...... <img src="/ubbthreads/images/graemlins/eek.gif" alt="" />

and i need action!! <img src="/ubbthreads/images/graemlins/biggrin.gif" alt="" />

now! <img src="/ubbthreads/images/graemlins/suspicion.gif" alt="" />
yes, I have saved the first like as DDIE and its in the savegames folder, but has error #53!??!
Posted By: Raze Re: Divine Divinity Item Editor V 1.0.0 - 15/07/03 03:16 PM
When you right clicked on the link and selected Save As, did your browser decide that DDIE.cfg should actually be called DDIE.cfg.txt and helpfully rename it for you? <img src="/ubbthreads/images/graemlins/suspicion.gif" alt="" />
Posted By: Jurak Re: Divine Divinity Item Editor V 1.0.0 - 15/07/03 03:21 PM
yes indeedy..... now HTF do i fix that again? ....

quik little dos prompt, then...... ren ddie.cfg.txt ddie.cfg.........

done <img src="/ubbthreads/images/graemlins/wave.gif" alt="" />
figured

doh <img src="/ubbthreads/images/graemlins/ouch.gif" alt="" />
shoulda looked first.......duhhhh!!

<img src="/ubbthreads/images/graemlins/wave.gif" alt="" />
all better now!
i'm off to test it for a while..... see-ya <img src="/ubbthreads/images/graemlins/wave.gif" alt="" />
Posted By: DAD Re: Divine Divinity Item Editor V 1.0.0 - 15/07/03 03:54 PM
Quote
When you right clicked on the link and selected Save As, did your browser decide that DDIE.cfg should actually be called DDIE.cfg.txt and helpfully rename it for you? <img src="/ubbthreads/images/graemlins/suspicion.gif" alt="" />


Thank you Raze (again). <img src="/ubbthreads/images/graemlins/biggrin.gif" alt="" />
I have prepared a professional full-scale install self extracting executable but it was 2.5 MB and I know better that not all have fibre optics running at 10Mbits/sec. <img src="/ubbthreads/images/graemlins/biggrin.gif" alt="" />

The file DDIE.cfg is a simple text file that could even be empty but must be in the same directory with DDIE.exe.

The Browser usually changes the file name to DDEI_cfg.htm or DDEI_cfg.html
In other browsers it is as you just explained.

So unfortunately it is inevitable to save it and rename it or just create any empty text file and save it by the name DDIE.cfg.

BTW it was your request to have this file for saving the last directory. <img src="/ubbthreads/images/graemlins/biggrin.gif" alt="" />

Cheers.

<img src="/ubbthreads/images/graemlins/wave.gif" alt="" />
Posted By: Raze Re: Divine Divinity Item Editor V 1.0.0 - 15/07/03 04:39 PM
"BTW it was your request to have this file for saving the last directory. <img src="/ubbthreads/images/graemlins/biggrin.gif" alt="" /> "

I would have had the program create the file, or zipped the program and file together for download. <img src="/ubbthreads/images/graemlins/tongue.gif" alt="" />

Whenever I start the program, the 'Open' button starts off in My Documents (under win 98se).

The program works on a new game, but on other saves is giving an 'Error #6, Overflow' and locking up. The declared number of files and percentage opening at this error are below, for saves just before;
entering the Dark Forest - 4080, 86%
hitting the gong - 5871, 60%
the demon lies - 7173, 49%


I had to download and register msstdfmt.dll
Posted By: Jurak Re: Divine Divinity Item Editor V 1.0.0 - 15/07/03 04:56 PM
ok ...... <img src="/ubbthreads/images/graemlins/up.gif" alt="" /> works good for me.....
[color:"red"]
edit*
same thing here Raze...opens in My Docs..... <img src="/ubbthreads/images/graemlins/think.gif" alt="" />
/ed[/color]


although i only did the amulet of glory,
from my quicksave2 folder
with +20 for all stats, and 15 for the elements,
didn't want to go too overboard... <img src="/ubbthreads/images/graemlins/biggrin.gif" alt="" />
BUT i AM going to start a new guy,
and feed him some of the DAD's Beefy Editor!! <img src="/ubbthreads/images/graemlins/biggrin.gif" alt="" /> <img src="/ubbthreads/images/graemlins/up.gif" alt="" />


it took a rather long time sorting by name.... <img src="/ubbthreads/images/graemlins/ouch.gif" alt="" />
my declared items=3106
found number of items=1655
corrupted items=1451

now i have only 2 questions..... <img src="/ubbthreads/images/graemlins/think.gif" alt="" />

would corrupted items mean, the items that i have not found yet?

and in the edit window......what is item value rank?

other than that it ran great.. <img src="/ubbthreads/images/graemlins/biggrin.gif" alt="" /> ..but slow load and sort <img src="/ubbthreads/images/graemlins/disagree.gif" alt="" />

good work DAD.....this could be a dangerous thing! <img src="/ubbthreads/images/graemlins/suspicion.gif" alt="" />

<img src="/ubbthreads/images/graemlins/wave.gif" alt="" />

[color:"orange"]One more thing worries me.....

this will NOT be compatible with DD2, will it......

i hope not.... <img src="/ubbthreads/images/graemlins/eek.gif" alt="" />
just imagine all those little monsters out there,
waiting to snuff you in a multi-game,
with all their supercharged weaponry! <img src="/ubbthreads/images/graemlins/eek.gif" alt="" />


Posted By: DAD Re: Divine Divinity Item Editor V 1.0.0 - 15/07/03 05:06 PM
Quote

I would have had the program create the file, or zipped the program and file together for download. <img src="/ubbthreads/images/graemlins/tongue.gif" alt="" />


Done; now you can download a self-extracting executable then run setup to install the program and the configuration file in the same directory.

Quote

Whenever I start the program, the 'Open' button starts off in My Documents (under win 98se).


I did not test the program on other versions, mine is XP so I have to do some extra testing.

Quote

The program works on a new game, but on other saves is giving an 'Error #6, Overflow' and locking up.


I did not get that quite clearly dear Raze. I reserved 2MB for each of two arrays to tolerate the worst case file and I checked all my 37 games and the final saves were quite well below 1.5 MB, so please check the size of your items.000 file and post me a report.


Quote

The declared number of files and percentage opening at this error are below,
for saves just before;
entering the Dark Forest - 4080, 86%
hitting the gong - 5871, 60%
the demon lies - 7173, 49%
I had to download and register msstdfmt.dll


Number of files! Do you mean the declared number of items and the found number of items and the corrupted ones?
If so then 7173 items must be rather a joke, I mean who would keep such a number of items!
I was thinking that I was crazy to have reached 4000 items at the end of the game. <img src="/ubbthreads/images/graemlins/biggrin.gif" alt="" />

I also tested my editor on files created after the last official patch and I have no idea if it shall work on corrupted files or files produced by saves before the patch.
So I recommend upgrading <img src="/ubbthreads/images/graemlins/div.gif" alt="" /> first and then editing new saves only.

Yet testing on Windows 98SE seems to be a must and I am on it.

Cheers.


Posted By: Jurak Re: Divine Divinity Item Editor V 1.0.0 - 15/07/03 05:18 PM
i'm running win98se and it's fine..... <img src="/ubbthreads/images/graemlins/up.gif" alt="" /> for me! <img src="/ubbthreads/images/graemlins/biggrin.gif" alt="" />
Posted By: DAD Re: Divine Divinity Item Editor V 1.0.0 - 15/07/03 05:34 PM
If you upgrade your DD with the latest patch and started a new game and before even moving your hero and saved the game then quit, the (items.000) file shall contain 14 corrupted items and I really took time to confirm this fact using different hex editors.
The data structure was absolutely corrupted as it was produced by the game but such data corruption is not critical when those items are discarded by the game in the same way I bypass them in my editor.

If your OS version is 98 as well then you have to wait for a while until I modify this version after testing on 98SE.

From the feedback number of items I am hearing, I might have to raise-up the size of the arrays from 2MB to 4MB each and that would be 8MB plus the opened file buffer!!!!
Such arrays are necessary because the items.000 file is not random access created but sequential to save space and minimise its size. So in rather simple words I have to cut and paste the bytes from array to array when editing variable size strings holding the item’s name or the damage spells of a melee weapon. Other than that there is no need for memory arrays and editing could be done on the file directly after extracting all the pointers. The sorting time is slow because I used VB rather than C and because I use character comparison byte by byte. So even though I am implementing a fast sorting algorithm the slow sort is inevitable.
But you could type in the first character repeatedly until you stumble on your item, or even better, use the old editor to find your item and write down the identification number associated with it, and then using my editor you could simply scroll down to that number as they are loaded sequentially.

Most probably, My Documents is the default directory replacement when a standard error of path-not-found is detected.
This should happen only one time and later when you run the editor again it should seek the last directory.

I need to investigate on that a bit more.

1451 corrupted items is rather a very high number (almost half of the items). !!!
Corrupted items are item entries found that have inconsistent data structures that do not comply with what the game can open.
Those might be items with any of the merchants or foes.

Item value rank is what changes the colour of the name of the item when you query its statistics from within the game.

Cheers.


<img src="/ubbthreads/images/graemlins/alien.gif" alt="" />
Posted By: Raze Re: Divine Divinity Item Editor V 1.0.0 - 15/07/03 05:38 PM
items.000 files size in these saves is 1.5MB, 2.2MB and 2.7MB.

"Do you mean the declared number of items and the found number of items and the corrupted ones?"

I meant the declared number of items; nothing was listed for the found or corrupted numbers.

"If so then 7173 items must be rather a joke, I mean who would keep such a number of items!"

close to 2000 minor / regular restoration potions, empty flasks I stopped using, 170 charms, half a dozen pieces of equipment with skill bonuses, miscellaneous statuettes, etc. a couple dozen keys left behind when I rang the gong, a chest of meat and bread abandoned as not worth either selling or carrying, a chest of stuff that I saved because it could have been related to some later quest, a chest of miscellaneous crap I looted but could not sell, stuff I dumped in chests or cupboards just to get them out of the way...
Posted By: DAD Re: Divine Divinity Item Editor V 1.0.0 - 15/07/03 05:55 PM
Quote
items.000 files size in these saves is 1.5MB, 2.2MB and 2.7MB.

Currently, any items.000 file equal to or greater than 2.0MB must generate an overflow error and lock up the system when edited with my editor, and I can pump that size up easily if the majority can tolerate the memory requirements.


Quote

"Do you mean the declared number of items and the found number of items and the corrupted ones?"

I meant the declared number of items; nothing was listed for the found or corrupted numbers.

"If so then 7173 items must be rather a joke, I mean who would keep such a number of items!"

close to 2000 minor / regular restoration potions, empty flasks I stopped using, 170 charms, half a dozen pieces of equipment with skill bonuses, miscellaneous statuettes, etc. a couple dozen keys left behind when I rang the gong, a chest of meat and bread abandoned as not worth either selling or carrying, a chest of stuff that I saved because it could have been related to some later quest, a chest of miscellaneous crap I looted but could not sell, stuff I dumped in chests or cupboards just to get them out of the way...


The items.000 file does not keep track of anything you may not wear as an armour or weapon or jewellery (rings and amulets).

With my editor, you can edit bows too.

So basically I need to double the memory array size and try to find a way to enhance the sorting speed.

Right?

Posted By: Jurak Re: Divine Divinity Item Editor V 1.0.0 - 15/07/03 06:00 PM
that'll tweaker! <img src="/ubbthreads/images/graemlins/biggrin.gif" alt="" />
hey, er, I'm having problems, can you put me through it in SIMPLE terms from the start? please? i'm confused from u genius's out there! <img src="/ubbthreads/images/graemlins/ouch.gif" alt="" />
Posted By: Jurak Re: Divine Divinity Item Editor V 1.0.0 - 16/07/03 01:02 AM
quik little dos prompt, then...... ren ddie.cfg.txt ddie.cfg.........

there how's that? <img src="/ubbthreads/images/graemlins/biggrin.gif" alt="" />

<img src="/ubbthreads/images/graemlins/wave.gif" alt="" />
help!!! <img src="/ubbthreads/images/graemlins/eek.gif" alt="" />
Posted By: Jurak Re: Divine Divinity Item Editor V 1.0.0 - 16/07/03 01:07 AM
assamatta for you, know no dos?
i need help from like raze or dad, not a cave person! <img src="/ubbthreads/images/graemlins/biggrin.gif" alt="" />
Posted By: HandEFood Re: Divine Divinity Item Editor V 1.0.0 - 16/07/03 01:31 AM
Quote
assamatta for you, know no dos?

No know "know" and "no", apparently. <img src="/ubbthreads/images/graemlins/tongue.gif" alt="" />

Rename the file: ddie.cfg.txt to ddie.cfg
Posted By: Jurak Re: Divine Divinity Item Editor V 1.0.0 - 16/07/03 01:37 AM
that's it <img src="/ubbthreads/images/graemlins/idea.gif" alt="" />

lews go to DD folder...find your way to the run/savegame folder....go to start menu....get dos prompt......should open in savegame folder if not....find it....
than type this at the prompt....

ren DDIE.txt DDIE.cfg

enter and type exit in the dos window it will close.... <img src="/ubbthreads/images/graemlins/biggrin.gif" alt="" />

how much easier can i make it? <img src="/ubbthreads/images/graemlins/biggrin.gif" alt="" />
ok, i've gone to the savegames folder, and in there I got a program called DDIE, and it has error 53! <img src="/ubbthreads/images/graemlins/ouch.gif" alt="" />
Posted By: DAD Re: Divine Divinity Item Editor V 1.0.0 - 16/07/03 03:09 AM
You may download DDIE.exe version 1.1 as it is available now.
I took care of 98ES and items.000 file size problems.
You may download the whole set of CABs and the setup files or just update your DDIE.exe on the next link down at my home page.

Have fun.

<img src="/ubbthreads/images/graemlins/wave.gif" alt="" />
thnx, but i have to download the whole set!!!???? I got windows XP, any difference?
Posted By: DAD Re: Divine Divinity Item Editor V 1.0.0 - 16/07/03 03:37 AM
Quote
thnx, but i have to download the whole set!!!???? I got windows XP, any difference?


No you do not have to download all the installation set if you did get err # 53 before, because that means that the file DDIE.cfg was not found in the path expected by the program, which means that the program was already running.

Therefore, you only need the new DDIE.exe which addresses the issue of items.000 file size being up to 4MB and directory path issues related to differences in defaults of every operating system version.
Now, I have included an error handling algorithm to create the text file DDIE.cfg in the application’s path and write that path inside the file as a starting point for you. So you should not have any error messages concerning file not found again.

Enjoy.

<img src="/ubbthreads/images/graemlins/alien.gif" alt="" /> <img src="/ubbthreads/images/graemlins/div.gif" alt="" /> <img src="/ubbthreads/images/graemlins/alien.gif" alt="" />
Posted By: Jurak Re: Divine Divinity Item Editor V 1.0.0 - 16/07/03 03:59 AM
he ydad can i just copy it right over the first one
or do i need to get rid of it first, or does it even matter? <img src="/ubbthreads/images/graemlins/biggrin.gif" alt="" />

oh one more thing....can you edit items you haven't found yet?
Posted By: DAD Re: Divine Divinity Item Editor V 1.0.0 - 16/07/03 04:15 AM
Quote

he ydad can i just copy it right over the first one
or do i need to get rid of it first, or does it even matter? <img src="/ubbthreads/images/graemlins/biggrin.gif" alt="" />

oh one more thing....can you edit items you haven't found yet?



Go ahead and overwrite the old one with the new one.

And yes you can edit items that you did not find yet in the game but you must find it in the list. <img src="/ubbthreads/images/graemlins/biggrin.gif" alt="" />
You shall always find the most recent item, which you find in the game, at the bottom of the list of found items in the editor. So you may save and quit immediately after acquiring an interesting item then edit it at the bottom of the list. This saves you the time of sorting and searching for the item later on.

A word of advice:

Keep your items proportional to the stage of the game to be rewarded with more interesting items.
If you overload your item with spells, charms, resistances and lore bonuses you shall not have any nice items dropped by the NPCs for you to collect. Most often you shall find cheese, rotten tomato and good looking carrots in barrels and NPCs might drop their handkerchiefs. <img src="/ubbthreads/images/graemlins/biggrin.gif" alt="" />

Take care.








Posted By: Jurak Re: Divine Divinity Item Editor V 1.0.0 - 16/07/03 04:19 AM
Quote
Keep your items proportional to the stage of the game to be rewarded with more interesting items.
If you overload your item with spells, charms, resistances and lore bonuses you shall not have any nice items dropped by the NPCs

which i have noticed already, seems to occur more frequently than before....better items popping up....i mean.... <img src="/ubbthreads/images/graemlins/biggrin.gif" alt="" />

<img src="/ubbthreads/images/graemlins/wave.gif" alt="" />

thx.. <img src="/ubbthreads/images/graemlins/biggrin.gif" alt="" />
[color:"orange"]
edit** yep <img src="/ubbthreads/images/graemlins/biggrin.gif" alt="" /> it's fixed and alot faster too. <img src="/ubbthreads/images/graemlins/eek.gif" alt="" />..opens in the last used folder, and no other problems to report.....

<img src="/ubbthreads/images/graemlins/up.gif" alt="" /> <img src="/ubbthreads/images/graemlins/up.gif" alt="" /> <img src="/ubbthreads/images/graemlins/biggrin.gif" alt="" /> <img src="/ubbthreads/images/graemlins/biggrin.gif" alt="" /> <img src="/ubbthreads/images/graemlins/biggrin.gif" alt="" />
© Larian Studios forums