Freelancer Community Network
 
Topics 769
Posts 3447
Views 493400
Replies 2678
Members 1844
Last 20 Forum Messages

Links Cleanup
Last post by Lancer_Solurus in Chat Room on 01/13/2012 12:35 am
Where has everyone dissapeared to?
Last post by Hawk in Chat Room on 10/30/2011 04:33 pm
Old SSM Mod Freelancer Player
Last post by MajorWayMilky in Chat Room on 10/27/2011 11:58 pm
Weather system and more
Last post by Lancer_Solurus in Chat Room on 05/29/2011 05:26 pm
Watson - Jeopardy Challenge
Last post by Brockenstein in Chat Room on 02/20/2011 09:31 pm
Custom MP Maps
Last post by Lancer_Solurus in Stalker Shodow Of Chernobyl on 01/14/2011 02:22 am
Help wanted
Last post by Lancer_Solurus in Chat Room on 01/08/2011 10:29 pm
newbie
Last post by Lancer_Solurus in SSM Archives on 12/07/2010 10:44 pm
Galaxy Empire III Pics
Last post by Lancer_Solurus in SSM Archives on 11/24/2010 04:22 pm
FL Coders Forum Access Request
Last post by Louva-Deus in SSM Archives on 11/14/2010 05:59 pm
A Question on Servers
Last post by Lancer_Solurus in FL Archives on 11/07/2010 01:37 pm
RIP Benoit Mandelbrot
Last post by Lancer_Solurus in Chat Room on 10/17/2010 11:57 pm
GIF animation into a starsphere ?
Last post by cata123 in FL Archives on 10/13/2010 10:24 am
Bon Jovi - It's My Life
Last post by maryaGrasya in Music Videos on 10/01/2010 04:41 am
Help with sur
Last post by cata123 in FL Archives on 09/27/2010 03:44 pm
same ships
Last post by Lancer_Solurus in FL Archives on 09/26/2010 04:14 pm
System Prices
Last post by Hawk in SSM Archives on 09/03/2010 02:15 pm
Character Delete
Last post by Lancer_Solurus in SSM Archives on 08/31/2010 07:31 pm
Our Story
Last post by Hawk in SSM Archives on 08/30/2010 09:53 pm
Kusari battleship server crash
Last post by cata123 in FL Archives on 08/22/2010 05:30 am
Forums Search
Profile Inbox
 
 
HomeHome  
    Home
Forum  
Your Stuff  
Solurus Systems  
News  
    Latest News
    News By Category
Associate Sites  
    Brox
    Frag Force
    Galaxy Empire
    Shadows Of Lyat
    Sol Command
    Space Sim Central
    Warped Edge
Other  
    Stories Archive
FL Community  
    Adoxa
    EOA
    FL Archive
    FL Community
    FL List Server
    FL Server Stats
    Lancers Reactor
    Starport
    Swat Portal
FL MOD Sites  
    88 Flak
    Asylum 51
    Blaster Universe
    BSG Galactica
    Colours Elite
    Crossfire
    DFLS
    Discovery
    Eagle Utopia
    Evil Empire
    FL Berlin 200x
    Freeworlds
    Galactica
    Hamburg City
    Ioncross
    Monkey Universe
    New Universe
    Nightport
    Privateer
    RRJDS Guild
    Solurus Systems
    Sypher's Place
    Top Freelancers
    Underverse
    Void
    WTS
    X.L.R
 

Good morning 
Anonymous


Register
Lost Password
Username
Password

 Online:   
Member(s):

Guest(s):
01. Guest
02. Guest
03. Guest
04. Guest
05. Guest
06. Guest
07. Guest
08. Guest
09. Guest
10. Guest
11. Guest
12. Guest

Forums Forums:   
 Posts: 3,447
 Topics: 769

 


 
Digital Brilliance


Digital Brilliance :: View topic - Freelancer Sur File Format
Main Index Search Faqs Profile Private Messages Groups Members List Ranks Staff Statistics Rules
 •  Log in to check your private messages  • 
 •  Log in  • 


Search for at
Digital Brilliance Advanced Search


 
Recent Topics   Next 12 >>  
 Forum   Author   Replies   Last Post 
System Prices SSM Archives Lancer_Solurus 24 Fri Sep 03, 2010 6:15 pm
Hawk View latest post
Freelancer UTF Commands FL Archives Lancer_Solurus 0 Mon Jul 26, 2010 8:03 am
Lancer_Solurus View latest post
Sol Command's Models Chat Room Lancer_Solurus 5 Sat Jan 16, 2010 8:00 pm
Brockenstein View latest post
********** Warning : 2.1 Billion Credit Limit ********** SSM Archives Lancer_Solurus 0 Tue Sep 08, 2009 8:23 am
Lancer_Solurus View latest post
Solurus Systems Player Statistics SSM Archives Lancer_Solurus 6 Tue Apr 13, 2010 4:17 pm
Brockenstein View latest post
Always Update the MOD SSM Archives Lancer_Solurus 5 Sun Jan 24, 2010 7:30 pm
Brockenstein View latest post
Download Solurus Systems SSM Archives Lancer_Solurus 30 Sat Jan 23, 2010 2:54 am
Lancer_Solurus View latest post
The Other Hole and Team Speak Stuff SSM Archives YellowEagle 0 Sat Dec 26, 2009 10:16 am
YellowEagle View latest post
Forum Registration Rules - Read Before Registering Chat Room Lancer_Solurus 1 Tue Sep 08, 2009 8:01 am
Lancer_Solurus View latest post
Links Cleanup Chat Room Lancer_Solurus 0 Fri Jan 13, 2012 5:35 am
Lancer_Solurus View latest post
Where has everyone dissapeared to? Chat Room Hawk 2 Sun Oct 30, 2011 8:33 pm
Hawk View latest post
Old SSM Mod Freelancer Player Chat Room ShayleStylez 2 Fri Oct 28, 2011 3:58 am
MajorWayMilky View latest post


Freelancer Sur File Format

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.   printer-friendly view    Digital Brilliance Forum Index -> FL Archives
View previous topic :: View next topic  
Author Message
Lancer_Solurus
Site Owner



Joined: Jan 18, 2008
Posts: 1191
Location: Memphis TN

Status: Offline
PostPosted: Tue Feb 16, 2010 5:35 pm Post subject: Freelancer Sur File Format Reply with quote

SUR File Format
Compiled By Lancer Solurus with Adoxa's help
All values in HEX unless otherwise noted (Size in decimal)
*****************************************
Size(d) Type Comment

** Header
4 string 'vers' - Version
4 float 2.0

** Section header
4 ULONG CRC
4 ULONG Surface Type Count (!fxd, exts, surf & hpid)
4 string '!fxd' - Part header
4 string 'exts' - Tag
12 XYZ Box minimum
12 XYZ Box maximum

** Surface tag
4 string 'surf' - Surface
** Surface header 0x00000034
4 ULONG Surface offset, bytes to next HPID or section (this addr + offset)
** Surface base pointer 0x00000038
12 XYZ Center
12 XYZ Inertial damping
4 float Radius for visibility (set this large enough to surround entire object to keep it from 'popping', 1.5*radius is good)
1 byte Scaler 0 - 250
3 byte Duplicate of surface offset above
4 ULONG Bits section offset (surface header start addr + offset)
4 ULONG 0 unused
4 ULONG 0 unused
4 ULONG 0 unused

** Face list header (size = 16*face lists)
4 ULONG Vertex list offset (this addr + offset)
4 ULONG Cmpnd/HP CRC or bits offset if 'last face group flag' is set
1 byte Type 4-normal face, 5-face linkage (final face list entry)
3 byte Referenced vertex count, unused by FL, simply set to 0
4 ULONG Face count

** Face list (size = 16*Face count)
12 bits Face number nn xn xx xx (4 bytes) max 16,384 faces
12 bits Opposite face xx nx nn xx
1 byte Flag xx xx xx nn
2 WORD Vertex index 1 nn nn xx xx
15 bits Opposite offset xx xx nn nn (bits 0-14)
1 bit Last Face Group Flag xx xx xx nx (bit 15) (only set if more than 1 face group)
2 WORD Vertex index 2
15 bits Opposite offset
1 bit Last Face Group Flag
2 WORD Vertex index 3
15 bits Opposite offset
1 bit Last Face Group Flag

** Vertex list (size = 16*Vertex count)
12 XYZ Vertex position
4 ULONG Cmpnd/HP CRC

** Bits section (as in 24 bit bitmap)
4 ULONG Sibling offset {Bits base addr + offset)
4 ULONG Triangle offset (this bits base addr - face base offset (0-fbo)) (if sibling offset is not 0, this is 0)
12 XYZ Center
4 float Radius
4 ULONG Scaler 0 - 250 (XX YY ZZ xx) - xx is always 00 since it's unused

** HpID section - hardpoint IDs
4 ULONG Count
4 ULONG Hardpoint CRC list (size = 4*Count)
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:
This forum is locked: you cannot post, reply to, or edit topics.  This topic is locked: you cannot edit posts or make replies.   printer-friendly view Digital Brilliance Forum Index ->  FL Archives Time synchronized with your computer time
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum




Powered By: phpBB © 2001 - 2006 phpBB Group
Centrium-Shellz Theme Designed By: Shellz/The Mortal
Copyright © 2006 RealmDesignz
Forums ©
footer-section

Spambot Killer
Site Map

[News Feed] [Forums Feed] [Downloads Feed] [Web Links Feed] [Validate robots.txt]

Digital Brilliance

PHP-Nuke Copyright © 2006 by Francisco Burzi.
All logos, trademarks and posts in this site are property of their respective owners, all the rest © 2006 by the site owner.
Powered by Nuke-Evolution.

[ Page Generation: 0.37 Seconds | Memory Usage: 5.86 MB | DB Queries: 59 ]

.