Shin Megami Tensei III Nocturne HD Remaster

Shin Megami Tensei III Nocturne HD Remaster

View Stats:
The Guy May 21, 2021 @ 7:49am
4
1
Higher Framerate
After a bit of reverse engineering, I found where the game calls the setter for UnityEngine.Application.targetFrameRate. You can find this in the file called GameAssembly.dll. The array of bytes in question is
C7 40 44 1E 00 00 00 E8 48 11 23 00 33 C9 B8 02 00 00 00 85 FF 0F 44 C8 33 D2 48 8B 5C 24 30 48 83 C4 20 5F
To change the framerate cap, modify the "1E 00 00 00" to be whatever number you want the cap to be. Unfortunately, some game systems are not scaled to the frametime, and as a result they run faster. For example, the most notable thing that is not at the right speed is the physics. This means that at this point, the game is unplayable at a framerate higher than 30.
Things that I have tried to fix this:
I found the timeScale value (UnityEngine.Time.timeScale) and reduced it to 30 / DesiredFramerate, which my naive brain thought might pace the game down to the correct speed. Unfortunately, this messed with things that were correctly scaled, and had no effect on things that were not correctly scaled.


[h]Fun Stuff[/h]
disable the auto-pause when you tab out:
40 53 48 83 EC 20 80 3D 84 5F B9 00
->
C3 90 90 90 90 90 80 3D 84 5F B9 00
Last edited by The Guy; May 21, 2021 @ 9:48am
< >
Showing 16-30 of 70 comments
Zeikar May 22, 2021 @ 4:51am 
38 FPS feels perfect for me, not too fast and not too slow
solaris32 May 22, 2021 @ 5:30am 
Originally posted by Bishop:
It takes a special sort of Japanese programmer to tie game speed to FPS instead of delta time in 2021, then limit it all to 30 FPS just in case.
You do realize this is a remaster of an early 2000's PS2 game? That's just how many of them did it back then.
Hybrid Grave May 22, 2021 @ 6:21am 
Originally posted by Zeikar:
38 FPS feels perfect for me, not too fast and not too slow
I hate to ask, but how did you set it to 38 specifically? i found the lines in the hex editor but im unsure how to modify them. I apoligise in advance for my ignorance on the matter.
Zeikar May 22, 2021 @ 7:05am 
Originally posted by Hybrid Grave:
Originally posted by Zeikar:
38 FPS feels perfect for me, not too fast and not too slow
I hate to ask, but how did you set it to 38 specifically? i found the lines in the hex editor but im unsure how to modify them. I apoligise in advance for my ignorance on the matter.
Well I had to be more specific with it. If you found the 1E 00 00 00 part in the hex editor could you not click then type and overwrite the 1E to 3C? However when I changed to 3C it made my FPS climb to 120 and the game was way too fast, so then I used nvidia profile inspector for frame rater limiter and I can make it anything from 0 to 144 or so... I actually took an extra step there. I recommed HxD it's the best hex editor out there. If you edit GameAssembly.dll in HxD it will make a backup file when you save changes.
Last edited by Zeikar; May 22, 2021 @ 7:06am
TSVStriFe May 22, 2021 @ 9:53am 
3C shouldn't be able to go to 120 fps though, unless you turn off Vsync as this trick will bypass the cap to a new cap. But it's weird that it goes above the cap. I put it to 3C and it's 60 (Mostly 61), maybe some decimals are in play or some randomness oh well. It works :P
Lukuma May 22, 2021 @ 10:07am 
Got it working for 60fps. I actually kinda prefer the game and menus running faster since Nocturne always felt kinda sluggish to me on PS2.
TSVStriFe May 23, 2021 @ 6:52am 
There is still sometimes a small pause between the end of the battle and the reward screen and a slight pause between gameplay and a cutscene (Especially with using Amala Link), but the slight slowdown when changing screens is entirely gone.

I think that Atlus has some slight bugfixing to do and maybe raise the cap to 60 atleast and let ppl choose what they want to do as it DOES not break the game at all, sure it does give some slight hiccups, but it's quite minor that it makes the game perfectly playable.
Hoss Jones May 23, 2021 @ 8:05am 
I wonder if there would be a way to either fix the speedup during the times where the game needs it. The game itself runs fine other than that though? Would be cool if we could see some footage ;D
The Guy May 23, 2021 @ 4:46pm 
Originally posted by Bishop:
It takes a special sort of Japanese programmer to tie game speed to FPS instead of delta time in 2021, then limit it all to 30 FPS just in case.
Your lack of understanding is embarrassing. Delta time of what? Are you just tossing some terms around that you've heard before? The issues derive from the game logic not (entirely) being relative the frametime (the difference between the time of the start of the current and previous frames,) because of this, the rate of things get skewed linearly with the lower frametime.
RoidRidley Jun 3, 2021 @ 11:39am 
So I'm not well versed in coding, where do I do this?
Archie Sterquish Jun 3, 2021 @ 11:59am 
Originally posted by RoidRidley:
So I'm not well versed in coding, where do I do this?
In a hex editor
RoidRidley Jun 3, 2021 @ 12:01pm 
Originally posted by Sterquish:
Originally posted by RoidRidley:
So I'm not well versed in coding, where do I do this?
In a hex editor
I got one now and I am going through it, Just to clarify, which value do i modify after "1E" to get the cap? The last 00?
Zeikar Jun 3, 2021 @ 12:08pm 
Originally posted by RoidRidley:
Originally posted by Sterquish:
In a hex editor
I got one now and I am going through it, Just to clarify, which value do i modify after "1E" to get the cap? The last 00?
1E is 30 in hex, that's the cap. 00 is likely a null byte
Last edited by Zeikar; Jun 3, 2021 @ 12:10pm
Hoss Jones Jun 3, 2021 @ 11:33pm 
This might be a big ask but, anyone mind posting some footage of this in action? Just curious on how this actually looks in action.
Hex editors, the fact that this is even necessary to maximize the potential of this game is just sad.
< >
Showing 16-30 of 70 comments
Per page: 1530 50