Hacking Cfg USB Loader 70r78.13 released

nitraiolo

Well-Known Member
OP
Newcomer
Joined
May 5, 2013
Messages
80
Trophies
1
Age
45
Website
cfgusbloader.ntd.homelinux.org
XP
346
Country
Italy
Hello,

the new patched version of Cfg USB Loader has just been released on http://cfgusbloader.ntd.homelinux.org and https://github.com/nitraiolo/CfgUSBLoader.

Changelog:
Internals - changed memory start addres to avoid overlaps
Graphics - added options for 480p Nintendo Revolution SDK bug fix patch (Thanks leseratte)
Graphics - added options for deflickering settings (Thanks blackb0x)
Graphics - added options for disabling dithering (Thanks blackb0x)
Graphics - added options for framebuffer width patch (Thanks blackb0x)
Languages - Updated KO.lang (Thanks DDinghoya)
Languages - Updated ZH_CN.lang (Thanks kavid)
Documentation - Moved README-CFG.txt to README.md, updated and converted to markdown format

In this release all the latest graphics patches have been ported to enahance the image quality.

Thanks to @leseratte and @blackb0x for their original work on the patches.
Thanks to @DDinghoya and @kavid for their contribution.

Bye.
 

xunga

Well-Known Member
Newcomer
Joined
Jul 24, 2019
Messages
77
Trophies
0
Age
44
XP
277
Country
Argentina
My main problem with Cfg USB Loader is that it doesn't respect my Nintendont settings and reset them to the initial default whenever I start a Gamecube game through the loader.

Also that you can't save the option to only show Wii games.

Are these issues solved in this latest version?
 

JuanMena

90's Kid, Old Skull Gamer & Artist
Member
Joined
Dec 17, 2019
Messages
5,219
Trophies
3
Age
31
Location
the 90's 💙
XP
12,750
Country
Mexico
My main problem with Cfg USB Loader is that it doesn't respect my Nintendont settings and reset them to the initial default whenever I start a Gamecube game through the loader.

Also that you can't save the option to only show Wii games.

Are these issues solved in this latest version?
Wondering this too.
If I'm not mistaken CFG resets the settings everytime a GameCube backup is loaded.

Hope that issue gets fixed.
Post automatically merged:

Is there an option that can be activated so that the games appear in the Wii menu log? Just like USBL GX does.
Yes. Select your game and go to Options. You'll find "Write to Log" lr something like that there. You have to "turn it on" for each game, but only once. Kinda wish it was a Global Setting though.
 

hadi aulia

Well-Known Member
Member
Joined
Feb 22, 2016
Messages
176
Trophies
0
Age
41
XP
1,264
Country
Indonesia
Hello,

the new patched version of Cfg USB Loader has just been released on http://cfgusbloader.ntd.homelinux.org and https://github.com/nitraiolo/CfgUSBLoader.

Changelog:
Internals - changed memory start addres to avoid overlaps
Graphics - added options for 480p Nintendo Revolution SDK bug fix patch (Thanks leseratte)
Graphics - added options for deflickering settings (Thanks blackb0x)
Graphics - added options for disabling dithering (Thanks blackb0x)
Graphics - added options for framebuffer width patch (Thanks blackb0x)
Languages - Updated KO.lang (Thanks DDinghoya)
Languages - Updated ZH_CN.lang (Thanks kavid)
Documentation - Moved README-CFG.txt to README.md, updated and converted to markdown format

In this release all the latest graphics patches have been ported to enahance the image quality.

Thanks to @leseratte and @blackb0x for their original work on the patches.
Thanks to @DDinghoya and @kavid for their contribution.

Bye.
will it worked on virtual wii ?
 

nitraiolo

Well-Known Member
OP
Newcomer
Joined
May 5, 2013
Messages
80
Trophies
1
Age
45
Website
cfgusbloader.ntd.homelinux.org
XP
346
Country
Italy
Is there an option that can be activated so that the games appear in the Wii menu log? Just like USBL GX does.
Hi,
yes, look at "write_playlog" option in config.txt:

# write_playlog = [0], 1, 2, 3 # Write gameplay stats to the Wii message board log. # This option won't work when the Wii Menu is skipped before # starting Cfg (e.g., using Priiloader or BootMii autoboot). # 0 = off, do not write to the Wii Message Board log. # 1 = on, set title based on the value of the language option unless # the title in that language is blank where it then uses the # English title or the Japanese title (whichever is valid). # 2 = on, set title to the Japanese title. # 3 = on, set title to the English title. # In the per-game menu, these options show up as "Off", "On", # "Japanese Title" and "English Title" respectively.

Note that game options can be set globally too.

bye
Post automatically merged:

My main problem with Cfg USB Loader is that it doesn't respect my Nintendont settings and reset them to the initial default whenever I start a Gamecube game through the loader.

Also that you can't save the option to only show Wii games.

Are these issues solved in this latest version?
Hi,
look at "nintendont_config_mode" option in config.txt:

# nintendont_config_mode = [file],arg # file = parameters are passed to nintendont rewriting nintendont config file # arg = parameters are passed to nintendont via command line argument

Set "nintendont_config_mode" to "arg", so config file will be ignored.

bye
Post automatically merged:

will it worked on virtual wii ?
Hi
Yes, cfg is vWii compliant. Since r8 cfg is detecting if run on Wii or vWii.

bye
Post automatically merged:

Excellent release!!

:bow:

The best USB loader got even better!
Thanks! ❤️
 
Last edited by nitraiolo,

JuanMena

90's Kid, Old Skull Gamer & Artist
Member
Joined
Dec 17, 2019
Messages
5,219
Trophies
3
Age
31
Location
the 90's 💙
XP
12,750
Country
Mexico
Okay, finally tested this and it's really great.

I have couple questions though hope to get some answers:

- Why in the Options, under IOS settings it's automatically set to "222-mload"? What's the difference between that and "Auto"?
Wondering as I've always used "Auto" and never had issues with it so I'm not sure if I'm breaking something by using "Auto" instead.

- How do I set up Global Video Settings, so I don't set them for each individual game?
I understand thaty there's the config.txt or settings.txt ... but my own config/settings file doesn't has comments about it, so I'm not sure how to set them via config/settings text file.

- Same question for GameCube games using Nintendont.
What's the correct #Comment and "argument" to make them work?

- Is the provided version of Nintendont unofficial?

- Will there be another update?
 
Last edited by JuanMena,
  • Like
Reactions: nitraiolo

nitraiolo

Well-Known Member
OP
Newcomer
Joined
May 5, 2013
Messages
80
Trophies
1
Age
45
Website
cfgusbloader.ntd.homelinux.org
XP
346
Country
Italy
Hello @JuanMena

Okay, finally tested this and it's really great.

Thanks a lot!

- Why in the Options, under IOS settings it's automatically set to "222-mload"? What's the difference between that and "Auto"?
Wondering as I've always used "Auto" and never had issues with it so I'm not sure if I'm breaking something by using "Auto" instead.

"Auto" will assign cIOS automatically.
"222-mload" forces always the load of Hermes 222 cIOS with mload.

"Auto" is the default for normal cfg distribution, that uses Waninkoko cIOS.
"222-mload" is the default for the 222 cfg distribution, that uses Hermes cIOS.

- How do I set up Global Video Settings, so I don't set them for each individual game?
I understand thaty there's the config.txt or settings.txt ... but my own config/settings file doesn't has comments about it, so I'm not sure how to set them via config/settings text file.

You can find the documentation with all config directives commented here:
http://cfgusbloader.ntd.homelinux.org/readme.html
or here:
https://github.com/nitraiolo/CfgUSBLoader

Global values are stored in /usb-loader/config.txt that is read-only inside cfg.
Custom configs are saved in /usb-loader/settings.cfg that is still a text file and can be edited, but it is overwritten every time you change a configuration inside cfg.

To set globally the video settings you can set them in /usb-loader/config.txt. The settings you are referring to should be the following:

Code:
# fix_480p = [0], 1
#   enable/disable 480p Nintendo Revolution SDK bug fix patch
#
# deflicker = [0], 1, 2, 3, 4, 5
#   override deflicker filter settings:
#     0 = Defaults as hardcoded in the game
#     1 = Turns off deflickering setting the vfilter to Off
#     2 = Turns off deflickering setting the vfilter and patchig GXSetCopyFilter function
#     3 = Turns on deflickering setting vfilter to Low
#     4 = Turns on deflickering setting vfilter to Medium
#     5 = Turns on deflickering setting vfilter to High
#
# dithering = [0], 1
#   enable/disable dithering removal patch
#
# fix_fb = [0], 1
#   enable/disable framebuffer width patch

So for example you could put in /usb-loader/config.txt:

Code:
fix_480p = 1
deflicker = 1
dithering = 1
fix_fb = 1

- Same question for GameCube games using Nintendont.
What's the correct #Comment and "argument" to make them work?

Nintendont should work out of the box. If you want to avoid nintendont's configuration file to be overwritten you should set it in /usb-loader/config.txt like this:

Code:
nintendont_config_mode = arg

- Is the provided version of Nintendont unofficial?

Yes, it is.
I don't rebuild it, simply I sync it with the nintendont github released one.

- Will there be another update?

I think so...
Stay tuned ;)

Bye
Post automatically merged:

Hello

Thanks for the update. Anyone know if there's a way to remove or change the Among Us splash screen?

Sorry but splashscreen is statically built in.

Bye
 

JuanMena

90's Kid, Old Skull Gamer & Artist
Member
Joined
Dec 17, 2019
Messages
5,219
Trophies
3
Age
31
Location
the 90's 💙
XP
12,750
Country
Mexico
Hello @JuanMena



Thanks a lot!



"Auto" will assign cIOS automatically.
"222-mload" forces always the load of Hermes 222 cIOS with mload.

"Auto" is the default for normal cfg distribution, that uses Waninkoko cIOS.
"222-mload" is the default for the 222 cfg distribution, that uses Hermes cIOS.



You can find the documentation with all config directives commented here:
http://cfgusbloader.ntd.homelinux.org/readme.html
or here:
https://github.com/nitraiolo/CfgUSBLoader

Global values are stored in /usb-loader/config.txt that is read-only inside cfg.
Custom configs are saved in /usb-loader/settings.cfg that is still a text file and can be edited, but it is overwritten every time you change a configuration inside cfg.

To set globally the video settings you can set them in /usb-loader/config.txt. The settings you are referring to should be the following:

Code:
# fix_480p = [0], 1
#   enable/disable 480p Nintendo Revolution SDK bug fix patch
#
# deflicker = [0], 1, 2, 3, 4, 5
#   override deflicker filter settings:
#     0 = Defaults as hardcoded in the game
#     1 = Turns off deflickering setting the vfilter to Off
#     2 = Turns off deflickering setting the vfilter and patchig GXSetCopyFilter function
#     3 = Turns on deflickering setting vfilter to Low
#     4 = Turns on deflickering setting vfilter to Medium
#     5 = Turns on deflickering setting vfilter to High
#
# dithering = [0], 1
#   enable/disable dithering removal patch
#
# fix_fb = [0], 1
#   enable/disable framebuffer width patch

So for example you could put in /usb-loader/config.txt:

Code:
fix_480p = 1
deflicker = 1
dithering = 1
fix_fb = 1



Nintendont should work out of the box. If you want to avoid nintendont's configuration file to be overwritten you should set it in /usb-loader/config.txt like this:

Code:
nintendont_config_mode = arg



Yes, it is.
I don't rebuild it, simply I sync it with the nintendont github released one.



I think so...
Stay tuned ;)

Bye
Post automatically merged:

Hello



Sorry but splashscreen is statically built in.

Bye
Thanks for the explanation. It's clearer now.

Regarding the Nintendont settings, I always had it like that in the old versions but never worked properly, to be honest I haven't tried Nintendont through CFG but I'll check this out sometime soon.

Thanks again!
 
  • Like
Reactions: nitraiolo

nitraiolo

Well-Known Member
OP
Newcomer
Joined
May 5, 2013
Messages
80
Trophies
1
Age
45
Website
cfgusbloader.ntd.homelinux.org
XP
346
Country
Italy
Hello

I have a question, is the Nintendont dol file that is included, the most recent compiled version?

It's the one released on github and synced at the cfg release time.
The last commit on nintendont's github is 2 months old, so it is the lastest one right now.

Bye
 
  • Like
Reactions: GustavoReis

RunningSnakes

Well-Known Member
Member
Joined
Jun 21, 2018
Messages
1,436
Trophies
1
Age
51
XP
5,265
Country
United States
Beautiful update, thank you for your work.

I continue to have a minor issue and it could be isolated with my USB device since i have not read anyone else with the issue. This issue also exists in the prior CFG releases and please forgive me if i overlooked a setting.

Installing d2x v11 beta1 to either base 56 or 57 breaks loading VC/WiiWare games through emuNand. Reverting back to d2x v8 final fixes the issue in all instances.

Not positive if this is my end issue but WFL and GX both have no issue with v11 but CFG hangs when attempting to load emuNand.

As i said, not a big issue, wondering if anyone else is experiencing this?

Edit:

I pulled my out my master WD 2tb HDD to test and yes the issue still exists. d2x v11 and CFG don't seem to get along well.
 
Last edited by RunningSnakes,
  • Like
Reactions: nitraiolo

nitraiolo

Well-Known Member
OP
Newcomer
Joined
May 5, 2013
Messages
80
Trophies
1
Age
45
Website
cfgusbloader.ntd.homelinux.org
XP
346
Country
Italy
Hello @RunningSnakes

Beautiful update, thank you for your work.

thanks!

I continue to have a minor issue and it could be isolated with my USB device since i have not read anyone else with the issue. This issue also exists in the prior CFG releases and please forgive me if i overlooked a setting.

Installing d2x v11 beta1 to either base 56 or 57 breaks loading VC/WiiWare games through emuNand. Reverting back to d2x v8 final fixes the issue in all instances.

Not positive if this is my end issue but WFL and GX both have no issue with v11 but CFG hangs when attempting to load emuNand.

As i said, not a big issue, wondering if anyone else is experiencing this?

Edit:

I pulled my out my master WD 2tb HDD to test and yes the issue still exists. d2x v11 and CFG don't seem to get along well.

TBH I haven't tried dx2 v11 beta1 yet... Rigth now I'm still usign v10beta52 and v10beta53.

This is my cIOS syscheck section:

IOS202[60] (rev 65535, Info: hermesrodries-v6): Trucha Bug, NAND Access, USB 2.0
IOS222[38] (rev 65535, Info: hermes-v5.1): Trucha Bug, ES Identify, NAND Access, USB 2.0
IOS223[57] (rev 65535, Info: hermes-v5.1): Trucha Bug, NAND Access, USB 2.0
IOS224[37] (rev 65535, Info: hermes-v5.1): Trucha Bug, NAND Access, USB 2.0
IOS236 (rev 65535): Trucha Bug, ES Identify, NAND Access
IOS245[37] (rev 21010, Info: d2x-v10beta53-alt): Trucha Bug, NAND Access, USB 2.0
IOS246[38] (rev 21010, Info: d2x-v10beta53-alt): Trucha Bug, ES Identify, NAND Access
IOS247[53] (rev 21010, Info: d2x-v10beta53-alt): Trucha Bug, NAND Access, USB 2.0
IOS248[55] (rev 21010, Info: d2x-v10beta53-alt): Trucha Bug, NAND Access, USB 2.0
IOS249[56] (rev 21010, Info: d2x-v10beta52): Trucha Bug, NAND Access, USB 2.0
IOS250[57] (rev 21010, Info: d2x-v10beta53-alt): Trucha Bug, NAND Access, USB 2.0
IOS251[58] (rev 21010, Info: d2x-v10beta53-alt): Trucha Bug, NAND Access, USB 2.0
IOS252[56] (rev 21010, Info: d2x-v10beta53-alt): Trucha Bug, NAND Access, USB 2.0

I'ts strange that you have to use dx8... dx10 are also not working for you?

How is your syscheck?
 
  • Like
Reactions: RunningSnakes

XFlak

Wiitired but still kicking
Member
Joined
Sep 12, 2009
Messages
14,093
Trophies
3
Age
38
Location
Cyprus, originally from Toronto
Website
modmii.github.io
XP
10,327
Country
Cyprus
Beautiful update, thank you for your work.

I continue to have a minor issue and it could be isolated with my USB device since i have not read anyone else with the issue. This issue also exists in the prior CFG releases and please forgive me if i overlooked a setting.

Installing d2x v11 beta1 to either base 56 or 57 breaks loading VC/WiiWare games through emuNand. Reverting back to d2x v8 final fixes the issue in all instances.

Not positive if this is my end issue but WFL and GX both have no issue with v11 but CFG hangs when attempting to load emuNand.

As i said, not a big issue, wondering if anyone else is experiencing this?

Edit:

I pulled my out my master WD 2tb HDD to test and yes the issue still exists. d2x v11 and CFG don't seem to get along well.
I have it on good authority this a CFG loader issue and not a cIOS issue

Neither USB Loader GX or WiiFlow required any changes for d2x v11 beta 1 to work, so I'd guess it's got something to do with the start address that this version of CFG loader uses

Edit: I hope his helps w development!
 
  • Like
Reactions: RunningSnakes

nitraiolo

Well-Known Member
OP
Newcomer
Joined
May 5, 2013
Messages
80
Trophies
1
Age
45
Website
cfgusbloader.ntd.homelinux.org
XP
346
Country
Italy
Hello @XFlak !!

I have it on good authority this a CFG loader issue and not a cIOS issue

That's sure.

Neither USB Loader GX or WiiFlow required any changes for d2x v11 beta 1 to work, so I'd guess it's got something to do with the start address that this version of CFG loader uses

Edit: I hope his helps w development!

No, it's not related to start address. Wiiflow uses 0x80620000 and usbloadergx uses 0x80B00000 and cfg is in the middle.

The problem is in the very old libogc it uses. Even r13 still uses the old 1.8.12. To rebuild the new version I still used my old devkit environment. I'm working now about libogc update. There are some changes to do. Right now I'm able to build it against 1.8.24.
 
  • Like
Reactions: RunningSnakes

XFlak

Wiitired but still kicking
Member
Joined
Sep 12, 2009
Messages
14,093
Trophies
3
Age
38
Location
Cyprus, originally from Toronto
Website
modmii.github.io
XP
10,327
Country
Cyprus
"nitraiolo replied to you and he seems to think it's due to an old version of libogc / devkitPPC, but I'm not 100% on that since USB Loader GX r1272 and older also uses libogc 1.8.12 and devkitPPC r29

So if an outdated copy of libogc was the issue then older versions of WiiFlow and USB Loader GX wouldn't work with d2x v11 beta1, yet they do"

Probably still a good idea to get libraries more up to date but it sounds like it may not resolve this particular issue. Hopefully one way or another it can be resolved because it would stink to be stuck on a particular cios, especially if in the future it becomes more and more outdated
 
  • Like
Reactions: RunningSnakes

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: @realtimesave, I also play Budokai Tenkaichi 3 on my PS3