Forza Motorsport 6 Apex

Official forum for open source FreePIE discussion and development.
Post Reply
PCGamer88
One Eyed Hopeful
Posts: 17
Joined: Sun Nov 15, 2015 1:56 pm

Forza Motorsport 6 Apex

Post by PCGamer88 »

Hello you,
yesterday I have the beta of Forza Motorsport 6 Apex downloaded.
Now I wanted to ask times whether there is a possibility this to play with Vjoy + Freepie?
Since this game only one Xbox 360 controller supports I need to operate with x360ce together this surely?
Unfortunately I'm not in the directory Windows Apps purely where it is installed (access denied) I would have also tried himself if I came to the ...
Is it generally possible?

I look forward to answers
greetings
PCGamer88
CyberVillain
Petrif-Eyed
Posts: 2166
Joined: Mon Jun 22, 2009 8:36 am
Location: Stockholm, Sweden

Re: Forza Motorsport 6 Apex

Post by CyberVillain »

You can use the xoutput plugin
PCGamer88
One Eyed Hopeful
Posts: 17
Joined: Sun Nov 15, 2015 1:56 pm

Re: Forza Motorsport 6 Apex

Post by PCGamer88 »

No x360ce? Can you tell me what I have to do where? Do I need to copy something from this list?
PCGamer88
One Eyed Hopeful
Posts: 17
Joined: Sun Nov 15, 2015 1:56 pm

Re: Forza Motorsport 6 Apex

Post by PCGamer88 »

I have uninstalled vjoy now and just wanted to install xOutput.
In my case it fails already at point 2: What do I have to download and install?

I have taken the first link and installed. As I now have the .dll included for circuit (freepie root or into the plugins directory?) And the script at all, came "name 'xOutput' is undefined"

What am I doing wrong?
CyberVillain
Petrif-Eyed
Posts: 2166
Joined: Mon Jun 22, 2009 8:36 am
Location: Stockholm, Sweden

Re: Forza Motorsport 6 Apex

Post by CyberVillain »

PCGamer88
One Eyed Hopeful
Posts: 17
Joined: Sun Nov 15, 2015 1:56 pm

Re: Forza Motorsport 6 Apex

Post by PCGamer88 »

Sorry had forgotten that I had referred to the instructions.
I have strictly applied the points still I get the error message said :(

What am I doing wrong?
CyberVillain
Petrif-Eyed
Posts: 2166
Joined: Mon Jun 22, 2009 8:36 am
Location: Stockholm, Sweden

Re: Forza Motorsport 6 Apex

Post by CyberVillain »

Is the dll unblocked?
PCGamer88
One Eyed Hopeful
Posts: 17
Joined: Sun Nov 15, 2015 1:56 pm

Re: Forza Motorsport 6 Apex

Post by PCGamer88 »

I have just the .dll set in the security settings to allow. Still the Same message :(
Or do you mean something else?

I was referring only to the instructions, I have something else to install (the plugin based)?
PCGamer88
One Eyed Hopeful
Posts: 17
Joined: Sun Nov 15, 2015 1:56 pm

Re: Forza Motorsport 6 Apex

Post by PCGamer88 »

Now I have managed that it now runs with me :)
Is there somewhere to download scripts? I need something like this where the mouse movement is sent to the analog stick. I have a script that with vjoy as I work I am presenting.
Can this just sort of rewrite?
PCGamer88
One Eyed Hopeful
Posts: 17
Joined: Sun Nov 15, 2015 1:56 pm

Re: Forza Motorsport 6 Apex

Post by PCGamer88 »

I have my mouse Steering script rewritten to xOutput. It combines perfectly with other games only forza6 apex there are problems :( He does not respond or faulty on my mouse and keyboard inputs which I have placed on the Xbox controller :(
Is this due to the drivers to xOutput or script itself?
Does somebody has any idea?

Code: Select all

if starting:    
    system.setThreadTiming(TimingTypes.HighresSystemTimer)
    system.threadExecutionInterval = 5
    def calculate_rate(max, time):
        if time > 0:
            return max / (time / system.threadExecutionInterval)
        else:
            return max

    int32_max = (2 ** 14) - 1
    int32_min = (( 2** 14) * -1) + 1
    
    xoutput[0].lx = int32_min
    # =============================================================================================
    # //////////////////////////////////////// SETTINGS ///////////////////////////////////////////
    # =============================================================================================
    # Mouse settings
    # =============================================================================================
    # Higher SCR = Smoother/Slower Response | Lower SCR = Harder/Quicker Response
    # With the game's built in steering settings, there's no need to change the scr value
    # SCR's effects can be felt better with arcade style racing games
    # =============================================================================================
    global mouse_sensitivity, sensitivity_center_reduction
    mouse_sensitivity = 120
    sensitivity_center_reduction = 0.8
    # =============================================================================================
    # Steering settings
    # =============================================================================================
    global steering, steering_max, steering_min, steering_center_reduction    
    # Init values, do not change
    steering = 0.0
    steering_max = float(int32_max)
    steering_min = float(int32_min)
    steering_center_reduction = 1.0
# =================================================================================================
# Steering logic
# =================================================================================================
if mouse.wheelUp:
   steering = 0.0
if steering > 0:
    steering_center_reduction = sensitivity_center_reduction ** (1 - (steering / steering_max))
elif steering < 0:
    steering_center_reduction = sensitivity_center_reduction ** (1 - (steering / steering_min))
steering = steering + ((float(mouse.deltaX) * mouse_sensitivity) / steering_center_reduction)
if steering > steering_max:
    steering = steering_max
elif steering < steering_min:
    steering = steering_min
xoutput[0].lx = int(round(steering))
xoutput[0].A = keyboard.getKeyDown(Key.NumberPadEnter)
PCGamer88
One Eyed Hopeful
Posts: 17
Joined: Sun Nov 15, 2015 1:56 pm

Re: Forza Motorsport 6 Apex

Post by PCGamer88 »

Unfortunately it does not quite work :( I steer the car with the mouse by Freepie xOutput.
With the keyboard I give gas and brake even so.
As soon as I now start the script and also an Xbox controller is detected, the keyboard and the mouse steering does not work properly when driving :(
Gas is no longer executed correctly and the steering is carried out only to about 25%.
May be due to my script?

Code: Select all

if starting:    
    system.setThreadTiming(TimingTypes.HighresSystemTimer)
    system.threadExecutionInterval = 5
    def calculate_rate(max, time):
        if time > 0:
            return max / (time / system.threadExecutionInterval)
        else:
            return max

    int32_max = (2 ** 14) - 1
    int32_min = (( 2** 14) * -1) + 1
    
    xoutput[0].lx = int32_min
    # =============================================================================================
    # //////////////////////////////////////// SETTINGS ///////////////////////////////////////////
    # =============================================================================================
    # Mouse settings
    # =============================================================================================
    # Higher SCR = Smoother/Slower Response | Lower SCR = Harder/Quicker Response
    # With the game's built in steering settings, there's no need to change the scr value
    # SCR's effects can be felt better with arcade style racing games
    # =============================================================================================
    global mouse_sensitivity, sensitivity_center_reduction
    mouse_sensitivity = 5
    sensitivity_center_reduction = 0.8
    # =============================================================================================
    # Steering settings
    # =============================================================================================
    global steering, steering_max, steering_min, steering_center_reduction    
    # Init values, do not change
    steering = 0.0
    steering_max = float(int32_max)
    steering_min = float(int32_min)
    steering_center_reduction = 0.5
# =================================================================================================
# Steering logic
# =================================================================================================
if mouse.wheelUp:
   steering = 0.0
if steering > 0:
    steering_center_reduction = sensitivity_center_reduction ** (1 - (steering / steering_max))
elif steering < 0:
    steering_center_reduction = sensitivity_center_reduction ** (1 - (steering / steering_min))
steering = steering + ((float(mouse.deltaX) * mouse_sensitivity) / steering_center_reduction)
if steering > steering_max:
    steering = steering_max
elif steering < steering_min:
    steering = steering_min
    
xoutput[0].lx = int(round(steering)) * 5
Does anyone have an idea what it could be?
Post Reply

Return to “FreePIE”