Converter doesnt receive data from OutsimDirt2.exe

Open a thread for a question about the simulator control software.
If you cannot receive any data in the input setup use the upper two forums!

Converter doesnt receive data from OutsimDirt2.exe

Postby mmeissner » Fri 18. Apr 2014, 01:12

Hello,

does any one have an idea what could cause the problem if outsimDirt2.exe doesn't forward the gamedata to the converter? Other games like ETS2 are working, and the outsimDirt2.exe also shows the changing data. If I click play in the converter I receive the message to start the game. I've already searched the forum but could not find a solution or detailed information how outsimDirt2.exe -> Extractor -> Converter are communicating.
mmeissner
 
Posts: 4
Joined: Thu 17. Apr 2014, 17:57
Has thanked: 0 time
Been thanked: 0 time

Re: Converter doesnt receive data from OutsimDirt2.exe

Postby sirnoname » Fri 18. Apr 2014, 09:21

Maybe your communication box in the motion driver -> plugin driver (right side, standard button) is empty because you did not answer "yes" to the automated questions.
Details about the communication can be read in the manual and in the developer guide (big Button on top " Documentation").

X-Sim 3 developer and programmer guideline, X-Sim core engine
If a answer is correct or did help you for a solution, please use the solve button.
User avatar
sirnoname
Site Admin
 
Posts: 1829
Images: 45
Joined: Thu 1. Sep 2011, 22:02
Location: Munich, Germany
Has thanked: 35 times
Been thanked: 128 times

Re: Converter doesnt receive data from OutsimDirt2.exe

Postby mmeissner » Fri 18. Apr 2014, 10:40

The communication box were you can select the data that is to be transfered is filled. I can also see that if I Press Play Game in the Extractor, the listbox with the configured effects flickers for a short while (I would assume Extractor sended the Data an the ListBox does a update/refresh). However, a press on Start inside the Converter.exe causes the "Can not start" message. I tried also to push that button during race at the time were I see that the outSimDirt2.exe receives the data, but the result is the same. I attached the screenshots of the different applications, so maybe someone sees there something that is wrong. From my point of view it seems more like a communication problem between the outsimDirt2.exe and whatever it should communicate with. If someone could provide me information how that exe communicates and how I can create a log/debug it, so I would be able to provide more in detail information or find the reason why the communication fails.




mmeissner
 
Posts: 4
Joined: Thu 17. Apr 2014, 17:57
Has thanked: 0 time
Been thanked: 0 time

Re: Converter doesnt receive data from OutsimDirt2.exe

Postby sirnoname » Fri 18. Apr 2014, 12:08

Yes, this are the basics. Play button in extractor leads to changing values in the input setup. If this does not work you have a problem.
Check the joystick values in the converter input setup. Are they working (independend from plugins, select a joystick in the extractor main dialog).
Normally you do not use the start button. Have a look here (3):
http://www.x-sim.de/manual/settings.html
Enable autostart trigger and use developer plugin as trigger.
If a answer is correct or did help you for a solution, please use the solve button.
User avatar
sirnoname
Site Admin
 
Posts: 1829
Images: 45
Joined: Thu 1. Sep 2011, 22:02
Location: Munich, Germany
Has thanked: 35 times
Been thanked: 128 times

Re: Converter doesnt receive data from OutsimDirt2.exe

Postby mmeissner » Fri 18. Apr 2014, 13:36

sirnoname wrote:Yes, this are the basics. Play button in extractor leads to changing values in the input setup. If this does not work you have a problem.
Check the joystick values in the converter input setup. Are they working (independend from plugins, select a joystick in the extractor main dialog).
Normally you do not use the start button. Have a look here (3):
http://www.x-sim.de/manual/settings.html
Enable autostart trigger and use developer plugin as trigger.


I made the test and added a joystick and enabled the autotrigger fuctions. For ETS2 everything worked like it should, all signals were received by the Converter and the autotrigger function kicked in during driving, but I had no success with GRID 2. It stays the same, if I observe the Input values (Input Setup) in the converter, I can see that the values are once updated at the time I press Play Game inside the Extractor. However afterwards there seems to be no more communication going on, the values are not transfered and the autotrigger function does not kick in, also a manual push of the "Start" button in the converter cause the "Can not start" message. There must be a difference in the way how the outsimDirt2.exe works and the plugin for ETS2, as the ETS2 plugin works. As I previously wrote, I can see that the outsimDirt2.exe receives the data from GRID 2, but the application seems to be unable to forward the data to the converter/extractor, in comparison the ETS2 plugin is able to forward the received data. I assume there is a difference between the way of communication between outsimDirt2.exe and the ETS2 Plugin, but where and how do they communicate? If they communicate through sockets, so it might be there a difference in the way how they choose the right network adapter or something similar, I have really no idea as the detailed internals are unknown to me.
mmeissner
 
Posts: 4
Joined: Thu 17. Apr 2014, 17:57
Has thanked: 0 time
Been thanked: 0 time

Re: Converter doesnt receive data from OutsimDirt2.exe

Postby sirnoname » Fri 18. Apr 2014, 13:52

If you press play in the extractor -> do the button stay grey (inactive) until game is closed or get it immediatelly blue again (stopped)?
If a answer is correct or did help you for a solution, please use the solve button.
User avatar
sirnoname
Site Admin
 
Posts: 1829
Images: 45
Joined: Thu 1. Sep 2011, 22:02
Location: Munich, Germany
Has thanked: 35 times
Been thanked: 128 times

Re: Converter doesnt receive data from OutsimDirt2.exe

Postby mmeissner » Fri 18. Apr 2014, 14:15

For GRID 2 it jumps directly back to blue, for ETS2 it stays grey.

//EDIT

Ok, I got it, your question gave me the right hint, the extractor does not recognized the start of the application, as the running exe has an different name! I changed it and now the button stays grey and I receive data inside the converter. Thank you very much, vielen Dank fuer die Hilfe!
mmeissner
 
Posts: 4
Joined: Thu 17. Apr 2014, 17:57
Has thanked: 0 time
Been thanked: 0 time

Re: Converter doesnt receive data from OutsimDirt2.exe

Postby sirnoname » Fri 18. Apr 2014, 14:24

Then it stops data sending ;)
You did not use the launcher command.
You can learn how to use the launcher command or you can make a profile with notepad and choose the Grid plugin as developer plugin. After notepad has started you can run your game. Only as first verification until you learned about the launcher option.

//////////////////////////////////////////////////////////
// X-Sim 3 game configuration script
//////////////////////////////////////////////////////////

title: Richard Burns Rally config
games: Richard Burns Rally SSE
game_executable: RichardBurnsRally.exe
game_parameter: launcher:RichardBurnsRally.exe scanexe:RichardBurnsRally_SSE.exe
unicode: no

As you can see the game parameter is set to "launcher:" followed by the game launcher executable (no space). As second parameter you tell with "scanexe:" the real game executable name. The extractor will wait until the executable behind scanexe is launched. If this does not work for some reason you can stop the wait dialog with the cancel button and try again.

The parameter in the script file is identically to the parameter box in the game setup.

X-Sim Extractor Howto: game wizard scripts for one click installer
If a answer is correct or did help you for a solution, please use the solve button.
User avatar
sirnoname
Site Admin
 
Posts: 1829
Images: 45
Joined: Thu 1. Sep 2011, 22:02
Location: Munich, Germany
Has thanked: 35 times
Been thanked: 128 times


Return to Converter questions

Who is online

Users browsing this forum: No registered users and 2 guests

cron