Simple Question?

Titan One general support. Questions, firmware update, feature request.

Simple Question?

Postby HelpMePlez » Sat Nov 21, 2015 7:51 pm

Hallo

I just received my Titan One and it works great with my DS4>PS4 for rapid fire.

I will soon buy a Xbox One Elite controller and I know that it will reset every 10 Mins for 1 sec because of PS4.

I read somewhere that you can manually reset the PS4 authentication timer with a combo button on your controller?
How do you do that and which buttons will that be on a XB1 Controller?

Thanks.
User avatar
HelpMePlez
Master Sergeant
Master Sergeant
 
Posts: 26
Joined: Tue Nov 17, 2015 12:53 pm

Re: Simple Question?

Postby Prototype » Sat Nov 21, 2015 8:50 pm

Console tuner since my 1st controller.
Scripting, a game in the game.
Believe or dare, It's Titanic! :smile0517:
User avatar
Prototype
Major General
Major General
 
Posts: 3252
Joined: Sun Dec 16, 2012 1:43 pm

Re: Simple Question?

Postby HelpMePlez » Sun Nov 22, 2015 8:44 pm

Thanks!!

I will receive my XB1 Elite cobtroller within 3 days.
Question.. the link that you posted is that some sort of script that I have to put on one of the slots on the T1?
Or is it already inplemented on the T1?
User avatar
HelpMePlez
Master Sergeant
Master Sergeant
 
Posts: 26
Joined: Tue Nov 17, 2015 12:53 pm

Re: Simple Question?

Postby J2Kbr » Mon Nov 23, 2015 11:30 am

HelpMePlez wrote:Tthe link that you posted is that some sort of script that I have to put on one of the slots on the T1?
Or is it already inplemented on the T1?

It is a script that you need load into the Titan One:

Code: Select all
int last_ps4_auth_timeout;
 
main {
    // Rumble the controller if the PS4 auth timeout gets below 5.
    if(ps4_authtimeout() < 5) {
        if(last_ps4_auth_timeout != ps4_authtimeout()) {
            last_ps4_auth_timeout = ps4_authtimeout();
            combo_restart(AuthRumbleFeedback);
        }
    }
    // Press OPTIONS + PS to force reconnection and reset auth timeout.
    if(get_val(PS4_OPTIONS) && event_press(PS4_PS)) {
        output_reconnection();
    }
}
 
combo AuthRumbleFeedback {
    set_rumble(RUMBLE_A, 100);
    set_rumble(RUMBLE_B, 100);
    wait(200);
    reset_rumble();
}
ConsoleTuner Support Team
User avatar
J2Kbr
General of the Army
General of the Army
 
Posts: 20323
Joined: Tue Mar 18, 2014 1:39 pm

Re: Simple Question?

Postby HelpMePlez » Mon Nov 23, 2015 12:54 pm

Ok now I get it, for example when I what to combine that script with rapid fire on RB I just need to combine both scripts into 1 Script?
User avatar
HelpMePlez
Master Sergeant
Master Sergeant
 
Posts: 26
Joined: Tue Nov 17, 2015 12:53 pm

Re: Simple Question?

Postby J2Kbr » Mon Nov 23, 2015 2:36 pm

HelpMePlez wrote:Ok now I get it, for example when I what to combine that script with rapid fire on RB I just need to combine both scripts into 1 Script?

Correct. If you want we can help you with that. ;)
ConsoleTuner Support Team
User avatar
J2Kbr
General of the Army
General of the Army
 
Posts: 20323
Joined: Tue Mar 18, 2014 1:39 pm

Re: Simple Question?

Postby HelpMePlez » Mon Nov 23, 2015 4:52 pm

Thanks!!
User avatar
HelpMePlez
Master Sergeant
Master Sergeant
 
Posts: 26
Joined: Tue Nov 17, 2015 12:53 pm

Re: Simple Question?

Postby HelpMePlez » Wed Nov 25, 2015 5:48 pm

Alright I just received me Elite controller..

First problem is there is no Touch pad button on it, so I remapped it to the view button on my Xbox controller and left the share button out I dont use it anyway. I would like to combine the above script that J2Kbr posted with this one

Code: Select all
//
// 25-11-2015 18:41:50
// Script generated by MaxRemapper Plugin
//----------------------------------------
unmap PS4_SHARE;
unmap PS4_ACCX;
unmap PS4_ACCY;
unmap PS4_ACCZ;
remap XB1_VIEW -> PS4_TOUCH;

main {
}


Can anyone help me here?
User avatar
HelpMePlez
Master Sergeant
Master Sergeant
 
Posts: 26
Joined: Tue Nov 17, 2015 12:53 pm

Re: Simple Question?

Postby Prototype » Wed Nov 25, 2015 5:58 pm

Code: Select all
unmap PS4_SHARE;
unmap PS4_ACCX;
unmap PS4_ACCY;
unmap PS4_ACCZ;
remap XB1_VIEW -> PS4_TOUCH;
int last_ps4_auth_timeout;
 
main {
    // Rumble the controller if the PS4 auth timeout gets below 5.
    if(ps4_authtimeout() < 5) {
        if(last_ps4_auth_timeout != ps4_authtimeout()) {
            last_ps4_auth_timeout = ps4_authtimeout();
            combo_restart(AuthRumbleFeedback);
        }
    }
    // Press OPTIONS + PS to force reconnection and reset auth timeout.
    if(get_val(PS4_OPTIONS) && event_press(PS4_PS)) {
        output_reconnection();
    }
}
 
combo AuthRumbleFeedback {
    set_rumble(RUMBLE_A, 100);
    set_rumble(RUMBLE_B, 100);
    wait(200);
    reset_rumble();
}

To merge two (or more) scripts you just need to respect this order:
Code: Select all
define example
unmap
remap
int
 
main {
}

combo example {
}

All defines goes before the main section and all combos goes after the main section.
Console tuner since my 1st controller.
Scripting, a game in the game.
Believe or dare, It's Titanic! :smile0517:
User avatar
Prototype
Major General
Major General
 
Posts: 3252
Joined: Sun Dec 16, 2012 1:43 pm

Re: Simple Question?

Postby HelpMePlez » Wed Nov 25, 2015 6:15 pm

Thanks!!

Seems easy I will try it out
User avatar
HelpMePlez
Master Sergeant
Master Sergeant
 
Posts: 26
Joined: Tue Nov 17, 2015 12:53 pm

Next

Return to Titan One Device

Who is online

Users browsing this forum: No registered users and 55 guests