XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Thu Sep 21, 2017 4:07 am

All times are UTC + 1 hour


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 14 posts ] 
Author Message
 Post subject: Blood Bowl II - cef models
PostPosted: Sat Sep 26, 2015 11:33 am 
Offline
ultra-veteran
ultra-veteran
User avatar

Joined: Mon Sep 26, 2011 12:51 pm
Posts: 351
Has thanked: 13 times
Have thanks: 119 times














You can make the ads go away by registering

Just installed blood bowl II, not a super game, though it has some awesome models :)

Once you installed it, you can extract the package files (.cpk) files easy, using my extraction tool, found here : http://forum.xentax.com/viewtopic.php?f=21&t=13359&hilit=blood+bowl+II

the static 3D models have the cef extension and here is a max script to import them

be aware, this is just early testing so it will not work for all the models, only thing it support atm is vertices and indices, no uv mapping yet

also I enlarged the model for max purposes, else all models look very tiny

here is the script ( for now)

Code:
ClearListener()

fn SkipBytes stream nBytesToSkip =
(
    fseek stream nBytesToSkip #seek_cur
)

fn ReadStringZeroEnded stream =
(
   
    local b = ReadByte stream
   local s = bit.IntAsChar(b)
    local str = s
   while (b != 0x0 ) do
   (
        b = ReadByte stream
       s = bit.IntAsChar(b)
      if ( b !=0x0) then str+=s
   )
   return str
)

file = @"D:\Games\Blood Bowl 2\Extracted\ExtractedModels\ball_0.cef"

bin = fOpen file "rb"

fseek bin 95 #seek_set

modelName = ReadStringZeroEnded bin

SkipBytes bin 120

position = ReadStringZeroEnded bin

SkipBytes bin 35

nVertSize = ReadLong bin

SkipBytes bin 10

nVertexSets  = ReadLong bin

nVertices = nVertSize / 16

verts =#()
for v = 1 to nVertices do
(
    x = readFloat bin
    y = readFloat bin
    z = readFloat bin
    scaling = 30
    append verts [x * scaling,y * scaling,z * scaling]
   
    SkipBytes bin 4
)

ftell bin

SkipBytes bin 24 -- PAK
SkipBytes bin 44 -- NORMAL
SkipBytes bin 44 -- TANGENT
SkipBytes bin 44 -- TEXCOORD

ftell bin

nTexSize = ReadLong bin

print nTexSize

SkipBytes bin 10

SkipBytes bin nTexSize --> TO DO
SkipBytes bin 28

ftell bin

indice = ReadStringZeroEnded bin
SkipBytes bin 37
nIndexSize = ReadLong bin

SkipBytes bin 10

nIndexSets  = ReadLong bin

nIndices = nIndexSize / 6

tris = #()
for t = 1 to nIndices do
(
    a = readShort bin
    b = readShort bin
    c = readShort bin
    append tris [ a + 1, b + 1, c + 1]
)   

theMesh = mesh name:modelName vertices:verts faces:tris

fClose bin


so here is my first result of the blood bowl ball:


Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.


_________________
My Game Dev Blog
My Starcraft II Mod files and scripts


Top
 Profile  
 
 Post subject: Re: Blood Bowl II - cef models
PostPosted: Sun Sep 27, 2015 3:53 pm 
Offline
beginner
User avatar

Joined: Wed Oct 26, 2011 12:05 pm
Posts: 22
Has thanked: 0 time
Have thanks: 1 time
Nice work.

So is this a new custom format of their own making? They are no longer using Gamebryo and NIF?


Top
 Profile  
 
 Post subject: Re: Blood Bowl II - cef models
PostPosted: Sun Sep 27, 2015 8:31 pm 
Offline
ultra-veteran
ultra-veteran
User avatar

Joined: Mon Sep 26, 2011 12:51 pm
Posts: 351
Has thanked: 13 times
Have thanks: 119 times
I don't know about the gamebryo, but it is not NIF

T.

_________________
My Game Dev Blog
My Starcraft II Mod files and scripts


Top
 Profile  
 
 Post subject: Re: Blood Bowl II - cef models
PostPosted: Sun Sep 27, 2015 9:08 pm 
Offline
beginner
User avatar

Joined: Wed Oct 26, 2011 12:05 pm
Posts: 22
Has thanked: 0 time
Have thanks: 1 time
It seems like they have indeed ditched Gamebryo for a new engine. I can't find any info on what it is though. I've never heard of the CEF format either. I wonder if it's all their own in-house creation.


Top
 Profile  
 
 Post subject: Re: Blood Bowl II - cef models
PostPosted: Mon Sep 28, 2015 9:59 pm 
Offline
ultra-veteran
ultra-veteran
User avatar

Joined: Mon Sep 26, 2011 12:51 pm
Posts: 351
Has thanked: 13 times
Have thanks: 119 times
I figured out some additional stuff, yet the models that contain multiple meshes and bones, ... keep on crashing on me... see very slow progress there

Better game than the first though

T.

_________________
My Game Dev Blog
My Starcraft II Mod files and scripts


Top
 Profile  
 
 Post subject: Re: Blood Bowl II - cef models
PostPosted: Tue Sep 29, 2015 12:01 pm 
Offline
mega-veteran
mega-veteran

Joined: Thu Dec 07, 2006 11:25 pm
Posts: 271
Has thanked: 5 times
Have thanks: 49 times
It is funny, because I recommend your thread to you:

http://forum.xentax.com/viewtopic.php?f=16&t=11056&hilit=Aarklash+Legacy


Top
 Profile  
 
 Post subject: Re: Blood Bowl II - cef models
PostPosted: Fri Oct 02, 2015 12:23 pm 
Offline
ultra-veteran
ultra-veteran
User avatar

Joined: Mon Sep 26, 2011 12:51 pm
Posts: 351
Has thanked: 13 times
Have thanks: 119 times
? I don't understand, btw, I never continued the aarklash stuff...

the i3 doc, doesn't work

T.

_________________
My Game Dev Blog
My Starcraft II Mod files and scripts


Top
 Profile  
 
 Post subject: Re: Blood Bowl II - cef models
PostPosted: Fri Oct 02, 2015 1:18 pm 
Offline
beginner
User avatar

Joined: Wed Oct 26, 2011 12:05 pm
Posts: 22
Has thanked: 0 time
Have thanks: 1 time
I assume he is suggesting it is the same engine (appears to be Cyanide's own in-house creation), therefore he was recommending the only thread which appears to have any info on the format, which was of course by you. How much similarity is there with what they did for Aarklash Legacy?


Top
 Profile  
 
 Post subject: Re: Blood Bowl II - cef models
PostPosted: Sat Oct 03, 2015 11:14 pm 
Offline
ultra-veteran
ultra-veteran
User avatar

Joined: Mon Sep 26, 2011 12:51 pm
Posts: 351
Has thanked: 13 times
Have thanks: 119 times
Quit some simalarities, cause I kinda based the initial idea on that, but it went sideways pretty quickly :p

T.

_________________
My Game Dev Blog
My Starcraft II Mod files and scripts


Top
 Profile  
 
 Post subject: Re: Blood Bowl II - cef models
PostPosted: Sat May 13, 2017 10:45 am 
Offline
ultra-n00b

Joined: Mon Feb 13, 2017 11:43 am
Posts: 4
Has thanked: 0 time
Have thanks: 0 time
TaylorMouse, do you have any progress?


Top
 Profile  
 
 Post subject: Re: Blood Bowl II - cef models
PostPosted: Sat May 13, 2017 11:24 am 
Offline
mega-veteran
mega-veteran

Joined: Thu Dec 07, 2006 11:25 pm
Posts: 271
Has thanked: 5 times
Have thanks: 49 times
Did you try the latest version of 3D Object Converter?

It supports the Cyanide Studio's game engine (Aarklash: Legacy; Blood Bowl 2; Confrontation; Dogs of War Online) .cef format.


Top
 Profile  
 
 Post subject: Re: Blood Bowl II - cef models
PostPosted: Mon May 15, 2017 10:35 am 
Offline
ultra-n00b

Joined: Mon Feb 13, 2017 11:43 am
Posts: 4
Has thanked: 0 time
Have thanks: 0 time
Karpati, 3D Object Converter don*t understend CPK files from Blood Bowl 2 :(


Top
 Profile  
 
 Post subject: Re: Blood Bowl II - cef models
PostPosted: Mon May 15, 2017 12:15 pm 
Offline
mega-veteran
mega-veteran

Joined: Thu Dec 07, 2006 11:25 pm
Posts: 271
Has thanked: 5 times
Have thanks: 49 times
xelanizul wrote:
Karpati, 3D Object Converter don*t understend CPK files from Blood Bowl 2 :(


It is normally, because it supports the .CEF format!


Top
 Profile  
 
 Post subject: Re: Blood Bowl II - cef models
PostPosted: Fri Jun 16, 2017 9:36 pm 
Offline
ultra-n00b

Joined: Mon Feb 13, 2017 11:43 am
Posts: 4
Has thanked: 0 time
Have thanks: 0 time
Karpati wrote:
xelanizul wrote:
Karpati, 3D Object Converter don*t understend CPK files from Blood Bowl 2 :(


It is normally, because it supports the .CEF format!


CEF files open, but its static pose of 3d model.... can anybody tell me how i can save NIF files in obj or oher formats for 3dmax or Zbrush?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: DGIorio, xe19891226 and 13 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group