NBA 2K SCNE File Modding Guide by Mahmood & Psamyou'll

Modding tutorials and other resources for NBA 2K22.

NBA 2K SCNE File Modding Guide by Mahmood & Psamyou'll

Postby TGsoGood on Thu Oct 28, 2021 8:34 pm

Image

NBA 2K SCNE File Modding Guide by Mahmood & Psamyou'll
downloadble PDF link - https://www.mediafire.com/file/26is5v28 ... l.pdf/file

Prerequisites
- Notepad++
-7zip

Info
NBA2K .SCNE Files are essentially a notepad file of instructions that tell
2K’s engine how to display an image or model, when to display it, the
format the file is in, the positioning of the asset, how long the element is
on the screen, and more. They can easily be edited via Notepad++, and
this guide contains information that will allow you to read, understand,
and fully change these files as you wish.

Before we begin, the best practice is to open up the .iff you want to edit
in 7-Zip, and extracting all of the contents to an empty folder. You can
then comb through the .iff looking for any interesting SCNE files, such as
background_editorial_base.SCNE in the gooeyfrontend that controls the
appearance of the main menu. Even if a SCNE doesn’t sound
interesting, it’s worth checking out, because they sometime hold hidden
gems!


Navigate this thread
I. Light, Camera, Animation, Affects
II. Texture, Material, Model
III. Obect and Animtracks
IV. Terms to Learn

**DISCLAIMER: This guide is meant for Mod Creators who want to learn
about SCNE files, what they do, and how to change certain elements
within them. If you don’t have intermediate computer knowledge or
previous experience modding, this guide will be incredibly confusing.**
Last edited by TGsoGood on Thu Oct 28, 2021 9:09 pm, edited 9 times in total.
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: NBA 2K SCNE File Modding Guide by Mahmood & Psamyou'll

Postby TGsoGood on Thu Oct 28, 2021 8:37 pm

Why even edit SCNES?
SCNE file editing opens up an entire host of possibilities for NBA2K
Modding. In fact, it’s responsible for nearly all of the
enhancements / improvements that projects like 2K22 Remastered
and FHSH bring to the table. If we find a SCNE responsible for
controlling certain menu elements, we can implant our own
textures, change the coloring of models, and even change the size,
color, and font of text elements. You’ll also find that, the more you
edit SCNE files, the more you begin to understand 2K’s methods.

Structure

Light
- Intensity and color are self-explanatory
- Cone Angle and Penumbra Angle determine the width of
the spotlight

Image



Camera
- FocalLength controls the level of Zoom in the Scene. Lowering it
widens the shot and vice versa. The other attributes such as
ASPECT RATIO or the FIELD OF VIEW values aren’t regularly
needed, as FocalLength usually does the job
- The Transform values can also be tweaked to move the camera,
but those will be explained later on
Image


Animation
- Expresses the format and targets (affected files) of
Animations linked to certain Textures or Hud Elements
- Normally goes untouched in normal editing, no real reason to edit
these values
Image

Effects
- Contains file binaries (names) for effects located in the SCNE file,
most commonly recognized as effects that are used for color in
SCNES
- Also contains file formats, some limited color parameters, and
texture write functions
- If you copy and paste the beginning of the binary (file name) for an
effect in the Notepad++ search bar, you’ll likely find it lower in the
SCNE as well
- Includes instructions for Script files which work similarly with
Effects
Image
Last edited by TGsoGood on Thu Oct 28, 2021 8:52 pm, edited 1 time in total.
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: NBA 2K SCNE File Modding Guide by Mahmood & Psamyou'll

Postby TGsoGood on Thu Oct 28, 2021 8:51 pm

Texture
- Made up of Texture Binaries and attributes; extremely similar
to .TXTR files found in Jersey files and other applicable elements
- Can be used to find binaries for any textures
- Best practice is to search the SCNE for a .tga IF you suspect it
controls a texture you want to change. If the only TGA you can
find is a Pixelmap reference and it doesn’t have any attributes, it
cannot be edited, or it’s in a different SCNE
- You can easily implant a texture from a different SCNE by a
method we’ve coined ‘realignment’. I’ll discuss this in a future
guide dedicated entirely to implanting elements from one scne
into another.

Image


Material
- Contains instructions for displaying textures, RDM (Roughness)
Maps, normals, and reflection images
- DiffuseColor under a Material’s Parameter controls the coloring of
a model or a color filter over an existing image. DiffuseColor
values are [ R, G, B, A], which is Red, Green, Blue, and Alpha to
determine transparency. To set an object to the color you want,
find the color’s RGB value online, and then convert each value to a
percentage. Say you RGB code is 35, 145, and 21. You can
calculate the percentages of each color by doing Num/255. This
can allow you to easily experiment with re-coloring hud elements
and freshening things up.
- If the Model has an image, and it’s diffuse color is [ 1.0, 1.0, 1.0],
this means that the Image is displaying normally.

Image



Model

- Contains a list of all the models utilized in the SCNE, along with
attributes that determine positioning, scale, and rotation of the
model
- Can easily be modified via Scale, Transform, or Rotate commands

Image
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: NBA 2K SCNE File Modding Guide by Mahmood & Psamyou'll

Postby TGsoGood on Thu Oct 28, 2021 9:01 pm

Object
- Details objects like models, text, and markershapes which can
declare or determine positioning for a certain element in the SCNE
- Any models can also be easily modified like above in the Model
section.
- To edit how text looks, you can edit the VC_ColorR and
accompanying GB values to change the color. VC_color_alpha also
controls how transparent the image is, with 1.0 being fully visible
while 0.0 is complete transparency.
- Fonts in SCNE’s can easily be changed by editing the VC_Font
parameter to any available font name. You can find these names
by checking the names of .FONT2 files in the English.iff.
Ex: “VC_Font”: ‘Stratum2_Bold’ to ‘Barlow_Black’
If a font does not change, this means that the file is reading it from
a base location or raster (text) model. These are likely
unchangeable for the most part.

Image


Animtracks
- Determines values for the Animations of some Hud Elements
- Controls how long an animation is and if it loops

Image
Last edited by TGsoGood on Thu Oct 28, 2021 9:07 pm, edited 1 time in total.
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: NBA 2K SCNE File Modding Guide by Mahmood & Psamyou'll

Postby TGsoGood on Thu Oct 28, 2021 9:05 pm

Terms to Learn
Intensity – brightness of a lightrig within a SCNE file

Color – controls the color of elements in the SCNE

Attribute – denotes the beginning of a section containing an
object/light/effect’s custom values

Rotate – controls rotation of an element in the SCNE, values are
[ X, Y, Z ] (Default Placement is ALWAYS [ 0.0, 0.0, 0.0] if there is
no expressed value)

Translate – controls position of an element in the SCNE, values
are [ X, Y, Z ] (Default Placement is ALWAYS [ 0.0, 0.0, 0.0] if
there is no expressed value)

Scale – controls size of an element within the SCNE, values are
[ X, Y, Z ] (Default Placement is ALWAYS [ 0.0, 0.0, 0.0] if there is
no expressed value)

FocalLength – level of zoom in the SCNE’s camera

Pixelmap – references a texture that is in the SCNE or in a
different .iff, if there is a Pixelmap but that texture isn’t in the
SCNE, then it is stored elsewhere

Density – a rare value but controls coloring of certain materials;
can create metallic appearance

Binary – shows the full name for files used in the SCNE, can be
copied and pasted to search within the .iff for that element
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: NBA 2K SCNE File Modding Guide by Mahmood & Psamyou'll

Postby sticky-fingers on Thu Oct 28, 2021 11:43 pm

Nice idea (y)
IMO it needs more details or examples.

About notepad++, a small hint: after you open a scne file, Switch language to json, it helps to expand or collapse blocs from the same part.
User avatar
sticky-fingers
 
Posts: 3627
Joined: Fri Aug 26, 2011 7:33 am
Location: France

Re: NBA 2K SCNE File Modding Guide by Mahmood & Psamyou'll

Postby TGsoGood on Fri Oct 29, 2021 12:53 am

sticky-fingers wrote:Nice idea (y)
IMO it needs more details or examples.

About notepad++, a small hint: after you open a scne file, Switch language to json, it helps to expand or collapse blocs from the same part.


They are working on a part 2 for the tutorial.
Nice tip about json
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: NBA 2K SCNE File Modding Guide by Mahmood & Psamyou'll

Postby xfcsyt on Wed Dec 07, 2022 9:21 am

I was wondering if anyone knew how to take models from other scne files, I seen psamyou'll do it in a livestream but he deleted it . Please and thank you :D .
xfcsyt
 
Posts: 4
Joined: Fri Apr 23, 2021 5:06 am


Return to NBA 2K22 Tutorials & FAQs

Who is online

Users browsing this forum: No registered users and 1 guest