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

14 Commits

Author SHA1 Message Date
cc34a50e21 Revert "Add controller support (#76)"
This reverts commit b785f76ba3.
2024-07-18 08:57:22 -03:00
b785f76ba3 Add controller support (#76)
Added controller support.
2024-06-30 15:51:58 -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
a5880a433f Updated project references to "CinematicUnityExploerer" for re-release. 2024-02-22 18:29:53 -03:00
89ee7747e5 Update UnityExplorer from another fork (#33)
Co-authored-by: yukieiji <yuki31gakki97@yahoo.co.jp>
Co-authored-by: 1A3 <mcplayer1a3@gmail.com>
2024-02-05 22:28:41 -03:00
4087982717 Added changes from fork to fix MelonLoader
From here:
https://github.com/GrahamKracker/UnityExplorer
2023-06-29 20:03:32 -03:00
1af20ead9f Add BepInEx Il2CppInterop build 2022-06-23 06:03:58 +10:00
3b851b6e08 Use 7zip instead of Compress-Archive 2022-05-13 17:11:25 +10:00
6e5610129a Add ILRepack back to build process 2022-04-27 20:13:17 +10:00
79157a2fab Add UnityEditorPackage 2022-04-12 02:52:09 +10:00
8a4d418ffb Finalize 4.7.0 release, cleanups 2022-04-12 02:36:12 +10:00
b56960dba2 Update readme, remove pause from build script 2022-04-12 01:34:43 +10:00
7665987794 Add powershell build script 2022-04-12 00:29:02 +10:00