PyTFall > PyTFall: Game design

<-- Archived --> Image tagger for PyTFall (new)

(1/7) > >>

mcmanus82:
Xela: While this was an excellent design, we went with file names for beta release.

This is the first second release version of the new image tagger, specifically designed for PyTFall.



Current version 0.2(2014.04.12)
Current dynamic tags: 167


Current features:

* Since v01:
* Load/Save Json tags file (bulk files containing tags for multiple folders are not supported)
* If valid tags.json file is found in selected folder, it is automatically loaded.
* Display tags for multiple image selection(checked = all images have tag, indifferent = some images have it, unchecked = no images have it)
* Write tags data for multiple image selection.
* Delete single or multiple files both from list and folder (also automatically saves tags.json with remaining images and their tags)
* List unrecognized tags from tags.json(lower right) these are not saved back into tags.json when saving.
* Checks if the number of image entries in the tags.json matches the number of images in the folder, if not tags.json is not loaded.
* Last successfully loaded folder is selected when pressing the button again.
* Path in the tags.json to the folder is not dynamic(as i cannot know what folder structure you will use), edit it after tagging images to point to the right location!
* Since v02:
* Checkboxes.xml stores all tags and checkboxess used by the tagger, edit it to add or remove new tags/checkboxes.(details below)
* Images not listed in the the tags.json for the selected folder are handled, and added without any tags marked for it.
* Panels are movable by their label, location is saved to panels.xml upon exit and loaded on start. To reset locations delete panels.xml and start app.Planned features:
* Adding custom user tags dynamically from config file.
* Rescan folder button to add newly added images to the folder, into the list and db.
* Config file to remember settings(do not show message again, window size, last folder etc)
* Keep path to folder from loaded tags.json
* Tags stats window.
* Tag presets, to apply to images with.Download in attachment, If you find any issues or have feedback please report it here.

Adding or remove new tags/checkboxes:

Checkboxes.xml contains all the checkboxes visible on the UI and their related tag string, home panel, order position on the panel, and that the checkbox has extra spacing above it.

One checkbox data from the xml:

  <NewCheckBox>  - Start tag for a single checkbox.
    <OnPanel>PanelClothing</OnPanel>  - Which panel the checkbox is located on, UI control name, not label.
    <NumberOnP>1</NumberOnP>  - Determines the order of the cbs on the panel.
    <AboveSpacing>False</AboveSpacing> - Determines if there is extra spacing above the cb, used for visual group.
    <ID>1</ID> - Used to identify checkboxes and pair them with a tag. SRC zip contains tags_sorted.txt with the ID for each cb, when adding a new cb, find the highest ID and add(currently 167) 1 to it to get the next ID to use.
    <TagString>armor</TagString> - The tag exactly as it is written in tags.json files.
    <CBLabel>Armor</CBLabel> - Label for the checkbox.
  </NewCheckBox>  - End tag for a single checkbox.

DarkTl:
Very cool, thanks a lot! Works flawlessly so far.

A couple of suggestions.
- The tagger could remember the last opened folder. It is not necessarily, but on many occasions will help to select the folder you need much faster when you tag several girls in a row.
- Maybe screen resolution. I don't need it, the tagger works perfectly for me as it is, but I cannot speak for others.


Also, if I'm not mistaken, right now the game doesn't use the path in tags jsons, it simply looks for them in girls folders. So it's not a problem, as long the tagger saved tags jsons in the girl's folder.

Xela:
71 kb? Freaking insane... What language is it coded  in?

mcmanus82:

--- Quote from: DarkTl on April 03, 2014, 09:37:45 AM ---Very cool, thanks a lot! Works flawlessly so far.

--- End quote ---

My pleasure :)


--- Quote from: DarkTl on April 03, 2014, 09:37:45 AM ---- The tagger could remember the last opened folder. It is not necessarily, but on many occasions will help to select the folder you need much faster when you tag several girls in a row.

--- End quote ---

It does, as long as you dont close the program.


--- Quote from: DarkTl on April 03, 2014, 09:37:45 AM ---Also, if I'm not mistaken, right now the game doesn't use the path in tags jsons, it simply looks for them in girls folders. So it's not a problem, as long the tagger saved tags jsons in the girl's folder.

--- End quote ---

It saves the tags.json in the currently selected folder, so yes. Will that path be ever needed? If not i will not bother with it.


--- Quote from: Xela on April 03, 2014, 10:36:13 AM ---71 kb? Freaking insane... What language is it coded  in?

--- End quote ---

C# Windows form application

DarkTl:

--- Quote from: mcmanus82 on April 03, 2014, 10:46:59 AM ---It saves the tags.json in the currently selected folder, so yes. Will that path be ever needed? If not i will not bother with it.

--- End quote ---
That's Xela's domain, he should know.

Navigation

[0] Message Index

[#] Next page

Go to full version