The Dink Network

INIclean

October 31st, 2003
v1.00
Score : 9.8 exceptional
peasantmg.gif
Raven
Peasant He/Him Sweden
 
INIclean
When adding new sprites to a DMOD or changing the hardbox of old ones in the dinkedit program, set_sprite_info commands are added in the ini-file. Unfortunately you will easily exceed the total number of extra set_sprite_info lines that you can add to your ini file. This utility
search through the ini file and removes superfluous set_sprite_info commands, and thus gives you room for more useful set_sprite_info commands.

When/Why should I use this program:
When you use dinkedit, changes a hardbox, exit dinkedit, starts dinkedit again and take a look at the sprite you changed. If the hardbox haven't changed, then you have run out of set_sprite_info lines and should use this program.

Bugs(?):
First, when I tried to use this utility, it didn't worked
(complained about out of memory or something like that). I thought I hadn't instal it correctly and tested to clean some others DMOD's ini files, but it worked on those!
Then I opened my ini-file, looked at the bottom of the file. dinkedit adds
set_sprite_info here and uses a black, filled square as separator between those commands (works lika a normal return-character, I guess).
I removed all those squares and edited the ini file in such a way that all
set_sprite_info stod alone on one row each just as the other original ones
from the skeleton-b file (for the original sprites).
Then I run INIclean again and it worked.

Conclusion:
A nice utility, since you don't want to do this removeing of superfluous
ini-commands yourself. I just can't understand why this isn't done by
dinkedit, in the first place, when adding new ini-commands.
August 26th, 2003
v1.00
Score : 9.8 exceptional
custom_simon.gif
SimonK
Peasant He/Him Australia
 
yes this is one handy file... it found 38 lines to clean from my DMOD, that had been started from the skeleton_b DMOD. So get this, use this, especially if you're planning lots of new static graphics.

I ran out of INIT lines in SOB and PQ.

Someone should update skeleton_b with a clean init.

Could this file be better, only marginally as a windows application.
February 13th, 2002
v1.00
Score : 9.9 exceptional
bonca.gif
Christiaan
Bard They/Them Netherlands
Lazy bum 
I totally agree with kindanue!
It saved me tons (and I mean TONS) of time, and a solution to all my hardbox problems. It even has a special option that it'll comment out the extra lines. And best of all, it won't just replace your Dink.ini, but it makes another 'clean.ini' file. As save as can be!
In one word: PERFECT!
TOTAL: 9.9
February 12th, 2002
v1.00
Score : 9.9 exceptional
stonegiant.gif
Hey, it works as advertised. If you're adding new graphics to your d-mod, eventually you're going to run out of space in your Dink.INI file. This utility is the answer. It found room for 50 more lines of info in my Dink.INI, even after I'd done a considerable amount of manual "cleaning" myself.

I found one noteworthy aspect of this utility which wasn't mentioned in the README. If you choose to comment out the extra lines, rather than simply delete them, the file hasn't really been cleaned and you won't have any more space until you either delete the comments or run the file through INIclean again choosing "delete". I don't think that's a bug though, it seems to be a method of double-checking what the utilty is planning on erasing before any serious damage is done.

Good job, Paul!! A tremendous timesaver!!