Opened 13 years ago

Closed 13 years ago

Last modified 10 months ago

#7495 closed enhancement

Search ScummVM directory for GUI theme

Reported by: SF/joachimeberhard Owned by: sev-
Priority: normal Component: GUI
Keywords: Cc:
Game:

Description

Dear ScummVM team!

It would be very nice if that could be fixed, as
ScummVM is otherwise really good to use in the
CommandLine.

Situation: scummvm.exe is in C:\Programme\ScummVM\
I am eg in X:\

This is what I get when running it from X:\

X:\>C:\Programme\ScummVM\scummvm.exe
WARNING: Can not find theme config file 'modern.ini'!
WARNING: Could not initialize your preferred theme,
falling back to classic style!

Please, make it possible to start in new GUI without
any additional settings/parameters.

Thanks,

Joachim

Ticket imported from: #1502409. Ticket imported from: feature-requests/311.

Attachments (1)

themepath.diff (4.5 KB) - added by eriktorbjorn 13 years ago.
Patch against current SVN

Download all attachments as: .zip

Change History (9)

comment:1 Changed 13 years ago by Kirben

Where is the modern theme located in this case?

I assume you want ScummVM to check the directory
where 'scummvm.exe' is located, when searching for the
theme?

comment:2 Changed 13 years ago by eriktorbjorn

We do have a "themepath" setting, though there currently
isn't any GUI for changing it. Perhaps the simplest way
would be to add that?

comment:3 Changed 13 years ago by eriktorbjorn

I'm attaching a (not very well tested) patch to add a global
theme path option, to show what I mean.

Changed 13 years ago by eriktorbjorn

Attachment: themepath.diff added

Patch against current SVN

comment:4 Changed 13 years ago by SF/joachimeberhard

I quote Kirben here:

> Where is the modern theme located in this case?

In the path were scummvm.exe resides.

> I assume you want ScummVM to check the directory
> where 'scummvm.exe' is located, when searching for the
> theme?

Yes.

Please make it possible to start ScummVM from another
directory, without the need of specifying anything, if
possible.

In addition, of course, a theme-path option would also be
nice.

But my main-concern is running it in new GUI without any
options from CMD, when running it from a different
directory, e.g. always search for the themes in the
directory where scummvm.exe is located first.

Thanks

Joachim

comment:5 Changed 13 years ago by Kirben

Moving to feature requests, as this isn't a bug.

I expect changes would be required in file system backends,
to get the correct directory for the executable file
(scummvm.exe) on all platforms.

comment:6 Changed 13 years ago by Kirben

Summary: WIN32: ScummVM starts in old GUI if run from other directorySearch ScummVM directory for GUI theme

comment:7 Changed 13 years ago by sev-

Owner: set to sev-
Status: newclosed

comment:8 Changed 10 months ago by digitall

Component: GUI
Note: See TracTickets for help on using tickets.