:
Destination Time
:
Present Time
:
Last Time Departed

Recommended Posts

ok it has been years since I have touched code for GTA in general but this call for help is san andreas

I have the latest back to the future mod for sa off this website with the source code 20101105

I noticed that their are .s files in with the .cs scripts

I was wondering how do you go about opening the .s scripts, I know they are triggered by .cs I think

so what program could I use to open them... I want to give more cars time circuits etc etc

any help will be appreciated

Edited by peter

Share this post


Link to post
Share on other sites

Scripts with the file extension ".s" are just the same as those with ".cs".

The only difference is that they won't get executed automatically by CLEO. They are launched from within other scripts explicitly when needed.

You can rename them to .cs if you want to decompile them via SannyBuilder. However, I strongly recommend to edit the provided source code (.txt) instead. It's just easier to edit / add / understand stuff.

Note the CLEO tag / file header which defines what file extension the compiled script will have.

{$CLEO .s}
Also you might want to update your SannyBuilder installation. The later versions have a nice feature where the plain source code can be stored inside the compiled script file. So you can attempt to 'decompile' the script to get the source without actually decompiling the script. This is useful if the code is written in high level synthax (if then else end while end) instead of low level synthax (if jump_if_false) and to not loose comments etc. Edited by uokka
  • Like 1

Share this post


Link to post
Share on other sites

Click the "Run" menu in Sanny Builder and click "Decompile". Show all files and folders and open your .s file. When you compile, you will be left with a .scm file. Delete the original .s file and rename the .scm file to .s. ;)

  • Like 1

Share this post


Link to post
Share on other sites

[...]

When you compile, you will be left with a .scm file.

[...]

Only if not using

{$CLEO .s}

It defaults to ".scm".

Share this post


Link to post
Share on other sites

thanks guy, I liked the first release of the sa bttf mod with all the time machines but I have my own time machine to overwrite the bttf 2 time machine so I want all the latest cool looking stuff ( sparks, wormhole, cold etc) on all the time machines

hint hint I'll do a little show case on here of my time machine or you can watch it on GTArajgaming

anyways thanks again

p.s I do have the latest sanny but never thought of decompiling

Share this post


Link to post
Share on other sites

Yeah, I don't know why the creators of Sanny Builder have that feature cleverly hidden (if you don't know where to look). :P

Hey, peter, if you want, I can PM you and tell you how to keep the BTTF2 time machine and add another one without replacing.

Share this post


Link to post
Share on other sites

so the only things left to do now is get all the time machines working ( 1 - 3rr ) and get an SPM mode for my time machine and no its not....leave it a secret eh? this one is new..different and better ;)

Edited by peter

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...