Emulator Issues #722
closed(Request) Detect user settings/hardware
0%
Description
Ugh, I know, I hate making feature requests.
But I thought of something that might be helpful for both developers and
users who want an easy way to detect hardware settings as well as actual
dolphin-emu settings for either a specific game or dolphin in general, and
being able to simply click a button to generate the information in either a
txt file or on a clipboard for easy pasting.
I know you might be able to just open up every config file outside of
Dolphin and paste it on the boards, but some might not be useful than
others and it's all of it isn't in one place. Also, people may post correct
information, but it may not be enough to solve a problem. Some people might
be surprised to see a setting they thought was activated, but this new
feature says it actually isn't.
My idea in a non-tl;dr form::
You open Dolphin, play a game, want to post your settings and computer
specs but don't want to download and go through files in order to post it.
So you go Tools (or something similar) > Information > and BAM, just like
CPUz, just click through the tabs and see a basic summary of everything
configured in Dolphin all in one place. You can see clockspeed, cpu type,
ram, dolphin revision, activated settings, masterkey found?, plugins being
used.
I hope this isn't too demanding, and to me, it's a really low priority to
have. But, I like the idea of being able to detect, copy, and paste
settings as easy as opening another program. I guess this can be another
way so that everyone can easily make sure, as well as share, their non
personal information on boards/irc, and make sure that everyone that reads
it will be able to understand the problem.
Again, I hope this isn't too demanding of you. You can throw this request
in the garbage if you think it's silly.
Updated by marcus about 15 years ago
- Issue type set to Feature request
- Category set to ui
- Priority set to Low
- Operating system N/A added
That would be useful.
Updated by death2droid almost 15 years ago
OOOOH interesting.
Sounds like something i may be able to put to gether.
Updated by death2droid almost 15 years ago
Ok
I've started work on it :)
Wish me luck
Updated by death2droid almost 15 years ago
Basics have being completed.
Just need to do all the actually checking stuff.
Updated by marcus almost 15 years ago
- Status changed from New to Work started
Use cpudetect for that.
(and thanks for your help!)
Updated by death2droid almost 15 years ago
Ok cool thanks I'll look into that now :)
Updated by nakeee almost 15 years ago
Maybe you should attach a patch with the code?
Updated by death2droid almost 15 years ago
Here it is
Only problem is there is a lot of the checking stuff incomplete (Not there)
Updated by marcus almost 15 years ago
It looks good, but leave all the unimportant bits of the vcproj files out of the
patch next time (everything except the line 1109 and 1161 changes is unnecessary).
I'll commit it when it's done.
Updated by marcus almost 15 years ago
Oh, and you forgot the InfoWindow files...
Updated by death2droid almost 15 years ago
Ok here is the patch with the InfoWindow files.
No more updates tho
Updated by death2droid almost 15 years ago
It should build and work properly.
At least on Windows
Updated by marcus almost 15 years ago
errr...I clicked on Tools > System Information, and nothing happened...how does it work?
Updated by death2droid almost 15 years ago
Here is a version with no edits(Like removed stuff from vcproj edits)
Updated by marcus almost 15 years ago
Still doesn't work...
Just for curiosity's sake, what's with the glext.h stuff?
Updated by marcus almost 15 years ago
OK, I got it to work...it was some stuff with the infowindow files getting patched
twice (my mistake).
But still, does the patch have to be that big? Is glext.h necessary?
Updated by death2droid almost 15 years ago
I think i glext.h there for something but i never ended up using it.
Oh yeah glex stand for OpenGL Extention
Updated by marcus almost 15 years ago
OK, I committed it for you.
Now make it more detailed :)
Updated by death2droid almost 15 years ago
Progress might speed up a bit i think i mannaged to fix a problem disallowing me to
do some stuff.
Updated by death2droid almost 15 years ago
Maybe not I'm still running into problems
Updated by death2droid almost 15 years ago
Here is the patch with some things neatened up.
It also has the problematic bit but i commented that out.
Its to do with summarize_settings
Updated by marcus almost 15 years ago
'summarize_settings' should be 'summarize_settings()', methinks...
Updated by death2droid almost 15 years ago
Well that fixed one problem :)
now i just have this
3>.\Src\InfoWindow.cpp(73) : error C2110: '+' : cannot add two pointers
3>.\Src\InfoWindow.cpp(74) : error C2110: '+' : cannot add two pointers
3>.\Src\InfoWindow.cpp(75) : error C2110: '+' : cannot add two pointers
3>.\Src\InfoWindow.cpp(76) : error C2110: '+' : cannot add two pointers
Updated by death2droid almost 15 years ago
Ok I've got lots of Dolphin Setting checking stuff
But i need someone to find out why the text isn't showing up.
All the checking is there its just not showing the answers!
Updated by death2droid almost 15 years ago
Ok here is the newest version with most of the action reply remnants removed
Updated by marcus almost 15 years ago
Good job. I'll see if I can get the OGL options added sometime today, but you're
welcome to try if you want.
In the mean time, please note that using #include is probably a no-no for a
multi-platform app...
Updated by marcus almost 15 years ago
(but it's not needed, so I wouldn't worry about it)
Anyway, the problem is with the conversion from 'const bool' to 'string' or 'const
char *'. It seems that it simply can't be done.
Any help here?
Updated by marcus almost 15 years ago
And here's my patch (same as yours, just with some better formatting and other minor
things).
Updated by death2droid almost 15 years ago
Ah ok I'll look into it.
Also thanks for that new patch :)
Updated by death2droid almost 15 years ago
I found a few things but they all require .net
Updated by sl1nk3.s almost 15 years ago
I'd suggest you to use a wxDIALOG instead of a wxFRAME to avoid having an ugly grey
background, and also move it from "Tools" to "Help" maybe ?
Updated by death2droid almost 15 years ago
I may try after I've got this other problem sorted out.
Any help is appreciated!
Updated by lpfaint99 almost 15 years ago
I will clean it up and make it compile on linux give me 30minutes or so:)
Updated by lpfaint99 almost 15 years ago
fixed linux build in r3076, added a few improvements
Updated by death2droid almost 15 years ago
Thanks all for fixing my work up and making it better :P
Updated by death2droid almost 15 years ago
Ok I've got some more things done!
I'll upload the changes when I've done some more.
Updated by death2droid almost 15 years ago
Ok the grahpics stuff is going to be harder then i thought.
Because when iver i call stuff from it it comes up with an error on build
Updated by death2droid almost 15 years ago
Here is the error
3>InfoWindow.obj : error LNK2001: unresolved external symbol "struct Config g_Config"
(?g_Config@@3UConfig@@A)
3>../../../Binary/Win32/Dolphin.exe : fatal error LNK1120: 1 unresolved externals
And the patch with the error in it
Updated by marcus almost 15 years ago
I forget what causes unresolved externals...but I'll look into it.
Updated by marcus almost 15 years ago
this was the best I could find...It might help, but it might not. I couldn't fix the
error.
http://msdn.microsoft.com/en-us/library/f6xx1b1z(VS.71).aspx
Updated by lpfaint99 almost 15 years ago
unresolved external is that g_Config is never defined as far as InfoWindow can tell
Updated by death2droid almost 15 years ago
Gaaah really?
Quite odd :(.
I'll look into it :)
Updated by death2droid almost 15 years ago
I think i might just create a work around :)
Updated by death2droid almost 15 years ago
Confirmed it does work :)
Just need to add in all the checking stuff
Updated by kenzozusuki almost 15 years ago
InfoWindow.obj : error LNK2001: unresolved external symbol "struct Config g_Config"
(?g_Config@@3UConfig@@A)
It doesn't works.
Updated by death2droid almost 15 years ago
It's not ment to :P
I haven't uploaded the latest working one yet XD
Updated by death2droid almost 15 years ago
Finished OpenGl setting's checking.(with some bugs)
Updated by death2droid almost 15 years ago
Ok OpenGL and Direct 3d has being completed but there are small bugs that need fixing
(To do with integers)
Updated by sl1nk3.s almost 15 years ago
yep, that's a workaround for sure, doesn't look really good though :p
about your integers problems, it's because you're passing an integer to "%s" which
waits for a string, use "%d" instead, also, to retrieve resolution setting for
DirectX, you'll need to refer to the resolution list (you can just copy it to an
array) because the resolution setting is an integer..
Updated by marcus almost 15 years ago
err...that workaround goes against everything to do with nonredundant code and the
rest...
We really should find a better way, but I'll commit it for now (after I've tested
it).
Updated by death2droid almost 15 years ago
sl1nk3.s using %d makes the int's return some weird stuff or causes the dolphin to
crash when the window is opened.
Found that out before when i was trying to get them to work
Updated by marcus almost 15 years ago
Yeah, I tried doing that, too when I was attempting an array for the languages...all
I could get was "Dolphin.exe encountered a problem and needs to close" or a bunch of
numbers.
Updated by sl1nk3.s almost 15 years ago
then you're http://www.doingitwrong.com/ :p
Updated by marcus almost 15 years ago
lol.
but do you know how I should be doing it ?
Updated by marcus almost 15 years ago
Well, r3083 didn't meet with a very warm welcome...
hrydgard suggested that "One solution would be to add a GetConfigString function to
the plugins, if you really think this is a feature we need."
I think I know what he's talking about, but it I think it would also be broken by
"unresolved external"...
Updated by death2droid almost 15 years ago
I don't think it would fix the unresolved external problem either. :P
I'll try and get it fixed so it doesn't require my work around XD
Updated by death2droid almost 15 years ago
Sure will. :P
I don't even know why its coming up with the problem!
Updated by knuckles500 almost 15 years ago
Are there anymore things you'd like to add to this?
Because this might be another issue that can be closed. :P
Updated by marcus almost 15 years ago
- Status changed from Work started to Fixed
gfx settings would be nice eventually, but I think it's fine for now.