Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    1. Red Dead Redemption 2

      1. PC
      2. Gameplay
      3. Missions
      4. Help & Support
    2. Red Dead Online

      1. Gameplay
      2. Find Lobbies & Outlaws
      3. Help & Support
      4. Frontier Pursuits
    1. Crews & Posses

      1. Recruitment
    2. Events

    1. GTA Online

      1. Diamond Casino & Resort
      2. DLC
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Grand Theft Auto Series

    3. GTA 6

    4. GTA V

      1. PC
      2. Guides & Strategies
      3. Help & Support
    5. GTA IV

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA Mods
    6. GTA Chinatown Wars

    7. GTA Vice City Stories

    8. GTA Liberty City Stories

    9. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    10. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    11. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    12. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    13. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

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

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption

    2. Rockstar Games

    1. Off-Topic

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

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

    2. Forum Support

    3. Site Suggestions

XBLToothPik

[V] V XSC Data Extractor

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

Share this post


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

Share this post


Link to post
Share on other sites
Silent

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?

Share this post


Link to post
Share on other sites
_CP_

@up

Exactly.

Share this post


Link to post
Share on other sites
NTAuthority

but... osc and dsc :O

Share this post


Link to post
Share on other sites
GooD-NTS

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.

Share this post


Link to post
Share on other sites
Silent

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

Hopefully not :D

Share this post


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

Share this post


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

Share this post


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

Share this post


Link to post
Share on other sites
GooD-NTS

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.

Share this post


Link to post
Share on other sites
keyflamer

I want to make single player scripts so badly.

Share this post


Link to post
Share on other sites
XeClutch

I want to make single player scripts so badly.

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

Share this post


Link to post
Share on other sites
sasuke78200

Does it works with CSC ?

Share this post


Link to post
Share on other sites
XeClutch

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.

Share this post


Link to post
Share on other sites
XBLToothPik

Does it works with CSC ?

 

Yea, it works for both.

Share this post


Link to post
Share on other sites
sasuke78200

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

Share this post


Link to post
Share on other sites
XeClutch

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.

Share this post


Link to post
Share on other sites
sasuke78200

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

Share this post


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

Share this post


Link to post
Share on other sites
sasuke78200

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

It seems that it's an endian problem.

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.


  • 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.