Jump to content

Wo Long: Fallen Dynasty


DevJack

Recommended Posts

  • 2 weeks later...
On 3/30/2024 at 7:15 AM, foulveins said:

assumedly it would still work with cethleann given its a koei tecmo engine game, and then the resulting .g1m files would be viewable using this noesis plugin

i don't own the game on pc to double check this but those should be good jumping off points should either or not work

 

Thanks. I'll give it a try

Link to comment
Share on other sites

Seems it crashes at the beginning (need to add more dbg lines):

InitLocal
Get console cmd
CreateContext
Prepare buffers
Get offsets to relevant sections

chunk 0
chunk 1
G1MS
chunk 2
G1MM
chunk 3
G1MG

crash    <<<<<<<<<<<<<<<<

Merge or not
Start skel merging
Add physics bones
Parse all NUN chunks
...

----------------------

edit: very strange, it's logs more now:

InitLocal
Get console cmd
CreateContext
Prepare buffers
Get offsets to relevant sections
chunk 0, 18
chunk 1, 148
G1MS
chunk 2, 4068
G1MM
chunk 3, 7db8
G1MG
chunk 4, 43df9c
chunk 5, 43df9c
chunk 6, 43df9c
chunk 7, 43df9c
chunk 8, 43df9c
Split between int/ext skels
Get ptrs to skels
Merge or not
Start skel merging
Add physics bones
Parse all NUN chunks
NUNV
NUNS
SOFT
Build merged skel
Ext skels
NUNO chunks
NUNV chunks
NUNS chunks
Skel names
Anims
Get geometry

crash   <<<<<<<<<<<<<<<<<<<<

It's missing the last two actions:

Get matrices
Process geometry data
 

btw. 0x43df9c is past the filesize. Dunno, whether that's an issue?

(and to be clear: it's a great project from Joschuka, which usually works fine.)

 

edit: reduced the geometry loop by one which works for this sample:

 

test_skel.png

Edited by shak-otay
Link to comment
Share on other sites

17 hours ago, shak-otay said:

Seems it crashes at the beginning (need to add more dbg lines):

InitLocal
Get console cmd
CreateContext
Prepare buffers
Get offsets to relevant sections

chunk 0
chunk 1
G1MS
chunk 2
G1MM
chunk 3
G1MG

crash    <<<<<<<<<<<<<<<<

Merge or not
Start skel merging
Add physics bones
Parse all NUN chunks
...

----------------------

edit: very strange, it's logs more now:

InitLocal
Get console cmd
CreateContext
Prepare buffers
Get offsets to relevant sections
chunk 0, 18
chunk 1, 148
G1MS
chunk 2, 4068
G1MM
chunk 3, 7db8
G1MG
chunk 4, 43df9c
chunk 5, 43df9c
chunk 6, 43df9c
chunk 7, 43df9c
chunk 8, 43df9c
Split between int/ext skels
Get ptrs to skels
Merge or not
Start skel merging
Add physics bones
Parse all NUN chunks
NUNV
NUNS
SOFT
Build merged skel
Ext skels
NUNO chunks
NUNV chunks
NUNS chunks
Skel names
Anims
Get geometry

crash   <<<<<<<<<<<<<<<<<<<<

It's missing the last two actions:

Get matrices
Process geometry data
 

btw. 0x43df9c is past the filesize. Dunno, whether that's an issue?

(and to be clear: it's a great project from Joschuka, which usually works fine.)

 

edit: reduced the geometry loop by one which works for this sample:

 

test_skel.png

After I updated the g1m plugin for noesis, the problemg1m.zipproblemg1m.zipwas partially solved, but there were still some g1mfiles that wouldn't open and caused noesis to crash,Attached is the faulty G1M file

Link to comment
Share on other sites

Chunk  count is way too big:

g1mHeader, chunkCount: 1208525663

edit: seems 2c9a8372.g1m is not a valid g1m file; no decent header, just a block of random bytes; maybe compressed, whatever

Edited by shak-otay
Link to comment
Share on other sites

On 4/5/2024 at 1:13 AM, shak-otay said:

Chunk  count is way too big:

g1mHeader, chunkCount: 1208525663

edit: seems 2c9a8372.g1m is not a valid g1m file; no decent header, just a block of random bytes; maybe compressed, whatever

Ok, maybe need the g1m plugin or a newer version of noesis

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...