Project

General

Profile

Actions

Emulator Issues #722

closed

(Request) Detect user settings/hardware

Added by knuckles500 about 15 years ago.

Status:
Fixed
Priority:
Low
Assignee:
Category:
UI
% Done:

0%

Operating system:
N/A
Issue type:
Feature request
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

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.

Actions #1

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.

Actions #2

Updated by death2droid almost 15 years ago

OOOOH interesting.
Sounds like something i may be able to put to gether.

Actions #3

Updated by death2droid almost 15 years ago

Ok
I've started work on it :)
Wish me luck

Actions #4

Updated by death2droid almost 15 years ago

Basics have being completed.
Just need to do all the actually checking stuff.

Actions #5

Updated by marcus almost 15 years ago

  • Status changed from New to Work started

Use cpudetect for that.

(and thanks for your help!)

Actions #6

Updated by death2droid almost 15 years ago

Ok cool thanks I'll look into that now :)

Actions #7

Updated by death2droid almost 15 years ago

Made some more process

Actions #8

Updated by nakeee almost 15 years ago

Maybe you should attach a patch with the code?

Actions #9

Updated by death2droid almost 15 years ago

Here it is

Only problem is there is a lot of the checking stuff incomplete (Not there)

Actions #10

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.

Actions #11

Updated by marcus almost 15 years ago

Oh, and you forgot the InfoWindow files...

Actions #12

Updated by death2droid almost 15 years ago

Ahh woops sorry

Actions #13

Updated by death2droid almost 15 years ago

Ok here is the patch with the InfoWindow files.
No more updates tho

Actions #14

Updated by kenzozusuki almost 15 years ago

Don't work.

Actions #15

Updated by death2droid almost 15 years ago

It should build and work properly.
At least on Windows

Actions #16

Updated by marcus almost 15 years ago

errr...I clicked on Tools > System Information, and nothing happened...how does it work?

Actions #17

Updated by death2droid almost 15 years ago

A window should pop up!

Actions #18

Updated by death2droid almost 15 years ago

Here is a version with no edits(Like removed stuff from vcproj edits)

Actions #19

Updated by marcus almost 15 years ago

Still doesn't work...

Just for curiosity's sake, what's with the glext.h stuff?

Actions #20

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?

Actions #21

Updated by marcus almost 15 years ago

BTW, it looks great so far :)

Actions #22

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

Actions #23

Updated by marcus almost 15 years ago

OK, I committed it for you.

Now make it more detailed :)

Actions #24

Updated by death2droid almost 15 years ago

Ok will do!

Actions #25

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.

Actions #26

Updated by death2droid almost 15 years ago

Maybe not I'm still running into problems

Actions #27

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

Actions #28

Updated by marcus almost 15 years ago

'summarize_settings' should be 'summarize_settings()', methinks...

Actions #29

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

Actions #30

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!

Actions #31

Updated by death2droid almost 15 years ago

Ok here is the newest version with most of the action reply remnants removed

Actions #32

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...

Actions #33

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?

Actions #34

Updated by marcus almost 15 years ago

And here's my patch (same as yours, just with some better formatting and other minor
things).

Actions #35

Updated by death2droid almost 15 years ago

Ah ok I'll look into it.
Also thanks for that new patch :)

Actions #36

Updated by death2droid almost 15 years ago

I found a few things but they all require .net

Actions #37

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 ?

Actions #38

Updated by death2droid almost 15 years ago

I may try after I've got this other problem sorted out.
Any help is appreciated!

Actions #39

Updated by lpfaint99 almost 15 years ago

I will clean it up and make it compile on linux give me 30minutes or so:)

Actions #40

Updated by lpfaint99 almost 15 years ago

fixed linux build in r3076, added a few improvements

Actions #41

Updated by marcus almost 15 years ago

Many thanks :)

Actions #42

Updated by death2droid almost 15 years ago

Thanks all for fixing my work up and making it better :P

Actions #43

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.

Actions #44

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

Actions #45

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

Actions #46

Updated by marcus almost 15 years ago

I forget what causes unresolved externals...but I'll look into it.

Actions #47

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

Actions #48

Updated by lpfaint99 almost 15 years ago

unresolved external is that g_Config is never defined as far as InfoWindow can tell

Actions #49

Updated by death2droid almost 15 years ago

Gaaah really?
Quite odd :(.
I'll look into it :)

Actions #50

Updated by death2droid almost 15 years ago

I think i might just create a work around :)

Actions #51

Updated by death2droid almost 15 years ago

Ok i think my work around works :)

Actions #52

Updated by death2droid almost 15 years ago

Confirmed it does work :)
Just need to add in all the checking stuff

Actions #53

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.

Actions #54

Updated by death2droid almost 15 years ago

It's not ment to :P
I haven't uploaded the latest working one yet XD

Actions #55

Updated by death2droid almost 15 years ago

Finished OpenGl setting's checking.(with some bugs)

Actions #56

Updated by death2droid almost 15 years ago

Started work on Direct 3d

Actions #57

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)

Actions #58

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..

Actions #59

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).

Actions #60

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

Actions #61

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.

Actions #62

Updated by sl1nk3.s almost 15 years ago

Actions #63

Updated by marcus almost 15 years ago

lol.

but do you know how I should be doing it ?

Actions #64

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"...

Actions #65

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

Actions #66

Updated by marcus almost 15 years ago

good luck (you'll need it!) :)

Actions #67

Updated by death2droid almost 15 years ago

Sure will. :P
I don't even know why its coming up with the problem!

Actions #69

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

Actions #70

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.

Actions

Also available in: Atom PDF