[Tool] Cyberface Mixer | v0.92 | 2021/07/24 | Now working without manifest!

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

[Tool] Cyberface Mixer | v0.92 | 2021/07/24 | Now working without manifest!

Postby Jeek313 on Fri Oct 02, 2020 3:59 pm

This tool allows you to easily and quickly combine cyberfaces to create new ones. For example, let's say you want to use the head shape from Joakim Noah, the skin texture from Anthony Davis, and add Reggie Bullock's hair to create your ultimate dream monster. No problem!

Image
Don't ask me why.


If you've ever tried combining cyberfaces manually, you'll know it can be quite a tedious process. You have to move around lots of files, usually only to find out that the faces you've picked don't really work together as well as you had imagined, so you have to start over. It's a hassle!

This tool aims to automate all that, hopefully saving lots of time.

Prerequisites:
- NBA2K21 Hook by looyh (link)

How to use:

    First time setup: Edit 'config.ini' in your favourite text editor (Notepad will do) and change NBAPath and WaiguaPath to point to your game installation folder and Mods folder, respectively.

  1. Make a copy of this spreadsheet: https://docs.google.com/spreadsheets/d/1eNiLeTZKiPvM8ejeyjrg6v2crch9ReqlH6mGKtI05Zw/edit?usp=sharing
  2. Put in the CFIDs you want to combine. Only the columns "Output CF ID", "Base" and "Skin" are required, the rest can be empty (but don't add or remove any columns).
  3. Go to File > Download > Comma-separated values (.csv, current sheet)
  4. Drag the downloaded .CSV file onto CyberfaceMixer.exe

Note that you can use tattoos with any skin tone. The tool will automatically extract the tattoo and apply it to the proper skin tone - however, this process can take a few seconds, so expect slightly longer export times when using tattoos.

As an example, here's Brian Scalabrine with JR Smith's tattoo matching his skin tone:
Image


Disclaimer:
To work as fast as possible, the tool does not ask before overwriting / deleting files in your Mods folder. Therefore, if you have any mods installed, please take care to backup your Mods folder. I do not take responsibility for any lost files.

Tips:

  • To help you pick which cyberfaces to combine, here are reference screenshots of all cyberfaces in the game: https://forums.nba-live.com/viewtopic.php?f=267&t=110882
  • Not all combinations will look good, it's all about experimentation. For this reason, I strongly recommend trying out multiple combinations at once. For example, create a draft class in-game with CFIDs 10000-10049 assigned, for previewing your experimental cyberfaces in-game.
  • If you make a shortcut to CyberfaceMixer.exe on your desktop, then you can drag CSV files onto the shortcut for easier access.

Tested & working on NBA 2K21 and 2K20 with hundreds of faces, but there may still be bugs, so please report any issues you might come across.

For examples of results, check out my fictional draft class project:
https://forums.nba-live.com/viewtopic.php?f=267&t=110508

Spreadsheet that generates 50 random cyberface recipes for you at once, by Psamyoull:
https://forums.nba-live.com/viewtopic.php?f=267&t=111031

UPDATE 2021/07/24
Finally working with the current version of NBA 2K21 (without manifest file)!

2K20 is no longer officially supported with the new tool version, but you can continue using v0.85. I haven't tested if the new version works with 2K20.

Huge credit goes to Looyh for allowing my tool to use his Export Console to extract cyberface files.


DOWNLOAD FOR NBA 2K21


(Download for NBA 2K20 (v0.85))
Last edited by Jeek313 on Sat Jul 24, 2021 9:14 pm, edited 16 times in total.
User avatar
Jeek313
 
Posts: 151
Joined: Thu Aug 27, 2020 5:12 am

Re: [Tool] Cyberface Mixer: Create fictional faces easily | v0.80 BETA

Postby Jeek313 on Fri Oct 02, 2020 4:01 pm

Share screenshots of your creations!
User avatar
Jeek313
 
Posts: 151
Joined: Thu Aug 27, 2020 5:12 am

Re: [Tool] Cyberface Mixer: Create fictional faces easily | v0.80 BETA

Postby dyopopoy on Fri Oct 02, 2020 4:54 pm

damn this is amazing. :bowdown:
Dyop Dyop Youtube Channel to download mods.
User avatar
dyopopoy
Dyop Dyop Youtube Channel Creator
 
Posts: 348
Joined: Wed Sep 01, 2010 4:28 pm

Re: [Tool] Cyberface Mixer: Create fictional faces easily | v0.80 BETA

Postby gregotin on Fri Oct 02, 2020 5:31 pm

Wow impressive work thank you !! So this means that we can use this tool just to change a player's hair ?
gregotin
 
Posts: 202
Joined: Mon Jul 01, 2019 5:12 pm

Re: [Tool] Cyberface Mixer: Create fictional faces easily | v0.80 BETA

Postby dyopopoy on Fri Oct 02, 2020 5:41 pm

man, i dont get this. when i drag the csv file into the CyberfaceMixer.exe, nothing happens. it just quits.
will this create a new png or face file?
Last edited by dyopopoy on Fri Oct 02, 2020 5:42 pm, edited 1 time in total.
Dyop Dyop Youtube Channel to download mods.
User avatar
dyopopoy
Dyop Dyop Youtube Channel Creator
 
Posts: 348
Joined: Wed Sep 01, 2010 4:28 pm

Re: [Tool] Cyberface Mixer: Create fictional faces easily | v0.80 BETA

Postby Jeek313 on Fri Oct 02, 2020 5:42 pm

gregotin wrote:Wow impressive work thank you !! So this means that we can use this tool just to change a player's hair ?

Absolutely! Simply insert that player's cyberface ID into all columns including Output CF ID, and just replace the hair source CF ID.
Last edited by Jeek313 on Sat Oct 03, 2020 12:54 am, edited 2 times in total.
User avatar
Jeek313
 
Posts: 151
Joined: Thu Aug 27, 2020 5:12 am

Re: [Tool] Cyberface Mixer: Create fictional faces easily | v0.80 BETA

Postby Jeek313 on Fri Oct 02, 2020 5:48 pm

dyopopoy wrote:man, i dont get this. when i drag the csv file into the CyberfaceMixer.exe, nothing happens. it just quits.
will this create a new png or face file?


Hmm... It probably shows an error message, but closes before you can read it. :( Please try these steps:

1) Download this file:
http://www.mediafire.com/file/agzm0fl9nh8u3x4/debug.bat/file

2) Place it in the same folder where CyberfaceMixer.exe is.

3) Place the CSV into that folder as well

4) Drag the CSV onto debug.bat

Hopefully you'll get an error message that you can report to me!

Thanks!
Last edited by Jeek313 on Fri Oct 02, 2020 5:59 pm, edited 2 times in total.
User avatar
Jeek313
 
Posts: 151
Joined: Thu Aug 27, 2020 5:12 am

Re: [Tool] Cyberface Mixer: Create fictional faces easily | v0.80 BETA

Postby dyopopoy on Fri Oct 02, 2020 5:55 pm

OKay. i did that.

Opened debug.bat


Dragged the CSV to the debug.bat.
then I get the instructions to drag the csv file into it.

I dragged it, then it will show on the next line the directory of the cyberfacemixer.exe and the word "pause' at the end.

like :

D:\Downloads\CyberfaceMixer by Jeek (v0.80 beta)>pause

Press any key to continue . . .


That's it.

I press any key, it quits.

hope it makes sense
Dyop Dyop Youtube Channel to download mods.
User avatar
dyopopoy
Dyop Dyop Youtube Channel Creator
 
Posts: 348
Joined: Wed Sep 01, 2010 4:28 pm

Re: [Tool] Cyberface Mixer: Create fictional faces easily | v0.80 BETA

Postby Jeek313 on Fri Oct 02, 2020 5:59 pm

Sorry, I updated the debug instructions, see step 3
User avatar
Jeek313
 
Posts: 151
Joined: Thu Aug 27, 2020 5:12 am

Re: [Tool] Cyberface Mixer: Create fictional faces easily | v0.80 BETA

Postby gregotin on Fri Oct 02, 2020 6:06 pm

I have an error saying file 3A can't be found. Should I supposed to have a 3A archive ?
gregotin
 
Posts: 202
Joined: Mon Jul 01, 2019 5:12 pm

Re: [Tool] Cyberface Mixer: Create fictional faces easily | v0.80 BETA

Postby Jeek313 on Fri Oct 02, 2020 6:08 pm

gregotin wrote:I have an error saying file 3A can't be found. Should I supposed to have a 3A archive ?

What exactly does the error say? Can you write it down word for word?
User avatar
Jeek313
 
Posts: 151
Joined: Thu Aug 27, 2020 5:12 am

Re: [Tool] Cyberface Mixer: Create fictional faces easily | v0.80 BETA

Postby dyopopoy on Fri Oct 02, 2020 6:10 pm

this time it works!

the change i did was putting the CSV file inside the folder of the CyberfaceMixer by Jeek (v0.80 beta, then dragged it on top of the exe file.
I think it was not stated on your post to put the CSV file inside the cyberfacemixer folder. :D or is that even necessary?

Anyway, tried putting in iverson/s hair to davis. its messed up. :D
Dyop Dyop Youtube Channel to download mods.
User avatar
dyopopoy
Dyop Dyop Youtube Channel Creator
 
Posts: 348
Joined: Wed Sep 01, 2010 4:28 pm

Re: [Tool] Cyberface Mixer: Create fictional faces easily | v0.80 BETA

Postby gregotin on Fri Oct 02, 2020 6:11 pm

This is what I have (I tried to create a blake griffin whithout hair and with harden's beard :mrgreen: ) :



ERROR: Could not export cyberface with ID 16000 because of an unexpected error. - Please report the following error to the tool's creator (Jeek313 at NLSC Forum):

Recipe: OutputID: 16000, Base: 1600, Hair: , Beard: 1603, Tattoo:
System.IO.FileNotFoundException: Le fichier 'C:\Games\NBA 2K21\3A' est introuvable.
Nom de fichier : 'C:\Games\NBA 2K21\3A'
à System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
à System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
à System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
à MxCore.Manifest.GetContainerSize(String containerPath) dans C:\Users\Jeek\RiderProjects\MxCyberfaceTools\MxCore\Manifest.cs:ligne 141
à MxCore.Manifest..ctor(String manifestPath) dans C:\Users\Jeek\RiderProjects\MxCyberfaceTools\MxCore\Manifest.cs:ligne 129
à MxCore.Manifest.get_Instance() dans C:\Users\Jeek\RiderProjects\MxCyberfaceTools\MxCore\Manifest.cs:ligne 51
à MxCyberfaceFiles.CyberfaceData.LoadCyberfaceManifest(Int32 cfId) dans C:\Users\Jeek\RiderProjects\MxCyberfaceTools\MxCyberfaceFiles\CyberfaceData.cs:ligne 35
à MxCyberfaceFiles.CyberfaceData..ctor(Int32 cfID) dans C:\Users\Jeek\RiderProjects\MxCyberfaceTools\MxCyberfaceFiles\CyberfaceData.cs:ligne 28
à MxCyberfaceFiles.CyberfaceData.TryGetCyberface(Int32 cyberfaceId, CyberfaceData& result) dans C:\Users\Jeek\RiderProjects\MxCyberfaceTools\MxCyberfaceFiles\CyberfaceData.cs:ligne 120
à MxCyberfaceFiles.CyberfaceBuilder.Build(CyberfaceRecipe recipe) dans C:\Users\Jeek\RiderProjects\MxCyberfaceTools\MxCyberfaceFiles\CyberfaceBuilder.cs:ligne 22
à CyberfaceMixer.Program.Main(String[] args) dans C:\Users\Jeek\RiderProjects\MxCyberfaceTools\CyberfaceMixer\Program.cs:ligne 14
gregotin
 
Posts: 202
Joined: Mon Jul 01, 2019 5:12 pm

Re: [Tool] Cyberface Mixer: Create fictional faces easily | v0.80 BETA

Postby Jeek313 on Fri Oct 02, 2020 6:13 pm

dyopopoy wrote:this time it works!
(...)
I think it was not stated on your post to put the CSV file inside the cyberfacemixer folder. :D or is that even necessary?


Strange. It shouldn't be necessary, it was only for the debug.bat. But I'm glad it works now!

dyopopoy wrote:Anyway, tried putting in iverson/s hair to davis. its messed up. :D

Haha, yeah, a lot of combinations look terrible. Have fun playing around! :)
User avatar
Jeek313
 
Posts: 151
Joined: Thu Aug 27, 2020 5:12 am

Re: [Tool] Cyberface Mixer: Create fictional faces easily | v0.80 BETA

Postby Jeek313 on Fri Oct 02, 2020 6:22 pm

gregotin wrote:This is what I have (I tried to create a blake griffin whithout hair and with harden's beard :mrgreen: ) :
(...)


I see! You were right, it's looking for the 3A archive and couldn't find it. It's strange, because according to the manifest, the 3A archive only contains spanish audio files and no cyberfaces, so I'm not sure why it would search there :/

I'll try to take a look at it later today. In the meantime, let me know if other combinations work. Maybe try verifying your game files in Steam
User avatar
Jeek313
 
Posts: 151
Joined: Thu Aug 27, 2020 5:12 am

Re: [Tool] Cyberface Mixer: Create fictional faces easily | v0.80 BETA

Postby gregotin on Fri Oct 02, 2020 6:28 pm

Jeek313 wrote:
gregotin wrote:This is what I have (I tried to create a blake griffin whithout hair and with harden's beard :mrgreen: ) :
(...)


I see! You were right, it's looking for the 3A archive and couldn't find it. It's strange, because according to the manifest, the 3A archive only contains spanish audio files and no cyberfaces, so I'm not sure why it would search there :/

I'll try to take a look at it later today. In the meantime, let me know if other combinations work. Maybe try verifying your game files in Steam


Ok cool, I have the same error with every combinations I try. I'll wait for your feedback no worries ;)
gregotin
 
Posts: 202
Joined: Mon Jul 01, 2019 5:12 pm

Re: [Tool] Cyberface Mixer: Create fictional faces easily | v0.80 BETA

Postby Shuajota on Fri Oct 02, 2020 8:52 pm

Great tool man! I will try it. We have so much talent in this community this year guys!
User avatar
Shuajota
NBA2K Mods: www.shuajota.com
 
Posts: 9493
Joined: Mon Dec 12, 2016 2:51 am
Location: Spain

Re: [Tool] Cyberface Mixer: Create fictional faces easily | v0.81 BETA

Postby Jeek313 on Sat Oct 03, 2020 12:49 am

gregotin, I think I've fixed it, the new version now can deal with missing archives. I've updated the download link in the first post.
User avatar
Jeek313
 
Posts: 151
Joined: Thu Aug 27, 2020 5:12 am

Re: [Tool] Cyberface Mixer: Create fictional faces easily | v0.81 BETA

Postby gregotin on Sat Oct 03, 2020 1:25 am

Thank you very much. Unfortunately I have this new error :

ERROR: Could not export cyberface with ID 16400 - Could not load cyberface 1700 - MxCyberfaceFiles.CyberfaceLoadingException: failed to find main PNG file for CFID 1700
à MxCyberfaceFiles.CyberfaceData.LoadCyberfaceManifest(Int32 cfId) dans C:\Users\Jeek\RiderProjects\MxCyberfaceTools\MxCyberfaceFiles\CyberfaceData.cs:ligne 40
à MxCyberfaceFiles.CyberfaceData..ctor(Int32 cfID) dans C:\Users\Jeek\RiderProjects\MxCyberfaceTools\MxCyberfaceFiles\CyberfaceData.cs:ligne 28
à MxCyberfaceFiles.CyberfaceData.TryGetCyberface(Int32 cyberfaceId, CyberfaceData& result) dans C:\Users\Jeek\RiderProjects\MxCyberfaceTools\MxCyberfaceFiles\CyberfaceData.cs:ligne 120
gregotin
 
Posts: 202
Joined: Mon Jul 01, 2019 5:12 pm

Re: [Tool] Cyberface Mixer: Create fictional faces easily | v0.81 BETA

Postby Jeek313 on Sat Oct 03, 2020 1:35 am

gregotin wrote:Thank you very much. Unfortunately I have this new error :

ERROR: Could not export cyberface with ID 16400 - Could not load cyberface 1700 - MxCyberfaceFiles.CyberfaceLoadingException: failed to find main PNG file for CFID 1700


It's because there is no cyberface with the number 1700. The original numbers you used were correct - 1600 for Blake Griffin, 1603 for Harden. 1700 doesn't exist.
User avatar
Jeek313
 
Posts: 151
Joined: Thu Aug 27, 2020 5:12 am

Re: [Tool] Cyberface Mixer: Create fictional faces easily | v0.81 BETA

Postby gregotin on Sat Oct 03, 2020 2:33 am

Oops you're right, my bad. It works (Y) Harden's beard on Griffin is all messed up tho :mrgreen:

Thank you for this tool anyway, this is precious.
gregotin
 
Posts: 202
Joined: Mon Jul 01, 2019 5:12 pm

Re: [Tool] Cyberface Mixer: Create fictional faces easily | v0.81 BETA

Postby TGsoGood on Sat Oct 03, 2020 3:33 am

How did u get tattoos to match any skin tone?
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: [Tool] Cyberface Mixer: Create fictional faces easily | v0.81 BETA

Postby Jeek313 on Sat Oct 03, 2020 3:44 am

TGsoGood wrote:How did u get tattoos to match any skin tone?

Some image processing. Simply put, I isolate the tattoo by comparing the tattoo source texture with the plain chest texture of the same skin color. Then I apply that difference to the chest texture of the destination skin color.

That's it in a gist, but there's a few extra steps to ensure precision. I could go into more technical detail if you'd like.
User avatar
Jeek313
 
Posts: 151
Joined: Thu Aug 27, 2020 5:12 am

Re: [Tool] Cyberface Mixer: Create fictional faces easily | v0.81 BETA

Postby TGsoGood on Sat Oct 03, 2020 4:05 am

You are very smart. Glad to have you in the community
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: [Tool] Cyberface Mixer: Create fictional faces easily | v0.81 BETA

Postby Jeek313 on Sat Oct 03, 2020 4:06 am

Haha, well thank you :D
User avatar
Jeek313
 
Posts: 151
Joined: Thu Aug 27, 2020 5:12 am

Next

Return to NBA 2K21 Modding

Who is online

Users browsing this forum: No registered users and 23 guests