IMG

 
IMG
IMG   IMG
  Welcome to GTAForums! Be sure to check out the Grand Theft Auto V Forum.

You are not registered! (If you are, click here to login) Registering is fast, free and easy and allows you to instantly reply to any topic on GTAForums.
Why wait? Click here to register your own unique username and become part of the ever-growing community!


( Log In | Register | Revalidate Validation E-mail )
Quick Log-In:
  IMG
       
>
Forum Rules GTA Modification Forums

This section is for obtaining help on creating and releasing tools

GTAGarage.com
free mod hosting from GTANet, simply login with your GTAForums account details

GTAModding.com
GTANet's modding wiki

GTA Modding Chatroom
provided by irc.gtanet.com (Don't have an IRC client? Click here)


Pages: (5) 1 2 [3] 4 5   ( Go to first unread post ) Reply to this topicStart new topicStart Poll

 [IV/EFLC|REL] SCO ToolBox

 Decode, encode and edit SCO files.
 
Tufu  
Posted: Tuesday, Jul 12 2011, 20:33
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Dec 16, 2010

XXXXX



Why isn't this program released as open source if you're directly using code from SparkIV, which is GPL?

This post has been edited by Tufu on Tuesday, Jul 12 2011, 20:38
PM
  Top
 

 
flitskikker  
Posted: Tuesday, Jul 12 2011, 22:38
Quote Post


The Forums Frog
Group Icon
Group: Members
Joined: Nov 25, 2006

nl.gif

Member Award




QUOTE (Tufu @ Tuesday, Jul 12 2011, 20:33)
Why isn't this program released as open source if you're directly using code from SparkIV, which is GPL?

Only the AES key finding (if it was up to me I would just have hardcoded the key, but that's appearantly illegal) and AES decrypting code were "taken from" SparkIV, but undergone the necessary changes to make it compatible with this tool's requirements. This is mentioned in the about dialog.
The compiling/decompiling part are completely written by myself.
Users WebsitePMMSNXbox LivePlayStation Network
  Top
 

 
Tufu  
Posted: Wednesday, Jul 13 2011, 06:25
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Dec 16, 2010

XXXXX



QUOTE (flitskikker @ Tuesday, Jul 12 2011, 22:38)
QUOTE (Tufu @ Tuesday, Jul 12 2011, 20:33)
Why isn't this program released as open source if you're directly using code from SparkIV, which is GPL?

Only the AES key finding (if it was up to me I would just have hardcoded the key, but that's appearantly illegal) and AES decrypting code were "taken from" SparkIV, but undergone the necessary changes to make it compatible with this tool's requirements. This is mentioned in the about dialog.
The compiling/decompiling part are completely written by myself.

Oh I see. Do you know how to use the try and catch opcodes, and if you do - do you know how they behave? I have not been able to find any of their usage, an example may help and do you think they'll be able to catch native call related errors? My assumption is they will

Also, I noticed that Push is used in a hex manner, is there any way to override this to decimal? It can be frustrating because WAIT takes a milliseconds argument (large int) which is usually decimal.

This post has been edited by Tufu on Wednesday, Jul 13 2011, 08:59
PM
  Top
 

 
fastman92  
Posted: Wednesday, Jul 13 2011, 10:11
Quote Post


фастман92 | ف
Group Icon
Group: Members
Joined: Jul 28, 2009

pl.gif

XXXXX



There shouldn`t be push and call native function, but parameters should be included as function parameters, in line of calling. It should be compiled to pushes back. I`ve been scripting SCM a lot and know its simple hex structure, but never scripted SCO in GTA IV.
But "SCO ToolBox is designed for decoding, encoding and low level editing of SCO files."

This post has been edited by fastman92 on Wednesday, Jul 13 2011, 10:17
Users WebsitePMMSN
  Top
 

 
flitskikker  
Posted: Wednesday, Jul 13 2011, 12:04
Quote Post


The Forums Frog
Group Icon
Group: Members
Joined: Nov 25, 2006

nl.gif

Member Award




QUOTE (Tufu @ Wednesday, Jul 13 2011, 06:25)
QUOTE (flitskikker @ Tuesday, Jul 12 2011, 22:38)
QUOTE (Tufu @ Tuesday, Jul 12 2011, 20:33)
Why isn't this program released as open source if you're directly using code from SparkIV, which is GPL?

Only the AES key finding (if it was up to me I would just have hardcoded the key, but that's appearantly illegal) and AES decrypting code were "taken from" SparkIV, but undergone the necessary changes to make it compatible with this tool's requirements. This is mentioned in the about dialog.
The compiling/decompiling part are completely written by myself.

Oh I see. Do you know how to use the try and catch opcodes, and if you do - do you know how they behave? I have not been able to find any of their usage, an example may help and do you think they'll be able to catch native call related errors? My assumption is they will

Also, I noticed that Push is used in a hex manner, is there any way to override this to decimal? It can be frustrating because WAIT takes a milliseconds argument (large int) which is usually decimal.

I don't know about the try-catch, unfortunately.
I will look into making Push as a decimal, for now you could use PushS (up to 65536) or PushF for float values; for example:
CODE
PushS 1000
CallNative WAIT 1 0


QUOTE
There shouldn`t be push and call native function, but parameters should be included as function parameters, in line of calling. It should be compiled to pushes back. I`ve been scripting SCM a lot and know its simple hex structure, but never scripted SCO in GTA IV.
But "SCO ToolBox is designed for decoding, encoding and low level editing of SCO files."

I classify that as High Level editing. It would not be that hard to compile high level code; decompiling SCO's to high level seems a lot harder to realise.
Users WebsitePMMSNXbox LivePlayStation Network
  Top
 

 
Tufu  
Posted: Friday, Jul 15 2011, 10:44
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Dec 16, 2010

XXXXX



Did you build this based on the specification listed on GTA IV Modding Wiki? I may have uncovered an error. According to SparkIV source, StrCat, StrCatI and IntToStr are all 2 bytes each, OpenIV and SparkIV will represent them normally with "16" appended to it.

This post has been edited by Tufu on Friday, Jul 15 2011, 10:46
PM
  Top
 

 
flitskikker  
Posted: Friday, Jul 15 2011, 13:16
Quote Post


The Forums Frog
Group Icon
Group: Members
Joined: Nov 25, 2006

nl.gif

Member Award




QUOTE (Tufu @ Friday, Jul 15 2011, 10:44)
Did you build this based on the specification listed on GTA IV Modding Wiki? I may have uncovered an error. According to SparkIV source, StrCat, StrCatI and IntToStr are all 2 bytes each, OpenIV and SparkIV will represent them normally with "16" appended to it.

Yes, I based it on that.
However, it decompiles and compiles the huge main.sco without binary differences (except float values), so I don't know if it's an error.
Users WebsitePMMSNXbox LivePlayStation Network
  Top
 

 
Performer  
Posted: Friday, Jul 22 2011, 09:28
Quote Post


I'm rich, bitch!
Group Icon
Group: Members
Joined: May 15, 2010

gr.gif

XXXXX



Its very bad. Open IV has more "high level Opcodes" as SCO Tool Box. But you cant compile it.

So with OpenIV you see more code, and with sco tool box you see less code but you can compile.... sigh.gif
Users WebsitePMICQ
  Top
 

 
mandel99  
Posted: Friday, Jul 29 2011, 20:13
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Jul 8, 2008

cz.gif

XXXXX



Hi, i open the roman1.sco in advanced mode and game version 1.0.7.0, do not modify anything, save as SCO file (encoded), replace over OpenIV and game Crash when game loading....
PM
  Top
 

 
flitskikker  
Posted: Sunday, Nov 27 2011, 13:31
Quote Post


The Forums Frog
Group Icon
Group: Members
Joined: Nov 25, 2006

nl.gif

Member Award




Since SCOCL is released, I've made the current version (1.2.7) available with the source code.

Hope you like it and find it useful. smile.gif
Users WebsitePMMSNXbox LivePlayStation Network
  Top
 

 
LostDerp  
Posted: Tuesday, Nov 29 2011, 12:27
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Nov 27, 2011

XXXXX



QUOTE (flitskikker @ Sunday, Nov 27 2011, 13:31)
Since SCOCL is released, I've made the current version (1.2.7) available with the source code.

Hope you like it and find it useful. smile.gif

Thank you biggrin.gif. Yey you fixed the bug where it would corrupt scripts.

This post has been edited by LostDerp on Tuesday, Nov 29 2011, 13:13
PM
  Top
 

 
twisted89  
Posted: Monday, Dec 5 2011, 23:39
Quote Post


Player Hater
Group Icon
Group: Members
Joined: May 16, 2008

XXXXX



Any chance you could modify this to work with the xbox sco's?
PM
  Top
 

 
flitskikker  
Posted: Tuesday, Dec 6 2011, 00:41
Quote Post


The Forums Frog
Group Icon
Group: Members
Joined: Nov 25, 2006

nl.gif

Member Award




QUOTE
Thank you . Yey you fixed the bug where it would corrupt scripts.

Which bug would that have been?

QUOTE (twisted89 @ Tuesday, Dec 6 2011, 00:39)
Any chance you could modify this to work with the xbox sco's?

I've never looked into XBOX SCO files, so I'm afraid I can't help you with that.
Users WebsitePMMSNXbox LivePlayStation Network
  Top
 

 
twisted89  
Posted: Tuesday, Dec 6 2011, 13:12
Quote Post


Player Hater
Group Icon
Group: Members
Joined: May 16, 2008

XXXXX



PM
  Top
 

 
dionisLTU  
Posted: Sunday, Jan 1 2012, 00:40
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Aug 26, 2011

XXXXX



Ow yeah i made ranked coop match "Hangman's Noose" better. Now just go and select level and get MAX 32000 $(MINIMUM IS 29000$) in one match . I Will try with others too. IF YOU WANT YOUR MODDED MONEY, YOU MUST BE HOSTER, or it WILL NOT work I wanted to make more money like 500 000 but Compiler gets error. It says that it's too much or something...

This post has been edited by dionisLTU on Sunday, Jan 1 2012, 04:20
PM
  Top
 

 
dionisLTU  
Posted: Sunday, Jan 1 2012, 13:31
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Aug 26, 2011

XXXXX



I'm trying to make more money, but i got this
user posted image

Help please sad.gif
PM
  Top
 

 
terreur69  
Posted: Sunday, Jan 1 2012, 13:58
Quote Post


C2C - Down The Road
Group Icon
Group: Members
Joined: Dec 27, 2010

fr.gif

XXXXX



use the version 1.2.7 , but the scol complier is available >http://www.gtaforums.com/index.php?showtopic=492143
Users WebsitePMMSN
  Top
 

 
dionisLTU  
Posted: Sunday, Jan 1 2012, 14:42
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Aug 26, 2011

XXXXX



Same error... how to use that compiler scocl ?

This post has been edited by dionisLTU on Sunday, Jan 1 2012, 14:59
PM
  Top
 

 
terreur69  
Posted: Sunday, Jan 1 2012, 16:19
Quote Post


C2C - Down The Road
Group Icon
Group: Members
Joined: Dec 27, 2010

fr.gif

XXXXX



QUOTE (dionisLTU @ Sunday, Jan 1 2012, 16:42)
Same error... how to use that compiler scocl ?

read the scol.chm
Users WebsitePMMSN
  Top
 

 
dionisLTU  
Posted: Sunday, Jan 1 2012, 16:25
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Aug 26, 2011

XXXXX



QUOTE (terreur69 @ Sunday, Jan 1 2012, 16:19)
QUOTE (dionisLTU @ Sunday, Jan 1 2012, 16:42)
Same error... how to use that compiler scocl ?

read the scol.chm

I still don't get it confused.gif


Please don't suggest hacks that abuse the MP leaderboards.

This post has been edited by Girish on Saturday, May 19 2012, 17:14
PM
  Top
 

 

0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)

0 Members:

Pages: (5) 1 2 [3] 4 5 

Topic Options Reply to this topicStart new topicStart Poll
Search topic for posted by (exact match)



 
IMG IMG