Skip to content

Commit

Permalink
encode helmet
Browse files Browse the repository at this point in the history
  • Loading branch information
kion-dgl committed Jul 12, 2024
1 parent 82498fd commit ed791ff
Show file tree
Hide file tree
Showing 6 changed files with 712 additions and 25 deletions.
Binary file modified bun.lockb
Binary file not shown.
Binary file modified head_debug.bin
Binary file not shown.
77 changes: 52 additions & 25 deletions index.ts
Original file line number Diff line number Diff line change
@@ -1,28 +1,55 @@
import { encodeModel } from './src/Encode';
import { encodeModel } from "./src/Encode";

// Helmet + Normal Shoes
encodeModel(
"PL00P000.BIN",
// Body Encoding
"obj/02_BODY.obj",
"obj/03_HIPS.obj",
"obj/10_LEG_RIGHT_TOP.obj",
"obj/11_LEG_RIGHT_BOTTOM.obj",
"obj/13_LEG_LEFT_TOP.obj",
"obj/14_LEG_LEFT_BOTTOM.obj",
// Feet
"obj/12_RIGHT_FOOT.obj",
"obj/15_LEFT_FOOT.obj",
// Left Arm
"obj/07_LEFT_SHOULDER.obj",
"obj/08_LEFT_ARM.obj",
"obj/09_LEFT_HAND.obj",
// Right Arm
"obj/04_RIGHT_SHOULDER.obj",
"obj/05_RIGHT_ARM.obj",
"obj/06_RIGHT_HAND.obj",
// Head
"obj/01_HEAD_HAIR.obj",
"obj/01_HEAD_FACE.obj",
"obj/01_HEAD_MOUTH.obj",
);

// No helmet + Normal Shoes
encodeModel(
"PL00P010.BIN",
// Body Encoding
"obj/02_BODY.obj",
"obj/03_HIPS.obj",
"obj/10_LEG_RIGHT_TOP.obj",
"obj/11_LEG_RIGHT_BOTTOM.obj",
"obj/13_LEG_LEFT_TOP.obj",
"obj/14_LEG_LEFT_BOTTOM.obj",
// Feet
"obj/12_RIGHT_FOOT.obj",
"obj/15_LEFT_FOOT.obj",
// Left Arm
"obj/07_LEFT_SHOULDER.obj",
"obj/08_LEFT_ARM.obj",
"obj/09_LEFT_HAND.obj",
// Right Arm
"obj/04_RIGHT_SHOULDER.obj",
"obj/05_RIGHT_ARM.obj",
"obj/06_RIGHT_HAND.obj",
// Head
"obj/01_HEAD_HAIR.obj",
"obj/01_HEAD_FACE.obj",
"obj/01_HEAD_MOUTH.obj"
)
"PL00P010.BIN",
// Body Encoding
"obj/02_BODY.obj",
"obj/03_HIPS.obj",
"obj/10_LEG_RIGHT_TOP.obj",
"obj/11_LEG_RIGHT_BOTTOM.obj",
"obj/13_LEG_LEFT_TOP.obj",
"obj/14_LEG_LEFT_BOTTOM.obj",
// Feet
"obj/12_RIGHT_FOOT.obj",
"obj/15_LEFT_FOOT.obj",
// Left Arm
"obj/07_LEFT_SHOULDER.obj",
"obj/08_LEFT_ARM.obj",
"obj/09_LEFT_HAND.obj",
// Right Arm
"obj/04_RIGHT_SHOULDER.obj",
"obj/05_RIGHT_ARM.obj",
"obj/06_RIGHT_HAND.obj",
// Head
"obj/01_HEAD_HELMET.obj",
"obj/01_HEAD_FACE.obj",
"obj/01_HEAD_MOUTH.obj",
);
Binary file added mod/PL00P000.BIN
Binary file not shown.
Binary file modified mod/PL00P010.BIN
Binary file not shown.
Loading

0 comments on commit ed791ff

Please sign in to comment.