Page 1 of 1

Dekaron online

Posted: Mon Aug 22, 2011 3:29 am
by finale00
homepage: http://dekaron.gamehi.com/

Image

Unpackers and blender imports are already available for this game.

blender:
http://www.elitepvpers.com/forum/dekaro ... ost3957938

Never tried it. I only got it for reference.

unpacker:
http://www.elitepvpers.com/forum/dekaro ... acker.html

Re: Dekaron online

Posted: Mon Aug 22, 2011 11:25 am
by CriticalError
well yes is a old, this format is .mesh and can be imported into Blender 2.49 with this script, enjoy it and thanks a lot to Peter S. Stevens is author of it.

Re: Dekaron online

Posted: Mon Aug 22, 2011 3:36 pm
by finale00
I briefly skimmed it but it seems to skip a lot of stuff. Guess he only figured out that much?

EDIT: not a complaint, but it looks like it doesn't cover any of the weapons I'm working with, so most likely it is for a specific set of meshes, but it is good for reference cause I would've had no idea how to parse those face indices lol

They've got pretty nice weapons (but they won't load unless you change the script).

Particularly line 134:

Code: Select all

dekaron_mesh_file_mesh_index_count = struct.unpack('<IIIII', dekaron_mesh_file.read(20))
Not only does that not make sense to me since it returns a tuple and it's comparing that to 0 afterwards, but it doesn't work for weapons.

There are only two ints, not 5. I can understand why people in the thread I posted were complaining about why it didn't work.

Re: Dekaron online

Posted: Wed Aug 24, 2011 10:46 am
by CriticalError
well yes maybe you right, beacause I don't see any custom in this game never :S

Re: Dekaron online

Posted: Sat Oct 25, 2014 8:52 am
by Szkaradek123
Hi
Here is a blender importer for skeleton ,skin, animation and texture.
It works only with Blender version 249 and Python version 2.6.

Re: Dekaron online

Posted: Sat Oct 25, 2014 4:53 pm
by deltaone
2 Szkaradek123
Have any chance to get Noesis python plugin for viewing meshes ?

thx ...

Re: Dekaron online

Posted: Sat Nov 01, 2014 8:51 am
by deltaone
Here noesis plugin for .mesh viewing ...

But have some issues, if anyone know how to fix it - post here ;)
1. Need press Face Cull (F4) on some models (samples here http://rghost.net/58822731)
in import script material defined with mat.ZTRANS=True, how to do same in Noesis ?

Code: Select all

if mat.ZTRANS==True:
			blendMat.mode |= Blender.Material.Modes.ZTRANSP
			blendMat.mode |= Blender.Material.Modes.TRANSPSHADOW 
			blendMat.alpha = 0.0 
2. Artifacts on some models (samples here http://rghost.net/58822731)
i have no idea ;( In blender all ok, in noesis not, indices dump is similar ;(
Image
Image

UPDATE 2014-11-04
not open .mesh files with another ID BYTES - fixed, thx 2 shakotay2
UPDATE 2014-11-01
.tpack parser fixed ...

Re: Dekaron online

Posted: Mon Nov 03, 2014 4:22 am
by shakotay2
deltaone wrote: 2. Not open .mesh files with another ID BYTES (Second format ?)
i have no idea, samples here http://rghost.net/58830148
very simple:
IDBYTES = {'mesh': b'\x03\x03\x06\x20'}
size = 72
3. Artifacts on some models (samples here http://rghost.net/58822731)
i have no idea ;( In blender all ok, in noesis not, indices dump is similar ;(
well, the 2 additional faces prob for the bat is harder to solve...

Seems that in Noesis there are two additional faces (which one of them disappears on face cull, F4).
f 69 70 71
f 72 71 70
bat_01_faces_comp.JPG
You'll need some expert for triangle strip algos to solve this.