[Solved] [Guide Inside] mupen64plus ignores retroarch resolution, but not the scale

Hi.

Does anybody know if there is a way to make mupen64plus ignore the retroarch scale option?

I have the retroarch scale option at 3x. Since the retroarch default resolution is 320x240 it becomes 960x720.

Mupen64plus has it’s own resolution option. If i set it to be 640x480, when the emulator starts the window is almost fullscreen.

Thanks.

That’s just how it works. RetroArch’s scale is a multiple of the core’s native framebuffer size. If you increase that framebuffer, the scale factor is going to multiply that. Running in fullscreen obviously stays the same size (i.e., fitted to your monitor).

Hi.

Thanks for your reply.

Is it possible to change the retroarch default resolution so that i don’t need to scale it to 3x?

Right now is 320x240 witch becomes 960x720 when i choose 3x.

I’m not sure what you’re trying to achieve but you could set a config override to force 1x windowed scale with that core.

Sorry if i haven’t explained it correctly. I would have the same problem, but in another core if i did what i wrote in the last post.

This is my issue:

When set retroarch to 3x scale, every time that i start fba, the window will be the same as retroarch’s: -960x720.

When i start mupen64plus, instead of the window be the same size as fba and retroarch, it becomes bigger because it has it’s own resolution, so it multiplies that resolution by the scale option.

If mupen64 ignored the scale option, i could control the window size by changing the resolution.

How can i set a config override?

Thanks and sorry for my English.

Another option is to change the mupen resolution to 320x240 in your mupen core options. Then it’ll act like everything else.

Hi thanks for your replies.

I just tried you solution to override the config and it works, but there’s one problem:

When i close the mupen, the retroarch stays with the scale option that was set to the mupen. Like this:

I start retroarch with scale 3x and then i choose the mupen with resolution 640x480 with scale 1.5x and the window stays the same size, but when i exit mupen, the scale stays at 1.5 making retroarch window decrease to 640x480.

I also tried to disable save on exit on the core, but it didn’t work.

Is there a way to make retroarch not “acquire” the core settings after i close the emulator?

the 320x240 solution is what i tried first, but since it scales a lower resolution, the ingame text is illegible.

Thanks.

Hmm. No settings should stick after an override… If you look at your normal retroarch.cfg, does it have the reduced scale from the override after you exit?

Yes.

Just to be sure, this is what it’s happening:

I enable “configuration per-core” and scale 3x, then i open mupen64 and exit retroarch.

I config the mupen64 cfg file to 1.5x scale and save.

I start retroarch and start mupen64. The window is the same size as retroarch.

If i press F1 and select close, the retroarch window becomes smaller (1.5 scale).

If i press alf+f4 while i have mupen64 open, the next time that i start retroarch, the window have 3x scale.

Sorry if it seems confusing.

configuration per core is actually different from the overrides. Overrides take a little more work at the start but their settings don’t bleed into the main config.

This blog post from Radius explains how to set them up: http://blog.andressm.org/new-retroarch-features-2/

[QUOTE=hunterk;41904]configuration per core is actually different from the overrides. Overrides take a little more work at the start but their settings don’t bleed into the main config.

This blog post from Radius explains how to set them up: http://blog.andressm.org/new-retroarch-features-2/[/QUOTE]

That sound’s exactly what I’m trying to achieve.

Unfortunuly i haven’t figured it out yet.

This is what I’ve done so far:

Create a folder called mupen64plus in the config folder.

Create a cfg file named mupen64plus with this line: "video_scale = “1.500000”

Maybe it’s the name that is wrong, but it doesn’t seem to recognize it. How can i see the exact name of the folder and file that i need to use?

Thanks.

I think that’s correct for the name, though if you’re in linux, it’s case-sensitive, I think (Windows doesn’t care). Overrides are also incompatible with per-core configs, so make sure you disable those.

I’m not 100% sure, but I think you can get RetroArch to make the directory for you by enabling per-game core options and then load up a game and save its core options. It’ll create the core directory and a core options file named after the game (which you can delete).

[QUOTE=hunterk;41908]I think that’s correct for the name, though if you’re in linux, it’s case-sensitive, I think (Windows doesn’t care). Overrides are also incompatible with per-core configs, so make sure you disable those.

I’m not 100% sure, but I think you can get RetroArch to make the directory for you by enabling per-game core options and then load up a game and save its core options. It’ll create the core directory and a core options file named after the game (which you can delete).[/QUOTE]

It seems to be Mupen64Plus.

When i save the remap it creates a config/remap/Mupen64Plus folder.

Unfortunately the override it’s not working.

I have everything disabled on the settings/configuration (except save on exit), so it doesn’t seem to be that.

It’s working.

I was doing it wrong.

This is how it’s done.

1- Disable Configuration Per-Core and enable Load Override Files automaticly.

2- In the Retroarch folder, create a folder named Mupen64Plus. Do not create this folder inside the retroarch/config folder.

3- Create a file named Mupen64Plus.cfg and add the lines that you want to change from the main configuration ( retroarch/retroarch.cfg )

4- Start the Retroarch, select the core,the content and Mupen64 should have the changes in the Mupen64Plus.cfg file.


Now another issue :smiley:

Is it possible to select or disable shaders to this override?

ahhh, so the folder doesn’t go inside the config folder. Very important to know!

Yeah, you can put whatever you want into an override. Shaders, input changes, whatever.

[QUOTE=hunterk;41921]ahhh, so the folder doesn’t go inside the config folder. Very important to know!

Yeah, you can put whatever you want into an override. Shaders, input changes, whatever.[/QUOTE]

Unfortunately it doesn’t seem to be that simple.

I’m running into a problem where sometimes the mupen shader bleeds into retroarch, and vice versa.

I’m trying to chwck what’s wrong and then I’ll try to post what i have done.

Thank you very much for your help.

I think that may have something to do with the current shader getting flushed to the generic ‘retroarch.cgp’. I’m not sure how best to handle that but maybe someone with more override experience can chime in.

Yeah.

It seems to be a problem between exit the program and closing the core.

The solution is to exit the program (alt+f4) after you press “apply shader changes”.

Tomorrow i’ll post the full solution.

Guide to have a core with it’s own scale and shader:

1 - Open and close retroarch.

2 - Go to the shaders folder (retroarch/shaders/) and create an empty file called retroarch.glslp. If you already have this file forget this step.

3 - open the retroarch.cfg file (/retroarch/config.cfg) and edit the following lines:

video_shader_enable = “true”

video_shader = “~/.config/retroarch/shaders/retroarch.glslp”

4 - Make a folder named Mupen64Plus inside retroarch folder (retroarch/Mupen64Plus).

5 - Make a Mupen64Plus.cfg file inside Mupen64Plus folder (retroarch/Mupen64Plus/ Mupen64Plus.cfg ) with the following text:

video_scale = “1.500000” video_shader_enable = “true” video_shader_dir = “~/.config/retroarch/Mupen64Plus/” video_shader = “~/.config/retroarch/Mupen64Plus/retroarch.glslp” config_save_on_exit = “false”

6 - Make an empty file called retroarch.glslp inside the Mupen6Plus folder (retroarch/Mupen64Plus/retroarch.glslp)

7- Remember to press enter on “Apply Shader Changes” everytime you want to save your shader.

Notes:

  • If you try some Mupen64Plus shaders and then decide that you want to play without shaders, you have to delete the content (not the file) of “retroarch/Mupen64Plus/retroarch.glslp”

          - This guide was made using Linux and glsl presets. If you use Windows just change the paths to windows type and if you use cg presets, everytime you see "retroarch.glslp" name, change it to "retroarch.cgp"  
    
    
          - I used Mupen64Plus, but you can use other cores. Just check the name under the menu cores and everytime you see Mupen64Plus, change it to the name of the core you want.

Glad you got it working :slight_smile: