Demons Forge (0.15)
-----------------No UPDATES FOR A WHILE! -Busy with career change & derping
Dev log:
Updated to 0.15
-Changed how the program accesses and stores data.
-Made the filter smart. It can filter any DF text file by looking for the first "[" and checking if it contains the string "object:".
If "object" is found, the program looks for the next "[" and makes the following string punctuated by a ":" the trigger for the filter.
further explanation:
-
if the program opens creature_standard.txt, for example, the program runs line by line until it sees the first "[".
In this case it is attached to [OBJECT:CREATURE].The program ignores this and looks for the next "[", which is
[CREATURE:DWARF]. It removes anything after the ":" like so: "[CREATURE:"
now the program logs every line in which "[CREATURE:" shows up.
-
-Added extended file loading capabilities including setting the working directory the first time the program is run.
-added an .ini file that tracks the users basic preferences
-Added GUI, and Modified existing GUI
-Ability to change the background of the program
-changed this thread title to be more accurate.
Updated to 0.1
-Added More GUI
-Added Filter mode in which you can select the creature name and jump instantly to it.
-Added a basic save. All save files are exported to DOMO_EXPORT.txt in the program directory
-Changed the icon to something cheeky
-23hrs logged in.
-----------------------------------------
The idea is: A program that is easier to use than generic text editors that are not set up for this sort of thing
What I have: A program that reads through a .txt file of your choosing. If you feel like being nice and actually select a creature file for it to read (creature_desert_new.txt for example)it will happily count the creatures, highlight them, and allow you to find them easily. You can edit the lines of text by clicking them (by edit, I mean, stone age editing).
The push button interface is modeled after DF
because I didn't spent 2 years getting proficient at it for no reason. It will always follow the DF style input scheme, but it will have more modern additions for others (later though)
The F1 key will provide you with help, and most of the readouts are debug stuff for my benefit. If an error arises I have it set to crash without warning, no error log or report.
If you find any really bad bugs, let me know!
What I want to have:
Soooo many things. But the main things is are:
1) A capable text editor that doesn't delete the whole line of text if you make one little mistake
2) Feeling confident enough in the program stability to enable the save feature.
3) Streamlining the interface so with a single key stroke, or a combo of key strokes, you can write an entire line of text.
The big feature of this program is it will be fully customizable, and probably wont require updates once it is finished.
The reason being (conceptually, anyway), the program will read all the information it needs from external files created by the user and the community at large.
Files will be shared without needing to go through me, but I hope to amalgamate the important stuff to start.
Here is where it gets dicey:
The program will be directed to read one or many *.txt files from a specific folder. Those files will contain tags and/or reactions, when the file is opened and read by the program, its contents will be assigned a toolbar tab. when that toolbar tab is active the contents will be clickable, maybe (big maybe) draggable, but most importantly each item in the toolbar will be assigned a hotkey so you can add tags like a madman. Each tab on the toolbar will be assigned the same hotkeys, but only the active tab will use its contents. SO, Ideally you fill a text file with tags and such, and my program will make them instantly accessible. You sort them, name them, categorize them, whatever... the program just lets you use them quickly.
I think that this concept is best for this type of text editing, as there is wayyyy to much for a single person to handle.
An example to follow up: The text file is called "Generic.txt". the file contains [COMMON_DOMESTIC][BENIGN][CARNIVORE][NATURAL][PET] in a list.
The list is read by the program. A tab appears on the toolbar called "Generic" it contains; "[a] = [COMMON_DOMESTIC] [c]=[BENIGN] [d]=[CARNIVORE] ect ect. The hotkeys will run a-z, A-Z, shift-a, Shift-z, ect. (had to skip b as lower case b makes text bold)
I also hope to have a descriptor that will be placed next to the tag in the .txt that will activate on mouse over...
I don't know how this will work in practice though... seems sound, but I am not the best at optimizing an idea.
Any ideas, suggestions or comments please!I hope at least that this inspires a good programmer to make a proper tool, I also hope to not run out of steam...
Screenshot:
Screenshot:
Some junk about me:
I am an amateur programmer as I am sure we all are by now. I saw that others here were trying to make tools for editing the raws (for the purpose of creating creatures and workshops, as well as managing the huge asspile of tags and such).
I have an idea of how this might be done easily with the support of the modding community... That being said, I sadly cannot do this in a universal programming language, or even a noble programming language, as the skills and time just aren't there. Its windows only for now.
The hilarious bit to this is I am using Gamemaker 8 (Google it if you must). I am using the C++ method of coding as I like it and understand it, which by now you must be thinking, "why not just f-ing use c++ to program this?!".
Its unforgiving and horrible, and I hate it. Gamemaker can do lots enough. It should take me where I need to get.
Download Demon's Forge 0.15.zip: http://dffd.wimbli.com/file.php?id=5775Place the Demon's Forge.exe in your DF/Raw/Objects/ folder for ease of use (it begins the 'open files dialog' from the directory it is located in)
Download the 0.1 source code (.gmk in a .zip): http://dffd.wimbli.com/file.php?id=5790----Thanks!