Clarity
2014-09-29 09:56:26
Version 1.4
Supports RS3 and OSRS
This extension allows you to create and view DTMs simply by inputting item names into a textbox.
It also downloads the used image files to your computer for later offline use.
Installation
- Download the extension.
- Paste it into C:\Simba\Extensions\
- Open Simba and go to View -> Extensions.
- Enable the generateDTM.sex extension.
- The "Item DTM Generator" will appear on the menu bar.
- Enter the item into the first text box, make sure this is exactly as it appears here: http://www.tip.it/runescape/items or on RS Wiki. If using Tip.It, you can search by ID instead of name if you prefer.
- Select the items database to use. Each has its strengths and weaknesses, if you experience errors with one, try the other.
- Specify how many points you would like your DTM to have.
- Select how you want the points to be distributed on the item.
- Fill out the desired tolerance settings for the DTM points.
- Choose whether you want extended debug or not.
- Select a function output: options include string, or item related functions such as TRSBankscreen.getPackCountDTM();
- Generate!

Debug Output
== DTM Generator == Search Term: Maple logs
== DTM Generator == Image Path: C:\Simba\Extensions\storage\Maple_logs.png
== DTM Generator == DTM contains 6 points. MPTolerance: 20, SPTolerance: 1
== DTM Generator == Use DTMFromString in the DTMEditor to view this DTM.
== DTM Generator == FUNCTION OUTPUT ==
function mapleLogsExists: boolean;
var
mapleLogsDTM: integer;
tba: TBoxArray;
begin
mapleLogsDTM := DTMFromString('mggAAAHicY2OAgI/////nA9JfgTQzkP4FpEHiTEDMBsQcQMwJxDxA7KHHBpVBxSJAkpEEDAEAeVUMuQ==');
result := tba.dtmExists(mapleLogsDTM);
freeDTM(mapleLogsDTM);
end;
== DTM Generator == END FUNCTION OUTPUT ==
Extension Download: [ATTACH]24179[/ATTACH] (v1.4)

Credits:
@nielsie95 for the original DTM Editor, from which I used and modified some relevant code.
@Kasi who wrote the MakeDTM function which I modified for the extension.
@BMWxi who helped solve the problems in the posts below.






