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:
No longer active here

Twitter - Youtube - Instagram - Operation Sports
User avatar
sticky-fingers
 
Posts: 3748
Joined: Fri Aug 26, 2011 7:33 am
Location: France

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

Postby cesuralakan on Thu Sep 19, 2024 4:15 am

sticky-fingers wrote: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:


I had the same issue I was going to mod arenas I can import but cant export even I did no changes. This is really nonsense. In the end we have 3d models, we should be able to edit and create new 3d models to arenas. I dont understand why it is so hard to edit 3d models in 2k.
cesuralakan
 
Posts: 31
Joined: Wed May 29, 2024 6:58 pm

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

Postby sticky-fingers on Thu Sep 19, 2024 6:56 pm

you have to split the scne file as described in scoreboard thread
No longer active here

Twitter - Youtube - Instagram - Operation Sports
User avatar
sticky-fingers
 
Posts: 3748
Joined: Fri Aug 26, 2011 7:33 am
Location: France

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

Postby cesuralakan on Fri Sep 20, 2024 6:08 am

sticky-fingers wrote:you have to split the scne file as described in scoreboard thread

you made my day brother. I have changed something inside the arena at last :) this was the first step. Hope I can understand the dynamics and make a real arena from stratch and share here. Thank you really.

Image
You do not have the required permissions to view the files attached to this post.
cesuralakan
 
Posts: 31
Joined: Wed May 29, 2024 6:58 pm

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

Postby sticky-fingers on Fri Sep 20, 2024 6:00 pm

you're welcome
as tip, open scne file with notepad++ and edit it as a json file
it will be easier to remove blocks to light the scne and you'll probably can export
its a shitty way to go, but the only way with 2K16 import/export plugin. it takes me A LONG time to do that for retro scoreboards.
No longer active here

Twitter - Youtube - Instagram - Operation Sports
User avatar
sticky-fingers
 
Posts: 3748
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 4 guests