Furcadia Technical Resources
Navigation Menu
 Home
 About
 Files
 Links
 Contacts
 Credits

Documentations
 base95 Numbers
 Commands
 Server Instructions
 Colormap
 Movement/Coordination
 Palette
 Entities
 Badge Hash-signs
 Portrait File Map
 Avatar Frames
 Static Dreams

File Formats
 FSH
 FS2
 FBJ
 MAP
 DSB
 RCH

Protocol Specifications
 Main Server
 File Server

Other Resources
 IceRealm Forums
 Furcadian.net

Subsections


General Description

FBJ files are addon files to the FSH and the FS2 format which, basicly, store the attributes of each shape (walkable, sittable, getable) along with the furre position on that particular shape. Unlike the FS2 files, FBJ format doesn't support encryption (although it is perfectly capable of doing so) - FBJ files are never encoded.


Header Format - 8 bytes

The header of an FBJ file is apparently built from 4 identification bytes and two 16-bit numbers:

Offset Size (B) Type Description
0x004char[4]File format/version: FO01
0x042ushort Image quantity (Note: 2A 01 == 012A)
0x062? Unknown (reserved?)

Header Example


Image (Shape) Preferences Format - 1-3 bytes

Past the header we've got all our shapes that belong to a specific FSH/FS2 file starting from shape 0 and going onwards. The amount of bytes we've got for each shape varies from 1 byte to 3. Basicly, with every coordinate (X/Y) that's non-zero we've got an additional byte. The arrangement (when all 3 bytes are used) looks like this:

Offset Size (B) Type Description
+0x001ubyte Attributes and further bytes
+0x011sbyte X or Y (only with 1 byte) coordinate
+0x021sbyte Y coordinate

Shape Properties Example

As you can see from the sample image, you'd find it a lot easier if you would handle the first FBJ shape byte bit-wise - instead of looking at it as a number, look at what bits it has set/unset to determine what's going on.

Copyright © 2004-2006 by IceDragon - All rights reserved.