Important information: this site is currently scheduled to go offline indefinitely by end of the year.

Blood Bowl II - cef models

Post questions about game models here, or help out others!
Post Reply
User avatar
TaylorMouse
ultra-veteran
ultra-veteran
Posts: 348
Joined: Mon Sep 26, 2011 12:51 pm
Has thanked: 11 times
Been thanked: 89 times

Blood Bowl II - cef models

Post by TaylorMouse »

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 : 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: Select all

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:
You do not have the required permissions to view the files attached to this post.
User avatar
Hairless Wookiee
beginner
Posts: 24
Joined: Wed Oct 26, 2011 12:05 pm
Been thanked: 1 time

Re: Blood Bowl II - cef models

Post by Hairless Wookiee »

Nice work.

So is this a new custom format of their own making? They are no longer using Gamebryo and NIF?
User avatar
TaylorMouse
ultra-veteran
ultra-veteran
Posts: 348
Joined: Mon Sep 26, 2011 12:51 pm
Has thanked: 11 times
Been thanked: 89 times

Re: Blood Bowl II - cef models

Post by TaylorMouse »

I don't know about the gamebryo, but it is not NIF

T.
User avatar
Hairless Wookiee
beginner
Posts: 24
Joined: Wed Oct 26, 2011 12:05 pm
Been thanked: 1 time

Re: Blood Bowl II - cef models

Post by Hairless Wookiee »

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.
User avatar
TaylorMouse
ultra-veteran
ultra-veteran
Posts: 348
Joined: Mon Sep 26, 2011 12:51 pm
Has thanked: 11 times
Been thanked: 89 times

Re: Blood Bowl II - cef models

Post by TaylorMouse »

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.
Karpati
ultra-veteran
ultra-veteran
Posts: 467
Joined: Thu Dec 07, 2006 11:25 pm
Has thanked: 9 times
Been thanked: 95 times

Re: Blood Bowl II - cef models

Post by Karpati »

It is funny, because I recommend your thread to you:

viewtopic.php?f=16&t=11056&hilit=Aarklash+Legacy
User avatar
TaylorMouse
ultra-veteran
ultra-veteran
Posts: 348
Joined: Mon Sep 26, 2011 12:51 pm
Has thanked: 11 times
Been thanked: 89 times

Re: Blood Bowl II - cef models

Post by TaylorMouse »

? I don't understand, btw, I never continued the aarklash stuff...

the i3 doc, doesn't work

T.
User avatar
Hairless Wookiee
beginner
Posts: 24
Joined: Wed Oct 26, 2011 12:05 pm
Been thanked: 1 time

Re: Blood Bowl II - cef models

Post by Hairless Wookiee »

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?
User avatar
TaylorMouse
ultra-veteran
ultra-veteran
Posts: 348
Joined: Mon Sep 26, 2011 12:51 pm
Has thanked: 11 times
Been thanked: 89 times

Re: Blood Bowl II - cef models

Post by TaylorMouse »

Quit some simalarities, cause I kinda based the initial idea on that, but it went sideways pretty quickly :p

T.
xelanizul
ultra-n00b
Posts: 4
Joined: Mon Feb 13, 2017 11:43 am

Re: Blood Bowl II - cef models

Post by xelanizul »

TaylorMouse, do you have any progress?
Karpati
ultra-veteran
ultra-veteran
Posts: 467
Joined: Thu Dec 07, 2006 11:25 pm
Has thanked: 9 times
Been thanked: 95 times

Re: Blood Bowl II - cef models

Post by Karpati »

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.
xelanizul
ultra-n00b
Posts: 4
Joined: Mon Feb 13, 2017 11:43 am

Re: Blood Bowl II - cef models

Post by xelanizul »

Karpati, 3D Object Converter don*t understend CPK files from Blood Bowl 2 :(
Karpati
ultra-veteran
ultra-veteran
Posts: 467
Joined: Thu Dec 07, 2006 11:25 pm
Has thanked: 9 times
Been thanked: 95 times

Re: Blood Bowl II - cef models

Post by Karpati »

xelanizul wrote:Karpati, 3D Object Converter don*t understend CPK files from Blood Bowl 2 :(
It is normally, because it supports the .CEF format!
xelanizul
ultra-n00b
Posts: 4
Joined: Mon Feb 13, 2017 11:43 am

Re: Blood Bowl II - cef models

Post by xelanizul »

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?
Post Reply