Flitskikker Posted July 11, 2011 Author Share Posted July 11, 2011 W00t! my first ever script! simple, but i'm proud of myself from Taxi, to Banshee! [...] Nice! Appearantly encoding did it? Link to comment Share on other sites More sharing options...
sjaak327 Posted July 11, 2011 Share Posted July 11, 2011 Well I simply copied the natives from the dll I got from OinkOink. I guess you could use them both to resolve the name, the correct one should then be matched. Link to comment Share on other sites More sharing options...
nkjellman Posted July 11, 2011 Share Posted July 11, 2011 W00t! my first ever script! simple, but i'm proud of myself from Taxi, to Banshee! Now Roman did not tell a lie when he said he had a sports car. Link to comment Share on other sites More sharing options...
EncryptedReality Posted July 11, 2011 Share Posted July 11, 2011 Lol.... come to think of it , it's the same Banshee from the Brucies's mission cutscene "No.1" , only difference is it had a yellow stripe instead of gray. Link to comment Share on other sites More sharing options...
Kalvin Posted July 11, 2011 Share Posted July 11, 2011 W00t! my first ever script! simple, but i'm proud of myself from Taxi, to Banshee! [...] Nice! Appearantly encoding did it? Yup thanks for the help flitskikker! Shine o' Vice | Vice City BETA Edition | Grand Theft Auto 3D Link to comment Share on other sites More sharing options...
Flitskikker Posted July 11, 2011 Author Share Posted July 11, 2011 W00t! my first ever script! simple, but i'm proud of myself from Taxi, to Banshee! [...] Nice! Appearantly encoding did it? Yup thanks for the help flitskikker! Okay, no problem. I will explicitly mention to save it encoded to make it work in GTA in the ReadMe for the following version. Link to comment Share on other sites More sharing options...
ikt Posted July 11, 2011 Share Posted July 11, 2011 (edited) Sorry to be bugging you all, but, could anyone upload the sco file for this particular mission? It's the second of Yusufs missions. I need to get to know how the helicopters work Edited July 11, 2011 by ikt Link to comment Share on other sites More sharing options...
Flitskikker Posted July 12, 2011 Author Share Posted July 12, 2011 Sorry to be bugging you all, but, could anyone upload the sco file for this particular mission? It's the second of Yusufs missions. I need to get to know how the helicopters work You have them now Link to comment Share on other sites More sharing options...
nkjellman Posted July 12, 2011 Share Posted July 12, 2011 Does this work for EFLC? Link to comment Share on other sites More sharing options...
Flitskikker Posted July 12, 2011 Author Share Posted July 12, 2011 Does this work for EFLC? It can open and save its files, yes. Link to comment Share on other sites More sharing options...
Tufu Posted July 12, 2011 Share Posted July 12, 2011 (edited) Why isn't this program released as open source if you're directly using code from SparkIV, which is GPL? Edited July 12, 2011 by Tufu Link to comment Share on other sites More sharing options...
Flitskikker Posted July 12, 2011 Author Share Posted July 12, 2011 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. Link to comment Share on other sites More sharing options...
Tufu Posted July 13, 2011 Share Posted July 13, 2011 (edited) 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. Edited July 13, 2011 by Tufu Link to comment Share on other sites More sharing options...
fastman92 Posted July 13, 2011 Share Posted July 13, 2011 (edited) 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." Edited July 13, 2011 by fastman92 Link to comment Share on other sites More sharing options...
Flitskikker Posted July 13, 2011 Author Share Posted July 13, 2011 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: PushS 1000CallNative WAIT 1 0 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. Link to comment Share on other sites More sharing options...
Tufu Posted July 15, 2011 Share Posted July 15, 2011 (edited) 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. Edited July 15, 2011 by Tufu Link to comment Share on other sites More sharing options...
Flitskikker Posted July 15, 2011 Author Share Posted July 15, 2011 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. Link to comment Share on other sites More sharing options...
Performer Posted July 22, 2011 Share Posted July 22, 2011 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.... Link to comment Share on other sites More sharing options...
mandel99 Posted July 29, 2011 Share Posted July 29, 2011 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.... Link to comment Share on other sites More sharing options...
Flitskikker Posted November 27, 2011 Author Share Posted November 27, 2011 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. Link to comment Share on other sites More sharing options...
LostDerp Posted November 29, 2011 Share Posted November 29, 2011 (edited) 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. Thank you . Yey you fixed the bug where it would corrupt scripts. Edited November 29, 2011 by LostDerp Link to comment Share on other sites More sharing options...
twisted89 Posted December 5, 2011 Share Posted December 5, 2011 Any chance you could modify this to work with the xbox sco's? Link to comment Share on other sites More sharing options...
Flitskikker Posted December 6, 2011 Author Share Posted December 6, 2011 Thank you . Yey you fixed the bug where it would corrupt scripts. Which bug would that have been? 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. Link to comment Share on other sites More sharing options...
twisted89 Posted December 6, 2011 Share Posted December 6, 2011 http://dl.dropbox.com/u/9950356/xbox.sco Link to comment Share on other sites More sharing options...
di0nislaw Posted January 1, 2012 Share Posted January 1, 2012 (edited) 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... Edited January 1, 2012 by dionisLTU Link to comment Share on other sites More sharing options...
di0nislaw Posted January 1, 2012 Share Posted January 1, 2012 I'm trying to make more money, but i got this Help please Link to comment Share on other sites More sharing options...
Terreur69 Posted January 1, 2012 Share Posted January 1, 2012 use the version 1.2.7 , but the scol complier is available >http://www.gtaforums.com/index.php?showtopic=492143 Link to comment Share on other sites More sharing options...
di0nislaw Posted January 1, 2012 Share Posted January 1, 2012 (edited) Same error... how to use that compiler scocl ? Edited January 1, 2012 by dionisLTU Link to comment Share on other sites More sharing options...
Terreur69 Posted January 1, 2012 Share Posted January 1, 2012 Same error... how to use that compiler scocl ? read the scol.chm Link to comment Share on other sites More sharing options...
di0nislaw Posted January 1, 2012 Share Posted January 1, 2012 (edited) Same error... how to use that compiler scocl ? read the scol.chm I still don't get it Please don't suggest hacks that abuse the MP leaderboards. Edited May 19, 2012 by Girish Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now