Divinity Banner
Page 1 of 2 1 2 >
Topic Options
#86589 - 07/15/03 02:08 PM Divine Divinity Item Editor V 1.0.0
DAD Offline
old hand

Registered: 06/17/03
Posts: 1049
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.


Top
#86590 - 07/15/03 02:24 PM Re: Divine Divinity Item Editor V 1.0.0
Jurak Offline
veteran

Registered: 04/12/03
Posts: 6899
Loc: Somewhere between Here, ..and ...
there is only this on the config link....

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

is this where to extract the editor? or......?

i'm going to try it now....i'll be bach!



Edited by Jurak (07/15/03 02:26 PM)
_________________________
[color:"#33cc3"]Jurak'sRunDownShack!
Third Member of Off-Topic Posters
Defender of the [color:"green"]PIF.
[/color] Das Grosse Grüne Ogre!!! [/color]

Top
#86591 - 07/15/03 02:28 PM Re: Divine Divinity Item Editor V 1.0.0
DAD Offline
old hand

Registered: 06/17/03
Posts: 1049
Quote:

there is only this on the config link....

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

is this where to extract the editor? or......?

i'm going to try it now....i'll be bach!





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.



Top
#86592 - 07/15/03 02:40 PM Re: Divine Divinity Item Editor V 1.0.0
Jurak Offline
veteran

Registered: 04/12/03
Posts: 6899
Loc: Somewhere between Here, ..and ...
That is all I hope ....... ......not!


Error #53 file not found....

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



is all I get!


hello.....

ya'll got me pumped......

and i need action!!

now!


Edited by Jurak (07/15/03 02:50 PM)
_________________________
[color:"#33cc3"]Jurak'sRunDownShack!
Third Member of Off-Topic Posters
Defender of the [color:"green"]PIF.
[/color] Das Grosse Grüne Ogre!!! [/color]

Top
#86593 - 07/15/03 03:06 PM Re: Divine Divinity Item Editor V 1.0.0
LewsTherinKinslayer13 Offline
veteran

Registered: 05/19/03
Posts: 8262
Loc: Seattle
yes, I have saved the first like as DDIE and its in the savegames folder, but has error #53!??!
_________________________


Top
#86594 - 07/15/03 03:16 PM Re: Divine Divinity Item Editor V 1.0.0
Raze Offline


Registered: 03/10/03
Posts: 20945
Loc: Canada
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?

Top
#86595 - 07/15/03 03:21 PM Re: Divine Divinity Item Editor V 1.0.0
Jurak Offline
veteran

Registered: 04/12/03
Posts: 6899
Loc: Somewhere between Here, ..and ...
yes indeedy..... now HTF do i fix that again? ....

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

done
figured

doh
shoulda looked first.......duhhhh!!


all better now!
i'm off to test it for a while..... see-ya



Edited by Jurak (07/15/03 03:24 PM)
_________________________
[color:"#33cc3"]Jurak'sRunDownShack!
Third Member of Off-Topic Posters
Defender of the [color:"green"]PIF.
[/color] Das Grosse Grüne Ogre!!! [/color]

Top
#86596 - 07/15/03 03:54 PM Re: Divine Divinity Item Editor V 1.0.0
DAD Offline
old hand

Registered: 06/17/03
Posts: 1049
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?




Thank you Raze (again).
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.

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.

Cheers.




Top
#86597 - 07/15/03 04:39 PM Re: Divine Divinity Item Editor V 1.0.0
Raze Offline


Registered: 03/10/03
Posts: 20945
Loc: Canada
"BTW it was your request to have this file for saving the last directory. "

I would have had the program create the file, or zipped the program and file together for download.

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

Top
#86598 - 07/15/03 04:56 PM Re: Divine Divinity Item Editor V 1.0.0
Jurak Offline
veteran

Registered: 04/12/03
Posts: 6899
Loc: Somewhere between Here, ..and ...
ok ...... works good for me.....

edit*
same thing here Raze...opens in My Docs.....
/ed



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...
BUT i AM going to start a new guy,
and feed him some of the DAD's Beefy Editor!!


it took a rather long time sorting by name....
my declared items=3106
found number of items=1655
corrupted items=1451

now i have only 2 questions.....

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.. ..but slow load and sort

good work DAD.....this could be a dangerous thing!



One more thing worries me.....

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

i hope not....
just imagine all those little monsters out there,
waiting to snuff you in a multi-game,
with all their supercharged weaponry!





Edited by Jurak (07/15/03 05:06 PM)
_________________________
[color:"#33cc3"]Jurak'sRunDownShack!
Third Member of Off-Topic Posters
Defender of the [color:"green"]PIF.
[/color] Das Grosse Grüne Ogre!!! [/color]

Top
#86599 - 07/15/03 05:06 PM Re: Divine Divinity Item Editor V 1.0.0
DAD Offline
old hand

Registered: 06/17/03
Posts: 1049
Quote:


I would have had the program create the file, or zipped the program and file together for download.





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.

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 first and then editing new saves only.

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

Cheers.




Top
#86600 - 07/15/03 05:18 PM Re: Divine Divinity Item Editor V 1.0.0
Jurak Offline
veteran

Registered: 04/12/03
Posts: 6899
Loc: Somewhere between Here, ..and ...
i'm running win98se and it's fine..... for me!
_________________________
[color:"#33cc3"]Jurak'sRunDownShack!
Third Member of Off-Topic Posters
Defender of the [color:"green"]PIF.
[/color] Das Grosse Grüne Ogre!!! [/color]

Top
#86601 - 07/15/03 05:34 PM Re: Divine Divinity Item Editor V 1.0.0
DAD Offline
old hand

Registered: 06/17/03
Posts: 1049
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.




Top
#86602 - 07/15/03 05:38 PM Re: Divine Divinity Item Editor V 1.0.0
Raze Offline


Registered: 03/10/03
Posts: 20945
Loc: Canada
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...

Top
#86603 - 07/15/03 05:55 PM Re: Divine Divinity Item Editor V 1.0.0
DAD Offline
old hand

Registered: 06/17/03
Posts: 1049
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?



Top
#86604 - 07/15/03 06:00 PM Re: Divine Divinity Item Editor V 1.0.0
Jurak Offline
veteran

Registered: 04/12/03
Posts: 6899
Loc: Somewhere between Here, ..and ...
that'll tweaker!
_________________________
[color:"#33cc3"]Jurak'sRunDownShack!
Third Member of Off-Topic Posters
Defender of the [color:"green"]PIF.
[/color] Das Grosse Grüne Ogre!!! [/color]

Top
#86605 - 07/16/03 01:00 AM Re: Divine Divinity Item Editor V 1.0.0
LewsTherinKinslayer13 Offline
veteran

Registered: 05/19/03
Posts: 8262
Loc: Seattle
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!
_________________________


Top
#86606 - 07/16/03 01:02 AM Re: Divine Divinity Item Editor V 1.0.0
Jurak Offline
veteran

Registered: 04/12/03
Posts: 6899
Loc: Somewhere between Here, ..and ...
quik little dos prompt, then...... ren ddie.cfg.txt ddie.cfg.........

there how's that?



_________________________
[color:"#33cc3"]Jurak'sRunDownShack!
Third Member of Off-Topic Posters
Defender of the [color:"green"]PIF.
[/color] Das Grosse Grüne Ogre!!! [/color]

Top
#86607 - 07/16/03 01:02 AM Re: Divine Divinity Item Editor V 1.0.0
LewsTherinKinslayer13 Offline
veteran

Registered: 05/19/03
Posts: 8262
Loc: Seattle
help!!!
_________________________


Top
#86608 - 07/16/03 01:07 AM Re: Divine Divinity Item Editor V 1.0.0
Jurak Offline
veteran

Registered: 04/12/03
Posts: 6899
Loc: Somewhere between Here, ..and ...
assamatta for you, know no dos?


Edited by Jurak (07/16/03 01:07 AM)
_________________________
[color:"#33cc3"]Jurak'sRunDownShack!
Third Member of Off-Topic Posters
Defender of the [color:"green"]PIF.
[/color] Das Grosse Grüne Ogre!!! [/color]

Top
Page 1 of 2 1 2 >

Moderator:  Larian_QA, Lar_q, Lynn, Macbeth