Resources for NBA 2K9.
Thu Jul 30, 2009 11:39 pm
so how.. In hex or what?
Fri Jul 31, 2009 12:08 am
Fri Jul 31, 2009 12:14 am
i know im probaly annoying you.. But ive read that and some other tuts on this but i still dont understand where i start and stop the copy of the hex. Its on that line but yeh.. Im trying to do bogut with pau pau hair.
Im sorry mate if you have done this.. But a bunch of numbers that is something is hard for my mind to grasp
Fri Jul 31, 2009 4:30 am
Found an easier way for you to understand, hopefully.
Extract both headshapes into 2km files.
Open both 2km files in a hex editor. The one that has a bigger filesize will be the one with hair, and you will be copying the other head into this file.
Start on the headshape that you want to put hair on open in the hex editor
On the first line there will be 4 zeroes in a row- 0000. Right after those zeros is the start of the headshape. So click your cursor there.
Using the scroll bar, scroll down to offset 7100 and then hold shift and click to the left of the first character to select the entire headshape.
Copy it using CTRL+C
To make sure you did it right, open a new window(CTRL+N in most cases) and paste the data in.
If you copied the right amount, the last offset should be 70F8(The last line would be 70F0 and the data would end 4 columns or half way over)
Go to the other 2km file and do the same thing(start at the 4 zeros, copy data between that and offset 7100)except use CTRL+V to copy over the headshape.
Save it.
Open in 3DS Max 9, fix up the way the hair blends with the headshape and save it as a max file, and then exporting back to a 2km file.
Import that 2km file into the IFF of the player who originally had the hair.
Replace textures with ones from the other IFF file. Rename IFF file to match player you want to have the hair.
Done.
Fri Jul 31, 2009 6:42 pm
pdub, i was able to do this successfully a while back. the thing is, it only worked for me when i put a bald player's headshape into another one with hair. i guess my question is, when editing a player with a lot of hair, do we still copy the same 70f8 amount or something else? and does it still start after the first 0000's?
Sat Aug 01, 2009 6:38 am
meimao wrote:pdub, i was able to do this successfully a while back. the thing is, it only worked for me when i put a bald player's headshape into another one with hair. i guess my question is, when editing a player with a lot of hair, do we still copy the same 70f8 amount or something else? and does it still start after the first 0000's?
That's how it's done. Even if you are transferring someone's headshape who has hair to another headshape with hair, you still only copy 70F8 since that is the headshape and headband. All the hair comes after that.
Sat Aug 01, 2009 6:43 am
Pdub, i know you're a master at this, can you say how to add Rashard Lewis Beard on Delonte West because i want to know that, i know that rashard has a beard element on his headshape, but i don't know how to add it to other players, will i need to use the same thing for the beard as the hair or some other method? and thanks for the other hex it really helps thanks
Sat Aug 01, 2009 7:43 am
Same thing, yes.
Sun Aug 02, 2009 2:37 am
where is Autodesk\3ds Max 9\Scripts\Startup located i can`t see it on the tool
Sun Aug 02, 2009 5:15 am
Probably in C:\Program Files.
Wed Aug 05, 2009 2:35 am
so where is customise located i put the n2mod.ms in the file of Autodesk but no change in the tool so what is wrong can i get some real help for one please can you talk to me how this work please i need help help help i read the readme but it not give a good i not no where------------place the n2kmod.ms file in Autodesk/3ds max 9/ Scripts/Startup" folder. open3d max
9(tree or you talking a bout the 3d max tool or what ) select customise from the top menu( i not see it) next click on'edit_(not see it) help
Wed Aug 05, 2009 8:11 am
Somewhere on the top sub-menu is a customize layout or customize UI. That's what you want to look for. You will know you have found it when it opens a new window with a list of a bunch of things. Scroll down the list slowly until you see Edit_2k (I think that's what it is called). Click and drag that somewhere onto the top toolbar. I can't help you more because my cpu is messed up.
Wed Aug 05, 2009 2:02 pm
thanks but i still not see it . is it for xp home edition are you talking about in (local Disk(c) program file) Autodesk (file edit view favorites tools Help)
Wed Aug 05, 2009 7:55 pm
ok. heres the path
since your local drive is C i will use that
paste the n2kmod.ms into this directory
C:\Program Files\Autodesk\3ds Max 2009\Scripts\Startup
anything else?
did you find Pdudbs info helped like did you find the customize and stuff??
hes a great help Pdub is.
Thu Aug 06, 2009 12:02 am
no i can,t find the cusomise with the edit -N2KM IN IT I NEED HELP TO FIND IT
Thu Aug 06, 2009 3:25 am
Found a video on it.
http://www.louismarcoux.com/MaxTips.htmDownload the one titled Customize UI Part 1. So in 3ds Max 9, it's "Customize" on the menu bar and "Customize User Layout" which is the first option in the drop down menu. Once that window comes up(0:51 in the video), scroll down and look for Edit_2K, click and drag it to the top menu bar somewhere and it will stay there.
Tue Aug 18, 2009 11:27 am
how can i get this program to work on my 64 bit vista computer ive tried opening it and it chrashes everytime ,is there a special 64 bit version i have to download,if so where can i get it cause it seems they only have the 32 bit version on their site ,please help me out thanks
Wed Sep 02, 2009 8:40 am
guigou wrote:Za man wrote:[Double LC] wrote:I'll try to modify the Chinese character into to English... CREDIT to ORIGINAL CREATOR !!!
- Code:
fn ReadFileStr fp=(
string=ReadString fp
--print string
if (string=="2KM") then return "2KM"
else ( MessageBox ("Please Select the Correct File!") title:"Error" beep:false;return false)
)
struct MYORC(
numV2,vert2=#(),
face2=#(),numF2,newobj,n,
fn ImpWEP fp i=(
numV2=ReadLong fppdub the probably is i not have this tool
for n=1 to numV2 do(
vert2[n]=[readfloat fp,readfloat fp,readfloat fp]
)
numF2=ReadLong fp
for n=1 to numF2 do (
a=(ReadShort fp)+1;b=(ReadShort fp)+1;c=(ReadShort fp)+1
face2[n]=[a,b,c]
if a>numV2 or a<0 then (print("a="+a as string+"fp="+(ftell fp) as string) )
)
--create object
newobj=mesh name:"01" vertices:vert2 faces:face2
defaultVCFaces newobj
newobj.Material=getMeditMaterial 1
select $01;
modPanel.addModToSelection (Normalmodifier ()) ui:on
$.modifiers[#Normal].flip = off
$.modifiers[#Normal].unify = on
maxOps.CollapseNode $ off
),--End Weapon impobj
fn wrPoint3 fp outP3=(--write point3 data
WriteFloat fp outP3.x
WriteFloat fp outP3.y
WriteFloat fp outp3.z
),
fn wrshort3 fp in3=(
WriteShort fp (in3.x-1)
WriteShort fp (in3.y-1)
WriteShort fp (in3.z-1)
),
fn ExpWEP fp out i numobj type=(
numV=GetnumVerts out[i]
writelong fp numV
--write verts data
for n=1 to numV do
(
wrpoint3 fp (GetVert out[i] n)
)
--write faces data
numF=GetnumFaces out[i]
WriteLong fp numF
for n=1 to numF do (
wrshort3 fp (GetFace out[i] n)
)
MessageBox("100% Complete") title:"Saving File" beep:false
)--End Weapon Export
)
fn objfilt obj=(
isKindof obj Editable_mesh
)
global typestr
macroscript IFF_N2KM category:"NBA2K-Model"
(
try (destroyDialog IFF-N2KM) catch() -- this is up here since it doesn't always work at the end
rollout IFF_N2KM "IFF-N2KM"
(
button impwep "Open N2KM File"
button expwep "Save N2KM File"
group "English Version:"
(
label titleLabel "NBA2K9 IFF TOOL Editing"
HyperLink add0 "Made By Zsword" align:#center address:"mailto:jemizhuu@hotmail.com" color:blue hoverColor:red
label txtdata "2009-03-14"
)
on impwep pressed do
(
local impzsw fname = getOpenFileName types:"*.n2km (*.n2km)|*.n2km|" caption:"Select File"
if fname == undefined then return NULL
fp = fopen fname "rb"
typestr=ReadFileStr fp
if typestr==false then return false
else (
if typestr!="2KM" then ( messagebox("100% Complete") title:"Saving File" beep:false;return false)
)
max reset file
setMeditMaterial 1 (standardMaterial selfIllumAmount:0)
global numobj
numobj=1;
global mesh1=#()
for i=1 to numobj do (
mesh1[i]=MYORC i
mesh1[i].ImpWEP fp i
)
actionMan.executeAction 0 "369"
fclose fp
)--End Import Wep
on expwep pressed do
(
out=#()
out=selectByName title:"Select File" ButtonText:"Save" filter:objfilt obj
if out==undefined then return false
numsel=out.count
if numsel!=1 then (messagebox("File Incomplete") title:"´Error" beep:false;return false)
local export fname = getSaveFileName types:"*.n2km (*.n2km)|*.n2km|" caption:"Complete"
if fname == undefined then return NULL
fp = fopen fname "wb"
WriteString fp "2KM"
type=0
for i=1 to numsel do (
mesh2=MYORC i
mesh2.ExpWEP fp out i numobj type
)
fclose fp
)--End Export Wep
)--End Rollout
createDialog IFF_N2KM width:240 height:240 pos:[905,407] style:#(#style_titlebar, #style_sysmenu, #style_minimizebox)
)--End Script
open the file using Notepad... Copy the code and paste...
RESULT:

AGAIN !!! CREDIT TO ORIGINAL CREATOR

+
Bro Double LC here you are saying that i should paste this code into a file using the notepad which file you are talking about. PLEASE
as it does to see a picture like that here in this top of the frame and how you see the skin?
(ppdub) the probably is i not have this tool can you tell me how to get it. -all i have is C-Program File-Autodesk--Autodesk DWF View -------i not have Autodesk\3ds Max 9\Scripts\Startup. in the folder can someone help me
Mon Sep 07, 2009 1:43 pm
Ickon wrote:Is this mod compatible with 3ds max 10? I followed the instructions.... I put the n2kmod.ms in the C:\Program Files \ Autodesk\3ds Max 2010\Scripts\Startup, When I load up Autodesk I don't get the edit_n2km option under customize?
What a dumb arse, sorry I figured it out

What did you do man? Coz I can't still figure it out...

there is no edit_n2km option on the customize toolbar.
Please help!
Mon Sep 07, 2009 4:25 pm
Top selection. Customize user interface. It opens a window, find Edit_n2km on the list and drag it to the top toolbar to create a shortcut.
Mon Sep 07, 2009 9:33 pm
got it... thanks pdub! Now, my problem is on how this work... lol! I think I'll have to ask google or youtube on that part... thanks for all the help!
Tue Sep 22, 2009 9:53 pm
ok2,i put the n2km.ms in the scripts\startups but when i go to customize user interface i can't find Edit_n2km in the drop down list,can u help sir pdub??
Tue Sep 22, 2009 10:35 pm
I think it's alphabetical. Maybe hit E on your keyboard or just scroll through the list really slow. I couldn't find it my first time, either.
Powered by phpBB © phpBB Group.
phpBB Mobile / SEO by Artodia.