【NBA2K_Hook】 v2.4.1 << Load Jerseys By Player Data

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

Re: 【NBA2K_Hook】 v2.3.5 << Added "Custom Team Colors"

Postby avias87 on Sun Jun 07, 2020 1:14 pm

When i press f8, nothing happens or no menu comes up. Is it supposed to be done another way?
avias87
 
Posts: 5
Joined: Sun Jun 07, 2020 11:08 am

Re: 【NBA2K_Hook】 v2.3.5 << Added "Custom Team Colors"

Postby bobwinch on Wed Jun 10, 2020 7:10 am

Ok, so,

I don't know if I'm the only one interested in playing NBA 2k20 under linux with mods, but...

I'm using Steam with the Proton compatibility layer (which is itself based on wine).

With it you can play Windows Games under Linux easily.

I managed to use mods in 2k20 with the external file plugin (waigua), by overriding the dinput.dll.

The same thing is not possible with your hook since proton already uses a modified version of d3d11.dll.

So my question is : would it be possible for you to modify Proton's d3d11.dll version to integrate your modifications?

That would be really appreciated.

Here is a link to d3d11.dll (Proton's version) : https://send.firefox.com/download/8ac99 ... JCZfcp9fZA

If it expires, you can reach me by PM, and I'll send a copy to you.

My hopes are up now!
User avatar
bobwinch
 
Posts: 54
Joined: Mon Aug 20, 2007 2:11 am

Re: 【NBA2K_Hook】 v2.3.5 << Added "Custom Team Colors"

Postby Choznjuan on Thu Jun 11, 2020 7:52 am

I also play 2K20 using Steam on linux and would definitely be interested in a modified d3d11.dll. I'd be willing to offer any help that I could to help move something like that forward.

bobwinch wrote:Ok, so,

I don't know if I'm the only one interested in playing NBA 2k20 under linux with mods, but...

I'm using Steam with the Proton compatibility layer (which is itself based on wine).

With it you can play Windows Games under Linux easily.

I managed to use mods in 2k20 with the external file plugin (waigua), by overriding the dinput.dll.

The same thing is not possible with your hook since proton already uses a modified version of d3d11.dll.

So my question is : would it be possible for you to modify Proton's d3d11.dll version to integrate your modifications?

That would be really appreciated.

Here is a link to d3d11.dll (Proton's version) : https://send.firefox.com/download/8ac99 ... JCZfcp9fZA

If it expires, you can reach me by PM, and I'll send a copy to you.

My hopes are up now!
Choznjuan
 
Posts: 4
Joined: Thu Jun 11, 2020 7:45 am

Re: 【NBA2K_Hook】 v2.3.5 << Added "Custom Team Colors"

Postby bobwinch on Thu Jun 11, 2020 7:21 pm

@Choznjuan : I found a solution.

Looyh said some pages back that we could always use another dll injector.

So I searched for one capable of running in wine and found this : https://github.com/FransBouma/Injectabl ... r_v102.zip.

It's an injector that was made, initially, to use custom cameras in several games.

It is working perfectly in 2K.

You need to install NBA2K_HOOK in your 2k20 folder, then remove d3d11.dll.

Download the injector, and extract the zip in your "Downloads" folder (for instance).

Then you have to change the values in the file IGCSInjector.ini (that you will find in IGCSInjector_v102.zip) like that :

[InjectionData]
Process=NBA2k20.exe
Dll=YOURSTEAMFOLDERLOCATION\SteamLibrary\steamapps\common\NBA 2K20\NBA2K_Hook.dll

Obviously you have to change the part "YOURSTEAMFOLDERLOCATION" to match your installation.

Edit, important : put the .ini file in your NBA2k20 installation folder.

***

If not already done, install protontricks : https://github.com/Matoking/protontricks.

After that you can launch NBA2k20, alt-tab to minimize the window, and launch your terminal.

Then launch the injector inside 2k's proton prefix like that (if the injector has been extracted in your Downloads folder) :

protontricks -c 'wine ~/Downloads/IGCSInjector_v102/IGCSInjector.exe' 1089350.

You will get a message saying that the injection is done.

Go back to 2K and press F8 to see the gui of NBA2K_HOOK appear.

It's working!

***

The hook tool is amazing, so thanks a lot to Looyh :applaud:

Obviously it would be easier to modify proton's d3d11.dll to avoid launching the injector every time.

I would like to be able to do it, but it seems out of my reach.

Maybe Looyh can work on it but in the mean time, we have a solution.

I hope that my instructions are clear enough.

One last thing: for the mods to work you still need to use the waigua tool, and override dinput8.dll in your steam NBA2K20 prefix (you can add a launch argument, or use winecfg in your proton 2K prefix).

***

I'm amazed to be able to play a fully modded 2K in linux, with perfect performance (better still than Windows with my rig).

Enjoy!
User avatar
bobwinch
 
Posts: 54
Joined: Mon Aug 20, 2007 2:11 am

Re: 【NBA2K_Hook】 v2.3.5 << Added "Custom Team Colors"

Postby Choznjuan on Sun Jun 14, 2020 6:31 am

Hi @bobwinch,

Thanks for the information! i've successfully installed protontricks, NBA2KHook, and the injector. I've followed your instructions, but when i run "protontricks -c 'wine ~/Downloads/IGCSInjector_v102/IGCSInjector.exe' 1089350" I get a "Floating point exception" error message. Do you have any suggestion on how I may be able to work through this?

Thanks.
Choznjuan
 
Posts: 4
Joined: Thu Jun 11, 2020 7:45 am

Re: 【NBA2K_Hook】 v2.3.5 << Added "Custom Team Colors"

Postby Choznjuan on Sun Jun 14, 2020 6:31 am

Hi @bobwinch,

Thanks for the information! i've successfully installed protontricks, NBA2KHook, and the injector. I've followed your instructions, but when i run "protontricks -c 'wine ~/Downloads/IGCSInjector_v102/IGCSInjector.exe' 1089350" I get a "Floating point exception" error message. Do you have any suggestion on how I may be able to work through this?

Thanks.
Choznjuan
 
Posts: 4
Joined: Thu Jun 11, 2020 7:45 am

Re: 【NBA2K_Hook】 v2.3.5 << Added "Custom Team Colors"

Postby bobwinch on Mon Jun 22, 2020 10:46 pm

You should first verify your protontricks installation.

What response do you have if you try "protontricks -s NBA" ?

Does it finds your 2k20 installation and give you the number 1089350?
User avatar
bobwinch
 
Posts: 54
Joined: Mon Aug 20, 2007 2:11 am

Re: 【NBA2K_Hook】 v2.3.5 << Added "Custom Team Colors"

Postby SneakerTheFox on Tue Jun 23, 2020 2:31 pm

Is there anyway to disable what ever it is that allows retired numbers to be worn, it just makes me feel weird when i see players in Lakers 8 or 24, and Bulls 23.
SneakerTheFox
 
Posts: 32
Joined: Sun Oct 13, 2019 10:59 am

Re: 【NBA2K_Hook】 v2.3.5 << Added "Custom Team Colors"

Postby looyh on Tue Jun 23, 2020 2:54 pm

SneakerTheFox wrote:Is there anyway to disable what ever it is that allows retired numbers to be worn, it just makes me feel weird when i see players in Lakers 8 or 24, and Bulls 23.

Disable "playerEditorPlus" in GUI or config.txt("playerEditorPlus":1, to 0).
User avatar
looyh
 
Posts: 468
Joined: Mon Aug 05, 2013 2:06 pm

Re: 【NBA2K_Hook】 v2.3.5 << Added "Custom Team Colors"

Postby Choznjuan on Wed Jun 24, 2020 7:13 am

bobwinch wrote:You should first verify your protontricks installation.

What response do you have if you try "protontricks -s NBA" ?

Does it finds your 2k20 installation and give you the number 1089350?

Hi @Bobwinch,

NBA 2K20 (1089350) is found with that command
You do not have the required permissions to view the files attached to this post.
Choznjuan
 
Posts: 4
Joined: Thu Jun 11, 2020 7:45 am

Re: 【NBA2K_Hook】 v2.3.5 << Added "Custom Team Colors"

Postby deionr829 on Wed Jun 24, 2020 8:52 pm

hey guys i was doing good with these mods till i downloaded the draft class and i delete something that mess stuff up. so when i install the draft class by shujota i made the mistake and put his hook and dll files in to mines and not the game wont start it crashes at the begining screen and also i cant use th manhmood loading screens neither anyway to fix this?
deionr829
 
Posts: 188
Joined: Sat Aug 03, 2019 2:13 pm
Location: new york,ny

Re: 【NBA2K_Hook】 v2.3.5 << Added "Custom Team Colors"

Postby jperera181 on Fri Jun 26, 2020 5:00 pm

when i press F8 in game the hook menu doesnt pop up. reinstalled hook a few times but nothing. weird

trying to get the cyberfaces into the game but nothing.
jperera181
 
Posts: 1
Joined: Tue Sep 11, 2018 6:36 am

Re: 【NBA2K_Hook】 v2.3.5 << Added "Custom Team Colors"

Postby therealgrimmie on Fri Jun 26, 2020 5:50 pm

jperera181 wrote:when i press F8 in game the hook menu doesnt pop up. reinstalled hook a few times but nothing. weird

trying to get the cyberfaces into the game but nothing.


GUI must de disabled, enable it.
"ALL IS VANITY"
User avatar
therealgrimmie
 
Posts: 756
Joined: Mon Dec 23, 2013 9:48 pm

Re: 【NBA2K_Hook】 v2.3.5 << Added "Custom Team Colors"

Postby PwnageEngage on Mon Jun 29, 2020 3:40 am

therealgrimmie wrote:
jperera181 wrote:when i press F8 in game the hook menu doesnt pop up. reinstalled hook a few times but nothing. weird

trying to get the cyberfaces into the game but nothing.


GUI must de disabled, enable it.



I'm having the same problem, pressing F8 and the gui doesn't show. I went to the config files and it says :

"gui": {
"enabled": 1,
"status": 0,
"player": {
"showarchive": 1
}

What could the problem be?
PwnageEngage
 
Posts: 4
Joined: Sat Jun 27, 2020 2:43 am

Re: 【NBA2K_Hook】 v2.3.5 << Added "Custom Team Colors"

Postby rios0214 on Wed Jul 01, 2020 7:32 am

when i press f8 in game the hook menu pops up but I'm not able to click on "settings", "player" and "team file". This problem was not happening until recently.
rios0214
 
Posts: 0
Joined: Thu Jun 27, 2019 7:44 am

Re: 【NBA2K_Hook】 v2.3.5 << Added "Custom Team Colors"

Postby LARO07 on Sun Jul 05, 2020 8:56 am

Hello ,

for me it does not work when I press F8. F8 is also the sound key in combination with FN. Does anyone have a solution?
LARO07
 
Posts: 2
Joined: Sun Jul 05, 2020 3:51 am

Re: 【NBA2K_Hook】 v2.3.5 << Added "Custom Team Colors"

Postby Daywalker701 on Sun Jul 05, 2020 5:09 pm

I think I disabled my mouse when i use the hook tool. Everything works fine when i press f8 but my mouse wont click anything.
Daywalker701
 
Posts: 1
Joined: Sun Jul 05, 2020 3:41 pm

Re: 【NBA2K_Hook】 v2.3.5 << Added "Custom Team Colors"

Postby LARO07 on Mon Jul 06, 2020 8:44 am

Hello ,

Are there any alternatives to open the program? For me it doesn't work with F8 and F8 + FN. couldn't you make an easier starting icon like NBA2K Tools?
LARO07
 
Posts: 2
Joined: Sun Jul 05, 2020 3:51 am

Re: 【NBA2K_Hook】 v2.3.5 << Added "Custom Team Colors"

Postby thatwizardguy on Tue Jul 07, 2020 10:36 am

When I use this program, it's just squares and weird symbols that replace writing and lag my game?

Anyone else have this issue?
User avatar
thatwizardguy
 
Posts: 1337
Joined: Thu Aug 05, 2010 12:14 pm
Location: HEAVEN

Re: 【NBA2K_Hook】 v2.3.5 << Added "Custom Team Colors"

Postby gumfu on Tue Jul 07, 2020 9:37 pm

When I first installed 2K Hook, I was able to press F8 and bring up the GUI. Now, pressing F8 does nothing. I checked the config and the GUI is definitely enabled. Any solutions?
gumfu
 
Posts: 1
Joined: Sat Jul 04, 2020 2:18 pm

Re: 【NBA2K_Hook】 v2.3.5 << Added "Custom Team Colors"

Postby Mackerisbean23 on Wed Jul 08, 2020 7:53 am

gumfu wrote:When I first installed 2K Hook, I was able to press F8 and bring up the GUI. Now, pressing F8 does nothing. I checked the config and the GUI is definitely enabled. Any solutions?

I'm having the same issue. Have even removed it and then re-installed it onto my computer twice, still doesn't work whenever I press F8.

EDIT: I just fixed the issue. Press FN on your keyboard, and then press F8 (press both at same time). That fixed it for me.
Mackerisbean23
 
Posts: 1
Joined: Sun Jul 05, 2020 4:08 pm

Re: 【NBA2K_Hook】 v2.3.5 << Added "Custom Team Colors"

Postby TitanGamer on Mon Jul 13, 2020 6:00 pm

Everything works fine, until i try to add scoreboards. I add a scoreboard, then when i go into the game, there is no scoreboard. anyone else with this issue? is it something i did?
TitanGamer
 
Posts: 2
Joined: Wed Apr 01, 2020 8:03 pm

Re: 【NBA2K_Hook】 v2.3.5 << Added "Custom Team Colors"

Postby alderion75 on Thu Jul 16, 2020 12:39 pm

I have an issue with portraits and/or face ids . Im using thunder shaqs '97 roster and portrait pack that goes with it with no problems until 2 days ago and now none of the portraits show up in game. The odd part is they show and are recognize in NBA tools but not in game , just shows regular cyberfaces and not even default portraits for the regular 2k roster
alderion75
 
Posts: 3
Joined: Fri Sep 20, 2019 5:23 am

Re: 【NBA2K_Hook】 v2.3.5 << Added "Custom Team Colors"

Postby HeftyLefty33 on Mon Jul 20, 2020 6:50 am

So I looked in the GUI for the team id but cant seem to find what I'm looking for, I'm using thunder shaqs 97 mod and I imported custom jerseys but cant seem to get the custom scoreboard to work with any of the teams that have custom jerseys, any help would be appreciated.
HeftyLefty33
 
Posts: 2
Joined: Fri Mar 20, 2020 9:32 am

Re: 【NBA2K_Hook】 v2.3.5 << Added "Custom Team Colors"

Postby layupline on Sat Jul 25, 2020 11:07 am

Thank you!
layupline
 
Posts: 1
Joined: Sat Jul 25, 2020 10:00 am

PreviousNext

Return to NBA 2K20 Modding

Who is online

Users browsing this forum: No registered users and 53 guests