Overclock.net banner
1 - 20 of 478 Posts

VolsAndJezuz

· Registered
Joined
·
780 Posts
Discussion starter · #1 ·
EDIT: All new versions will now be released at the official site - http://sourcegl.sourceforge.net

button.png

What is RInput?
RInput is a program made by a programmer that goes by abort, that reads the raw input data from your mouse and feeds it directly to the cursor/crosshair position in game. It serves as an alternative to in-game raw input or allows for raw input in games that lack it. For games that have a raw input option, it should be turned off for RInput to work (m_rawinput 0 for Source games).

Why use RInput?
I believe the main issue with Source's m_rawinput 1, even though it collects true raw input data, is how it is buffered by the game. I've read somewhere before where someone who knew a lot more about it than me was talking about how it was related to m_rawinput 1 having poor time-stamping of the raw input data in relation to the framerate, so the buffering can be quite variable in comparison to the way frame-rendering is buffered. At sufficiently high refresh rates and FPS, this tends to make mouse movement feel 'disconnected' in a strange way with what you are seeing on screen. Many players including myself find using RInput (without an fps_max cap) to be better performing than Source's raw input implementation.

What is digital vibrance?
Digital vibrance is an NVIDIA option that is subtly different from a straight saturation adjustment. It can be best explained as something like, digital vibrance is the intelligent saturation (when increased) or desaturation (when decreased) of the display image on a pixel-by-pixel basis, based on a given pixel's original saturation value.

Why change digital vibrance?
Digital vibrance can be more useful for certain gaming situations than a plain scaled saturation adjustment because it will decrease the dynamic range of saturation for a given image, which can help make certain colors and shades more noticeable relative to their environment when compared to the unaltered image. As an example, for DV @ 100%, both Ts and CTs stand out much more to my eyes against the brown/yellow backgrounds and floor on Dust 2.

Is it VAC safe?
In a word, yes. But see the README for a longer discussion on VAC.
 
Discussion starter · #4 ·
Quote:
Originally Posted by TK421 View Post

Can you add insurgency into the launcher?
After the initial beta testing, I will look at other games to add.
Quote:
Originally Posted by ranseed View Post

Really handy thanks. Are we supposed to manually create the folder C:\CSGO\rinput\Rinput ? I get a windows error that it can't find it
Oops, I forgot to edit the batch files it creates. That was my original testing directory. I'll update the files and reupload momentarily. But if you copy RInput.exe and RInput.dll to that directory, it will run til I fix it. Sorry about that.

Fixed zipped installer now in OP. If reinstalling, run the uninstaller then the new installer. Thanks!
 
InB4 this causes clown cursor.

But seriously this is great. Just hope Valve doesn't blacklist the input injector in the future for VAC.
 
Discussion starter · #6 ·
Quote:
Originally Posted by SmashTV View Post

InB4 this causes clown cursor.

But seriously this is great. Just hope Valve doesn't blacklist the input injector in the future for VAC.
I thought about making this the icon:



But RInput injector has been around since like CS:Source, so I see no reason they would decide to suddenly change their mind about it.
 
Quote:
Originally Posted by VolsAndJezuz View Post

I thought about making this the icon:



But RInput injector has been around since like CS:Source, so I see no reason they would decide to suddenly change their mind about it.
Classy icon.

As for my fear, it reminds me of open plug in. That was a lot more sketch (exploiting a loophole to play insecure) but I wouldn't put it past Valve to blacklist rinput. Not saying not to use it, just hope Valve doesn't mess it up.
 
Quote:
Originally Posted by SmashTV View Post

Classy icon.

As for my fear, it reminds me of open plug in. That was a lot more sketch (exploiting a loophole to play insecure) but I wouldn't put it past Valve to blacklist rinput. Not saying not to use it, just hope Valve doesn't mess it up.
I have been using rinput injector for years. I have been using it for GO since the game came out. I have a batch script that sets affinity, launch options and starts rinput v1.31 for GO. The downside, it brings me out of the game when rinput v1.31 launches, the problem with that is it seems alt tabbing decreases FPS in GO.
 
Discussion starter · #9 ·
Quote:
Originally Posted by TK421 View Post

Can you add insurgency into the launcher?
Updated to allow launching other programs. Uninstall the previous version and delete the settings.txt file in the install directory (the uninstaller doesn't delete this). See OP for example of using other program.
Quote:
Originally Posted by popups View Post

I have been using rinput injector for years. I have been using it for GO since the game came out. I have a batch script that sets affinity, launch options and starts rinput v1.31 for GO. The downside, it brings me out of the game when rinput v1.31 launches, the problem with that is it seems alt tabbing decreases FPS in GO.
My program launches the game and inserts RInput silently in the backgrond (i.e., doesn't take you to the desktop). You can just set your launch options in Properties of CS:GO in Steam, using the -high launch option to set to run as high priority. Then launching through sourceGL should take care of everything you were accomplishing with your batch file and alleviate the alt-tab problem.
 
You need to turn off in game raw mouse input? (sorry, noob at tweaking these kinda games)
 
  • Rep+
Reactions: VolsAndJezuz
Quote:
Originally Posted by TK421 View Post

You need to turn off in game raw mouse input? (sorry, noob at tweaking these kinda games)
If you do not turn off m_rawinput you cannot move your crosshair when you have already injected rinput.

If the game fails to load before rinput is injected you won't be able to move your crosshair. This happens when my game takes too long to load up all the way. This is why I use TIMEOUT in my bat file.
 
Discussion starter · #15 ·
Edit: I looked at it again since I've learned several tricks since I first started writing the GUI, and it might not be too hard after all. I'll see if I can work it out here quickly.

Thanks for the feedback. Even small requests like that help to figure out what features people would find the most useful.
 
Discussion starter · #16 ·
OP updated with v1.2 which adds drop down menu to pick 'Do not minimize'/'Minimize to taskbar'/'Minimize to system tray' when a game is launched. Hitting X to close the GUI now minimizes to tray and the application can be exited altogether by right-clicking on the tray icon>Exit sourceGL, while the GUI is restored by double-clicking the tray icon or right-clicking>Restore GUI. Also the txt and About files were updated.
 
It starts to look better already.
thumb.gif

Do you think an autoupdater is also possible? That would be nice too. LIke, just a menu that shows if an update is available, and that if you press yes it just replaces the current files with the updated ones.
biggrin.gif
 
Discussion starter · #19 ·
Yeah that's in the plans down the road. Off the top of my head, I currently plan on working on (in approximate order of priority):

-Options to specify program behavior on pressing Esc and clicking X to close (exit immediately, prompt, minimize to tray)
-Trimming and cleaning the GUI, perhaps either having the individual game settings collapse/expand or as different tabs
-Check for updates button and option to check for updates on program launch, then autoupdate (if I can figure out how to code it... it seems complex)
-Make toggleable hotkeys to adjust the digital vibrance +1/-1 incrementally to test different DV in game on-the-fly

But it will probably be at least a few days until I will have time to work on it a lot again.
 
1 - 20 of 478 Posts