Feral Heart

FeralHeart Creations => FeralHeart Addons & Mods => Presets & Markings => Topic started by: JBRWolf on December 25, 2013, 04:07:44 am

Title: FH Preset Maker Program (VERSION 2.5)
Post by: JBRWolf on December 25, 2013, 04:07:44 am
(Scroll to the bottom for the latest)

That being said I would like to share my preset maker program which I have been making recently:
(http://i.imgur.com/Nc6NTMq.png?1?5559)

The main purpose of this program is to be able to easily transfer textures to one of the preset slots. It automatically finds the textures with the key words "head", "tail", "body" ect. in a chosen folder and then copies them across to the preset folder, automatically renaming them and creating a matching .material file. In addition to this it also allows you to easily make multiple textures for a body part as well as adjusting settings for that layer such as the ambient and emissive as well as a scroll and/or rotate animation.

Here is a picture of the program which also explains what each button does:
(http://i.imgur.com/xGi87zR.png?1?1022)
Also here are a few things this picture doesn't mention:
*The saves are found in  the folder FH Preset Maker\saves
*When you copy a layer the "clipboard" it mention's is not your computer clipboard. To copy a layer it saves the layer in FH Preset Maker\resources\clipboard
*The FH directory which you have to chose when starting the program is remembered so don't worry about having to select your FH directory every time you use the program. As well as this the textures folder is also remembered
*The preset slot list scans your my_presets folder but ignores reference folder so if you were to make a new file named preset_13 it would show up on that list(kind of a pointless future but oh well xD)
*Try not to do things to fast. When testing I think I found a bug when copy and pasting,moving and creating layers where it would do it to one side but wipe the other side out when single side editing was disabled. So basically single side editing is less glitchy.
*The layers in the layers list are stored in text files in FH Preset Maker\resources\temp\layers\-bodypart-
*If you see a message box with the title "Crash" don't be too alarmed because it's basically an error message but because of the error the program can't run e.g. missing files.

*It already says this but I want to repeat it because it's important:
Always remember to press "Save Layer" after editing a layer

Ok so that covers how to use the program if you have anymore questions please feel free to ask.

Thanks for taking the time to read this post and I hope you find this program useful.
Merry Christmas :)!-JBRWolf


Version 2
(http://i.imgur.com/KsMzKWY.png?1?9230)
(http://i.imgur.com/nimu4GC.png?1?3814)
Updates:
Obvious Updates:
Hidden/Less Obvious Updates:

Scripts:
In version 2 there is a new layer scripts feature. This feature allows you to add scripts stored in FH Preset Maker v2\scripts to a layer.

Although I have added quite a few already for you(special thanks to AlphaEclipse) you may want to make/add your own. So this is how:
1.Make a new text file in the FH Preset Maker v2\scripts folder
2.Name it what you want to call your script
3.Open the text file and write .material code in certain sections split up by [SECTION]sectionname. See the scripts api.txt for more info.

scripts api.text
Code: [Select]
-Sections-
For a new section use "[SECTION]sectionname"

Section names:

pass - inside the pass section but gets added after the ambient,diffuse,specular and emissive
bpass - inside the pass section but before the ambient,diffuse,specular and emissive (so at the start)
tu - gets added inside the texture_unit
a_tu - gets added after the texture_unit section
========
-Variables-
Use "{variable name}" to use variables

Available variables:

pnum - The preset number e.g. the slot preset_3 would be "3"
bp - (short for body part) (lower) the body part e.g. headl,tail ect.(includes l/r the body parts such as head)
bpc - body part caps e.g. HeadL, Tail
bps - body part single (lower) e.g. head, eye
bpsc - body part single caps e.g. Head, Eye
sd - side (lower) : l or r (or blank)
sdc - side caps : L or R (or blank)
texture - the texture of that layer e.g. "preset_7bodylayer_2.png"
ex - texture file extension
lnum - layer number(don't quite know when this would be used but eh) e.g. layer_2.txt  would be "2"
========
4.Save the file(it should be a txt file)
5.To use it: In the program select a layer and then press "Add Scripts(s)" and select your script .txt file
6.Press save layer and continue to use the program as normal

Here is an image showing the different variables(with an example) available to use in a script txt file(this is using the script "variables_comment.txt"):
(http://i.imgur.com/Gt647YB.png?1?9356)




Version 2.1
Just added a few small updates:

I have also made a video tutorial on how to use it:
https://youtu.be/3W8OC61l8KI (https://youtu.be/3W8OC61l8KI)

Download v2.1
Someone dmed me saying the link is dead and I only just saw it and so here is an updated link.
Update link 2021/01/31: https://drive.google.com/file/d/1QBn5Zi13CZ4Cjct8stwJ9ZBEc5PrqmI8/view?usp=sharing (https://drive.google.com/file/d/1QBn5Zi13CZ4Cjct8stwJ9ZBEc5PrqmI8/view?usp=sharing)
https://www.dropbox.com/s/irqzuqcyeri46uy/preset_program2.1%20Release.zip?dl=0 (https://www.dropbox.com/s/irqzuqcyeri46uy/preset_program2.1%20Release.zip?dl=0)

Download v2.5 (latest)
https://drive.google.com/file/d/1Beb4Cq3ZS1IXnbEsCMBEOhA0AUYCPuip/view?usp=sharing (https://drive.google.com/file/d/1Beb4Cq3ZS1IXnbEsCMBEOhA0AUYCPuip/view?usp=sharing)
Never officially released this version and I can't remember why I stopped working on it, I believe it's because the animation preview isn't completely accurate. I haven't fully tested it but I just gave it a quick test and it seemed to work so I might as well add this while I update the old link for v2.1. The main new feature is the ability to add multiple images as an animation.
If the default C: drive is causing issues launching the program you can change the 2 Cs to your drive letter in resources/defaults/d_options.cfg and then delete resources/config.cfg.
- Added frame by frame animation(the preview isn't completely accurate, the animation generally appears faster in game)
- Added indentation to generated material file
- Added {t} to scripts api for indentation
- Added {file file_name} to scripts api for adding additional files from scripts/textures
- Auto saves after changing texture
Title: Re: FH Preset Maker Program
Post by: ~Stargazer~ on December 25, 2013, 04:17:01 am
Oh wow! This will defiantly make preset making a lot easier for some floofs out there. Thank you for sharing this
+floof
Title: Re: FH Preset Maker Program
Post by: AlphaEclipse on December 25, 2013, 04:18:22 am
This is absolutely amazing. It's such a creative idea that will help preset makers and preset enthusiasts everywhere. I would've never thought of making this. o-o +64859264 floofs for this.
It must have taken some time to design and code the actual program.
Title: Re: FH Preset Maker Program
Post by: JBRWolf on December 25, 2013, 04:23:04 am
Thanks AlphaEclipse and you actually kinda helped me make it when I was asking you them questions xD Anyway yeah it did take quite some time, totaling at 2384 lines of code :)

EDIT: Also thank you both of you for my first floofs :D
Title: Re: FH Preset Maker Program
Post by: AlphaEclipse on December 25, 2013, 04:26:27 am
Thanks AlphaEclipse and you actually kinda helped me make it when I was asking you them questions xD Anyway yeah it did take quite some time, totaling at 2384 lines of code :)

Oh my glob that's a lot of patience. o-o
Title: Re: FH Preset Maker Program
Post by: JBRWolf on December 25, 2013, 04:29:29 am
xD Quite a few parts were repetitive so I was able to copy and paste quite a bit however I was quite devastated when I finished it and even made it into a zip file ready to make a forum post about when I found quite a big bug, oh well it's finished now and it's better me finding the bugs first than you.
Title: Re: FH Preset Maker Program
Post by: JBRWolf on December 25, 2013, 04:34:34 am
Also here is my original plan for this program if anyone is interested:
(http://i.imgur.com/WlxQDTL.png?1?2267)
As you can see I changed quite a few things in my final version compared to my original design.
Title: Re: FH Preset Maker Program
Post by: Vespian on December 25, 2013, 05:13:53 am
This preset maker is quite impressive sir. No doubt it'll come in handy for many floofs who might have a bit of trouble. +floof.
Title: Re: FH Preset Maker Program
Post by: JBRWolf on January 11, 2014, 11:48:13 pm
Version 2 coming out very soon, today/tomorrow(it's almost 12 am where I live).
Here is a preview of the gui:

(http://i.imgur.com/Qbm1c5T.png?1?4994)

I've finished scripting the program, all I have to do now is convert AlphaEclipse's material codes into ones that the program can understand :)
Title: Re: FH Preset Maker Program
Post by: AlphaEclipse on January 12, 2014, 12:47:57 am
Version 2 coming out very soon, today/tomorrow(it's almost 12 am where I live).
Here is a preview of the gui:

(http://i.imgur.com/Qbm1c5T.png?1?4994)

I've finished scripting the program, all I have to do now is convert AlphaEclipse's material codes into ones that the program can understand :)

Ohohoh, kewl update!
I wish yew luck with converting the scripts. Some of them, (like that water one that I still can't explain |D) use params and may derp out. o3o Ifthatevenmatters XD /shot I still think it's amazing how you taught yourself how to make this stuff. :o +Floofles
Title: Re: FH Preset Maker Program (VERSION 2!)
Post by: JBRWolf on January 12, 2014, 03:20:15 am
Version 2 is now out :)
Title: Re: FH Preset Maker Program (VERSION 2!)
Post by: Ingredient on January 12, 2014, 04:54:51 am
Oh my, this will certainly come in handy! No idea how you made it but great job, this will surely benefit a lot of players ^^

+Floof :D
Title: Re: FH Preset Maker Program (VERSION 2!)
Post by: JBRWolf on January 12, 2014, 10:53:38 am
The funny thing is that version 1 was 2384 lines of code and version 2 is 1919 lines of code xD That's because:
  • More efficient coding(this update does not affect the program in anyway xD) - Replicated lines of code replaced with for loops ect
Title: Re: FH Preset Maker Program (VERSION 2!)
Post by: iCandy on January 13, 2014, 01:46:07 am
This is impressive! May I ask what language you used?
Title: Re: FH Preset Maker Program (VERSION 2!)
Post by: JBRWolf on January 14, 2014, 12:56:21 am
This is impressive! May I ask what language you used?

It's not a very popular/"official" language, it's called au3(autoit3). Here is the source code(ignore my random and strange comments xD):
http://pastebin.com/Tv3tqP64 (http://pastebin.com/Tv3tqP64)
Title: Re: FH Preset Maker Program (VERSION 2!)
Post by: lindaminda on February 02, 2014, 04:21:29 pm
This programs seems really interesting, going to check it out. And you did a good job, helping people and making things way easier when making presets, thank you floofeh
Title: Re: FH Preset Maker Program (VERSION 2!)
Post by: astraeus on February 05, 2014, 04:06:21 pm
excuse me, can you do a copy/paste link for V2? My computer wont let me click the link
Title: Re: FH Preset Maker Program (VERSION 2!)
Post by: JBRWolf on February 06, 2014, 08:12:01 am
excuse me, can you do a copy/paste link for V2? My computer wont let me click the link


Done c:
Title: Re: FH Preset Maker Program (VERSION 2!)
Post by: astraeus on February 06, 2014, 11:09:40 pm
thanks JBR -nuzzle-
Title: Re: FH Preset Maker Program (VERSION 2!)
Post by: Dire Night Wolf on February 23, 2014, 12:51:03 am
You sir deserve a +floof! Wonderful program, I'm so glad you came up with this, I was sick or renaming my files every single time I modified them. Will definitely be using this while making presets. Thank you very much once more.
Title: Re: FH Preset Maker Program (VERSION 2!)
Post by: JBRWolf on February 26, 2014, 02:03:48 am
No problem, thanks for the great feedback.
Title: Re: FH Preset Maker Program (VERSION 2!)
Post by: Lady_Yasha on March 11, 2014, 04:15:25 pm
it's in a compressed folder and I tried using it but do you use it from the folder itself ? if so please tell me...I'm no good at some programs.
Title: Re: FH Preset Maker Program (VERSION 2!)
Post by: JBRWolf on March 20, 2014, 04:30:05 pm
it's in a compressed folder and I tried using it but do you use it from the folder itself ? if so please tell me...I'm no good at some programs.

Download a program like winrar and extract it to a folder:
(http://i.imgur.com/6jfPJqL.png?1?5720)

As long as the "FH Preset Maker v2.exe" file is in the same folder as the "resources","saves" and "scripts" folder it should work fine:
(http://i.imgur.com/lLOiH9T.png)

Sorry it took me a while to reply, I haven't been that active on fh recently.
Title: Re: FH Preset Maker Program (VERSION 2!)
Post by: .Oaths. on January 13, 2015, 07:40:19 pm
Is so hard to use it...but i really wanted to make a preset easily..anyways thank you P.S:i am not en and i can't decide what are the layers and the text files and the textures...is really really hard to make a preset with this program
Title: Re: FH Preset Maker Program (VERSION 2!)
Post by: Crowdenz198 on April 26, 2015, 04:58:18 pm
Dis is really Helpful :D btw.. i put my feral heart on local disk (d) cuz my local disk (c) is already full can u also add the local disk (d)? i mean like if u open it.. u can also look the feral heart folder on local disk(d)??

sorry for my bad english..
Title: Re: FH Preset Maker Program (VERSION 2!)
Post by: Wolflover224 on April 26, 2015, 07:28:55 pm
Sounds awesome! I'll download this soon!
Title: Re: FH Preset Maker Program (VERSION 2.1) Small Update + Tutorial
Post by: JBRWolf on July 06, 2017, 05:59:44 pm
Small update to allow people to select folders on a different drive and a tutorial at www.youtube.com/watch?v=3W8OC61l8KI (http://www.youtube.com/watch?v=3W8OC61l8KI)
Title: Re: FH Preset Maker Program (VERSION 2.1) Small Update + Tutorial
Post by: Morgra on July 06, 2017, 06:19:51 pm
Holy amazing!!! I love this. Thank you for bumping this up. This is revolutionary and extremely useful for people who encounter errors when they are trying to make their presets. I'll have to check this out when i'm next making a preset. ^^ *nuzzles* Great, great job!
Title: Re: FH Preset Maker Program (VERSION 2.1) Small Update + Tutorial
Post by: Shunothegecko on January 21, 2020, 04:55:22 am
is this still open
Title: Re: FH Preset Maker Program (VERSION 2.1) Small Update + Tutorial
Post by: WolfStuff on June 19, 2020, 12:43:10 pm
hello where do i get preset maker i cant find it anywhere
Title: Re: FH Preset Maker Program (VERSION 2.1) Small Update + Tutorial
Post by: G4RG0YLE on June 19, 2020, 12:46:35 pm
hello where do i get preset maker i cant find it anywhere

It appears the Download link has either been removed or is simply no longer available.
The creator of the FH Preset Maker Program has not been active since August 5th, 2019.
Nevertheless, I've dropped the user a Private Message here on the forums so that, if they ever return, they can look into updating it.
My apologies if this has disappointed you, WolfStuff. Hopefully they'll return soon to fix the link!
Title: Re: FH Preset Maker Program (VERSION 2.5)
Post by: JBRWolf on February 01, 2021, 12:32:08 am
On this random day I have seen that the link was dead and fixed it as well as released an unreleased version 2.5 I worked on years ago. Idk if anyone still uses this but I hope it helps.
Title: Re: FH Preset Maker Program (VERSION 2.5)
Post by: SpicyDirt on February 01, 2021, 03:20:42 am
On this random day I have seen that the link was dead and fixed it as well as released an unreleased version 2.5 I worked on years ago. Idk if anyone still uses this but I hope it helps.

Thank you! This is honestly a life-saver for presets!