NBA2K16 3D Importer/Exporter [v0.9 Released]

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

Re: NBA2K16 3D Importer/Exporter [v0.9 Released]

Postby vc3616 on Mon Feb 15, 2016 10:09 am

can anyone tell me how to actually export the player models from the game so i can edit there body?
vc3616
 
Posts: 14
Joined: Fri Feb 12, 2016 5:46 pm

Re: NBA2K16 3D Importer/Exporter [v0.9 Released]

Postby TBM on Mon Feb 15, 2016 10:49 am

You can't edit CAP body types.
Image
User avatar
TBM
Contributor
Contributor
 
Posts: 3654
Joined: Mon Dec 16, 2013 7:33 am

Re: NBA2K16 3D Importer/Exporter [v0.9 Released]

Postby sticky-fingers on Tue Jan 29, 2019 6:41 pm

Hey, sorry for the bump but i wanted to work on a new scoreboard for NBA 2K16.

I try this pluing with Blender 2.71 and 2.72, i can import scoreboard, but even with no modification export gives me an "error unknown location".

Image

Console log :
Code: Select all
dataentry POSITION0
        Section  0x9a791100 160 0xb9781f80 1536 12 1
Reading Vertices:  12
dataentry COLOR0
         R8G8B8A8_UNORM
        Section  0x9a791100 64 0x598a0291 7168 4 1
        Reading Vertex Colors:  12
dataentry BLENDINDICES0
        Section  0x9a791100 64 0x5186d51a 7680 4 1
Vertices Count:  12
Uvs length 1 Colors length 1
1
Exporting: pasted__Ribbon4
        Section  0x9a791100 400 0x4b7c3c49 14592 2 1
404
Processing:  pasted__Ribbon4
dataentry POSITION0
Writing Verts
R32G32B32_FLOAT
        Missing Scale Parameter
        Section  0x9a791100 628 0xb9781f80 1536 12 1
Writing vertices:  51
dataentry COLOR0
1032
Writing Color
color starting offset 1032
        Section  0x9a791100 220 0x598a0291 7168 4 1
dataentry TEXCOORD0
Writing Uvs TEXCOORD0
Missing Scale Parameter
Missing Offset Parameter
        Section  0x9a791100 220 0x41e87e1c 8704 4 1
Model UV Layer # 0
        UV Format:  R16G16_FLOAT
        Scale:  None
        Offset:  None
dataentry BLENDINDICES0
        Section  0x9a791100 220 0x5186d51a 7680 4 1
Processing:  pasted__Ribbon4
dataentry POSITION0
Writing Verts
R32G32B32_FLOAT
        Missing Scale Parameter
Traceback (most recent call last):
  File "C:\Users\stick\AppData\Roaming\Blender Foundation\Blender\2.71\scripts\addons\models_2k.py", line 1046, in invoke
    model_export(scn, ob, jsondata, modeldata)
  File "C:\Users\stick\AppData\Roaming\Blender Foundation\Blender\2.71\scripts\addons\models_2k.py", line 906, in model_export
    sect = Model2k(modeldata)
  File "C:\Users\stick\AppData\Roaming\Blender Foundation\Blender\2.71\scripts\addons\models_2k.py", line 171, in __init__
    self.type = struct.unpack('>I', f.read(4))[0]
struct.error: unpack requires a bytes object of length 4

location: <unknown location>:-1

location: <unknown location>:-1


thanx in advance for your help :wink:
User avatar
sticky-fingers
 
Posts: 3647
Joined: Fri Aug 26, 2011 7:33 am
Location: France

Previous

Return to NBA 2K16 Modding

Who is online

Users browsing this forum: No registered users and 1 guest