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

Soldier Front "sff" file format?

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Post Reply
User avatar
Rusty_le_Cyborg
advanced
Posts: 48
Joined: Mon Jan 10, 2005 6:12 pm

Soldier Front "sff" file format?

Post by Rusty_le_Cyborg »

The contents of this post was deleted because of possible forum rules violation.
Image
User avatar
baccello
beginner
Posts: 29
Joined: Wed Sep 22, 2004 6:44 pm
Contact:

Post by baccello »

Code: Select all

Format Specifications

uint32 {4}   - Number Of Files

// FILES DIRECTORY
    // for each file
        char {128}   - Path Filename (included null and filled with 0xCC char)
        uint32 {4}   - File Offset (start from end of File Directory)
        uint32 {4}   - File Length

// FILE DATA
    // for each file
        byte {X}     - File Data



I will write a BMS script for you :)
I'm italian and speak little english :(
User avatar
baccello
beginner
Posts: 29
Joined: Wed Sep 22, 2004 6:44 pm
Contact:

Post by baccello »

BMS script

Code: Select all

ImpType Standard ;
Get NOF Long 0 ;
Set SHIFT Long 136 ;
Math SHIFT *= NOF ;
Math SHIFT += 4 ;
For I = 1 to NOF ;
SavePos T 0 ;
Get PN String 0 ;
Math T += 128 ;
Goto T 0 ;
SavePos OFO 0 ;
Get FO Long 0 ;
Math FO += SHIFT ;
SavePos OFL 0 ;
Get FL Long 0 ;
Log PN FO FL OFO OFL ;
NEXT I ;
Bye :P
I'm italian and speak little english :(
User avatar
Rusty_le_Cyborg
advanced
Posts: 48
Joined: Mon Jan 10, 2005 6:12 pm

Post by Rusty_le_Cyborg »

Thanks very much!!

You are a star!!

:D
Image
User avatar
baccello
beginner
Posts: 29
Joined: Wed Sep 22, 2004 6:44 pm
Contact:

Post by baccello »

You're welcome! :wink:
I'm italian and speak little english :(
Post Reply