Add custom head, live character shader control, and live stage control. (#88)

* Bug fix, improved UI layout and live vocals

* Bug Fixes, New Live Compatibility

* Android build support

* Update build.yml

* Update build.yml

* Update build.yml

* Update build.yml

* Update build.yml

* Update build.yml

* Fix issues with the new version of the game

* bug fix

* add config button

* Improve performance

* Sync fork

* bug fix, new uma compatibility

* Add /UserSettings to gitignore

* bug fix, add live characher shader control

* fix compilation errors

* fix compilation errors 2

* fix the live lighting calculation logic

* bug fix, add editor layout settings to gitignore

* bug fix, add editor layout settings to gitignore

* Add time scale keys for live

* live camera bug fix

* add live stage control, optimize live performance

* fix build error

* add uma head custom
This commit is contained in:
CroakFang
2025-07-11 23:23:57 +08:00
committed by GitHub
parent a42ea93ffd
commit 204752d7d6
45 changed files with 2140 additions and 1339 deletions
@@ -0,0 +1,57 @@
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using static Gallop.Live.Cutt.LiveTimelineDefine;
namespace Gallop.Live.Cutt
{
public struct BgColor1UpdateInfo
{
// Fields
public int TimelineNameHash; // 0x10
public int[] TargetCharaIdArray; // 0x18
public int[] TargetDressIdArray; // 0x20
public Color color; // 0x28
public float colorPower; // 0x38
public float scale; // 0x3c
public float Saturation; // 0x40
public int flags; // 0x44
public Color toonDarkColor; // 0x48
public Color toonBrightColor; // 0x58
public float vertexColorToonPower; // 0x68
public float outlineWidthPower; // 0x6c
public Color outlineColor; // 0x70
public OutlineColorBlend outlineColorBlend; // 0x80
public LightBlendMode LightBlendMode; // 0x84
public bool IsSilhouette; // 0x88
public bool IsProjector; // 0x89
public ColorType CurrentColorType; // 0x8c
public Color CurrentColor; // 0x90
public int CurrentFlags; // 0xa0
public ColorType NextColorType; // 0xa4
public Color NextColor; // 0xa8
public int NextFlags; // 0xb8
public float InterpolateRatio; // 0xbc
public bool IsSyncBlinkLight; // 0xc0
public bool IsSyncBlinkLightNext; // 0xc1
public bool IsAdjustedBlinkLightColor; // 0xc2
public int BlinkLightNameHash; // 0xc4
public int BlinkLightContainerIndex; // 0xc8
public float BlinkLightBrightnessPower; // 0xcc
}
public delegate void BgColor1UpdateInfoDelegate(ref BgColor1UpdateInfo updateInfo);
public struct BgColor2UpdateInfo
{
// Fields
public int TimelineNameHash; // 0x10
public Color color1; // 0x14
public Color color2; // 0x24
public float value; // 0x34
public int rndValueIdx; // 0x38
}
public delegate void BgColor2UpdateInfoDelegate(ref BgColor2UpdateInfo updateInfo);
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 2fd7f5ece3508c74eb2a0f0c003367ab
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,37 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Gallop.Live.Cutt
{
public struct FacialDataUpdateInfo // TypeDefIndex: 29410
{
// Fields
public LiveTimelineKeyFacialFaceData facePrev; // 0x0
public LiveTimelineKeyFacialFaceData faceCur; // 0x0
public LiveTimelineKeyFacialFaceData faceNext; // 0x8
public LiveTimelineKeyFacialMouthData mouthPrev; // 0x10
public LiveTimelineKeyFacialMouthData mouthCur; // 0x10
public LiveTimelineKeyFacialMouthData mouthNext; // 0x10
public LiveTimelineKeyFacialEyeData eyePrev; // 0x18
public LiveTimelineKeyFacialEyeData eyeCur; // 0x18
public LiveTimelineKeyFacialEyeData eyeNext; // 0x20
public LiveTimelineKeyFacialEyebrowData eyebrowPrev; // 0x28
public LiveTimelineKeyFacialEyebrowData eyebrowCur; // 0x28
public LiveTimelineKeyFacialEyebrowData eyebrowNext; // 0x28
public LiveTimelineKeyFacialEyeTrackData eyeTrackPrev; // 0x30
public LiveTimelineKeyFacialEyeTrackData eyeTrackCur; // 0x30
public LiveTimelineKeyFacialEyeTrackData eyeTrackNext; // 0x30
public LiveTimelineKeyFacialEarData earPrev; // 0x38
public LiveTimelineKeyFacialEarData earCur; // 0x38
public LiveTimelineKeyFacialEarData earNext; // 0x38
public LiveTimelineKeyFacialEffectData effect; // 0x40
public int faceKeyIndex; // 0x48
public int mouthKeyIndex; // 0x4C
public int eyeKeyIndex; // 0x50
public int eyebrowKeyIndex; // 0x54
public int eyeTrackKeyIndex; // 0x58
public int earKeyIndex; // 0x5C
public int effectKeyIndex; // 0x60
}
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 4cc8fc1d38ab89c46973d235c8a6e42c
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,30 @@
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Gallop.Live.Cutt
{
public struct GlobalLightUpdateInfo
{
// Fields
public Quaternion lightRotation; // 0x10
public float globalRimShadowRate; // 0x20
public Color rimColor; // 0x24
public float rimStep; // 0x34
public float rimFeather; // 0x38
public float rimSpecRate; // 0x3c
public LiveCharaPositionFlag flags; // 0x40
public float RimHorizonOffset; // 0x44
public float RimVerticalOffset; // 0x48
public float RimHorizonOffset2; // 0x4c
public float RimVerticalOffset2; // 0x50
public Color rimColor2; // 0x54
public float rimStep2; // 0x64
public float rimFeather2; // 0x68
public float rimSpecRate2; // 0x6c
public float globalRimShadowRate2; // 0x70
}
public delegate void GlobalLightUpdateInfoDelegate(ref GlobalLightUpdateInfo updateInfo);
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: a7b4156d6854f014dacbd5accca6ca40
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,30 @@
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using static Gallop.Live.Cutt.LiveTimelineDefine;
namespace Gallop.Live.Cutt
{
public struct TransformBaseData
{
public Vector3 position;
public Quaternion rotation;
public Vector3 scale;
}
public struct ObjectUpdateInfo
{
public LiveTimelineObjectData data;
public TransformBaseData updateData;
public bool renderEnable;
public AttachType AttachTarget;
public int CharacterPosition;
public int MultiCameraIndex;
public OffsetType OffsetType;
public LayerType LayerType;
public bool IsLayerTypeRecursively;
}
public delegate void ObjectUpdateInfoDelegate(ref ObjectUpdateInfo updateInfo);
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 236ab682e89d7904ea32d67bdac14a31
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,16 @@
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using static Gallop.Live.Cutt.LiveTimelineDefine;
namespace Gallop.Live.Cutt
{
public struct TransformUpdateInfo
{
public LiveTimelineTransformData data;
public TransformBaseData updateData;
}
public delegate void TransformUpdateInfoDelegate(ref TransformUpdateInfo updateInfo);
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: b66324f884c18d1488c452817ef4ed06
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: