X-Hax / sa_tools

Sonic Adventure Toolset
http://info.sonicretro.org/SA_Tools
103 stars 24 forks source link

SA2: SplitEvent fails to split certain cutscenes #79

Closed End-User-Person closed 4 years ago

End-User-Person commented 4 years ago

Attempting to use SplitEvent with cutscene files that have a scene with no model entities (e0203 is an example) will cause the process to stop and display the following error message. This also happens with cutscenes that utilize GC models (e0003, e0014, e0028, etc.)

Unhandled Exception: System.ArgumentNullException: Value cannot be null.
Parameter name: key
   at System.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)
   at System.Collections.Generic.Dictionary`2.FindEntry(TKey key)
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at splitEvent.Program.Main(String[] args) in E:\Programs\sa_tools\splitEvent\Program.cs:line 134
MainMemory commented 4 years ago

I can't really fix the GC models until I know how they work.