Free camera for Kuro no Kiseki CLE
- DhaosCollider
- Table Makers
- Posts: 101
- Joined: Sat Mar 23, 2019 6:59 pm
- Reputation: 835
Re: Free camera for Kuro no Kiseki CLE
I created a table too.
It's a Free Camera that doesn't do math.
And some scripts/pointers.
Like the OP, operation was confirmed with the translated version.
It's a Free Camera that doesn't do math.
And some scripts/pointers.
Like the OP, operation was confirmed with the translated version.
-
- Cheater
- Posts: 38
- Joined: Sat Jul 23, 2022 12:52 pm
- Reputation: 7
Re: Free camera for Kuro no Kiseki CLE
Yea, I tried loading my save file in the first dungeon of the game and CE can't still recognize the coordinates. I wonder if it's an issue that only exists on my side hahaha, I don't see other users reporting the same problem.amorrow28 wrote: ↑Sun Aug 07, 2022 10:01 pmI posted a new version, see if it fixes your FPS problems! I'm also not sure why you couldn't just load it in the final dungeon, it should load anywhere that the character can move around freely. (I don't know this for a fact though, since I haven't played this game at all. I've just spent 33 hours in front of Van's office in the first minute of the game... so I appreciate the bug reports!) Cyber's original code relied on the camera "status" to be found before starting the script or CE soft-locks, which is why there are two steps. Since I solved that problem, I realized I could combine them into a single step, and have the script patiently wait until the in-game camera values are found. Hopefully this solves the issue, let me know how it works.misterwashimashi wrote: ↑Sun Aug 07, 2022 7:33 amI followed steps 1 to 2, but the camera coordinates are not showing any values, just "??". I can't check its sub boxes either. Probably the reason why the camera is just stuck after I press 0 and unable to move even if I press the numpad buttons.
EDIT: Nvm I got it to work haha thanks man, I just need to start a new game so CE can recognize the coordinates. When I first tested I just loaded the save file on the final dungeon which is probably why CE can't recognize it at first. Another problem though, the FPS gets very low when I enter free camera mode, the beta version 1 is a bit smoother.
Anyway I tried the newest beta version and it finally fixed the FPS issues, nice! Tho here's another issue man haha, it works fine when I start a new game in the beginning, but when I load my save in the final dungeon after the cutscene, CE cannot recognize the coordinates again anymore (whereas if you do the same in the previous versions, CE will still be able to recognize them and make the freecam moveable).The freecam still works though if I try loading the file that is saved in front of Van's office. A workaround I just do is to load the final dungeon save file while the free cam is active and still working normally, which will make it moveable after loading. Though deactivating it will cause the issue to reappear. Something to do with the "Enable Camera Script" getting removed perhaps..?
I tried the other dude's CE Script above and the free cam seems to work normally even if I switch between different save files.
Here's a video of the issue just in case. (Spoiler alert)
Re: Free camera for Kuro no Kiseki CLE
Can you try this and report back? I know DhaosCollider has a working script but darnit I want to fix mine haha.misterwashimashi wrote: ↑Mon Aug 08, 2022 4:39 amYea, I tried loading my save file in the first dungeon of the game and CE can't still recognize the coordinates. I wonder if it's an issue that only exists on my side hahaha, I don't see other users reporting the same problem.
Anyway I tried the newest beta version and it finally fixed the FPS issues, nice! Tho here's another issue man haha, it works fine when I start a new game in the beginning, but when I load my save in the final dungeon after the cutscene, CE cannot recognize the coordinates again anymore (whereas if you do the same in the previous versions, CE will still be able to recognize them and make the freecam moveable).The freecam still works though if I try loading the file that is saved in front of Van's office. A workaround I just do is to load the final dungeon save file while the free cam is active and still working normally, which will make it moveable after loading. Though deactivating it will cause the issue to reappear. Something to do with the "Enable Camera Script" getting removed perhaps..?
I tried the other dude's CE Script above and the free cam seems to work normally even if I switch between different save files.
Here's a video of the issue just in case. (Spoiler alert)
EDIT: Attachment removed - please download from first post of thread.
Last edited by amorrow28 on Tue Aug 09, 2022 11:07 pm, edited 1 time in total.
-
- Cheater
- Posts: 38
- Joined: Sat Jul 23, 2022 12:52 pm
- Reputation: 7
Re: Free camera for Kuro no Kiseki CLE
Sure sure man no problem, lemme help you out with bug reports.amorrow28 wrote: ↑Mon Aug 08, 2022 7:19 amCan you try this and report back? I know DhaosCollider has a working script but darnit I want to fix mine haha.misterwashimashi wrote: ↑Mon Aug 08, 2022 4:39 amYea, I tried loading my save file in the first dungeon of the game and CE can't still recognize the coordinates. I wonder if it's an issue that only exists on my side hahaha, I don't see other users reporting the same problem.
Anyway I tried the newest beta version and it finally fixed the FPS issues, nice! Tho here's another issue man haha, it works fine when I start a new game in the beginning, but when I load my save in the final dungeon after the cutscene, CE cannot recognize the coordinates again anymore (whereas if you do the same in the previous versions, CE will still be able to recognize them and make the freecam moveable).The freecam still works though if I try loading the file that is saved in front of Van's office. A workaround I just do is to load the final dungeon save file while the free cam is active and still working normally, which will make it moveable after loading. Though deactivating it will cause the issue to reappear. Something to do with the "Enable Camera Script" getting removed perhaps..?
I tried the other dude's CE Script above and the free cam seems to work normally even if I switch between different save files.
Here's a video of the issue just in case. (Spoiler alert)
Kuro_freecam_betaversion4.CT
Here's a quick report after a few minutes of testing
So yea this newest version has managed to fix all of the previous issues that I have experienced and that's POG haha. There's a new issue though, but it's just very minor IMO. There are random times when I activate the free cam, the game completely blacks out except for the HUD, and all sounds are gone, an error pops up in CE as well. Disabling the freecam will restore the game screen except for the sounds. So far, this only tends to happen on the save file in front of Van's office. Imma experiment more later. Here's the error:
Last edited by misterwashimashi on Mon Aug 08, 2022 10:59 am, edited 1 time in total.
Re: Free camera for Kuro no Kiseki CLE
I mean can the free camera follow the the player character moves? That is to modify the fov of the player character.Thank you!
Re: Free camera for Kuro no Kiseki CLE
I'm pretty sure I know what's happening there. Try this version!misterwashimashi wrote: ↑Mon Aug 08, 2022 8:23 amSure sure man no problem, lemme help you out with bug reports.
Here's a quick report after a few minutes of testing
So yea this newest version has managed to fix all of the previous issues that I have experienced and that's POG haha. There's a new issue though, but it's just very minor IMO. There are random times when I activate the free cam, the game completely blacks out except for the HUD, and all sounds are gone, an error pops up in CE as well. Disabling the freecam will restore the game screen except for the sounds. So far, this only tends to happen on the save file in front of Van's office. Imma experiment more later. Here's the error:
EDIT: Attachment removed - please download from first post of thread.
Last edited by amorrow28 on Tue Aug 09, 2022 11:07 pm, edited 1 time in total.
Re: Free camera for Kuro no Kiseki CLE
Are you using a laptop or mini-keyboard? Just curious. Anyways, I don’t plan to change the keys because I really like the default layout, BUT it is very easy to change for yourself! Just double click <script> next to the free camera, and it will open up the code. Scroll down to pan and tilt, and you’ll see the assigned keys. Just change them to what you want, then press ok. Test in game, and if it works, save the table.
Re: Free camera for Kuro no Kiseki CLE
WASD / MOUSE CONTROL IN BETA 6! (Please download in the first post of this thread.)
DhaosCollider, thank you for posting your own table! I hope you do not mind, I used your AOB scan to obtain FOV and player movement. (I did not use any of your code at all, I promise, just two of the injection points. Honestly, I don't even understand most of your code.) I do not know why I never thought to freeze the player like you did, your idea was brilliant. All credit goes to you; I stand on the shoulder of giants. I made sure to give credit to you on the first post, and linked to your post so everyone can try your table as well.
EDIT: Uploaded a small update. I have no idea why I didn't think of being able to disable the mouse with a hotkey, if you want to alt-tab out etc. Page up turns the mouse on, page down turns it off (while free-cam is active).
DhaosCollider, thank you for posting your own table! I hope you do not mind, I used your AOB scan to obtain FOV and player movement. (I did not use any of your code at all, I promise, just two of the injection points. Honestly, I don't even understand most of your code.) I do not know why I never thought to freeze the player like you did, your idea was brilliant. All credit goes to you; I stand on the shoulder of giants. I made sure to give credit to you on the first post, and linked to your post so everyone can try your table as well.
EDIT: Uploaded a small update. I have no idea why I didn't think of being able to disable the mouse with a hotkey, if you want to alt-tab out etc. Page up turns the mouse on, page down turns it off (while free-cam is active).
- DhaosCollider
- Table Makers
- Posts: 101
- Joined: Sat Mar 23, 2019 6:59 pm
- Reputation: 835
Re: Free camera for Kuro no Kiseki CLE
If it helped you in some way, I'm glad for it, and thanks for the credit.
Feel free to use whatever you like.
Structurally, multi-pointers from static addresses are shallow game engine,
so remembering the quirks of the engine may be useful for the numbered titles in this series.
-
- Cheater
- Posts: 38
- Joined: Sat Jul 23, 2022 12:52 pm
- Reputation: 7
Re: Free camera for Kuro no Kiseki CLE
Beta version 5 and 6a didn't show any problems so far, thanks for your hard work man. Just take your time on the missing features. I'll edit this comment once I've run into some issues (hopefully not)
Re: Free camera for Kuro no Kiseki CLE
Thanks for your work, I have questions : Hide UI and Timefreeze will you do it?
Re: Free camera for Kuro no Kiseki CLE
Beta version 6a works very well,but I wish add hotkeys for custom fov.
For example
8 : Forward
5 : Backward
4 : Left
6 : Right
- : Up
+ : Down
can this function be applied to fov?I want to customize the height of fov,Thanks for your work.
Re: Free camera for Kuro no Kiseki CLE
The function is only running during free camera mode, it does not run while playing normally because it would really affect the performance of the game and takes control away from the player. I think it’s possible to do what you ask but the assembly language is more than what I can do. Also, what I thought was FOV is not really FOV, I think it’s actually distance from the camera to the character. I will rename it in the next release but I will test a bit more.diver wrote: ↑Tue Aug 09, 2022 8:06 amBeta version 6a works very well,but I wish add hotkeys for custom fov.
For example
8 : Forward
5 : Backward
4 : Left
6 : Right
- : Up
+ : Down
can this function be applied to fov?I want to customize the height of fov,Thanks for your work.
EDIT: I figured out the assembly. It's still not true FOV, just zoom.
Last edited by amorrow28 on Tue Aug 09, 2022 11:53 pm, edited 1 time in total.
Re: Free camera for Kuro no Kiseki CLE
I've released version 1.0! You can now pause the action and hide the user interface (HUD, minimap, dialogue, menus, everything) - a full-featured photo mode! Also, I've fixed the free camera mode, it no longer locks the mouse when you are not in the game. Finally, I've assigned hotkeys to zooming in and out. Please read the included instructions on page 1 before asking questions.
A note about force pause: I actually managed to find two ways to lock the game (four if you count the first two methods I found, but those two locked the camera so they are not useful). The method I use prevents the game from running the routines that proceed with the game (force pause); the other method is a true pause that flips a switch to fool the game into thinking you've entered a menu. I chose force pause because I was able to preserve flourish animations - pausing the game in the middle of a sword swing with the menu button for example will not preserve the cool blue light animations. But if there are bugs / problems with the force pause method, I can switch the next version to the true pause method instead. Please report issues.
Thank you to misterwashimashi and everyone who participated in the open beta. I hope you didn't mind my frequent updates!
A note about force pause: I actually managed to find two ways to lock the game (four if you count the first two methods I found, but those two locked the camera so they are not useful). The method I use prevents the game from running the routines that proceed with the game (force pause); the other method is a true pause that flips a switch to fool the game into thinking you've entered a menu. I chose force pause because I was able to preserve flourish animations - pausing the game in the middle of a sword swing with the menu button for example will not preserve the cool blue light animations. But if there are bugs / problems with the force pause method, I can switch the next version to the true pause method instead. Please report issues.
Thank you to misterwashimashi and everyone who participated in the open beta. I hope you didn't mind my frequent updates!
Who is online
Users browsing this forum: No registered users