X-Hax / sa_tools

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

SA1 Dreamcast facial animations #165

Closed TeridaxXD001 closed 3 years ago

TeridaxXD001 commented 3 years ago

Are these rippable? The cutscene head models extract just fine from 1st_read.bin, but I can't find any associated animations.

PiKeyAr commented 3 years ago

They are rippable but they aren't included in the Dreamcast version's split data yet, so you'll have to find them yourself. SA1 talking heads should be compatible with SADX animations though, and there's a high possibility they're identical. The SADX animations are in the new split, which you can use to rip them from the PC version of the game.

TeridaxXD001 commented 3 years ago

It doesn't work. SAMDL crashes when I specifically apply the PC facial animation to the Dreamcast cutscene head model.

Program: SAMDL Build Date: 03/05/2021 06:06:41 OS Version: Microsoft Windows NT 10.0.19041.0 Log: SAMDL: New log entry on 4/14/2021 12:24:12 AM

System.IndexOutOfRangeException: Index was outside the bounds of the array. at SonicRetro.SAModel.BasicAttach.ProcessShapeMotionVertexData(NJS_MOTION motion, Int32 frame, Int32 animindex) in D:\Programs\sa_tools\SAModel\BasicAttach.cs:line 626 at SonicRetro.SAModel.NJS_OBJECT.ProcessShapeMotionVertexData(NJS_MOTION motion, Int32 frame, Int32& animindex) in D:\Programs\sa_tools\SAModel\NJS_OBJECT.cs:line 375 at SonicRetro.SAModel.NJS_OBJECT.ProcessShapeMotionVertexData(NJS_MOTION motion, Int32 frame, Int32& animindex) in D:\Programs\sa_tools\SAModel\NJS_OBJECT.cs:line 378 at SonicRetro.SAModel.NJS_OBJECT.ProcessShapeMotionVertexData(NJS_MOTION motion, Int32 frame) in D:\Programs\sa_tools\SAModel\NJS_OBJECT.cs:line 367 at SonicRetro.SAModel.SAMDL.MainForm.DrawEntireModel() in D:\Programs\sa_tools\SAMDL\MainForm.cs:line 1222 at SonicRetro.SAModel.SAMDL.MainForm.LoadAnimation(String[] filenames) in D:\Programs\sa_tools\SAMDL\MainForm.cs:line 2574 at SonicRetro.SAModel.SAMDL.MainForm.loadAnimationToolStripMenuItem_Click(Object sender, EventArgs e) in D:\Programs\sa_tools\SAMDL\MainForm.cs:line 2424 at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e) at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e) at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met) at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met) at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea) at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ScrollableControl.WndProc(Message& m) at System.Windows.Forms.ToolStrip.WndProc(Message& m) at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

MainMemory commented 3 years ago

Uh, yeah, they completely redid the faces for everyone between the Dreamcast and GameCube releases. There's no way it would work. Sorry, but until someone finds the data for it, you're out of luck.

TeridaxXD001 commented 3 years ago

Of course not. The sad thing is that all I really want out of this endeavor is a pre-posed model of Sonic's head with a specific facial expression. I tried using Ninja Ripper on the PC version with the Dreamcast mod, but it rips everything in their default pose rather than what's actually on the screen.

PiKeyAr commented 3 years ago

I forgot that the Dreamcast Characters mod replaced facial motions so I assumed they were similar enough to just work. Anyway, they shouldn't be too hard to find, and I'll add them to SA1DC split that sometime soon.

TeridaxXD001 commented 3 years ago

I actually figured out the Ninja Ripper thing (duh, shaders). But yes, that would be great, thanks.

PiKeyAr commented 3 years ago

The SA1 split now includes facial animations for Sonic, Tails, Knuckles, Amy, Big and Tikal. Their paths and filenames are the same as with their DX counterparts.