Important information: this site is currently scheduled to go offline indefinitely by end of the year.

SkelFinder

Post questions about game models here, or help out others!
Post Reply
User avatar
Durik256
ultra-veteran
ultra-veteran
Posts: 428
Joined: Wed Nov 21, 2018 7:26 pm
Has thanked: 45 times
Been thanked: 429 times

SkelFinder

Post by Durik256 »

SkelFinder
This little form is for finding the skeleton inside binary file.
Image
ToolStripMenu[1]:
File:
--Open... - open any file for finding skel.
--Eport - export cur skel to [.SkelFinder], collada [.dae], valve [.smd].
--Exit - close Form.
-Tools:
--TextBox Mode - activate TextBox mode.(full template editing)
--ListBox Mode - activate ListBox mode.(adding and editing cmd using the UI)
--ist <-> text - copy all cmd from not active mode in active mode.(the inactive template will be cleared)
--open temp.txt - loads cmd(and params) from temp file.
--save temp.txt - save cmd(and params) in temp file from active mode.
--save BMP - save 3D preview to bmp picture.
CmdTabPages[2]:
--name - will read the string and assigned as the name of the bone.
>>>NumericUpDown - string length if fixed. (or '-1' to read all characters up to the first null byte)
>>>DropDown - to select the mode. (fixed or read the length value before the string)
>>>CheckBox[\x00] - indicate if there is a null byte at the end of the string.
--rotation - will read a rotation with the specified type and auto converted to a 4x4 matrix for the bone.
>>>DropDown - rotation type (Mat43, Mat44, Quat, Euler[rad,deg])
>>>DropDown - value type for cur rotation.
>>>if selected rotation UlerAngles: DropDown - transpose value (xyz, yxz, e.t.c)
>>>CheckBox[transpose] - Transposes the rows and columns of a matrix.(or quat)
>>>CheckBox[inverse/normalize] - Inverts the specified matrix. (or normalize for quat)
--position - will read a vector3 with the specified type, and set the position in the bone matrix.
>>>DropDown - value type.
--parent - will read parent, and set in the bone.
>>>DropDown - to select the mode. (string or integer)
>>>if a string, then the rest of the parameters are the same as for the command "name"
--seek - skip specified number of bytes.
>>>DropDown - to select the mode. (fixed or read the value from file)
>>>CheckBox[mul] - multiply the read value by the specified value.
>>>NumericUpDown - the value by which the read value will be multiplied.
--offset - the new position in the current stream(begin).divides the template into cycles.
FOR ALL CMD:
>>Button[Add] - add current command to template.
>>Button[R] - overwrite the selected command in the template with the current command. (for editing, only for ListBox mode)
Template[3]:
>>>CheckBox[bigE] - whether to use big Endian when reading.
>>>CheckBox[mltply] - multiply child bones by parent. (from local to world space)
>>>NumericUpDown - specify how many bones to read from the file.
>>>Button[F] - open file. (red if no file is open, and green when open)
>>>ListBox/TextBox - template entry field.
>>>Button[↑] - move selected cmd up.(only for ListBox mode)
>>>Button[↓] - move selected cmd down.(only for ListBox mode)
>>>Button[clr] - clear all cmd from active(Template) mode.
>>>Button[del] - remove selected cmd.(only for ListBox mode)
>>>Button[run] - read bones from a file using the active template and the specified parameters.
Debug[4/5]:
>>>NumericUpDown - number of decimal places when printing.
>>>TextBox - bebug entry field.
>>>Button[clr]/[matrix]/[name]/[pos]/[prnt] - printing information.
3D View[6]:
>>>PictureBox - draw 3d skeleton.
>>>CheckBox[render name] - render name in 3d view.
>>>Button[color] - change cbackground color.
>>>Button[reset] - reset 3d view.(or click middle mouse button)
>>>Mouse - LKM DOWN AND MOVE for rotation. whell for zoom.
warning: "if the position goes beyond the boundaries of the file during reading, it will return those bones that were read before the error, also the multiplication will not be performed(if use), and the parent will not be converted to an integer from string(if use)
github
edit:
-bug fix
-Add export to [.dae/.smd]
You do not have the required permissions to view the files attached to this post.
Last edited by Durik256 on Sun Dec 25, 2022 5:25 pm, edited 15 times in total.
User avatar
ptg1121
advanced
Posts: 40
Joined: Sun Nov 07, 2021 2:25 pm
Has thanked: 46 times

Re: SkelFinder

Post by ptg1121 »

Durik256 wrote: Sat Nov 19, 2022 3:46 am
HI Durik256:

That's great!
Post Reply