Jump to content

SRF FIle


Cyrem
 Share

Recommended Posts


SRF FILE INFORMATION


This file has been solved!

This file cannot be viewed with a text editor and seems to reference file names.

HEADER:

2 Bytes = No. of Strings the file contains.

2 Bytes = No. of characters of all the strings

INDEX BLOCK (For each string)

2 Bytes = Offset of the string after the Index block.

STRING START

"00"

STRING

<character> = A single character

"00"

STRING END

"0000" = Separates two strings

</character>
Link to comment
Share on other sites

I've had some good success with this file since yesterday. I now understand the file fully and have made a mini program to strip out all the strings from this file (see attached).

I will add the ability to build an SRF file tomorrow and polish it off.

<file removed, now in downloads section>

Link to comment
Share on other sites

Seems I got it wrong, it was probably because I was up at 12pm doing this. the SRF file is not for game strings, upon further looking the words inside match filenames.Testing also revealed that by changing it the game crashed, which wouldn't really happen if it was a string file.

Never the less, I finished the application to edit this file and it works. I will post tomorrow. So besides me thinking it was for game strings, everything is still correct.

Link to comment
Share on other sites

  • 1 year later...

Uh, Cyrem. I see that you have taken down the downloads section, but you forgot to change this link. I can't download the program because it can't be found.

So, what exactly does this do? I'm reading that it references file names. So does that mean that we could mod one of these and use different assets in a race?

Link to comment
Share on other sites

Try this: https://ore.rockraidersunited.org/legacy/SRF%20Builder_17395.zip

I don't know if normal members can see the link, but you can access the new uploader from the RRU dropdown tab at the top of the page (under Members and Speed Runs). You might only be able to see it on the new skin, too.

Link to comment
Share on other sites

Fluffy Cupcake

You might only be able to see it on the new skin, too.

Wait, what new skin?

I'm wondering the same thing. I've heard of talk of it, but it isn't out to my knowledge.
Link to comment
Share on other sites

JrMasterModelBuilder

I'm not exactly a normal member but I can confirm that I can see the File Upload page using the default (and only AFAIK) skin although I don't see any way to browse uploaded files.

Link to comment
Share on other sites

You don't see "View all uploaded files here." on the upload page? Weird. Try this then: http://www.rockraide.../uploadfilelist

Cyrem also confirmed that normal members can't use the new skin yet. There are still a few issues but it's almost finished and it looks really nice. You know, sometimes I don't realize that I has access to certain things that others don't and it makes me feel like an out-of-touch politician...

Link to comment
Share on other sites

I would like to point out that your documentation, while close, is incorrect.

I'm on my phone so I won't make a massive post, I'll document it when I get back to my computer.

EDIT:


u16 string_count;	// number of strings in the file

u16 char_count;	 // number of chars, presumably for the sake of buffer allocation

u16 string_offsets[string_count];	// offset to each string, IN CHARS NOT BYTES

u16 strings[char_count];	  // each character is represented by a u16, and is null-terminated (0x0000 since it's u16)

Link to comment
Share on other sites

JrMasterModelBuilder

You don't see "View all uploaded files here." on the upload page? Weird. Try this then: http://www.rockraide.../uploadfilelist

Cyrem also confirmed that normal members can't use the new skin yet. There are still a few issues but it's almost finished and it looks really nice. You know, sometimes I don't realize that I has access to certain things that others don't and it makes me feel like an out-of-touch politician...

Ah, I'm just blind. I see that link on the upload page now.

Link to comment
Share on other sites

  • 3 months later...

SRF Builder seems to give me broken .SRF files.

I don't think I'm doing anything wrong.

I strip the original .SRF and edit the text file it creates.

I then build the new .SRF from the text file and put it in the game's folders.

The game then shows the wrong strings for some things.

Link to comment
Share on other sites

SRF Builder seems to give me broken .SRF files.

I don't think I'm doing anything wrong.

I strip the original .SRF and edit the text file it creates.

I then build the new .SRF from the text file and put it in the game's folders.

The game then shows the wrong strings for some things.

Maybe it's becuase of the flawed source which origamiguy pointed out ealier?

Anyway, I was pulling out text from the Demo, and lookie at what I found. Located under "MENUDATAENGLISHCIRCUIT.SRF"

CIRCUIT#1

CIRCUIT#2

CIRCUIT#3

CIRCUIT#4

ROYAL KNIGHTS RACEWAY

IMPERIAL GRAND PRIX

DESERT ADVENTURE DRAGWAY

MAGMA MOON MARATHON

DARK FOREST DASH

TRIBAL ISLAND TRAIL

AMAZON ADVENTURE ALLEY

ICE PLANET PATHWAY

KNIGHTMARE-ATHON

PIRATE SKULL PASS

ADVENTURE TEMPLE TRAIL

ALIEN RALLY ASTEROID

ROYAL KNIGHTS RACEWAY

IMPERIAL GRAND PRIX

DESERT ADVENTURE DRAGWAY

MAGMA MOON MARATHON

DARK FOREST DASH

TRIBAL ISLAND TRAIL

AMAZON ADVENTURE ALLEY

ICE PLANET PATHWAY

KNIGHTMARE-ATHON

PIRATE SKULL PASS

ADVENTURE TEMPLE TRAIL

ALIEN RALLY ASTEROID

ROCKET RACER RUN

ROCKET RACER RUN

It's the list of all the track names, in order of gameplay, including the mirror tracks. But take a look at the last two lines. Rocket Racer Run is listed, twice. There is no mirror version of that, except via cheat code. Then why is it listed like that?

Major Edit:

Under "GAMEDATACOMMONENGLISHGAME.SRF", again from the demo:

ROYAL KNIGHTS RACEWAY

IMPERIAL GRAND PRIX

DESERT ADVENTURE DRAGWAY

MAGMA MOON MARATHON

DARK FOREST DASH

TRIBAL ISLAND TRAIL

AMAZON ADVENTURE ALLEY

ICE PLANET PATHWAY

KNIGHTMARE-ATHON

PIRATE SKULL PASS

ADVENTURE TEMPLE TRAIL

ALIEN RALLY ASTEROID

ROCKET CITY RUN

TEST TRACK

CONTINUE

RESTART RACE

RESTART CIRCUIT

EXIT

YES

NO

GAME PAUSED

YOU DID NOT BEAT VERONICA

VOLTAGE. RACE AGAIN?

YOU HAVE BEATEN VERONICA

VOLTAGE! RACE AGAIN?

ST

ND

RD

TH

TH

TH

TH

TH

-

>

<

WRONG WAY

BEST

TOTAL

LAP

FINISH

GO

FINISHED

STILL RACING

ARE YOU SURE?

CIRCUIT

DEMO

"Rocket City Run". Make your own guess.

Edited by le717
Link to comment
Share on other sites

lol username

Old news, it's called "Rocket City Run" on the load screen for some reason. Probably just a screw-up or beta name that got changed or something.

Link to comment
Share on other sites

Old news, it's called "Rocket City Run" on the load screen for some reason. Probably just a screw-up or beta name that got changed or something.

I never noticed that. :o
Link to comment
Share on other sites

On 7/28/2012 at 4:28 PM, mumboking said:
On 7/28/2012 at 3:50 PM, jamesster said:

Old news, it's called "Rocket City Run" on the load screen for some reason. Probably just a screw-up or beta name that got changed or something.

I never noticed that. :o

Neither have I, until Jamesster said that.

Spoiler

fwqh75.pngkey08b2ac6c3557032e65be23267fe

But it's there, no question about it.

Link to comment
Share on other sites

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.