Freezing / setting time with Cheat Engine

LemonHaze

Banned
Joined
Dec 25, 2018
Just because this is the only method I have right now and people have asked me.. here is a quick run-down of how to freeze or set time in the demo:

1. Boot up CE and attach to `Shenmue3-Win64-Shipping.exe`
2. Click New Game and do not press A when you see Ryo, then search for `10.00` as a float. (select "Float" in the Value Type dropdown)
3. Once it has completed the first scan, set the scan type to "Unchanged value" and hit Next Scan. Do this a couple of times.
4. Now press A to gain control of Ryo and wait 1 in-game minute and press R1 to pause the in-game time and bring up the menu screen.
5. Set the scan type to "Increased value" and hit next scan, and then set the scan type to "Smaller than" and search for values less than 11. Now you should see values like this:
1569602450233.png

`10.03981113` and `10.03333378` are the current time values. Select all of these, right click and click "Add selected addresses to list". Now you should have those values in the bottom table. You can now set them to a specific time or freeze them all by selecting all of them and hitting spacebar, turning the red X on all of them, like below:

1569602565605.png

I'll probably post a better method soon, but for now, this will do.

Video example:

https://streamable.com/10jrv
 
Last edited:
Does anyone else have the issue of Ryo getting hungry almost instantly after running while using this method?.

Yea, something to do with the second value. I tried, but i've thrown in the towel. Fingers crossed for a better method in the future from the modders!
 
This is sort of related in the sense that it's Cheat Engine.

Here is how you can "wrap" to change your coordinates. This will allow you to investigate areas that Ryo can't normally access. You should already be familiar with Cheat Engine, so if you can't reset time, follow LemonHaze's tutorial to learn how to search. Once done with that, follow these instructions.

1. Start a new search for type Float.
2. In game, walk to Martial Hall and trigger the "Looks like I can practice horse stance here" scene.
3. Walk over to the other poll and trigger the "I can practice my 1 inch punch" scene. DO NOT MOVE.
4. Once the scene is over, search for 16747.0 - This is Ryo's X coordinate after that scene ends. You should have between 300 and 400 results.
5. Select about 20 rows at a time from the results list and right click -> change value on that group. Try setting the number to 0 (or something 50-100 away from the existing number) and see if Ryo warps somewhere else. You should try moving, because there is 1 value that changes his location temporarily and another that actually changes it for real. If you didn't find it, try changing the next 20 results in your list. Once you find the group of results that has it, select the first 5 or so and see if those did it, and so on until you've narrowed down the actual result that changes Ryo's position. It will probably end in 0.
6. Add the address you've found to your code list. This is Ryo's X position.
7. Manually add the address + 4 to your code list as float. This is Ryo's Y position.
8. (Optional) manually add the address + 8 to your code list as float. This is Ryo's Z position, as you move higher the value gets higher. If you want to warp into the sky for some reason you'd use 1000 or higher. (Gravity will pull you back down)

Once you can change Ryo's X and Y positions, walk somewhere you can't normally go. Pay attention to whether the X and Y are increasing or decreasing. Change the value in the appropriate direction and amount (usually 200-300) to warp past places he tries to walk away from.

Disclaimer: You may encounter game spoilers if you do this. You'll be viewing content not normally accessible in the demo, and there is one instance I've documented in the data mining thread where you can sequence break the story and encounter a section of game play from close to the end of the Bailu section of the story. If you don't want to risk spoilers, don't investigate out of bounds. In case you're avoiding that thread (you should still avoid it) I'll put your mind at ease regarding the fact that they did remove data for cutscenes and Ryo's notebook entries outside of things you know about from the demo so don't worry, nobody is playing the full game early.
 
Last edited:
This is sort of related in the sense that it's Cheat Engine.

Here is how you can "wrap" to change your coordinates. This will allow you to investigate areas that Ryo can't normally access. You should already be familiar with Cheat Engine, so if you can't reset time, follow LemonHaze's tutorial to learn how to search. Once done with that, follow these instructions.

1. Start a new search for type Float.
2. In game, walk to Martial Hall and trigger the "Looks like I can practice horse stance here" scene.
3. Walk over to the other poll and trigger the "I can practice my 1 inch punch" scene. DO NOT MOVE.
4. Once the scene is over, search for 16747.0 - This is Ryo's X coordinate after that scene ends. You should have between 300 and 400 results.
5. Select about 20 rows at a time from the results list and right click -> change value on that group. Try setting the number to 0 (or something 50-100 away from the existing number) and see if Ryo warps somewhere else. You should try moving, because there is 1 value that changes his location temporarily and another that actually changes it for real. If you didn't find it, try changing the next 20 results in your list. Once you find the group of results that has it, select the first 5 or so and see if those did it, and so on until you've narrowed down the actual result that changes Ryo's position. It will probably end in 0.
6. Add the address you've found to your code list. This is Ryo's X position.
7. Manually add the address + 4 to your code list as float. This is Ryo's Y position.
8. (Optional) manually add the address + 8 to your code list as float. This is Ryo's Z position, as you move higher the value gets higher. If you want to warp into the sky for some reason you'd use 1000 or higher. (Gravity will pull you back down)

Once you can change Ryo's X and Y positions, walk somewhere you can't normally go. Pay attention to whether the X and Y are increasing or decreasing. Change the value in the appropriate direction and amount (usually 200-300) to warp past places he tries to walk away from.

Disclaimer: You may encounter game spoilers if you do this. You'll be viewing content not normally accessible in the demo, and there is one instance I've documented in the data mining thread where you can sequence break the story and encounter a section of game play from close to the end of the Bailu section of the story. If you don't want to risk spoilers, don't investigate out of bounds. In case you're avoiding that thread (you should still avoid it) I'll put your mind at ease regarding the fact that they did remove data for cutscenes and Ryo's notebook entries outside of things you know about from the demo so don't worry, nobody is playing the full game early.

Thanks dude. Its been a hard 2 days thats for sure, but i have avoided it! I was going to maybe break with the out of bounds build, but now reading that there a section of some sort of gameplay element i will steer clear.
 
Just because this is the only method I have right now and people have asked me.. here is a quick run-down of how to freeze or set time in the demo:

1. Boot up CE and attach to `Shenmue3-Win64-Shipping.exe`
2. Click New Game and do not press A when you see Ryo, then search for `10.00` as a float. (select "Float" in the Value Type dropdown)
3. Once it has completed the first scan, set the scan type to "Unchanged value" and hit Next Scan. Do this a couple of times.
4. Now press A to gain control of Ryo and wait 1 in-game minute and press R1 to pause the in-game time and bring up the menu screen.
5. Set the scan type to "Increased value" and hit next scan, and then set the scan type to "Smaller than" and search for values less than 11. Now you should see values like this:
View attachment 4399

`10.03981113` and `10.03333378` are the current time values. Select all of these, right click and click "Add selected addresses to list". Now you should have those values in the bottom table. You can now set them to a specific time or freeze them all by selecting all of them and hitting spacebar, turning the red X on all of them, like below:

View attachment 4400

I'll probably post a better method soon, but for now, this will do.

Video example:

https://streamable.com/10jrv
Thanks man. I've read something about 4 bytes were what to search for. Just messed it all up. Wasted hours. Tried increased value, tried many things. This can mean really spending a day in Shenmue with no rush.
 
Does anyone else have the issue of Ryo getting hungry almost instantly after running while using this method?.

A fix for this is setting the in game time to 2am. The demo will not end, and Ryo's stamina will remain fine since the weather system seems to have "shut down" due to the in game time being out of bounds so to speak. However, after training all the moves and mini-games, I defeated Gold Tiger, and then got the message that the demo had ended. I haven't experimented with all of the times though.
 
Is there anything that can be done in terms of turning off the HUD through cheat engine or some other way? Would make getting images for out of bounds areas amazing.
 
I made a pointer file for a few commonly used addresses, only tested it on my build so let me know if it works for you.

Pointers are basically codes that point to a value or address that changes every time you open the game, with a pointer you dont have to search the memory every time
open in cheat engine and attach to the shenmue process, should point to the value automagically

-HP in free area (its in a different place during battle, haven't looked into it yet)
-Money
-Pears
-X/Y/Z of Ryo's position with hotkeys to move 500 units
-Inventory start
, items are 4 byte, change FF FF FF FF to 01 00 00 00 and it will show up in items, this is still not the actual item however, more work needs to be done to find the ""true" inventory so we can equip and use items like rod or t-shirts, the one you buy from the store might be a good clue to follow
ill paste the value of the full item list in this spoiler, just paste it at the inventory start value and you can see all the items
(changes have been made with the trial update)
0100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000

The Time values are still buggy, missing some pointers, there for research purposes may crash your game, for now use the method posted by lemon in the op.

Thanks to LemonHaze and Sappharad for posting explanations and tutorials, saved me some time like hopefully these pointers will others.

updated to v2
 

Attachments

  • Shenmue 3 Trial update2 v2 pointers.zip
    1.6 KB · Views: 6
Last edited:
updated with v2
-Includes better hotkeys for movement lol,
-Improved pointer stability after entering and exiting certain areas
-Battle HP and Enemy HP when fighting
-Log chopping minigame timer and log count values
-1 inch punch timer (there is a 2nd global timer that end the minigame after 240 seconds, freeze that for long play)
-Sparing QTE counter for research

I'd like to find the Kung Fu levels, move levels, TRUE inventory items like equipable clothes and rod, Diary entries and much more still to do in the next 40 days!!
 

Attachments

  • Shenmue 3 Trial update2 v2 pointers.zip
    1.6 KB · Views: 12
Back
Top