1
0
mirror of https://github.com/originalnicodr/CinematicUnityExplorer.git synced 2025-07-18 17:38:01 +08:00
Commit Graph

1218 Commits

Author SHA1 Message Date
1d5a7b8885 Fixed icon extension. 1.1.0 2024-05-08 01:02:37 -03:00
54f20fde95 Made the rest of the panels initialize correctly if UnityIGCSConnector failed to initialize, updated the readme with IGCDOF info, resized icon, Increased version number 2024-05-08 01:01:30 -03:00
66773b300f Improved post-processing logging messages and improved compatibility with Hellpoint and potentially more games. 2024-05-05 23:36:21 -03:00
271261307d actions: Update dotnet.yml (#73)
Add support for C/C++ in the pipeline and upload the newer igcs connector.

It was necessary to create two different build scripts because for some reason
when you install the msvc compiler in a github action everything Just Breaks.

Then we create two different jobs to make sure they're independent instances of
containers that don't mess with other's environments.
2024-05-05 20:27:18 -03:00
f557d3de88 IGCS Support for CUE (#72)
* Initial work on supporting IGCS

* feat: Added callback when starting session, adding missing func.

* chore: tidy up math and cleanup.

* chore: tidy up some verbose code

* Added more callbacks, fixed math.

* fix: use queue command system instead of directly writing to the camera.

* lock camera while igcsdof is active.

* build system shenanigans

Now we can build the project just fine by building separately the C
project and the C# project.

* small syntax changes.

learning c# and stuff

* Refactor executeCameraCommand and improve thread-safety in FreeCamPanel

* woops, correct order of arguments for MessageBoxA

* fix: move the ourCamera check where it's actually needed.

* chore: formatting c file

* rewrite: move all igcsdof logic to its own class.

Since CUE *must* work without igcsdof, I thought it would be convenient
to handle all the logic regarding igcsdof in its own class. The
initialization is a bit of a mess because since most of what it's on
FreeCam is static I had to do some trickery.

I wanted to specifically avoid calling LoadLibrary every time so I
thought on only initializing one and having an internal flag either the
thing loaded correctly or not (`isValid`).

* fix: Pin callbacks to avoid garbage collection

* chore: removed unused code

* chore: fix typo.

* nit: more idiomatic C# usage.

Just applied what rider suggested =)

* fix: remove unnecesary GCHandle, store delegates.

* feat: Update IGCS dof camera status accordingly.

Before, we just left igcsdof always enabled, now we handle the cases
properly, avoiding the posibility of the user using igcsdof with the
freecam disabled.

* nit: fix comments and added some to UnityIGCSConnector.

* feat: Get the transform reference earlier for perf™️

* fix: Properly handle an initialization error.

* chore: remove overly verbose debugging

* fix: make sure we start with a clear queue after we end a session.

This was what maybe was causing the misaligning after you cancel a
session since we never checked if the queue was emptied by the code.

* fix: properly cast a function pointer to use what it returns.
2024-05-04 20:05:12 -03:00
e6df5f9c7b Updated logo, added a trailer, and expanded a section in the readme. 1.0.0 2024-04-04 00:04:34 -03:00
918d871041 Added support for more post-processing classes for the post-processing panel. 2024-03-16 19:44:59 -03:00
f8918bc3f7 Use the gameplay far clip plane value if the default value is still being used. Also changed the default near clip plane to be bigger, since it seems that having a super small near clip value affects how far the far clip value actually affects the gameworld. 2024-03-15 18:49:01 -03:00
5b98e68c40 Separated the "reset all" feature into another button in the animator panel. 2024-03-13 23:50:53 -03:00
67782b5c8b Fixed some animations not playing in npcs, stopped the game from switching animations when we were manually replacing them, improved the refresh animations feature, and added support for the animator for newer games. 2024-03-13 19:47:46 -03:00
63ac2dfbd9 Added fallback arrows in case we cannot build the cone for the ones we build (was happening on Metall: Hellsinger and Road 96). 2024-03-10 19:11:39 -03:00
65442023aa Stopped patching the mouse position since it caused problems with moving panels around on the screen in some games (Aragami 2, Road 96). 2024-03-10 16:56:44 -03:00
463fec38b2 Changed the lights config button to only show the inspector with the lights properties, and added a new option for the default freecam (so to be able to use the gameplay camera if you can't interact with the menu). 2024-03-10 12:15:32 -03:00
180139dcd2 Apply the TimeScaleWidget default slider value before adding the listener so it doesn't try to set up the time right away, which might give an error in some games (e.g. Iron Harvest). 2024-03-09 16:12:34 -03:00
ac00a42432 Edited the Readme, changed the icon to a provisional icon, and updated the UnityEditorPackages. 2024-03-09 10:14:46 -03:00
adbbf4eb75 Refactored campath translation point functions to make sure the order of execution is always the same. 2024-03-08 22:03:39 -03:00
103e2fd40e Adjusted default camera far clip to 2000 and made the default tilt speed 10 times faster. 2024-03-08 20:59:57 -03:00
7046d8b5cd Added checks to avoid interacting with some panel cells related to already deleted objects. 2024-03-08 20:38:46 -03:00
4b971d8191 Fixed TimeController widget interaction with CamPaths and deleted comment. 2024-03-08 20:11:25 -03:00
96efbc36d0 Refactored the follow object feature to let the user choose if they want to follow the object position only or if they also want the camera to follow its rotation. 2024-03-08 18:47:00 -03:00
4faf58cb28 Refactor the Animator play button to override whatever animation is currently playing. 2024-02-28 22:42:40 -03:00
3e6350541b Inverted favorite buttons on the Animator and fixed the default freecam move speed input to display the correct initial speed. 2024-02-26 21:30:52 -03:00
bc22099845 Added ko-fi link and deleted GitHub funding to avoid errors. 2024-02-26 00:53:25 -03:00
62ee4dc8ab Added kofi link on funding and readme. Also added a link to the Framed guide. 2024-02-26 00:47:36 -03:00
bdad7d722c UI tweaks. 2024-02-25 22:16:05 -03:00
cd0c9de59b Added favourite button to the animators panel, and fixed the nightly build deployment. 2024-02-25 17:48:05 -03:00
fd18d1b56d Refactored the TimeWidget lock button into an Override toggle to make things clearer, and minor UI tweaks on the Cam Path panel. 2024-02-25 13:05:33 -03:00
56e438948b Refactored the TimeWidget to save the previous state when paused with hotkey, and improved code traces. 2024-02-25 12:17:21 -03:00
7bc4dfddb1 Updated readme with a new section and fixed the build shield. 2024-02-23 01:02:37 -03:00
79f6c12cbf Updated the readme with all of the new features and added a picture. 2024-02-22 22:18:11 -03:00
07f4589204 Added missing renaming of things. 2024-02-22 18:50:40 -03:00
a5880a433f Updated project references to "CinematicUnityExploerer" for re-release. 2024-02-22 18:29:53 -03:00
63616d8008 Fixed the screenshot UI appearing on the misc panel by scanning for the screenshot method beforehand. 2024-02-22 08:58:45 -03:00
2ca4191589 Fixed wrong argument names in some LegacyInput patched functions. 2024-02-21 00:13:30 -03:00
e2fec2d0d4 Deleted previous tilt handling when changing the freecam rotation. Also added a comment on an implementation that changes the camera orientation relative to its tilt. 2024-02-20 23:46:53 -03:00
a4c8b11048 Polished Animator UI and reset freecam position and rotation if the scene is different from the one active when last used the freecam. 2024-02-20 21:55:44 -03:00
9c00f112c3 Refactored the Animation system to support IL2CPP games. Also fixed a bug related to the animators cells in the animators pool. 2024-02-20 20:46:01 -03:00
9d5ae8558e Refactored the animator panel to be able to play any animation, modified the pause animation feature with the recommended property, and added try/catch statements to the post-processing panel. Also deleted the "pause after an animation played" code since that doesn't work anymore with the new method. 2024-02-17 01:19:43 -03:00
29c371e2c2 Fixed cam path visualizer for when following objects, and fixed the path sometimes giving errors when trying to start. 2024-02-15 20:52:07 -03:00
05d6e08f73 Added up and down arrows on the camera path nodes to reorder them, allowing the user to add a new node and insert it in the middle of an already-created path. 2024-02-15 18:57:20 -03:00
47e1315622 Added previous and next animations next to the animator dropdown. 2024-02-14 23:03:20 -03:00
4cd4cf00af Added a button to the Animator panel to inspect the object. Also added a slider in the inspector to scale things on three axes at the same time, and adjusted the free cam panel min-height. 2024-02-14 22:32:37 -03:00
336373169a Refactored the Animator pause to use start and stop playback (since disabling the whole animator could cause problems in some games). I am still disabling the animator as a fallback if the described method doesn't work. 2024-02-13 23:38:13 -03:00
147b846995 Refactored the LightsManager to use a ScrollingPoll, and made the turn-off vanilla lights more robust regarding switching scenes with turned-off lights. Also renamed the "AnimatirUI" folder to "Cells". 2024-02-13 18:51:04 -03:00
467d5cf2d5 Fixed toggling NPC animators when we had too many to show at the same time. Also disabled the automatic stop of manually played animations if the user didn't have the animator disabled in the first place, or if they disabled it mid-animation. Also made the Animator panel longer and fixed the FreeCamPanel missing new line. 2024-02-13 16:44:12 -03:00
9e9a5e25ab Block the camera rotation to not go further than looking directly up or down. If it doesn't work in some game we should revisit this. 2024-02-13 13:06:05 -03:00
83b19f2375 Refactored the Camera Path panel to use the ScrollPoll class, reworked the UI on the panel a bit, and deleted an unused member on the AnimatorPanel. 2024-02-13 12:30:12 -03:00
88a1217c7d Fixed the Play button height on the AnimatorPanel. Also fixed the default value of the dropdown to reflect the animation being played at UI construction time (or the first one). 2024-02-13 01:17:11 -03:00
59ffa462cc Added support to manually play animations of entities on the scene (only for Mono builds). Also refactored the AnimatorPanel with a pool of objects. 2024-02-13 00:48:22 -03:00
4f91fdfa66 Added a try-catch statement when building the ScreenCapture UI to not do so if there was a problem retrieving the necessary class and method. 2024-02-12 00:50:22 -03:00