Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PC : Fix Criware : some wrong sound played, multiple sound in same sequence not working (like multi diva song start voices) #278

Merged
merged 1 commit into from
Sep 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions Unity/Assets/Scenes/SampleScene.unity
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ RenderSettings:
m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 170076734}
m_IndirectSpecularColor: {r: 0.44657844, g: 0.49641222, b: 0.57481694, a: 1}
m_IndirectSpecularColor: {r: 0.44658792, g: 0.49642283, b: 0.5748252, a: 1}
m_UseRadianceAmbientProbe: 0
--- !u!157 &3
LightmapSettings:
Expand Down Expand Up @@ -128,7 +128,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
m_IsActive: 0
--- !u!108 &170076734
Light:
m_ObjectHideFlags: 0
Expand Down Expand Up @@ -320,10 +320,10 @@ MonoBehaviour:
mat: {fileID: 2100000, guid: 802c0ef15d7b0556aa74b3a71129ec00, type: 2}
pb: {fileID: 0}
criManaCtrl: {fileID: 0}
testAudio: 0
testAudio: 1
testDirectVLC: 0
testCriMovie: 0
audioPath: /home/xele/.config/unity3d/UtaMacross/UtaMacross/data/android/snd/bgm/cs_w_0001.acb
audioPath: /home/xele/Projects/UtaMacrossOffline/Data/android/snd/cs_diva_004_solo.acb
moviePath: /home/xele/Projects/UtaMacrossOffline/Data/android/mov/gm/dv/game_dv_0119_mv_q2!s64ede4a6z!.usm
--- !u!82 &534669910
AudioSource:
Expand Down Expand Up @@ -440,7 +440,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
m_IsActive: 0
--- !u!114 &729165523
MonoBehaviour:
m_ObjectHideFlags: 0
Expand Down Expand Up @@ -558,7 +558,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
m_IsActive: 0
--- !u!65 &1144381161
BoxCollider:
m_ObjectHideFlags: 0
Expand Down Expand Up @@ -673,7 +673,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
m_IsActive: 0
--- !u!114 &1326787262
MonoBehaviour:
m_ObjectHideFlags: 0
Expand Down
4 changes: 3 additions & 1 deletion Unity/Assets/Scripts/CriFileTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,9 @@ void Awake()
}

string str = file.GetTableAsString(0, true);
UnityEngine.Debug.Log(str);
//UnityEngine.Debug.Log(str);
File.WriteAllText(audioPath+".txt", str);
return;
//inputStream = file.GetCueFileStream("bgm_002", out isStreamed);
//string path = Application.streamingAssetsPath+"/snd/bgm/_vgmt_acb_ext_cs_bgm_002/awb/00000_bgm_002.hca";
//using (var inputFileStream = File.Open(path, FileMode.Open, FileAccess.Read)) {
Expand Down
Loading