Welcome Guest!

Did you know you that by registering, you can gain access to new special powers? You’ll be able to reply to Topics, create your own Topics, talk in our Chatbox, message members, manage your profile, access extra content and much more! Best of all, this message & ads will vanish!

Sign in to follow this  
Followers 0
Cyrem

SRF FIle

17 posts in this topic


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>

Share this post


Link to post
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>

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

SRF Builder is complete and can be used a strip and build new SRF files.

Download Here

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

Try this: http://rrubucket.s3.amazonaws.com/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.

1 person likes this

Share this post


Link to post
Share on other sites

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

Wait, what new skin?

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
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...

1 person likes this

Share this post


Link to post
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)

Share this post


Link to post
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...

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

Share this post


Link to post
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.

Share this post


Link to post
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

Share this post


Link to post
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.

Share this post


Link to post
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

Share this post


Link to post
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

Neither have I, until Jamesster said that.

fwqh75.png

But it's there, no question about it.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0