The Dink Network

Reply to Re: New Development File: browser editor

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
May 17th 2018, 01:18 PM
peasantm.gif
shevek
Peasant They/Them Netherlands
Never be afraid to ask, but don't demand an answer 
I was hoping to just get a rough idea of it's functionality without actually loading a dmod. But, I understand now that this would not work.

That's probably useful once actual editing is supported; at the moment you can only view, and viewing an empty D-Mod seems useless.

I will say that an error message would be nice though.

Yes, the lowercase limitation is unfortunate. It's a side effect of the inability of web pages to request a list of files. So I can see if a file exists, but I can't check the list if any of the available files is the name I'm looking for when converted to lowercase. Looping through all options would be too ineffecient.

Thanks for the script. I wrote a Python script for doing the same thing before. Not sure if I kept it. Anyway, the problem with those scripts is that they don't run on every system. On the other hand, I don't think Windows users need it, because their filesystem is not case sensitive.

it did not seem to have all the tabs working when complete.
The sprite and screen properties and frame and animation edit tabs should just have a word of text in them so I can see that they are present; the content does not work indeed.

The world tab should work. If you don't see anything, that's probably because you don't have map screens defined near the center of the map. Zoom out (- key) and pan (drag while holding alt) to see more; the tiles and sprites should be rendered.

it took quite a while to load up a small dmod
This is because it loads the entire D-Mod into memory. In particular all graphics that are defined in dink.ini are loaded and converted to a format that allows using them on the world map. How long this takes does not depend on the size of the map, but on the number of available images. Since even small D-Mods usually include all of the original game's graphics, it takes a while.

On the up side, it doesn't take longer when the D-Mod is larger.

I think I'll wait for a later release to continue testing this editor. I want to try to get my next dmod ready in time for the contest.
Totally understandable. I hope you can just check if you can view the map though; it works for me, so I hope it works for others as well.

Also, the editor currently can't do much other than viewing the map (and finding bugs in ini files), so you definitely shouldn't try to use it to actually make your D-Mod.