Guru3D.com Forums

Go Back   Guru3D.com Forums > Affiliates > RivaTuner Advanced Discussion forum
RivaTuner Advanced Discussion forum This forum is intended for advanced comments, ideas and general discussion of the RivaTuner Utility which is hosted here at the Guru of 3D. This forum is visited by programmer himself - you can only post in this area with a minimum of 10 posts and 7 days forum membership.


Reply
 
Thread Tools Display Modes
Database entries
Old
  (#1)
Malonn
Master Guru
 
Malonn's Avatar
 
Videocard: Sparkle GTX 580 x2 SLI
Processor: Intel Core i7 2600K
Mainboard: Intel DP67BGB3 Extreme
Memory: Corsair Vengeance DDR3
Soundcard: X-Fi Titanium HD
PSU: PC Power and Cooling 1200
Default Database entries - 05-06-2007, 05:04 | posts: 277 | Location: United States

What do you think is the possibility of figuring out what all the entries in the database do(current driver - 158.19)and the values to manipulate them? I think the chances are slim. Of course not counting the ones that can be altered through RT's main interface.
   
Reply With Quote
 
Old
  (#2)
Unwinder
Moderator
 
Videocard:
Processor:
Mainboard:
Memory:
Soundcard:
PSU:
Default 05-06-2007, 08:08 | posts: 10,322 | Location: Taganrog, Russia

Quote:
Originally Posted by Malonn View Post
What do you think is the possibility of figuring out what all the entries in the database do(current driver - 158.19)and the values to manipulate them? I think the chances are slim. Of course not counting the ones that can be altered through RT's main interface.
The chances are not slim. I'm getting info about the driver's entries myself by studying the driver's internals. You can do the same.


Alexey Nicolaychuk aka Unwinder, RivaTuner creator
   
Reply With Quote
Old
  (#3)
Malonn
Master Guru
 
Malonn's Avatar
 
Videocard: Sparkle GTX 580 x2 SLI
Processor: Intel Core i7 2600K
Mainboard: Intel DP67BGB3 Extreme
Memory: Corsair Vengeance DDR3
Soundcard: X-Fi Titanium HD
PSU: PC Power and Cooling 1200
Default 05-06-2007, 14:14 | posts: 277 | Location: United States

With what program(s)? SoftICE?
   
Reply With Quote
Old
  (#4)
Unwinder
Moderator
 
Videocard:
Processor:
Mainboard:
Memory:
Soundcard:
PSU:
Default 05-06-2007, 14:48 | posts: 10,322 | Location: Taganrog, Russia

Quote:
Originally Posted by Malonn View Post
With what program(s)? SoftICE?
You can use any disassembler. My preferred tool is IDA.


Alexey Nicolaychuk aka Unwinder, RivaTuner creator
   
Reply With Quote
 
Old
  (#5)
Malonn
Master Guru
 
Malonn's Avatar
 
Videocard: Sparkle GTX 580 x2 SLI
Processor: Intel Core i7 2600K
Mainboard: Intel DP67BGB3 Extreme
Memory: Corsair Vengeance DDR3
Soundcard: X-Fi Titanium HD
PSU: PC Power and Cooling 1200
Default 05-06-2007, 15:53 | posts: 277 | Location: United States

Cool, thanks
   
Reply With Quote
Old
  (#6)
Malonn
Master Guru
 
Malonn's Avatar
 
Videocard: Sparkle GTX 580 x2 SLI
Processor: Intel Core i7 2600K
Mainboard: Intel DP67BGB3 Extreme
Memory: Corsair Vengeance DDR3
Soundcard: X-Fi Titanium HD
PSU: PC Power and Cooling 1200
Default 05-06-2007, 16:39 | posts: 277 | Location: United States

All I can say is: whoa, lol. The little bit of Python I know isn't helping me.
   
Reply With Quote
Old
  (#7)
Malonn
Master Guru
 
Malonn's Avatar
 
Videocard: Sparkle GTX 580 x2 SLI
Processor: Intel Core i7 2600K
Mainboard: Intel DP67BGB3 Extreme
Memory: Corsair Vengeance DDR3
Soundcard: X-Fi Titanium HD
PSU: PC Power and Cooling 1200
Default 05-07-2007, 17:05 | posts: 277 | Location: United States

Which file are the entries stored in? nvgames.dll? That is the 3D settings server.
   
Reply With Quote
Old
  (#8)
Malonn
Master Guru
 
Malonn's Avatar
 
Videocard: Sparkle GTX 580 x2 SLI
Processor: Intel Core i7 2600K
Mainboard: Intel DP67BGB3 Extreme
Memory: Corsair Vengeance DDR3
Soundcard: X-Fi Titanium HD
PSU: PC Power and Cooling 1200
Default 05-12-2007, 21:30 | posts: 277 | Location: United States

I have found(for those interested)that you don't have to know a high level programming language at all to reverse engineer software. You just have to learn some assembly. IDA is the "big daddy" of disassemblers - I find Olly Debug to be easier to learn.
   
Reply With Quote
Old
  (#9)
Malonn
Master Guru
 
Malonn's Avatar
 
Videocard: Sparkle GTX 580 x2 SLI
Processor: Intel Core i7 2600K
Mainboard: Intel DP67BGB3 Extreme
Memory: Corsair Vengeance DDR3
Soundcard: X-Fi Titanium HD
PSU: PC Power and Cooling 1200
Default 05-17-2007, 17:27 | posts: 277 | Location: United States

Alright, after about a week of learning, the only thing I've found for sure (or at least I think I'm sure) is that nvgames.dll stores resources for the 3D settings section of the control panel (strings and crap) and that the D3D and OGL settings, if they are actually in the file, are not easily found. 99.9% don't care, but I'm more posting this in the rare off chance that Unwinder will throw me a hint (even though this has nothing to do with RT).
   
Reply With Quote
Old
  (#10)
Unwinder
Moderator
 
Videocard:
Processor:
Mainboard:
Memory:
Soundcard:
PSU:
Default 05-18-2007, 06:35 | posts: 10,322 | Location: Taganrog, Russia

If you're inending to find D3D/OGL registry entries, you should exampine NVIDIA D3D and OGL drivers, where there entries are read and handled. The files you should look at are:

nv4_disp.dll
nvoglnt.dll


Alexey Nicolaychuk aka Unwinder, RivaTuner creator
   
Reply With Quote
 
Old
  (#11)
Malonn
Master Guru
 
Malonn's Avatar
 
Videocard: Sparkle GTX 580 x2 SLI
Processor: Intel Core i7 2600K
Mainboard: Intel DP67BGB3 Extreme
Memory: Corsair Vengeance DDR3
Soundcard: X-Fi Titanium HD
PSU: PC Power and Cooling 1200
Default 05-18-2007, 15:59 | posts: 277 | Location: United States

Alright, thanks. I looked at nv4_disp briefly, but Olly had a problem loading it. So I'll try to work that out. I never even looked at nvoglnt. Now at least I know which direction to head in and not bounce around like a chicken with it's head cut off. Thanks again.
   
Reply With Quote
Old
  (#12)
Malonn
Master Guru
 
Malonn's Avatar
 
Videocard: Sparkle GTX 580 x2 SLI
Processor: Intel Core i7 2600K
Mainboard: Intel DP67BGB3 Extreme
Memory: Corsair Vengeance DDR3
Soundcard: X-Fi Titanium HD
PSU: PC Power and Cooling 1200
Default 05-19-2007, 02:00 | posts: 277 | Location: United States

I'm all over it. Olly just can't load it properly for some reason, so I had to switch to a different disassembler. If IDA weren't frickin' 500 dollars (that is if you don't promote warez sites, which I do not, officially)...
   
Reply With Quote
Old
  (#13)
Lord Banshee
Master Guru
 
Videocard: X1950XT 512 @ FireGL 7350
Processor: Opteron 165 OC @ 2.4GHz
Mainboard: DFI nf4 Ultra-D w/HR-05-SLI
Memory: 2x GSkill 1024MB DDR4000
Soundcard: SB X-FI XtremeGamer
PSU: Fortron Blue 500W
Default 05-19-2007, 06:07 | posts: 286

There is an IDA free version..

I have no idea whats the difference as i have no idea how to use these programs so good luck.

http://www.google.com/search?client=...=Google+Search
   
Reply With Quote
Old
  (#14)
Malonn
Master Guru
 
Malonn's Avatar
 
Videocard: Sparkle GTX 580 x2 SLI
Processor: Intel Core i7 2600K
Mainboard: Intel DP67BGB3 Extreme
Memory: Corsair Vengeance DDR3
Soundcard: X-Fi Titanium HD
PSU: PC Power and Cooling 1200
Default 05-19-2007, 16:19 | posts: 277 | Location: United States

Yeah, I ended up finding that about 20 minutes after I made that last post. Thanks for the input though.
   
Reply With Quote
Old
  (#15)
Malonn
Master Guru
 
Malonn's Avatar
 
Videocard: Sparkle GTX 580 x2 SLI
Processor: Intel Core i7 2600K
Mainboard: Intel DP67BGB3 Extreme
Memory: Corsair Vengeance DDR3
Soundcard: X-Fi Titanium HD
PSU: PC Power and Cooling 1200
Default 05-21-2007, 21:28 | posts: 277 | Location: United States

Alright, I've been able to find the active settings and a lot of the values associated with them, but not their aliases (D3D, of course). They are certainly not among the strings in the file. So how'd you figure those out, Unwinder? Obviously they are not something you can just guess.
   
Reply With Quote
Old
  (#16)
Unwinder
Moderator
 
Videocard:
Processor:
Mainboard:
Memory:
Soundcard:
PSU:
Default 05-22-2007, 06:38 | posts: 10,322 | Location: Taganrog, Russia

Quote:
Originally Posted by Malonn View Post
Alright, I've been able to find the active settings and a lot of the values associated with them, but not their aliases (D3D, of course). They are certainly not among the strings in the file. So how'd you figure those out, Unwinder? Obviously they are not something you can just guess.
I was not saying that it will be a "piece of cake" task. There are no aliases, you should

1) Study the code that initializes D3D driver's context and reads settings from the registry
2) Study the code processing each entry and examine how does it affect the driver's functionality


Alexey Nicolaychuk aka Unwinder, RivaTuner creator
   
Reply With Quote
Old
  (#17)
Malonn
Master Guru
 
Malonn's Avatar
 
Videocard: Sparkle GTX 580 x2 SLI
Processor: Intel Core i7 2600K
Mainboard: Intel DP67BGB3 Extreme
Memory: Corsair Vengeance DDR3
Soundcard: X-Fi Titanium HD
PSU: PC Power and Cooling 1200
Default 05-22-2007, 17:24 | posts: 277 | Location: United States

Alright, this is going to take a little time.
   
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com
Copyright (c) 1995-2012, All Rights Reserved. The Guru of 3D, the Hardware Guru, and 3D Guru are trademarks owned by Hilbert Hagedoorn.