CF Conversions to 2K19 ~ Updated CF Conversion Kit Tutorial RLSD 8/26!

A hub for everything related to NBA 2K19 modding. Releases, previews, requests, and other modding discussion belongs here.

Re: CF Conversions into NBA2K19

Postby MonkeymanJSV on Tue Nov 20, 2018 2:59 pm

So does this mean we have to individually change those assigned vertices? Or is there a quicker method?
If you enjoy my Mods please follow my Instagram
https://www.instagram.com/monkeymanmods/
If you’d like to support me and my mods please donate here
https://www.paypal.com/cgi-bin/webscr?c ... source=url
https://www.youtube.com/user/MonkeymanJSV
User avatar
MonkeymanJSV
 
Posts: 675
Joined: Sun Apr 08, 2018 8:48 am
Location: Sydney Australia

Re: CF Conversions into NBA2K19

Postby trevorjpt33 on Wed Nov 21, 2018 10:19 am

MonkeymanJSV wrote:So does this mean we have to individually change those assigned vertices? Or is there a quicker method?

It is not something that can be done in blender (done to the level of specificity we need, at least). It will be the same kind of method like with the vertex coordinates. Where some changes to specific section(s) will be made in hex editor. These changes would be made to an entire vertex group's indices at once. So it does not have to be done individually. To illustrate, what I just finished doing is I wrote down which ranges of indices correspond with each vertex group. I'm going to target a specific section(s) of the file.

Image
User avatar
trevorjpt33
 
Posts: 488
Joined: Mon Sep 25, 2017 3:48 pm
Location: Kansas City, United States

Re: CF Conversions into NBA2K19

Postby trevorjpt33 on Wed Nov 21, 2018 4:08 pm

I've found the specific locations in the file for the indices. There are two sections - one is a section that lists them by vertex group and then another that lists them all from beginning to end. I was able to edit these areas, along with the vertex coordinates/position, without messing with the file size or causing the player to disappear in the game. Luckily enough, the length of all the important sections here that pertain to the head are all the EXACT same length and look to be formatted the same.

The only thing left to do is to fix the indices for the blend_headShape group. Going to try using the node editor in Blender or possibly writing a short python script to accomplish this.
User avatar
trevorjpt33
 
Posts: 488
Joined: Mon Sep 25, 2017 3:48 pm
Location: Kansas City, United States

Re: CF Conversions into NBA2K19

Postby TGsoGood on Thu Nov 22, 2018 1:03 am

:applaud: :applaud: :applaud: :bowdown:
Follow me on PATREON https://www.patreon.com/TGsoGood
Consider donating: http://cash.me/$TheJohnsonFamily or http://paypal.me/4TheGoods
Follow me on twitter @TGsoGood
Check me out on youtube https://www.youtube.com/channel/UCPydhZ ... PeRSmEVynQ

NBA 2K21 TGsoGood Mods and releases - viewtopic.php?f=267&t=110608
NBA 2K17 TGsoGood Mods and releases - viewtopic.php?f=225&t=102251#p1860681
NBA 2K14 TGsoGood Mods and releases - viewtopic.php?f=153&t=96056
User avatar
TGsoGood
Contributor
Contributor
 
Posts: 6379
Joined: Thu Jul 28, 2011 4:03 am
Location: Nashville, TN

Re: CF Conversions into NBA2K19

Postby trevorjpt33 on Tue Nov 27, 2018 5:19 am

Got the vertex info copied successfully. I have been checking the results of the method I mentioned in previous posts, where the face of 2K18 player is added to the 2K19 file, as well as the method in which the body of the 2K19 player is added to the 2K18 file.


Image

This is 2K18 default Charles Barkley, sub 2K19 default Ray Allen's arms, torso, hidden, and legs. Imports back into blender correctly – without affecting the normals, UV maps, etc., or anything else. This method appears to work.


Image

The red sections on the left sidebar here highlight the differences between the hex values of the two files, one before and one after I edited the hex values.
User avatar
trevorjpt33
 
Posts: 488
Joined: Mon Sep 25, 2017 3:48 pm
Location: Kansas City, United States

Re: CF Conversions into NBA2K19

Postby MonkeymanJSV on Tue Nov 27, 2018 9:32 am

So it works in game okay?
If you enjoy my Mods please follow my Instagram
https://www.instagram.com/monkeymanmods/
If you’d like to support me and my mods please donate here
https://www.paypal.com/cgi-bin/webscr?c ... source=url
https://www.youtube.com/user/MonkeymanJSV
User avatar
MonkeymanJSV
 
Posts: 675
Joined: Sun Apr 08, 2018 8:48 am
Location: Sydney Australia

Re: CF Conversions into NBA2K19

Postby trevorjpt33 on Tue Nov 27, 2018 11:02 am

MonkeymanJSV wrote:So it works in game okay?

I am still working on some code to address the difference in indices caused by the armpit hair group, which precedes the head group in the file. So not yet.

But the main thing here is that we now know that data can be transferred successfully between a 2K18 file and a 2K19 file, just like I displayed earlier with two 2K19 files.
User avatar
trevorjpt33
 
Posts: 488
Joined: Mon Sep 25, 2017 3:48 pm
Location: Kansas City, United States

Re: CF Conversions into NBA2K19 [New Update 11/29]

Postby trevorjpt33 on Fri Nov 30, 2018 2:04 pm

Good news,

I now have something more concrete for you guys:

I found a portion of the (.mathnodes) file that seems to pertain to the scale of the "Morph" values you see in the scene file and/or where the game is expecting the relative position of vertices of the model for animations, etc. This explains why the hex edited models showed up perfectly in Blender but looked like scarecrows/inflatables in the game no matter what I did to the (.model) file. The mathnodes file is 4,000 lines compared to 400,000+ lines in the beastly binary model file that I have been digging into, so it now looks a lot less complicated than it did when I looked at it last month. Similarly with mathnodes, if you know what NOT to mess with in the file that pertains to formatting or unknown data, it can be manipulated just like the model file. There is a section in the file with a clear start and end indicated by leading characters that contains the information we are after. With a handful of changed values I can, for example, make the traps appear larger on one side or make the player appear as a huge box of polygons that takes up the whole edit player screen lol. What I intend to do is overwrite this specific part of the 2K19 mathnodes with the correct information from that same section in the 2K18 mathnodes file - only changing coordinates of scale/positional values. These values can be found in a predictable order in terms of the part of the model it concerns.

This new discovery provides hope for 2K17 conversions, as it was looking pretty bleak for those in particular prior to this discovery. I will provide updates as I try to resolve whatever is causing the issue in the mathnodes file.

To illustrate what it looks like when I manipulate data in just the .mathnodes file - no changes whatsoever to the default .SCNE or .model files, I attempted to recreate the issue (the flailing, inflatable arms) to some degree, starting with a perfectly fine default 2K19 model. I also made some subtle changes to the traps and neck areas to make one side appear larger.

Image

Image

Image

*And here's a slightly disturbing picture that shows the power of manipulating this data lol...
User avatar
trevorjpt33
 
Posts: 488
Joined: Mon Sep 25, 2017 3:48 pm
Location: Kansas City, United States

Re: CF Conversions into NBA2K19

Postby joyfishnba on Fri Nov 30, 2018 6:36 pm

Hi
How can I edit (.mathnodes) file
Thank you for your hard work. (Y)
joyfishnba
 
Posts: 8
Joined: Fri Nov 03, 2017 11:36 am

Re: CF Conversions into NBA2K19

Postby maumau78 on Fri Nov 30, 2018 7:25 pm

Thanks for dedication
"I open at the close"

Dumbledore

You like my works? Support me! Donations Link Below:
https://paypal.me/maumau78mods
https://twitter.com/MauroAnceschi
https://www.youtube.com/user/anceschmau78/videos
User avatar
maumau78
Contributor
Contributor
 
Posts: 3211
Joined: Mon Nov 01, 2010 6:26 pm
Location: Italy

Re: CF Conversions into NBA2K19

Postby trevorjpt33 on Sun Dec 02, 2018 8:39 am

joyfishnba wrote:Hi
How can I edit (.mathnodes) file
Thank you for your hard work. (Y)

It is less about HOW and more about WHERE in the file to be making changes. Aside from that, just getting comfortable using a hex editor in general

maumau78 wrote:Thanks for dedication

No problem
User avatar
trevorjpt33
 
Posts: 488
Joined: Mon Sep 25, 2017 3:48 pm
Location: Kansas City, United States

Re: CF Conversions into NBA2K19

Postby trevorjpt33 on Sun Dec 02, 2018 8:49 am

Section in the mathnodes file is structured just like the bone hierarchy is when you extend it all the way in Blender :cheeky:
User avatar
trevorjpt33
 
Posts: 488
Joined: Mon Sep 25, 2017 3:48 pm
Location: Kansas City, United States

Re: CF Conversions into NBA2K19

Postby trevorjpt33 on Thu Dec 06, 2018 3:50 am

I won't be providing updates from here on out until I have a screenshot of a successful conversion. I figured it is not of much use to anybody since I have expressed certainty a few times but then learned something new that redirects my attention and rinse, repeat, which is kind of how the process has been.

My school semester is about to end and when it does I will have lots of time to really make a push to figure it out soon enough to be utilized in some of the bigger projects.
User avatar
trevorjpt33
 
Posts: 488
Joined: Mon Sep 25, 2017 3:48 pm
Location: Kansas City, United States

Re: CF Conversions into NBA2K19

Postby MonkeymanJSV on Thu Dec 06, 2018 6:14 am

We are all backing you man, cant wait until we can
If you enjoy my Mods please follow my Instagram
https://www.instagram.com/monkeymanmods/
If you’d like to support me and my mods please donate here
https://www.paypal.com/cgi-bin/webscr?c ... source=url
https://www.youtube.com/user/MonkeymanJSV
User avatar
MonkeymanJSV
 
Posts: 675
Joined: Sun Apr 08, 2018 8:48 am
Location: Sydney Australia

Re: CF Conversions into NBA2K19

Postby joyfishnba on Thu Dec 06, 2018 12:06 pm

Thank you for your work, great.
joyfishnba
 
Posts: 8
Joined: Fri Nov 03, 2017 11:36 am

Re: CF Conversions into NBA2K19

Postby TGsoGood on Fri Dec 07, 2018 1:26 am

Thanks for all the research so far... I don't really get into this game until after the all star break anyway
Follow me on PATREON https://www.patreon.com/TGsoGood
Consider donating: http://cash.me/$TheJohnsonFamily or http://paypal.me/4TheGoods
Follow me on twitter @TGsoGood
Check me out on youtube https://www.youtube.com/channel/UCPydhZ ... PeRSmEVynQ

NBA 2K21 TGsoGood Mods and releases - viewtopic.php?f=267&t=110608
NBA 2K17 TGsoGood Mods and releases - viewtopic.php?f=225&t=102251#p1860681
NBA 2K14 TGsoGood Mods and releases - viewtopic.php?f=153&t=96056
User avatar
TGsoGood
Contributor
Contributor
 
Posts: 6379
Joined: Thu Jul 28, 2011 4:03 am
Location: Nashville, TN

Re: CF Conversions into NBA2K19

Postby wickedWHISKERS on Fri Dec 07, 2018 6:43 am

Appreciate all the hard work being put into this :bowdown: :applaud:
User avatar
wickedWHISKERS
 
Posts: 43
Joined: Mon Sep 18, 2017 2:38 am

Re: CF Conversions into NBA2K19 [12/19 Progress]

Postby trevorjpt33 on Thu Dec 20, 2018 9:55 am

maumau78 wrote:
trevorjpt33 wrote:
trevorjpt33 wrote:Looks like the vertex->skeleton bones assignment is way different from 2k18 to 2k19 so even if the model is almoust the same It will show up messed becouse vertex will reference to missing or different bones....
Unfortunately I don't think we have any tool for correct vertex->bones assignment :-(

I'm going to try to remove the bones from the skeleton that are no longer in 2K19, along with removing vertex group assignments that are associated with the player model. Do you know if/how the skeleton can actually be exported?


*Edit - turns out there are 46 bones that were removed. I was able to go into blender and disconnect and remove the unneeded bones and their accompanying vertex groups, but that cannot fix the issue because these changes cannot be exported from blender.


^ Revisiting the topic of bone assignments... They are indeed causing the issue, or at least a large part of the issue. At the time of this conversation, I moved on and looked to find other ways to fix the model. But when revisiting it just recently, I realized that the solution is simpler than I thought.

I was able to go into the binary model file using a hex editor and do these edits manually. It addressed the issue and enabled me to import the skeleton into blender along with a converted player, without receiving an error.

To address the issue, I did the following: I removed assignments for bone ID #'s that no longer exist, updated the bone ID #'s of existing bones that changed from the deletion of others, and reassigned bones where the ID # is just different this year. This is not finished though, as a handful of the bones do not have all the vertices assigned to it that they are supposed to after making these edits. I may need to go in and add a few new bone assignments for 2K19 as well. Here's what it looks like as of now.

Image
User avatar
trevorjpt33
 
Posts: 488
Joined: Mon Sep 25, 2017 3:48 pm
Location: Kansas City, United States

Re: CF Conversions into NBA2K19

Postby MonkeymanJSV on Thu Dec 20, 2018 10:18 am

Nice work man I hope you can get it figured out
If you enjoy my Mods please follow my Instagram
https://www.instagram.com/monkeymanmods/
If you’d like to support me and my mods please donate here
https://www.paypal.com/cgi-bin/webscr?c ... source=url
https://www.youtube.com/user/MonkeymanJSV
User avatar
MonkeymanJSV
 
Posts: 675
Joined: Sun Apr 08, 2018 8:48 am
Location: Sydney Australia

Re: CF Conversions into NBA2K19 [12/19 Progress]

Postby Dracula on Thu Dec 20, 2018 5:37 pm

good job
They call me Dracula...
User avatar
Dracula
 
Posts: 60
Joined: Sun Sep 24, 2017 7:26 pm

Re: CF Conversions into NBA2K19 [12/19 Progress]

Postby Madskillzz024 on Fri Dec 21, 2018 12:35 am

Thanks for all your hard work!
Madskillzz024
 
Posts: 23
Joined: Mon Nov 05, 2018 1:24 am

Re: CF Conversions into NBA2K19 [12/19 Progress]

Postby trevorjpt33 on Fri Dec 21, 2018 3:10 am

MonkeymanJSV wrote:Nice work man I hope you can get it figured out

Dracula wrote:good job

Madskillzz024 wrote:Thanks for all your hard work!

I appreciate the support guys
User avatar
trevorjpt33
 
Posts: 488
Joined: Mon Sep 25, 2017 3:48 pm
Location: Kansas City, United States

Re: CF Conversions into NBA2K19 [12/19 Progress]

Postby trevorjpt33 on Sun Dec 30, 2018 2:22 pm

*Nothing new here as I have not been home to test stuff in game over the holidays. What I have been doing is putting together code for a couple community tools that will automate the processes mentioned... More soon*
Last edited by trevorjpt33 on Mon Dec 31, 2018 2:26 am, edited 1 time in total.
User avatar
trevorjpt33
 
Posts: 488
Joined: Mon Sep 25, 2017 3:48 pm
Location: Kansas City, United States

Re: CF Conversions into NBA2K19 [12/19 Progress]

Postby Kelvinchan327 on Sun Dec 30, 2018 2:35 pm

Great job brother:)
Kelvinchan327
 
Posts: 104
Joined: Tue Jul 31, 2018 10:30 pm

Re: CF Conversions into NBA2K19 [12/19 Progress]

Postby mrk326 on Sun Dec 30, 2018 4:08 pm

thanks for all the hard work you do :D
ACCEPTING DONATIONS
DONATE
mrk326
 
Posts: 451
Joined: Sat Dec 12, 2015 1:49 pm
Location: Philippines

PreviousNext

Return to NBA 2K19 Modding

Who is online

Users browsing this forum: No registered users and 11 guests