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

A hub for everything related to NBA 2K19 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: 22
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: 369
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: 105
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: 624
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: 3
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

Previous

Return to NBA 2K20 Modding

Who is online

Users browsing this forum: deionr829, endyme, galip, King_Gauvo, PlatinumPlus, Rimbaud82, sam518, Shuajota and 13 guests