Quantcast

Jump to content

» «
Photo

[V] V XSC Data Extractor

20 replies to this topic
XBLToothPik
  • XBLToothPik

    Player Hater

  • Members
  • Joined: 21 Nov 2012

#1

Posted 23 June 2014 - 02:09 AM Edited by XBLToothPik, 23 June 2014 - 02:12 AM.

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)

Spoiler

 

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.

  • Alexander Blade, Frank.s, PacketOVerload_x64Bit and 2 others like this

LordOfTheBongs
  • LordOfTheBongs

    Deceased

  • Members
  • Joined: 21 Sep 2013
  • None

#2

Posted 23 June 2014 - 04:09 PM Edited by LordOfTheBongs, 24 June 2014 - 01:08 AM.

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.

  • PacketOVerload_x64Bit and Mx3DevMafia like this

Silent
  • Silent

    Moderating Cookie Monster

  • Feroci
  • Joined: 01 Feb 2010
  • Poland
  • Most Helpful [GTA] 2013
    Most Helpful [Modding] 2013
    Most Talented [Modding] 2013
    Best Map 2013 "ViceCityStories PC Edition"
    Best Vehicle 2013 "III Aircraft"
    Most Helpful [Modding] 2012
    Modder of the Year 2012

#3

Posted 23 June 2014 - 04:40 PM

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?
  • Mx3DevMafia likes this

_CP_
  • _CP_

    Group: Vice City Stories team

  • Feroci
  • Joined: 27 Dec 2007
  • Poland
  • Best Map 2013 "ViceCityStories PC Edition"

#4

Posted 23 June 2014 - 06:11 PM

@up

Exactly.


NTAuthority
  • NTAuthority

    hell, no, tunnel, no

  • Feroci
  • Joined: 09 Sep 2008
  • European-Union
  • Most Knowledgeable [Technology] 2013
    Best Map 2013 "ViceCityStories PC Edition"
    Contribution Award [Modding]

#5

Posted 23 June 2014 - 07:30 PM

but... osc and dsc :O

  • PacketOVerload_x64Bit likes this

GooD-NTS
  • GooD-NTS

    OpenIV lead developer

  • Members
  • Joined: 03 May 2008
  • Russia
  • Best Tool 2012 [OpenIV]

#6

Posted 23 June 2014 - 07:57 PM

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.
  • PacketOVerload_x64Bit and Mx3DevMafia like this

Silent
  • Silent

    Moderating Cookie Monster

  • Feroci
  • Joined: 01 Feb 2010
  • Poland
  • Most Helpful [GTA] 2013
    Most Helpful [Modding] 2013
    Most Talented [Modding] 2013
    Best Map 2013 "ViceCityStories PC Edition"
    Best Vehicle 2013 "III Aircraft"
    Most Helpful [Modding] 2012
    Modder of the Year 2012

#7

Posted 23 June 2014 - 08:11 PM

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


Hopefully not :D

NTAuthority
  • NTAuthority

    hell, no, tunnel, no

  • Feroci
  • Joined: 09 Sep 2008
  • European-Union
  • Most Knowledgeable [Technology] 2013
    Best Map 2013 "ViceCityStories PC Edition"
    Contribution Award [Modding]

#8

Posted 23 June 2014 - 08:13 PM

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?).

XBLToothPik
  • XBLToothPik

    Player Hater

  • Members
  • Joined: 21 Nov 2012

#9

Posted 23 June 2014 - 11:18 PM Edited by XBLToothPik, 24 June 2014 - 01:09 AM.

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.

  • lpgunit, PacketOVerload_x64Bit, Andreas and 1 other like this

LordOfTheBongs
  • LordOfTheBongs

    Deceased

  • Members
  • Joined: 21 Sep 2013
  • None

#10

Posted 24 June 2014 - 01:10 AM Edited by LordOfTheBongs, 24 June 2014 - 01:13 AM.

 

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


GooD-NTS
  • GooD-NTS

    OpenIV lead developer

  • Members
  • Joined: 03 May 2008
  • Russia
  • Best Tool 2012 [OpenIV]

#11

Posted 24 June 2014 - 02:37 AM

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.
  • Alexander Blade, Frank.s, XBLToothPik and 1 other like this

keyflamer
  • keyflamer

    Player Hater

  • Members
  • Joined: 13 Jul 2012

#12

Posted 24 June 2014 - 06:45 PM

I want to make single player scripts so badly.


XeClutch
  • XeClutch

    Founder of Phantomware

  • Feroci
  • Joined: 30 Jan 2013
  • Israel

#13

Posted 29 July 2014 - 08:33 PM

I want to make single player scripts so badly.

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


sasuke78200
  • sasuke78200

    Time moves forward and nothing change

  • Feroci
  • Joined: 07 Nov 2010
  • None

#14

Posted 01 September 2014 - 05:09 PM

Does it works with CSC ?


XeClutch
  • XeClutch

    Founder of Phantomware

  • Feroci
  • Joined: 30 Jan 2013
  • Israel

#15

Posted 01 September 2014 - 11:57 PM

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.


XBLToothPik
  • XBLToothPik

    Player Hater

  • Members
  • Joined: 21 Nov 2012

#16

Posted 02 September 2014 - 09:20 AM

Does it works with CSC ?

 

Yea, it works for both.  


sasuke78200
  • sasuke78200

    Time moves forward and nothing change

  • Feroci
  • Joined: 07 Nov 2010
  • None

#17

Posted 02 September 2014 - 10:03 AM Edited by sasuke78200, 02 September 2014 - 10:04 AM.

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.


XeClutch
  • XeClutch

    Founder of Phantomware

  • Feroci
  • Joined: 30 Jan 2013
  • Israel

#18

Posted 02 September 2014 - 10:05 AM

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.


sasuke78200
  • sasuke78200

    Time moves forward and nothing change

  • Feroci
  • Joined: 07 Nov 2010
  • None

#19

Posted 02 September 2014 - 10:11 AM

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


unknown modder
  • unknown modder

    Player Hater

  • Members
  • Joined: 04 Jul 2012

#20

Posted 02 September 2014 - 02:53 PM

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


sasuke78200
  • sasuke78200

    Time moves forward and nothing change

  • Feroci
  • Joined: 07 Nov 2010
  • None

#21

Posted 02 September 2014 - 05:42 PM

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

It seems that it's an endian problem.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users