Equivalent of the load_slot() function in GPC2?
9 posts
• Page 1 of 1
Equivalent of the load_slot() function in GPC2?
what's the name of it?
Setup: XIM Apex, T2, K780 keyboard, G Pro Wireless mouse, SteelSeries 4HD pad, DXRacer armrest, LucidSound LS30 headset, Netduma router, Ubiquiti UniFi AP LR
My R6 script: https://youtu.be/x-9NtxyySVM
My R6 script: https://youtu.be/x-9NtxyySVM
-
pablosscripts - Brigadier General
- Posts: 1976
- Joined: Tue Nov 24, 2015 6:27 am
Re: Equivalent of the load_slot() function in GPC2?
Currently we don't have.... omg, don't know how I forgot such basic function. It will be available on the next Gtuner IV / firmware update. ;)
The next update also have an function to control the Titan Two LED display via script!
The next update also have an function to control the Titan Two LED display via script!
ConsoleTuner Support Team
-
J2Kbr - General of the Army
- Posts: 20323
- Joined: Tue Mar 18, 2014 1:39 pm
Re: Equivalent of the load_slot() function in GPC2?
I think it will be useful also read the current memory slot number, so we need implement two new functions:
- Code: Select all
uint8 mslot_get();
- Code: Select all
void mslot_load(uint8 slot_no);
ConsoleTuner Support Team
-
J2Kbr - General of the Army
- Posts: 20323
- Joined: Tue Mar 18, 2014 1:39 pm
Re: Equivalent of the load_slot() function in GPC2?
Okay, we need three functions. In addition to the above two, a third to check if the memory slot has a valid bytecode (or input translator, or both).
Edit. it would be better return a bitmask with info of what is stored in the memory slot (bytecode and/or input translator), so:
- Code: Select all
bool mslot_check(uint8 slot_no);
Edit. it would be better return a bitmask with info of what is stored in the memory slot (bytecode and/or input translator), so:
- Code: Select all
uint8 mslot_check(uint8 slot_no);
ConsoleTuner Support Team
-
J2Kbr - General of the Army
- Posts: 20323
- Joined: Tue Mar 18, 2014 1:39 pm
Re: Equivalent of the load_slot() function in GPC2?
J2Kbr wrote:Currently we don't have.... omg, don't know how I forgot such basic function. It will be available on the next Gtuner IV / firmware update. ;)
haha glad to be of help, completely by accident no less!
i've just logged this in github:
https://github.com/J2Kbr/GtunerIV/issues/75
Setup: XIM Apex, T2, K780 keyboard, G Pro Wireless mouse, SteelSeries 4HD pad, DXRacer armrest, LucidSound LS30 headset, Netduma router, Ubiquiti UniFi AP LR
My R6 script: https://youtu.be/x-9NtxyySVM
My R6 script: https://youtu.be/x-9NtxyySVM
-
pablosscripts - Brigadier General
- Posts: 1976
- Joined: Tue Nov 24, 2015 6:27 am
Re: Equivalent of the load_slot() function in GPC2?
Also when you put together the documentation it will be a good opportunity to cross check that you've got everything. That's one of the reasons I put this together in my Mega guide:
https://docs.google.com/spreadsheets/d/ ... id=9327721
EDIT: oops I mean this one: https://docs.google.com/spreadsheets/d/ ... edit#gid=0
https://docs.google.com/spreadsheets/d/ ... id=9327721
EDIT: oops I mean this one: https://docs.google.com/spreadsheets/d/ ... edit#gid=0
Setup: XIM Apex, T2, K780 keyboard, G Pro Wireless mouse, SteelSeries 4HD pad, DXRacer armrest, LucidSound LS30 headset, Netduma router, Ubiquiti UniFi AP LR
My R6 script: https://youtu.be/x-9NtxyySVM
My R6 script: https://youtu.be/x-9NtxyySVM
-
pablosscripts - Brigadier General
- Posts: 1976
- Joined: Tue Nov 24, 2015 6:27 am
Re: Equivalent of the load_slot() function in GPC2?
J2Kbr wrote:The next update also have an function to control the Titan Two LED display via script!
That is so cool. I asked for this feature but didn't thought it could and would be implemented. When I saw this as closed/done on github I was amazed. It is so much fun to see what your device is capable of and how you handle ideas of your community and give support.
After receiving the T2 unit I build a simple rack out of cardboard so I can see the T2 display easily during gaming and avoid damaging the cables. I think I have to build a smaller and better looking one soon to have more fun with the LED display control functions.
-
Scachi - Brigadier General
- Posts: 3044
- Joined: Wed May 11, 2016 6:25 am
- Location: Germany
Re: Equivalent of the load_slot() function in GPC2?
^^lmao that's the greatest thing ever!
Setup: XIM Apex, T2, K780 keyboard, G Pro Wireless mouse, SteelSeries 4HD pad, DXRacer armrest, LucidSound LS30 headset, Netduma router, Ubiquiti UniFi AP LR
My R6 script: https://youtu.be/x-9NtxyySVM
My R6 script: https://youtu.be/x-9NtxyySVM
-
pablosscripts - Brigadier General
- Posts: 1976
- Joined: Tue Nov 24, 2015 6:27 am
Re: Equivalent of the load_slot() function in GPC2?
lol ... very cool ... paint it in black !!
ConsoleTuner Support Team
-
J2Kbr - General of the Army
- Posts: 20323
- Joined: Tue Mar 18, 2014 1:39 pm
9 posts
• Page 1 of 1
Return to GPC2 Script Programming
Who is online
Users browsing this forum: midg3t2 and 184 guests