Pink Petal Games
PyTFall => PyTFall: Game design => Topic started by: mcmanus82 on April 03, 2014, 06:46:34 AM
-
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.
(http://s8.postimg.org/tcg5pgmt1/Screen3.jpg)(http://s12.postimg.org/5ctyh0wsd/Screen4.jpg)
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.
-
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.
-
71 kb? Freaking insane... What language is it coded in?
-
Very cool, thanks a lot! Works flawlessly so far.
My pleasure :)
- 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.
It does, as long as you dont close the program.
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.
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.
71 kb? Freaking insane... What language is it coded in?
C# Windows form application
-
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.
That's Xela's domain, he should know.
-
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.
It's up to the game to determine the path so there is no need to specify it in json.
-
Could use please share the source code of the tagger, in case you will disappear one day (like Rudi did)? So we could rely on your tagger in all circumstances in the future.
-
Could use please share the source code of the tagger, in case you will disappear one day (like Rudi did)? So we could rely on your tagger in all circumstances in the future.
I would but i do not have the sc for the released version, the good news is that im working on making it fully configurable from XML.
In detail - all of the currently present checkboxes are loaded from an XML, containing their home panel and order on the panel, panels are resized automatically, clicking and holding LMB on the label of the panel allows to move it around.
XML can be edited to add/remove CBs, change their tag string, change their label, change where a CB is on a panel and on which panel it is.
All of this is done and working, only thing remaining to do is to save the location of the panels on exit, and load it at start.
Hopefully this will be done in 1-2 days, then i will make a new release and include the sc, which you will not need by then :)
-
v0.2 release bump.. :)
-
Awesome :)
-
Thanks :)
-
Great, thanks. Now I feel 100% safe :)
-
So I'm guessing this is what you use instead of naming the file in the image folder? Or do the image name still have its uses, if so what image categories are available?
Been looking around for some info on this but I havnt found anything. Granted I'm terrible at finding info on forums. xD
ps Neat version of the game lads. :)
-
So I'm guessing this is what you use instead of naming the file in the image folder? Or do the image name still have its uses, if so what image categories are available?
Been looking around for some info on this but I havnt found anything. Granted I'm terrible at finding info on forums. xD
If you use tagger (this or previous one, both works fine) to create tags.json file in the girl's image folder, then filenames doesn't matter (so 1321fdgdg31.jpg is ok - it just have to match the entry in .json). Filenames are used only when the game is trying to convert WM packs.
There is no info thread how to tag packs yet, because we will change tags a bit before next version and that means anyone who tag packs right now will need to retag it again in the future, so it's not encouraged. We will create a proper guide after that.
-
If you use tagger (this or previous one, both works fine) to create tags.json file in the girl's image folder, then filenames doesn't matter (so 1321fdgdg31.jpg is ok - it just have to match the entry in .json). Filenames are used only when the game is trying to convert WM packs.
There is no info thread how to tag packs yet, because we will change tags a bit before next version and that means anyone who tag packs right now will need to retag it again in the future, so it's not encouraged. We will create a proper guide after that.
Ah nice. Fiddled abit with it earlier and i get the idea. Thanks for the info. :)
Likely wont be tagging anything right now but thats good to know for ze future.
-
What kind of images does this read? I have some that were ignored by the tagger.
-
We use only png and jpg in our packs. If you have any others, you probably have to convert them to one of those.
-
okay thanks, I'll just convert them
-
Also, I've noticed that you have to watch the spelling on jpg files. Thats is to say: imagename.jpeg seems to get ignored while simply changing it to imagename.jpg will work fine.
-
I see, I didn't know it was that easy. I had to download a converter. Thanks!
-
I'm having a little trouble with what tags to use, Sometimes there are tags that break the game. Is there a list of tags I can use?
-
I'm having a little trouble with what tags to use, Sometimes there are tags that break the game. Is there a list of tags I can use?
??? There shouldn't be any code that can "break" a game on the unknown tag! What errors do you get?
-
??? There shouldn't be any code that can "break" a game on the unknown tag! What errors do you get?
I can confirm this, custom tags are ok even if they're total crap like chinese characters. (they're displayed in moonspeak in galery though)
I was using some manually written tags for events and they were working fine.
So I'm curious what this problem could be...
-
custom tags are ok even if they're total crap like chinese characters. (they're displayed in moonspeak in galery though)
I'll see if we can sort them out in the future...
-
You've prolly manually edited the file and forgot a delimiter somewhere. Open the folder using tagger software again and create a new JSON.
-
I tried it too but still no luck, I'll just use the other tagger. Btw, how come there's no profile tag on the other tagger?
-
I tried it too but still no luck, I'll just use the other tagger. Btw, how come there's no profile tag on the other tagger?
Can you upload your pack somewhere? I am sure the problem is not with the file. I can most likely fix it and send it back to you (with our tagger you'll prolly have to retag the whole thing).
There should be profile! You're prolly using a wrong version.
Link
This is the most recent one I have but Dark/CW may have a better build (Smarter tabs/less tags). (CW, Can you link to your version, same for Dark pls, we need to compare :D).
Any version will work, it's all about convenience.
-
Thanks for the tagger, this one has the profile tag ;D
It's ok, I'll just tag the pack again. It only has a few pics anyway :)
-
This is the most recent one I have but Dark/CW may have a better build (Smarter tabs/less tags). (CW, Can you link to your version, same for Dark pls, we need to compare :D ).
I'm using this (https://www.dropbox.com/s/hr3xpyk4tho4dw0/ImageTaggerWindows.rar) one, but it's customized for my resolution and there are few tags that are not used in game that I added for testing, so I doubt it's useful to others much. I stopped tagging a long while ago after we agreed that there will be a tag review (and stopped updating the usage in game) and didn't expect anyone to do so until then...
-
Yes, this is the better version, use it :)
-
Okay thanks! I didn't know about the tagging review.. good thing I only added a few pics then lol!
-
We can make due with the current system I guess. So far noone did really make an effort to come up with a proper concept for an improved system.
+ We have 10**100 other thing to do...
-
We can make due with the current system I guess. So far noone did really make an effort to come up with a proper concept for an improved system.
lol, I would seriously want to know what is a "proper" concept, because everything I tried to tell you about tags so far was refused or told to not care and wait :D
-
Cherry, if you want to make new packs, just do it without tagging. We already have enough packs for testing, and you always can tag them after the review.