Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need a way to configure which directory hi-res textures are loaded from. #59

Open
carlsmith opened this issue Oct 18, 2015 · 1 comment

Comments

@carlsmith
Copy link

I tried setting SharedDataPath in [Core] to a directory that contained a copy of hires_texture, thinking that would work, but it didn't. I'm new to the project, but suggest adding config options under [Video-Rice] where we can set the paths for dumps and loads.

By the way, thanks for everyone's work on this project.

@richard42
Copy link
Member

I looked at the code to see how this is currently being handled, and Rice is
hard-coded to use our User Data path for the root of the directory where it
loads and stores the textures. It could be changed easily enough to add an
option to configure this directory.

You can actually sort-of hack it yourself to select this directory with the
existing code, due to our support of the "XDG" protocol. The first place that
we look is based on an environment variable named "XDG_DATA_HOME". So if you
set this to something like "/Users/MyUser" before you launch mupen64plus, then
Rice will search for hires textures in
"/Users/MyUser/mupen64plus/hires_texture/RomGameName" and it will dump them in
"/Users/MyUser/mupen64plus/texture_dump/RomGameName".

Richard

On 10/18/2015 03:45 PM, Carl Smith wrote:

Having to edit files inside |~/.local| is a pain in the ass on OS X.

You can set Finder to show hidden files, but you still can't open them from
within GIMP (the internal Open/Save dialogue doesn't show hidden files).
There's no obvious way to export a PNG to a hidden directory either. Because
GIMP uses it own file format, it kind of forgets where the original lives too.

I tried setting |SharedDataPath| in |[Core]| to a directory that contained a
copy of |hires_textures|, thinking that would work, but it didn't. I'm new
to the project, but suggest adding config options under |[Video-Rice]| where
we can set the paths for dumps and loads.

By the way, thanks for everyone's work on this project. It's a badass emulator.


Reply to this email directly or view it on GitHub
#59.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants