Hacking Configurable USB Loader

  • Thread starter Thread starter oggzee
  • Start date Start date
  • Views Views 7,865,854
  • Replies Replies 18,482
  • Likes Likes 22
Feature Request: decrypting LUKS-cryptsetup USB devices


oggzee, usptactical, gannon and dr.clipper,


so we have these backups of our games on usb devices, but it seems like a bit of a liability if you catch my drift

what could we do to protect our data partitions from 'snooops'?

prior to creating and formatting the actual wbfs/fat partition, how about wrapping the device/data with a LUKS encryption layer via Cryptsetup

include cryptsetup, dm-crypt and some ciphers such as AES, Serpent, Blowfish, Twofish, SHA256 & SHA512, plus a setting to enable decryption/auto-detect, and display an onscreen keyboard to punch in the code and gain access


just imagine... excellent privacy and data protection for Wii homebrew users



this feature could really push the envelope, homebrew console wise
wink.gif

think about that

(i dont think it's been done before, but sure is needed these days)
 
oggzee said:
TyRaNtM said:
How can you load banner sounds?
Banner sounds are played when you select a game, if you have confirm_start=1
as for the other questions, i don't know.

Good. The other questions are this:
1- I have a backup of Smash Bros. Brawl, ripped with CleanRip (is a 1:1 copy), i use .wbfs files, but this is a .iso one.
The thing is, if you go to Masterpieces (where you can load VC demos), after loading a demo, the screen goes black and freezes forever.
I don't know why, if you have a 1:1 copy, still cannot access to the VC demos.
2- If you can add support Keyboard in CFG.
3- Another thing: Why a lot of games, when you press Home button and press Reset, didn't do it, and instead go to Wii Menu?
4- There is a way to have full screen in widescreen mode with CFG? Because there is a black border.
 
FIX94 said:
bobthebigbat said:
fix94 said:
this is strange... and you are sure that you don't have a usbloader folder?
if you don't have one, try this:
usbloadercfg - ucxf - ios58 v3.wad (right click - save as)
this forwarder had the same result, still shows app. path: sd:/apps/usbloader
i don't have an apps/usbloader on either sd or usb. definitely doesn't exist.
does it matter that i'm running system menu 4.2e and not 4.3e?

syscheck
ios58 (rev 6175): no patches
ios249 (rev 20): trucha bug nand access usb 2.0

just tried with ios58 (rev 6176) = same results.

I'VE FOUND THE PROBLEM USING THE DEBUG MODE IN CONFIGURABLE USB LOADER!
Line 156, fileop.c:
Code:
ÂÂÂÂÂÂÂÂchar mount[10];
ÂÂÂÂÂÂÂÂsprintf(mount, "%s%i", prefix[device], *devnum+1);
The +1 is the problem!
I'm now using the line from narolez source modification!
CODE
ÂÂÂÂif(*devnum == 0)
ÂÂÂÂÂÂÂÂsprintf(mount, "%s", prefix[device]);
ÂÂÂÂelse
ÂÂÂÂÂÂÂÂsprintf(mount, "%s%i", prefix[device], *devnum);
And it works!
I will upload the new forwarder later!
edit: Here is the new one:
USBLoaderCFG - UCXF - IOS58 v4.wad
(right click - save as)


um is there anyway you can make this forwarder skip the intro screen?
when i try to use the forwarder included in crap iT TRIES TO AUTOSTART CRAPPY, thx gys
 
"41b - select a game and it goes loading 249 then loads the game 1 second later.

v60 - select a game and it goes loading 249........ ..... .... then loads. 41b only does that extra loading with mload 222 and 223 but v60 does the long load even with the default 249!


sounds like the playlog option, got added around 52 or 54
 
fbrd said:
"41b - select a game and it goes loading 249 then loads the game 1 second later.

v60 - select a game and it goes loading 249........ ..... .... then loads. 41b only does that extra loading with mload 222 and 223 but v60 does the long load even with the default 249!


sounds like the playlog option, got added around 52 or 54
Not necessarily, because that is not enabled by default.
Again I suspect it's more of a visual thing, since v60 will display the progress while v41 does not it might appear as if v41 is faster.
Also, maybe v41 turns the screen to black at some point sooner than v60 making the black screen longer instead.
Well, these assumptions need to be measured to get some objective results, which means, modifying the code again... i might do it, just out of curiosity.
 
Can you please add an option to make the splash black? I don't like splashes and I use a different theme than the one the splash uses.
 
maybe I'm thinking of write_playstats. I had exactly the same big pause start occuring and tracked it down to one of those options. I'm in work otherwise I'd check my config.txt. I noticed the first time cfg tries to write a file it hangs for 3 or 4 seconds and subsequent writes were immediate (when downloading multiple covers for example). And I noticed I didn't get the pause when I launched a game if I had just updated titles.txt or similar.
 
Is there or will there ever be a way to play the Guitar Hero DLC on my SDHC using this loader?
It works fine when I play using the disc but once I start from HDD it wont detect the songs and if I try to load new ones it tells me "the device inserted in the SD Card Slot can't be used"
Apparently its a well known problem, I'm just wondering if there will be a fix anytime in the future
 
fbrd said:
maybe I'm thinking of write_playstats. I had exactly the same big pause start occuring and tracked it down to one of those options. I'm in work otherwise I'd check my config.txt. I noticed the first time cfg tries to write a file it hangs for 3 or 4 seconds and subsequent writes were immediate (when downloading multiple covers for example). And I noticed I didn't get the pause when I launched a game if I had just updated titles.txt or similar.
Ah, you're right, that might add a miniscule delay, depends on the device write speed.
I forgot about that.
 
Hey guys, i.m having problems installing games from disc onto an NTFS formatted drive.
I get this error -

Writing to ntfs:/wbfs/GameName.wbfs

SPLIT 0: no file

ERROR Creating File

[+]Installation ERROR! (ret=1)

Any Ideas?
 
Any chance on an option to change the cheats folder location? While the built in cheat manager is good, I much prefer Arccio Hacks, and It's a pain to move the .gct file.
 
ConJ said:
Hey guys, i.m having problems installing games from disc onto an NTFS formatted drive.
I get this error -

Writing to ntfs:/wbfs/GameName.wbfs

SPLIT 0: no file

ERROR Creating File

[+]Installation ERROR! (ret=1)

Any Ideas?
Try adding ntfs_write = 1 to config.txt
 
.44 Magnum said:
ConJ said:
Hey guys, i.m having problems installing games from disc onto an NTFS formatted drive.
I get this error -

Writing to ntfs:/wbfs/GameName.wbfs

SPLIT 0: no file

ERROR Creating File

[+]Installation ERROR! (ret=1)

Any Ideas?
Try adding ntfs_write = 1 to config.txt

Thanks dude, worked a treat.
yaywii.gif
 
ThE MaSTeR 3 said:
yea the slightly longer boot time isnt a big deal. I'm more concerned with hiding the config usb loader splash screen. Also I dont like how games take longer to load
41b - select a game and it goes loading 249 then loads the game 1 second later.
v60 - select a game and it goes loading 249........ ..... .... then loads. 41b only does that extra loading with mload 222 and 223 but v60 does the long load even with the default 249!
Ok as i said before I was curious what are really the actual timings of the launch sequence.
So for the fun of it here's the details:

v41:
load: 0.769 seconds
total launch time: 1.895 seconds
read speed: 4.48 MB/s

v60:
load: 0.765 seconds
total launch time: 1.896 seconds
read speed: 4.50 MB/s

What do you know, the results are identical
moogle.gif


Here are the dols, if anyone wants to try:
http://cfg-loader.googlecode.com/files/cfg41t3.dol
http://cfg-loader.googlecode.com/files/cfg60t3.dol
the launch time measurement is enabled with the option debug=16

And here are the screenshots:

v41:

121g1n6.png


v60:

netct1.png
 
Gooooo oggzee, it's your birthday! Gonna party like it's your birthday! And u know we dont give a f*ck cuz it's your birthday!
biggrin.gif


lol, seriously, I love your loader, keep up the awesome work guys!
biggrin.gif


PS. if its not too much trouble, when/if you start using 1 dol with meta.xml arguments instead of 2 (for 222 and 249) can u or Dr. Clipper plz send me a PM just letting me know (in case I miss it) so I can make the appropriate changes to ModMii when downloading your most recent releases. If its too much trouble or you forget, don't worry about it, thx!
 
cfg v61a (alpha)
cfg61a.dol
cfg61a-222.dol
(or online update)
Changes:

cfg v61a (alpha)
* Upgraded dev tools devkitppc 17 to 22 and libogc 1.7.1 to 1.8.4
* Improved partition check for raw fs (v60t1 fix)
* cios 222 shadow mload proper version (5.1) check
* debug stuff:
pressing + in global options screen will report:
- devkitppc and libogc version
- mem stats
- startup timings
option debug=16 will report game launch timings
 
theres ONE thing i never had clear..
if you get a 1TB do you HAVE TO partition/format it on 2 partitions smaller than 500gb because
a) the wii cant see at all anything bigger than 500gb
b)the wii cannot "store" or "rip to hdd" into a partition bigger than 500gb?

why im asking..
well cuz i dont mind using my PC to transfer the game INTO the hdd and only connect it to the wii to actually load games from it...
so.. if cfg usb loader has no problems loading games from the hdd no matter the size ill be happy.. unless the cfg usb loader cannot save the covers into the hdd cuz of the size (500gb+)
 

Site & Scene News

Popular threads in this forum