T1/CM to Titan Two Script Converter [v0.25 - 05/14/2019]

GPC script programming for Titan Two device. Code examples, how to, questions, requests.

Moderators: The_Rabid_Taco, pablosscripts, bonefisher

T1/CM to Titan Two Script Converter [v0.25 - 05/14/2019]

Postby Buffy » Wed Mar 13, 2019 12:52 am

Due to an influx of script conversion requests, I have create a java program that converts legacy scripts to be compatible with the T2. There are still some scenarios I'm working on to make the converter have more compatibility. I choose Java for compatibility reasons (JVM runs on Windows/Mac/Linux).

Click here to download

Java download

To convert a script, run the GPC-Converter jar file (Java required), and select the GPC file to convert. The output file will be a .gpc2.gpc

NOTE: The script must be able to compile with the T1 or CM software before converting.
Because some scripts contain directions for them inside comment blocks, I advise you keep the old scripts to view the comments and such (in a future update I will set it to keep comments)


Feel free to message me on Discord about any non-working scripts so I can look over them.

GitHub repository: https://github.com/AJSinc/GPC-Converter

Credits to:
DontAtMe and J2Kbr

Info on how to convert your own scripts manually: viewtopic.php?f=26&t=7591
Last edited by Buffy on Wed May 15, 2019 12:34 am, edited 28 times in total.
User avatar
Buffy
Sergeant Major of the Army
Sergeant Major of the Army
 
Posts: 218
Joined: Wed Jul 20, 2016 5:23 am

Re: Titan One to Titan Two Script Converter

Postby UK_Wildcats_Fans » Wed Mar 13, 2019 1:48 am

Very cool. Thank you.
User avatar
UK_Wildcats_Fans
Brigadier General
Brigadier General
 
Posts: 2066
Joined: Thu Jan 08, 2015 6:53 pm
Location: San Diego, California USA

Re: Titan One to Titan Two Script Converter

Postby teddy18 » Wed Mar 13, 2019 10:05 am

Thank you
User avatar
teddy18
Sergeant Major of the Army
Sergeant Major of the Army
 
Posts: 256
Joined: Sun Jul 19, 2015 4:18 pm

Re: Titan One to Titan Two Script Converter

Postby JayP » Wed Mar 13, 2019 9:28 pm

Thanks, But how do i download this?
User avatar
JayP
Private
Private
 
Posts: 1
Joined: Wed Mar 06, 2019 10:14 pm

Re: Titan One to Titan Two Script Converter

Postby Buffy » Wed Mar 13, 2019 10:58 pm

JayP wrote:Thanks, But how do i download this?


Sorry, I had the wrong link. Main post has been updated.
User avatar
Buffy
Sergeant Major of the Army
Sergeant Major of the Army
 
Posts: 218
Joined: Wed Jul 20, 2016 5:23 am

Re: Titan One to Titan Two Script Converter

Postby alanmcgregor » Thu Mar 14, 2019 2:00 am

Awesome job Buffy! thanks for share.
User avatar
alanmcgregor
Major
Major
 
Posts: 881
Joined: Tue Mar 27, 2018 8:38 am

Re: Titan One to Titan Two Script Converter

Postby J2Kbr » Thu Mar 14, 2019 10:49 am

I checked your java code and you are doing lot more than firstly expected. Great work, thank you for sharing. :joia: :smile0517:
ConsoleTuner Support Team
User avatar
J2Kbr
General of the Army
General of the Army
 
Posts: 17121
Joined: Tue Mar 18, 2014 1:39 pm

Re: Titan One to Titan Two Script Converter

Postby Buffy » Fri Mar 15, 2019 6:32 am

I've updated the app to fix semicolon related errors, and some "garbage code" fixing (a lot of legacy scripts seemed to have gotten by even with these syntax errors).

If you find any regressions/unexpected functionality in the script due to this change, please message me.

EDIT: I've also changed the app to omit unused combos/functions, as some may cause compile errors.
User avatar
Buffy
Sergeant Major of the Army
Sergeant Major of the Army
 
Posts: 218
Joined: Wed Jul 20, 2016 5:23 am

Re: Titan One to Titan Two Script Converter

Postby Buffy » Sat Mar 16, 2019 11:19 pm

Hello all, I've lowered the required JRE version required to run the JAR to increase compatibility on more PC's.
User avatar
Buffy
Sergeant Major of the Army
Sergeant Major of the Army
 
Posts: 218
Joined: Wed Jul 20, 2016 5:23 am

Re: T1/CM to Titan Two Script Converter

Postby doiz » Tue Mar 19, 2019 3:06 pm

Amazing work thanks
User avatar
doiz
Staff Sergeant
Staff Sergeant
 
Posts: 10
Joined: Sat May 05, 2018 5:21 am

Next

Return to GPC Script Programming (Titan Two)

Who is online

Users browsing this forum: Fettychange, Silktouch and 8 guests