Emulation CEMU - How to make the emulator save different General Graphics Settings for each game

Willsito_GG

Well-Known Member
OP
Member
Joined
Dec 31, 2017
Messages
281
Trophies
0
XP
1,421
Country
Spain
Hello All!

Do you know if there is a way to make the emulator save different General Graphics Settings (for example VSync or Bilinear or whatever), for each game?

Thanks in advance,

Best regards

Eipok
 
D

Deleted User

Guest
Most likely there's no individual settings for games built into the emulator.

But you could always have more than one copy of the emulator and change the settings that way. It doesn't take much space.

I use a frontend anyway Launchbox that I launch all of my games from and it doesn't bother me to have multiples of the same emulator on my PC.
 
  • Like
Reactions: Willsito_GG

Laf111

Well-Known Member
Member
Joined
Mar 19, 2019
Messages
163
Trophies
0
XP
1,378
Country
France
Hello All!

Do you know if there is a way to make the emulator save different General Graphics Settings (for example VSync or Bilinear or whatever), for each game?

Thanks in advance,

Best regards

Eipok

Hi Eipok !

Have a look at https://github.com/Laf111/CEMU-Batch-Framework
Settings are saved by BatchFw's user (this include GFX packs and mods selection).

You can directly created BatchFw's users from your Wii-U profiles by FTP (and get online files for each of them).

Since V21, you can choose to synchronize your games'saves or keep CEMU and Wii-U one separated for each game.
 
Last edited by Laf111,
  • Like
Reactions: Willsito_GG

Willsito_GG

Well-Known Member
OP
Member
Joined
Dec 31, 2017
Messages
281
Trophies
0
XP
1,421
Country
Spain
Most likely there's no individual settings for games built into the emulator.

But you could always have more than one copy of the emulator and change the settings that way. It doesn't take much space.

I use a frontend anyway Launchbox that I launch all of my games from and it doesn't bother me to have multiples of the same emulator on my PC.

Hello JustJay!

Thanks for your response.

I am actually planning that the next step in my emulation project is to put a nice frontend, that allow me manage all the stuff in one single point, and on top of that, doing it directly with the controller I might me using.

The thing is that I am not sure which to use... In order to chose between Launchbox or another program, do you by any chance have any reference post, or video that shows a demo or somthing about this that I am mentioning?

Thanks in advance,

Best regards

Hi Eipok !

Have a look at https://github.com/Laf111/CEMU-Batch-Framework
Settings are saved by BatchFw's user (this include GFX packs and mods selection).

You can directly created BatchFw's users from your Wii-U profiles by FTP (and get online files for each of them).

Since V21, you can choose to synchronize your games'saves or keep CEMU and Wii-U one separated for each game.

Hello Laf111!

Thanks for your response.

I have been reading all the features that your tool does and are amazing! You did a really great job!

About "diving" in all that features, I am not sure if I would need many of them, as what I want is simple (to just use a concrete configuration for each game), and if it can be done via a frontend tool like Launchbox would be amazing.

The thing is why don't yo work hand to hand with CEMU developers to implement all your tool features into the CEMU itself?

Best regards!
 

Laf111

Well-Known Member
Member
Joined
Mar 19, 2019
Messages
163
Trophies
0
XP
1,378
Country
France
Hello Laf111!

Thanks for your response.

I have been reading all the features that your tool does and are amazing! You did a really great job!

About "diving" in all that features, I am not sure if I would need many of them, as what I want is simple (to just use a concrete configuration for each game), and if it can be done via a frontend tool like Launchbox would be amazing.

The thing is why don't yo work hand to hand with CEMU developers to implement all your tool features into the CEMU itself?

Best regards!

Thank you.

Saving the settings per game was why i wrote BatchFw in the first place (V1).
Then i continue with shortcut creation ect...

You might not remember me but you helped me to finalize my Wii-U configuration based on your own setup.
Back in this time i already work on BatchFw.

I remember that i tried LaunchBox on the very first but i found it painfull to setup each game and it was more complicated on CEMU side (now shader cache is a way better handled and specially since Vulkan API support). See how it is simple to batch import and install many games+update+DLC (first minutes of the video) : https://www.reddit.com/r/CemuPiracy/comments/luc6pj/usb_helper_output_to_cemu_fix_wrong_fps_cap/

>The thing is why don't yo work hand to hand with CEMU developers to implement all your tool features into the CEMU itself?

They can access the code since it's shell script and it is well commented.
I have advanced skills in Linux shell scripting and i wrote BatchFw for my own use and to acquire skills in windows shell scripting (which sucks very much compared to Linux and which is a way more complicated and delicate...).

Good luck with LaunchBox.

Kind regards.
 
Last edited by Laf111,

Willsito_GG

Well-Known Member
OP
Member
Joined
Dec 31, 2017
Messages
281
Trophies
0
XP
1,421
Country
Spain
Thank you.

Saving the settings per game was why i wrote BatchFw in the first place (V1).
Then i continue with shortcut creation ect...

You might not remember me but you helped me to finalize my Wii-U configuration based on your own setup.
Back in this time i already work on BatchFw.

I remember that i tried LaunchBox on the very first but i found it painfull to setup each game and it was more complicated on CEMU side (now shader cache is a way better handled and specially since Vulkan API support). See how it is simple to batch import and install many games+update+DLC (first minutes of the video) : https://www.reddit.com/r/CemuPiracy/comments/luc6pj/usb_helper_output_to_cemu_fix_wrong_fps_cap/

>The thing is why don't yo work hand to hand with CEMU developers to implement all your tool features into the CEMU itself?

They can access the code since it's shell script and it is well commented.
I have good skills in Linux shell scripting and i wrote BatchFw for my own use and to acquire skills in windows shell scripting (which sucks very much compared to Linux and which is a way more complicated and delicate...).

Good luck with LaunchBox.

Kind regards.

Hey Laf111!

Now that I have readen all my Wii U thread I found your posts and I remember :D You were configuring your Wii U for your daughter right? So nice!

The thing is that in this CEMU world there are many things that I don't get:
  1. The graphics and shaders pack: I suppose that with the latest version of CEMU, the best and most updated packs for each game have been downloaded because I can enter in the Graphics Pack menu for each game, and I can change things as resolutions, increment of FPS and so on. My question is, are thouse automatically downloaded packs enough?
  2. I ask the previous question because in your GitHub page you say: "BatchFw complete your GFX packs" why the GFX (Graphics) have to be completed? (taking into account that I have the latest CEMU version and for the games that I want to play, I have tested all of them in 4k resolution with 60fps hack (for example for the Breath of the Wild), and all of them work like a charm!
  3. What I am interested in, is to import/export my saves between CEMU and my Wii U. If I only whant to do that which would be the concrete steps to do it?
  4. Another thing that I am wondering is about online playing, as you are mention several times about "online files, friends lists" and so on. Are you refering to these stuff because online playing? if not, what is that for?
This is the list of games that I have, and the configuration that each one needs to be perfectly emulated:

upload_2021-3-2_13-23-39.png


Thank you very much in advance!

Je vous embrasse

Eipok

PS: I will give Launchbox a try and I will tell you
 

Laf111

Well-Known Member
Member
Joined
Mar 19, 2019
Messages
163
Trophies
0
XP
1,378
Country
France
For my daughter and me ;)


> About the graphics and shaders pack and BatchFw completion

Yes they are enought BUT :
- not all games are supported (eShop and 3rd party ones)
- not all resolution presets and not all aspect ratios are defined

BatchFw does 2 things :
- create resolution GFX packs for games not supported and FPS CAP packs to boost FPS to the refresh rate of your screen monitor OR (depending on the game engine's model) increase the emultaion speed
- if during the setup you choose to let BatchFw complete the GFX packs, it will add all missing presets in a range from 480p to 5880p
the aspect ratio is computed with the current display on every host so could be 16/10, 21/9, 32/9 multi-screen configuration ect...)
If you use a 16/9 monitor, it will add the missing presets for 16/9

> import/export my saves between CEMU and my Wii U

You can do it with any FTP client and using the right version (according to the CFW you use) of FTP everywhere server, knowing the titleID and where you have installed the game on your Wii-U.
/storage_%src%/usr/save/00050000/%endTitleId% (src = mlc or usb)

All of this is automated in BatchFw using WinScp (an open source FTP client) scripting feature.
After the first connection, you even don't need to enter the IP adress if you use a local static IP policy.

BatchFw take a snapshot of your Wii-U to save update/DLC and saves states and game location.
This snapshot is used when you sync/import OR export between CEMU and the WII-U :
- only list games installed on the both side
- get the storage location of the game on your Wii-U

You can choose wich game and wich user to treat or treat all (if you choose to import and not synchronize your save)
You have to refresh the snapshot if you move/add/delete games on your Wii-U

> online files

To play online with CEMU you'll need :
- to have dumped opt.bin and seeprom.bin using NANDDUMPER (not done with BatchFw : it is a prerequisite)
- for each Wii-U profile :
- get the accounts file (account.dat)
- get certificates (CCERTS, SCERTS)
- get Mii head
- get friend list

You'll have to copy opt.bin and seprom.bin close to CEMU.exe and the others things in mlc01 folder (or your external mlc folder is you set one, this allow to share update/DLC and save between different installs of CEMU)
See the source of getWiiuOnlineFiles.bat line 219 to get the paths on the Wii-U.

Again, all of this is done automatically with BatchFw :
- get the online files for all users in a row
- install needed files before launching CEMU (cleaned after in case where you play online from another place)

Have a look to the official guide, all is covered i think :
https://cemu.cfw.guide/installing-cemu


Hasta la proxima !
 
Last edited by Laf111,
  • Like
Reactions: Willsito_GG

Willsito_GG

Well-Known Member
OP
Member
Joined
Dec 31, 2017
Messages
281
Trophies
0
XP
1,421
Country
Spain
For my daughter and me ;)


> About the graphics and shaders pack and BatchFw completion

Yes they are enought BUT :
- not all games are supported (eShop and 3rd party ones)
- not all resolution presets are defined for all aspect ratios

BatchFw does 2 things :
- create resolution GFX packs for games not supported and FPS CAP packs to boost FPS to the refresh rate of your screen monitor OR (depending on the game engine's model) increase the emultaion speed
- if during the setup you choose to let BatchFw complete the GFX packs, it will add all missing presets in a range from 480p to 5880p
the aspect ratio is computed with the current display on every host so could be 16/10, 21/9, 32/9 multi-screen configuration ect...)
If you use a 16/9 monitor, it will add the missing presets for 16/9

> import/export my saves between CEMU and my Wii U

You can do it with any FTP client and using the right version (according to the CFW you use) of FTP everywhere server, knowing the titleID and where you have installed the game on your Wii-U.
/storage_%src%/usr/save/00050000/%endTitleId% (src = mlc or usb)

All of this is automated in BatchFw using WinScp (an open source FTP client) scripting feature.
After the first connection, you even don't need to enter the IP adress if you use a local static IP policy.

BatchFw take a snapshot of your Wii-U to save update/DLC and saves states and game location.
This snapshot is used when you sync/import OR export between CEMU and the WII-U :
- only list games installe don the both side
- get the storage location of the game on your Wii-U

You can choose wich game and wich user to treat or treat all (if you choose to import and not synchronize your save)
You have to refresh the snapshot if you move/add/delete games on your Wii-U

> online files

To play online with CEMU you'll need :
- to have dumped opt.bin and seeprom.bin using NANDDUMPER (not done with BatchFw : it is a prerequisite)
- for each Wii-U profile :
- get the accounts file (account.dat)
- get certificates (CCERTS, SCERTS)
- get Mii head
- get friend list

You'll have to copy opt.bin and seprom.bin close to CEMU.exe and the others things in mlc01 folder (or your external mlc folder is you set one, this allow to share update/DLC and save between different installs of CEMU)
See the source of getWiiuOnlineFiles.bat line 219 to get the paths on the Wii-U.

Again, all of this is done automatically with BatchFw :
- get the online files for all users in a row
- install needed files before launching CEMU (cleaned after in case where you play online from another place)

Have a look to the official guide, all is covered i think :
https://cemu.cfw.guide/installing-cemu


Hasta la proxima !

Hello again Laff,

Encore merci beaucoup!

I have been diving in your .bat files, and wow, you did a lottttt of shell scripting work! I am not an expert (far from it) but I sometimes build my .bats for some programs or tools. Also, I have been reading all the stuff from the official guide (https://cemu.cfw.guide/installing-cemu) and now I have more context of what is behind.

Therefore, my conclusion is to not mess a lot with this and just go straigh to the point. To do this, I ask you the following questions, just to confirm:
  1. If I want to just import/export or syncronize save states from CEMU to my CBHC Wii U (avoiding let's say to install the whole Batch FW package):
    • In Wii U: launch FTP Server from HBL (I use this one: https://gbatemp.net/threads/ftpiiu.416907/ is it OK?) take the IP of the Wii U.
    • In PC: which of the .bat files do I have to launch to import from Wii U to CEMU save states?
    • In PC: which of the .bat files do I have to launch to import from CEMU to Wii U save states?
    • In PC: which of the .bat files do I have to launch to sync between CEMU and Wii U save states?

  2. If I want to download those files to play online:
  • In Wii U: launch FTP Server from HBL (I use this one: https://gbatemp.net/threads/ftpiiu.416907/ is it OK?) take the IP of the Wii U.
  • In PC: which of the .bat files do I have to launch to extract the files for online gaming?
  • In PC: which of the .bat files do I have to launch to install the files for online gaming?
  • In PC: which of the .bat files do I have to launch to uninstall the files for online gaming?

Merci beaucoup!

Best regards

Eipok
 

Attachments

  • upload_2021-3-2_16-35-24.png
    upload_2021-3-2_16-35-24.png
    58.8 KB · Views: 116

Laf111

Well-Known Member
Member
Joined
Mar 19, 2019
Messages
163
Trophies
0
XP
1,378
Country
France
Hello again Laff,

Encore merci beaucoup!

I have been diving in your .bat files, and wow, you did a lottttt of shell scripting work! I am not an expert (far from it) but I sometimes build my .bats for some programs or tools. Also, I have been reading all the stuff from the official guide (https://cemu.cfw.guide/installing-cemu) and now I have more context of what is behind.

Therefore, my conclusion is to not mess a lot with this and just go straigh to the point. To do this, I ask you the following questions, just to confirm:
  1. If I want to just import/export or syncronize save states from CEMU to my CBHC Wii U (avoiding let's say to install the whole Batch FW package):
    • In Wii U: launch FTP Server from HBL (I use this one: https://gbatemp.net/threads/ftpiiu.416907/ is it OK?) take the IP of the Wii U.
    • In PC: which of the .bat files do I have to launch to import from Wii U to CEMU save states?
    • In PC: which of the .bat files do I have to launch to import from CEMU to Wii U save states?
    • In PC: which of the .bat files do I have to launch to sync between CEMU and Wii U save states?
  2. If I want to download those files to play online:
  • In Wii U: launch FTP Server from HBL (I use this one: https://gbatemp.net/threads/ftpiiu.416907/ is it OK?) take the IP of the Wii U.
  • In PC: which of the .bat files do I have to launch to extract the files for online gaming?
  • In PC: which of the .bat files do I have to launch to install the files for online gaming?
  • In PC: which of the .bat files do I have to launch to uninstall the files for online gaming?

Merci beaucoup!

Best regards

Eipok

Well, there's a lot of dependencies upon how i organized the data dumped from the Wii-U.
I'll try to isolate this part of code for you.

But meanwhile, if you work/modify batch files take care to keep their format as ANSI to avoid any unexpected behavior.
There's a script in ./toolsFixBatFiles.bat made for it.

I'll come back to you later.

FTP everywhere : https://github.com/FIX94/ftpiiu/releases (CBHC v1.2)
Yes, get the IP adress of the Wii-u displayed on the Gamepad (or the TV)

Scripts to synchronize saves :
_BatchFW_Install\tools\exportSavesToWiiu.bat
_BatchFW_Install\tools\importWiiuSaves.bat
 
  • Like
Reactions: Willsito_GG

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Xdqwerty @ Xdqwerty: good night