ghostinthecamera / IGCS-GITC

Camera tools based on Frans Bouma's IGCS framework.
BSD 2-Clause "Simplified" License
59 stars 9 forks source link

IGCS-GITC crash with Ni No Kuni 2 #16

Closed bnthomason closed 3 years ago

bnthomason commented 3 years ago

Hello! When I attempt to inject dll and go in game, I see the interface window, but immediately after, the game crashes (while going in-game). I am using Ni No Kuni 2 latest version and the latest version of IGC-GITC for Ni No Kuni 2 (v1.0.0)

I ran the game and the tool both as administrator.

ghostinthecamera commented 3 years ago

Hi there, try injecting once you are loaded in to the game world and in control of the character

ghostinthecamera commented 3 years ago

also - try this without running as administrator

bnthomason commented 3 years ago

I tried this too, I'll post a vid showing the problem

The video: https://youtu.be/BcinXO8MNpw

bnthomason commented 3 years ago

Hello again. Please check if this runs on the newest version of .NetFrameworkss build. I think that may be the culprit. I can't test with the .net framework it was built in because my computer can't downgrade .net frameworks. The other issue may be that the game was patched. (game version 4.00)

bnthomason commented 3 years ago

https://www.youtube.com/watch?v=G-6_oMf1lR8

Another video showing the problem

ghostinthecamera commented 3 years ago

Hi, i downloaded the games and the tools from github and it works absolutely fine for me. No crashes, the camera, timestop and hud toogle work perfectly. I have tested on game version 4.00 (this is the version the tools were developed on)

In that video you posted, you're injecting the tools at the menu. I already asked you to inject when you have loaded into the game world.

This is likely not an issue with the tools.

bnthomason commented 3 years ago

Hey. I will post another video showing the problem

bnthomason commented 3 years ago

https://youtu.be/zy_4J2ORtOY

This proves that there is a problem, at least on my machine. I don't know if there's a fix for just 1 machine.

ghostinthecamera commented 3 years ago

I can't see the video, it's set to private.

I'm sorry but if I can't reproduce the issue then there's nothing I can do. I downloaded the game just to test it for you and it worked fine - without any issues.

The problem is more likely to sit with your particular set up then it is within the tools.

Closing this issue.

bnthomason commented 3 years ago

What do you mean setup? I made the video no longer private, but I doubt it will help with the "Reproduce". I guess I will have to wait until someone else makes a camera tool then, that actually works with my pc.

Did you do anything fancy with the setup? Do you use a cracked version? That would indeed likely cause differences in how the injector functions. Do you use a version other than steam?

I also tried uninstalling and reinstalling the program, but that failed too. :(

ghostinthecamera commented 3 years ago

It means that whatever else you might have running at the same time(and from that video, you have a lot of stuff running) could be causing an issue. Given that it has worked for myself, and for everyone else, this is likely a problem specific to your computer.

No, i did nothing "fancy", it is not a cracked version, it was developed on the steam version, version 4.00 of the game to be exact.

The only thing i can suggest is closing every single program you have running, including anything that uses an overlay such as MSI Afternburner, Rivatuner etc - any other games, software etc including bandicam. EVERYTHING non essential. Turn off steam overlay for this game.

Redownload the tools binary from the releases page, run only Ni No Kuni 2 and try injecting in gameplay. This way you have at least tried to isolate the issue and if it works then you know one of these other pieces of software is causing a problem.

bnthomason commented 3 years ago

Ok, update. Bad news gets worse. I closed all my programs, including bandicam, webbrowsers, (I don't have any antiviruses) anything that hooks or is non-essential. Still no dice. I got so frustrated that I decided to clean slate my computer, then install only steam, the game, and run it from there. It still didn't work. I then decided to post on another few forums (Superuser) to find out of anyone else could help me isolate the problem, but super user came back and said an hour later "This topic is closed until clarification or more details are posted.". So it looks as if I'm on my own. I would love to create a camera for myself, but I don't even understand pointers, and I've tried to learn, but it's way over my brain. I just want to control the camera, for basically any game, but alas, not every game has a controllable camera, most of them have to be modded or hacked, and those that do sometimes are outdated or don't work with my computer. Some do although.

So, now i've isolated the problem from any problematic programs, what is the culprit? I doubt it's system incompatibility, but it might be that.

bnthomason commented 3 years ago

Ok, I got it to work, but only in menu, battle, and cutscene form. It crashed right when taking control of the character.

I wonder if it's not picking up the character location or camera data?

ghostinthecamera commented 3 years ago

Highly unlikely it's not getting the camera data. Unless you have a significantly different version of the game.

What key are you pressing to activate the camera?

ghostinthecamera commented 3 years ago

There is one last thing to try - it's a complete long shot, but it might work.

Inject this DLL: https://1drv.ms/u/s!AsRiF1eWiROU2HnN4PZkOudpZul3?e=GXAS1d

This is a debug version, see if it makes a difference. Remember, inject once loaded INTO the game. It WILL crash if you load at the menu.

bnthomason commented 3 years ago

Hello, I will try that and let you know.

It's wierd, tho, I didn't press any keys. It just crashes when in overworld and dungeon mode.

bnthomason commented 3 years ago

The debug doesn't work at all... It's almost like a blank file. When I load it, it says "Injection Succeeded", but nothing happens, not even crash. Anyway, thanks for trying.

ghostinthecamera commented 3 years ago

Sometimes the injector fails to inject even though it says success - trying it again usually fixes it.

Other than that, sorry, I have no idea what could be causing this.