Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. The Criminal Enterprises
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Movies & TV
      5. Music
      6. Sports
      7. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Announcements

    2. Support

    3. Suggestions

*DO NOT* SHARE MEDIA OR LINKS TO LEAKED COPYRIGHTED MATERIAL. Discussion is allowed.

[V] V XSC Data Extractor


XBLToothPik
 Share

Recommended Posts

XBLToothPik

Wrote this tool long ago for GTAV XSC (scripts), released it but didn't get much attention, so I'm releasing here.

V XSC Data Extractor

The Program (it's not beautiful. but it works)

 

6150270c9eee3dffc7edc8babc7ee010.png

cf254bdc40e0b739d867ba04feef3b02.png

b568e7ae5c21b3708e167184b9d3f173.png

 

Download Links

MediaFire (Source/C#)

MediaFire (.EXE)

Virus Scans

Virus Total (Source)

Virus Total (.EXE)

Q&A

Q: Can this decompile/edit scripts
A: No it cannot.

Q: What's the point of this program?

A: To better help people understand the XSC format for later usage.

Edited by XBLToothPik
  • Like 5
Link to comment
Share on other sites

LordOfTheBongs

What's an XSC script for starters lol?

 

If that is the new name for SCO then cool, but I think more explanation and detail is needed... unless of course nothing more needs be said and I'm just ignorant but I suggest explaining your app, etc if u want it to get attention.

Edited by LordOfTheBongs
  • Like 2
Link to comment
Share on other sites

First letter being X indicates they're probably platform-specific now. PC build will probably have them as WSC and PS3 build has them as CSC?

  • Like 1
Link to comment
Share on other sites

@up

Exactly.

HHnErXC.png


Link to comment
Share on other sites

NTAuthority

but... osc and dsc :O

  • Like 1

SsZgxdL.png

Inactive in GTA/R* title modification indefinitely pursuant to a court order obtained by TTWO. Good job acting against modding!

Link to comment
Share on other sites

but... osc and dsc :O

OSC - Orbis (PS4)

DSC - Durango (XBOX ONE)

 

 

First letter being X indicates they're probably platform-specific now. PC build will probably have them as WSC and PS3 build has them as CSC?

Not sure about "W", maybe we will have only "Y" - Windows x64, YSC for scripts.
  • Like 2
Link to comment
Share on other sites

Not sure about "W", maybe we will have only "Y"

Hopefully not :D

Link to comment
Share on other sites

NTAuthority

 

Not sure about "W", maybe we will have only "Y"

Hopefully not :D

 

I doubt there'll even be easy ways to handle 64-bit pointers in game resources from a 32-bit game executable except for replacing all pointers with some weird class (unless that's exactly what happens in V pgStreamable pointer relocation?).

SsZgxdL.png

Inactive in GTA/R* title modification indefinitely pursuant to a court order obtained by TTWO. Good job acting against modding!

Link to comment
Share on other sites

XBLToothPik

What's an XSC script for starters lol?

 

If that is the new name for SCO then cool, but I think more explanation and detail is needed... unless of course nothing more needs be said and I'm just ignorant but I suggest explaining your app, etc if u want it to get attention.

 

I don't really know how to explain it without writing an entire book on it.

 

EDIT: Look at Alexander Blade's post, explains them a bit better. But in short, XSC is V's SCO.

 

Which, the 'X' in XSC is dependent upon the platform the script was made for:

CSC - Cell

XSC - Xenon

WSC - Windows/PC

OSC - Orbis

DSC - Durango

 

Of course, those last 3 are unconfirmed, but are most likely what they are going to be seeing as they have a few natives relating to those platforms.

Edited by XBLToothPik
Link to comment
Share on other sites

LordOfTheBongs

 

What's an XSC script for starters lol?

 

If that is the new name for SCO then cool, but I think more explanation and detail is needed... unless of course nothing more needs be said and I'm just ignorant but I suggest explaining your app, etc if u want it to get attention.

 

I don't really know how to explain it without writing an entire book on it.

 

EDIT: Look at Alexander Blade's post, explains them a bit better. But in short, XSC is V's SCO.

 

 

that is all i wanted to know... i just wanted the short version ;)

 

exaggerating on the book thing a lil much lol

Edited by LordOfTheBongs
Link to comment
Share on other sites

I don't really know how to explain it without writing an entire book on it.

 

EDIT: Look at Alexander Blade's post, explains them a bit better. But in short, XSC is V's SCO.

The main difference between SCO and #SC is:

SCO is simple binary file and #SC is RAGE resource like models, collisions etc.

 

 

Which, the 'X' in XSC is dependent upon the platform the script was made for:

CSC - Cell

XSC - Xenon

WSC - Windows/PC

OSC - Orbis

DSC - Durango

 

Of course, those last 3 are unconfirmed, but are most likely what they are going to be seeing as they have a few natives relating to those platforms.

If you look carefully into V's code you will see all except "W" platform, instead here will be "Y" platform which I guess Windows/PC x64.

 

 

 

 

Not sure about "W", maybe we will have only "Y"

Hopefully not :D

 

I doubt there'll even be easy ways to handle 64-bit pointers in game resources from a 32-bit game executable except for replacing all pointers with some weird class (unless that's exactly what happens in V pgStreamable pointer relocation?).

 

They already uses 64-bit pointers in PSO resources, such as .#TYP, .#MAP etc.
  • Like 4
Link to comment
Share on other sites

  • 1 month later...

I want to make single player scripts so badly.

Going to have to make a compiler or wait til one is released.

Link to comment
Share on other sites

  • 1 month later...

Does it works with CSC ?

 

I haven't taken a look at the source for this in a very long time, it should work though.

Link to comment
Share on other sites

Hum actually I tried to open some CSC and it doesn't works, do R* changed RSC7 format ?

 

It seems that the code offset is invalid, the values are bigger than the file size.

Edited by sasuke78200
Link to comment
Share on other sites

Hum actually I tried to open some CSC and it doesn't works, do R* changed RSC7 format ?

 

It seems that the code offset is invalid, the values are bigger than the file size.

 

He released his version of XSCToolbox on 7S and it works with CSC.

Link to comment
Share on other sites

There is something weird, actually it says me invalid Header Magic, which is a valid one.

Link to comment
Share on other sites

unknown modder

There is something weird, actually it says me invalid Header Magic, which is a valid one.

What program did you use to extract the script out of the rpf? LibertyV/open IV handle resource exporting differently

Link to comment
Share on other sites

Well it was Open IV's fault, thank you.

It seems that it's an endian problem.

Link to comment
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
 Share

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.