Click here to Skip to main content
15,212,190 members
   

C#

 
AnswerRe: Enable Security to Excel generated with closexml Pin
Richard Deeming5-May-20 1:27
mveRichard Deeming5-May-20 1:27 
GeneralRe: Enable Security to Excel generated with closexml Pin
AmitChaurasiya5-May-20 14:44
MemberAmitChaurasiya5-May-20 14:44 
QuestionHow to capture (read) feedback data from games in C# or C++ ( like vibration, force feedback, gunshot, explosion) Pin
Member 113408333-May-20 21:53
MemberMember 113408333-May-20 21:53 
AnswerRe: How to capture feedback data from games ( like vibration, force feedback, gunshot, explosion) Pin
Pete O'Hanlon3-May-20 21:02
subeditorPete O'Hanlon3-May-20 21:02 
GeneralRe: How to capture feedback data from games ( like vibration, force feedback, gunshot, explosion) Pin
Member 113408333-May-20 21:53
MemberMember 113408333-May-20 21:53 
GeneralRe: How to capture feedback data from games ( like vibration, force feedback, gunshot, explosion) Pin
Richard MacCutchan3-May-20 23:21
mveRichard MacCutchan3-May-20 23:21 
AnswerRe: How to capture feedback data from games ( like vibration, force feedback, gunshot, explosion) Pin
Richard MacCutchan3-May-20 21:05
mveRichard MacCutchan3-May-20 21:05 
AnswerRe: How to capture (read) feedback data from games in C# or C++ ( like vibration, force feedback, gunshot, explosion) Pin
Member 79891224-May-20 0:00
MemberMember 79891224-May-20 0:00 
So you want to use "some" output from the game, so that you can generate e.g. seat vibration, gun recoil, flashing of LEDs etc - is that right?

If I get it right: You want to generate seat vibration, gun recoil etc., based on some other feedback from the game. What kind of game output do you want to capture to generate these effects? Text messages? Synthetic speech or other sounds generated by the game? Visual effects on the screen? Are you expecting to capture the image of a gun being fired, recognize it as such, and from that generate your recoil effect?

For a vintage text-only game (such as classical Adventure or MUD), text capture would be trivial and analyzing it reasonably simple. But if you want to generate additional effects triggred by sound or graphics, and do it in a general, game-independent way, then you are up for a huge task. You simply can't do it in any reasonable way. If text output is available only as graphic character images on the screen, you cannot even do text anlysis. (Well, you might try with some OCR functionality, but chances are that it would fail miserably.)

If you had access to the source code of the game, you could probably - as the game initiates sound/visible effects - write to a textual log an indication of the effect genereated, and route it to some output available to your recoil or vibration or whatever functions you want to add. It would require that you can modify the game source code, and it would be specific to that game.

If you are hoping to capture non-text output from an arbitrary game, without having to "get under the hood" of the game, I cannot see how you can make it.
GeneralRe: How to capture (read) feedback data from games in C# or C++ ( like vibration, force feedback, gunshot, explosion) Pin
Member 113408334-May-20 2:05
MemberMember 113408334-May-20 2:05 
GeneralRe: How to capture (read) feedback data from games in C# or C++ ( like vibration, force feedback, gunshot, explosion) Pin
Member 79891224-May-20 3:26
MemberMember 79891224-May-20 3:26 
AnswerRe: How to capture (read) feedback data from games in C# or C++ ( like vibration, force feedback, gunshot, explosion) Pin
Gerry Schmitz4-May-20 14:20
mveGerry Schmitz4-May-20 14:20 
QuestionSelenium Automation- C# AjaxElementLocatorFactory equivalent Pin
subinrajuu3-May-20 20:16
Membersubinrajuu3-May-20 20:16 
QuestionHow can I augment an array inside an .exe-file? Pin
arnold_w2-May-20 9:03
Memberarnold_w2-May-20 9:03 
AnswerRe: How can I augment an array inside an .exe-file? Pin
Eddy Vluggen2-May-20 9:25
professionalEddy Vluggen2-May-20 9:25 
JokeRe: How can I augment an array inside an .exe-file? Pin
Richard Andrew x642-May-20 10:11
professionalRichard Andrew x642-May-20 10:11 
GeneralRe: How can I augment an array inside an .exe-file? Pin
Eddy Vluggen2-May-20 11:42
professionalEddy Vluggen2-May-20 11:42 
GeneralRe: How can I augment an array inside an .exe-file? Pin
arnold_w2-May-20 10:41
Memberarnold_w2-May-20 10:41 
GeneralRe: How can I augment an array inside an .exe-file? Pin
Eddy Vluggen2-May-20 11:43
professionalEddy Vluggen2-May-20 11:43 
GeneralRe: How can I augment an array inside an .exe-file? Pin
arnold_w2-May-20 21:18
Memberarnold_w2-May-20 21:18 
GeneralRe: How can I augment an array inside an .exe-file? Pin
Eddy Vluggen2-May-20 21:27
professionalEddy Vluggen2-May-20 21:27 
GeneralRe: How can I augment an array inside an .exe-file? Pin
arnold_w2-May-20 21:41
Memberarnold_w2-May-20 21:41 
GeneralRe: How can I augment an array inside an .exe-file? Pin
Eddy Vluggen2-May-20 21:45
professionalEddy Vluggen2-May-20 21:45 
GeneralRe: How can I augment an array inside an .exe-file? Pin
Dave Kreskowiak3-May-20 4:27
mveDave Kreskowiak3-May-20 4:27 
GeneralRe: How can I augment an array inside an .exe-file? Pin
Eddy Vluggen3-May-20 10:00
professionalEddy Vluggen3-May-20 10:00 
GeneralRe: How can I augment an array inside an .exe-file? Pin
Dave Kreskowiak3-May-20 15:01
mveDave Kreskowiak3-May-20 15:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.