RECV MODDING BASICS - MODELS - Ch.1 (By CBNJ)

Moderators: pcwzrd13, deluxux, VasiliyRS

cbnj
brutal
Posts: 248

RECV MODDING BASICS - MODELS - Ch.1 (By CBNJ)

Post#1 » Sun Nov 26, 2023 4:51 am

PREVIOUS CHAPTER: RECV MODDING BASICS - MODELS - INTRODUCTION (By CBNJ)
viewtopic.php?f=2&t=16986&p=181020#p181020
----‐‐-------------------------------------------------------------
Before to continue:
Everything in the file is formatted in hex little endian format, any question about this and other stuff ask Google about it since i already specified you should know about hex numbers and how to move trough a file using offsets and pointers.

KNOWING THE POINTERS AND REMOVING THE ENVELOPE DATA.

Open PL00.ALD in your hex editor and you will get this:
Attachments
CLAIRE1.jpg
Last edited by cbnj on Fri Dec 01, 2023 7:22 am, edited 17 times in total.

cbnj
brutal
Posts: 248

Re: (Updating...) RECV ARMORING CHARACTERS - CLAIRE pt. 1 (By CBNJ)

Post#2 » Sun Nov 26, 2023 5:47 am

This is the start of the envelope data denoted by the SKIN header, before this SKIN header we have two pointer bytes, each one will take us to diferent areas of claire body file.

The first pointer byte B464 will take us to the animations block denoted by the MTN header, the second pointer byte 0C38 will take us to the model area of the file denoted by the MDL header.
Attachments
mtnpointer.jpg
mtn.jpg
mdlpointer.jpg
mdl.jpg
Last edited by cbnj on Tue Nov 28, 2023 6:02 pm, edited 4 times in total.

cbnj
brutal
Posts: 248

Re: (Updating...) RECV ARMORING CHARACTERS - CLAIRE pt. 1 (By CBNJ)

Post#3 » Sun Nov 26, 2023 6:03 am

You will clearly notice this jumps are not exact as the
mtn pointer (as we will call it from now on)
and the
mdl pointer (also as how will be reffered since now)
take us 3 bytes before the MTN and MDL headers respectively, this is correct and this mismatch should always be respected for every modification we do to this pointer values.
Attachments
mtnmissmatch.jpg
mdlmissmatch.jpg
Last edited by cbnj on Tue Nov 28, 2023 4:36 am, edited 1 time in total.

cbnj
brutal
Posts: 248

Re: (Updating...) RECV ARMORING CHARACTERS - CLAIRE pt. 1 (By CBNJ)

Post#4 » Sun Nov 26, 2023 6:35 am

Go to where the mdl pointer takes you and move 2 bytes ahead, this will positionate you one byte before the MDL header at offset 0C40 and the value on this byte will be 7BF4
Attachments
0c40.jpg

cbnj
brutal
Posts: 248

Re: (Updating...) RECV ARMORING CHARACTERS - CLAIRE pt. 1 (By CBNJ)

Post#5 » Sun Nov 26, 2023 6:52 am

Select everything from 0C40 and behind to the start of the file, cut it and paste it in a new file, this will leave us whit the file pl00.ald starting whit the value 7BF4 and a new file wich contain the envelope data.
Attachments
selected.jpg
selectednewfile.jpg
updatedpl00.jpg
Last edited by cbnj on Sun Nov 26, 2023 8:52 am, edited 2 times in total.

cbnj
brutal
Posts: 248

Re: (Updating...) RECV ARMORING CHARACTERS - CLAIRE pt. 1 (By CBNJ)

Post#6 » Sun Nov 26, 2023 7:10 am

Now we face again another two pointer bytes altough this time one is on top of the other, the first one (7BF4), will take us to the end of claire model, the second one rigth below (776C), will take us to the start of the bones for claire body.
Attachments
EOMPOINTER.jpg
BONESPOINTER.jpg
Last edited by cbnj on Tue Nov 28, 2023 4:37 am, edited 6 times in total.

cbnj
brutal
Posts: 248

Re: (Updating...) RECV ARMORING CHARACTERS - CLAIRE pt. 1 (By CBNJ)

Post#7 » Sun Nov 26, 2023 7:11 am

Once more both pointer jumps are not exact.
7BF4, the pointer of the end of the model (or eom pointer as will be called from now on)
take us to the middle of a double line of FFFFFFFF two bytes before another MDL header
and
776C the bones pointer (as will be refered from now on)
take us 5 bytes before the real start of the bones denoted by the value 0F000000 followed by a line of FFFFFFFF

Again this missmatchs should be respected for every modification we can do to this values.
Attachments
EOMpointer.jpg
BONESPOINTER.jpg
Last edited by cbnj on Tue Nov 28, 2023 2:38 am, edited 4 times in total.

cbnj
brutal
Posts: 248

Re: (Updating...) RECV ARMORING CHARACTERS - CLAIRE pt. 1 (By CBNJ)

Post#8 » Sun Nov 26, 2023 7:42 am

Is at claire's real end of the model offset where we will start to input our custom extra model data, which is located one byte ahead from where eom pointer take us, at offset F87B
END OF CHAPTER

NEXT CHAPTER: RECV MODDING BASICS - MODELS - Ch.2 (By CBNJ)
viewtopic.php?f=2&t=16994

  • Similar Topics
    Replies
    Views
    Last post

Return to “Modifications”

Who is online

Users browsing this forum: No registered users