NBA2K_Hook For NBA2K22[ V0.0.16 @ 2022-01-31 ]

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

Re: NBA2K_Hook For NBA2K22[ V0.0.7 & new script "UnlockDebugOptions" ]

Postby Jakeaphid on Mon Dec 27, 2021 8:47 am

[C:\Users\Looyh\Repos\NBA2K_Hook\src\hook\main\render\util\Util.cpp:58] : Failed to Capture Texture
Jakeaphid
 
Posts: 5
Joined: Tue Jun 29, 2021 1:44 am

Re: NBA2K_Hook For NBA2K22[ V0.0.7 & new script "UnlockDebugOptions" ]

Postby Jakeaphid on Mon Dec 27, 2021 8:49 am

yodan4 wrote:
maumau78 wrote:
looyh wrote:
maumau78 wrote:[C:\Users\Looyh\Repos\NBA2K_Hook\src\hook\main\render\util\Util.cpp:58] : Failed to Capture Texture

Bro when I press F8 I got this error...any idea on how to solve this issue?

Returns FAILED from function CaptureTexture( DirectXTex lib), try reinstall directX11 or you can disable Bg blur for hook gui.


It worked but Mahmood sent me Config.yml becouse was not created due to previous problem (Y)


Mind sharing that? I cannot get it to load and seem to have the same error.

Or....do you know how to blur the background like Looyh said in the quotes?
[C:\Users\Looyh\Repos\NBA2K_Hook\src\hook\main\render\util\Util.cpp:58] : Failed to Capture Texture



I'm having this same problem. The f8 menu doesn't stay open long enough for me to change any settings. How can I get it to work?
Jakeaphid
 
Posts: 5
Joined: Tue Jun 29, 2021 1:44 am

Re: NBA2K_Hook For NBA2K22[ V0.0.7 & new script "UnlockDebugOptions" ]

Postby BonesBarbossa on Mon Jan 03, 2022 10:42 pm

Can anyone help and share their config file with me?

Seems like config.yml is missing for me and can't open GUI with f8 due to this error:

[C:\Users\Looyh\Repos\NBA2K_Hook\src\hook\main\hooking\input\InputHook.cpp:81] : Failed to create direct device

Want to check if that is a general solution for the f8 issues...

Edit: Found the issue and it had nothing to do with the error codes:
I read in the eyeuc forum somewhere that screen capture might lead to gui not showing up.
In my case Fraps was preventing the menu to show up - so for anyone struggling with this and not knowing it so far, make sure to turn off any fps or other screen capture programs.
Last edited by BonesBarbossa on Tue Jan 04, 2022 10:46 am, edited 1 time in total.
User avatar
BonesBarbossa
 
Posts: 1
Joined: Mon Jan 03, 2022 11:38 am

Re: NBA2K_Hook For NBA2K22[ V0.0.7 & new script "UnlockDebugOptions" ]

Postby NlscGuy321 on Tue Jan 04, 2022 4:14 am

Is there a plugin like last year (2k21 tool) that can disable the player murals, so that a team's logo mural is the default (eg, logo793_mural.iff). So much easier to edit/select murals that way, and don't have to worry about changes.

Thank you and happy new year to all.
NlscGuy321
 
Posts: 64
Joined: Sun Nov 27, 2016 7:16 am

Re: NBA2K_Hook For NBA2K22[ V0.0.7 & new script "UnlockDebugOptions" ]

Postby yodan4 on Fri Jan 07, 2022 3:10 am

BonesBarbossa wrote:Can anyone help and share their config file with me?

Seems like config.yml is missing for me and can't open GUI with f8 due to this error:

[C:\Users\Looyh\Repos\NBA2K_Hook\src\hook\main\hooking\input\InputHook.cpp:81] : Failed to create direct device

Want to check if that is a general solution for the f8 issues...

Edit: Found the issue and it had nothing to do with the error codes:
I read in the eyeuc forum somewhere that screen capture might lead to gui not showing up.
In my case Fraps was preventing the menu to show up - so for anyone struggling with this and not knowing it so far, make sure to turn off any fps or other screen capture programs.



shout out to you. (Y)
yodan4
 
Posts: 12
Joined: Fri Feb 10, 2012 2:59 pm

Re: NBA2K_Hook For NBA2K22[ V0.0.7 & new script "UnlockDebugOptions" ]

Postby T33j4y1802 on Mon Jan 10, 2022 8:37 am

Hey, I seem to be having an issue with ''UnlockDebugOptions'' It says its enabled, but isnt coming up with any of the options. Wondered if It was just me being a dope and had done something wrong or if others are having the same issue? or if there has been an update that has stopped it from working.
T33j4y1802
 
Posts: 3
Joined: Mon Jan 27, 2020 8:28 am

Re: NBA2K_Hook For NBA2K22[ V0.0.7 & new script "UnlockDebugOptions" ]

Postby TGsoGood on Mon Jan 10, 2022 9:22 am

T33j4y1802 wrote:Hey, I seem to be having an issue with ''UnlockDebugOptions'' It says its enabled, but isnt coming up with any of the options. Wondered if It was just me being a dope and had done something wrong or if others are having the same issue? or if there has been an update that has stopped it from working.


I have the same issue, I think it is due to 2K making an update
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: NBA2K_Hook For NBA2K22[ V0.0.7 & new script "UnlockDebugOptions" ]

Postby SimonDaBoss on Mon Jan 10, 2022 10:26 am

pc got an update hook doesnt work for now
SimonDaBoss
 
Posts: 1
Joined: Wed Nov 27, 2019 11:10 am

Re: NBA2K_Hook For NBA2K22[ V0.0.7 & new script "UnlockDebugOptions" ]

Postby TGsoGood on Tue Jan 11, 2022 1:16 am

furkanjames wrote:why does it crash when i install reshade?


you need to put the game in window mode before installing reshade
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: NBA2K_Hook For NBA2K22[ V0.0.15 & new script "UnlockDebugOptions" ]

Postby looyh on Sun Jan 16, 2022 8:26 pm

1. More apis for lua script (api doc: soon)
2. SYNC.BIN file export. (logger / input file name to export, like
archive files)
3. Fix the issues of GUI renderer initialization failure in some cases in previous version.
Image
User avatar
looyh
 
Posts: 468
Joined: Mon Aug 05, 2013 2:06 pm

Re: NBA2K_Hook For NBA2K22[ V0.0.15 & new script "UnlockDebugOptions" ]

Postby maumau78 on Mon Jan 17, 2022 6:22 pm

looyh wrote:1. More apis for lua script (api doc: soon)
2. SYNC.BIN file export. (logger / input file name to export, like
archive files)
3. Fix the issues of GUI renderer initialization failure in some cases in previous version.
[ Image ]


Thanks for this
"I open at the close"

Dumbledore

You like my works? Support me! Donations Link Below:
https://paypal.me/maumau78mods
https://twitter.com/MauroAnceschi
https://www.youtube.com/user/anceschmau78/videos
User avatar
maumau78
Contributor
Contributor
 
Posts: 3211
Joined: Mon Nov 01, 2010 6:26 pm
Location: Italy

Re: NBA2K_Hook For NBA2K22[ V0.0.16 @ 2022-01-31 ]

Postby TGsoGood on Wed Feb 23, 2022 12:27 am

Looyh released his Free Roam Camera Script in case you guys did not know.
Here is an installation tutorial


phpBB [video]

phpBB [video]
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: NBA2K_Hook For NBA2K22[ V0.0.16 @ 2022-01-31 ]

Postby plp2874 on Wed Mar 02, 2022 6:23 pm

is it possible to edit your teammates shoes/accessories in my career? I have a bunch of shoes i want to equip to my team/rest of league but can only do "team colors" and not actual colorways
plp2874
 
Posts: 61
Joined: Fri Nov 30, 2018 4:43 pm

Re: NBA2K_Hook For NBA2K22[ V0.0.16 @ 2022-01-31 ]

Postby fordtech99 on Fri Mar 04, 2022 11:34 am

did we ever get a fix for debug options
fordtech99
 
Posts: 213
Joined: Tue Dec 04, 2012 12:48 pm

Re: NBA2K_Hook For NBA2K22[ V0.0.16 @ 2022-01-31 ]

Postby therealgrimmie on Mon Mar 14, 2022 4:24 pm

TGsoGood wrote:Looyh released his Free Roam Camera Script in case you guys did not know.
Here is an installation tutorial


phpBB [video]

phpBB [video]


hi TG, what's new on the recently released V2 of the free roam camera script?
"ALL IS VANITY"
User avatar
therealgrimmie
 
Posts: 756
Joined: Mon Dec 23, 2013 9:48 pm

Re: NBA2K_Hook For NBA2K22[ V0.0.16 @ 2022-01-31 ]

Postby TGsoGood on Tue Mar 15, 2022 3:28 am

therealgrimmie wrote:hi TG, what's new on the recently released V2 of the free roam camera script?


fixes crashing in MyGM
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: NBA2K_Hook For NBA2K22[ V0.0.16 @ 2022-01-31 ]

Postby Uncle Drew on Mon Apr 11, 2022 1:39 am

How come on my Hook plugin under player editor, the headband, unlock shoe brands and unlock retired numbers aren't showing up and are disabled? I have the latest version.

Image Image Image



Image
User avatar
Uncle Drew
 
Posts: 3818
Joined: Thu Nov 14, 2002 1:47 pm
Location: The D and it's not Dallas

Re: NBA2K_Hook For NBA2K22[ V0.0.16 @ 2022-01-31 ]

Postby Uncle Drew on Mon Apr 11, 2022 1:58 am

Image
User avatar
Uncle Drew
 
Posts: 3818
Joined: Thu Nov 14, 2002 1:47 pm
Location: The D and it's not Dallas

Re: NBA2K_Hook For NBA2K22[ V0.0.16 @ 2022-01-31 ]

Postby zuko on Sun May 01, 2022 1:25 pm

Can anything scripthook related be used to boost a myplayer build?
zuko
 
Posts: 3
Joined: Sun Apr 24, 2022 2:34 am

Re: NBA2K_Hook For NBA2K22[ V0.0.16 @ 2022-01-31 ]

Postby joeyfresco23 on Mon May 23, 2022 1:13 am

Hey guys I have pretty simple problem here so I am using an external keyboard for my laptop and the f8 function on my external keyboard is different from my laptop keyboard so I have to press the f8 on my laptop keyboard for the 2k hook to show up. Does this happen to anyone? Btw I am using Logitech MX Keys Wireless Keyboard.
joeyfresco23
 
Posts: 2
Joined: Sat May 01, 2021 10:54 am

Re: NBA2K_Hook For NBA2K22[ V0.0.16 @ 2022-01-31 ]

Postby OLDMANGAME2K on Thu Jun 02, 2022 10:40 pm

Hi all, I'm having problems to running Hook as the game starts :cry:
Here are the log:

2022-06-02 14:17:45,500 INFO : Hook Init V0.0.7
2022-06-02 14:17:45,520 INFO : Hooked [NBA2K::LoadBootUpResource]
2022-06-02 14:17:45,556 INFO : Hooked [NBA2K::GetFileInfo]
2022-06-02 14:17:45,584 INFO : Hooked [NBA2K::LoadFile]
2022-06-02 14:17:45,612 INFO : Hooked [NBA2K::GetFileInfoFromSyncBin]
2022-06-02 14:17:50,617 ERROR [thread-14200] [void __cdecl Hook::Gui::Core::initWndProc(void)] [C:\Users\Looyh\Repos\NBA2K_Hook\src\hook\main\gui\core\Core.cpp:106] : Failed to attach input hook for ImGui
2022-06-02 14:17:50,889 INFO : Hooked [IDXGISwapChain::Present]
2022-06-02 14:17:50,889 INFO : Hooked [IDXGISwapChain::ResizeBuffers]
2022-06-02 14:17:55,896 ERROR [thread-3352] [bool __cdecl Hook::Hooking::InputHook::init(void)] [C:\Users\Looyh\Repos\NBA2K_Hook\src\hook\main\hooking\input\InputHook.cpp:29] : Failed to attach input hook
2022-06-02 14:17:55,896 INFO : Hook Init Failed

Someone by chance, knows how to fix this?
2k23 ULTIMATE NBA 2K24 ROSTER: viewtopic.php?f=279&t=115474
Image
User avatar
OLDMANGAME2K
 
Posts: 574
Joined: Wed Dec 02, 2020 7:15 am

Re: NBA2K_Hook For NBA2K22[ V0.0.16 @ 2022-01-31 ]

Postby Bassman58 on Fri Jun 03, 2022 4:19 am

I may be able to help. Disclaimer. I have no experience using Hook scripts if that's what you are doing.
To me it looks like you have Hook in the wrong folder. It should be similar to this.... D:\Program Files\Steam\steamapps\common\NBA 2K22\NBA2K_Hook
It definitely should be in the NBA 2K22\NBA2K_Hook folder. Two DLL files should be in the main 2K22 folder. Shuajota and TGsoGood have tutorials on how to install Hook (plus how to use it). I do know about PCs and file structures.
I doubt your user name (the Windows one) is looyh and I have no idea what Repos is. If you installed the game to the default location your path should be this or something similar.....C:\Program Files\Steam\steamapps\common\NBA 2K22. I rarely install games to the default location since I have multiple hard drives and I don't want to fill up my boot drive (C:\).
If it works reply here so this info may help others in the future.
User avatar
Bassman58
 
Posts: 997
Joined: Fri Feb 21, 2003 5:18 am

Re: NBA2K_Hook For NBA2K22[ V0.0.16 @ 2022-01-31 ]

Postby OLDMANGAME2K on Fri Jun 03, 2022 6:16 am

Thanks for the tips, I tought the same.
The mods folder was read, but the scripts and the running at the same time as the game with the activation trough F8 was not.
Looking more closely I noticed that my version of Hook was not the last updated, differing in the NBA2K_Hook.dll (I use Hook since last year, the weird thing is that the previous version worked until yesterday, maybe some updates from 2k changed something).
Using the current version I fixed the problem, luckly now it works properly, 2K without the scripts is not the same :D
2k23 ULTIMATE NBA 2K24 ROSTER: viewtopic.php?f=279&t=115474
Image
User avatar
OLDMANGAME2K
 
Posts: 574
Joined: Wed Dec 02, 2020 7:15 am

Re: NBA2K_Hook For NBA2K22[ V0.0.16 @ 2022-01-31 ]

Postby sasrawr on Sun Jun 12, 2022 10:42 am

Is there a way to use this tool to export your MyLeague roster and save it to use in a different MyLeague save?
sasrawr
 
Posts: 2
Joined: Fri Dec 04, 2020 6:03 pm

Re: NBA2K_Hook For NBA2K22[ V0.0.16 @ 2022-01-31 ]

Postby Inaynl on Wed Jun 15, 2022 10:59 am

Hello looyh, can i ask? I already extracted the NBA2K_Hook inside my NBA2K22 folder and when i open the game the pop-up GUI doesn't show and when i press F8 nothing happens. Any fix to this?
Inaynl
 
Posts: 56
Joined: Wed Jun 26, 2013 10:34 pm

PreviousNext

Return to NBA 2K22 Modding

Who is online

Users browsing this forum: No registered users and 2 guests