Hacking Wii backup Manager for Windows

m3xic4ndiy3i

Member
Newcomer
Joined
Dec 30, 2009
Messages
9
Trophies
0
XP
68
Country
Mexico
thanx for this useful app!.....in the last Version 0.3.4r4 , after use on m portable HD (working fine a few minutes before)......USB Loder GX, boots fine , but without any game on screen!.........the reason was:
in the settings ,FAT32 / NTFS , by default comes : Title [GameID]..... in this way USB Loader GX can´t see any game inside of HD..........the working option for USB loader GX is: GameID_Title.

thanx again for ur time on this app!
 

Wiiwu

Well-Known Member
Member
Joined
Jan 21, 2009
Messages
209
Trophies
0
Age
57
Location
Asia
Website
mmm4wii.posterous.com
XP
54
Country
Hong Kong
I think WBM slower than wbfs_file.exe transfers tends to be more visible on slower pc like my netbook.

A quick trace of file ops between WBM and wbfs_file also revealed differences in their file access pattern.

With wbfs_file, its a pretty consistent 32k read/write pattern from start to end.

WBM's look really odd, maybe due to compiler opt? It starts off with 32k r/w but will switch back and fore with 64k, 2M access and weirdest part is it will often read/write 2M from a offset but then goes back to the same offset and repeat the read/write this time in 64K chunk again.
 

fig2k4

Well-Known Member
OP
Member
Joined
Oct 30, 2009
Messages
758
Trophies
0
Location
Scotland
Website
www.wiibackupmanager.co.uk
XP
174
Country
is one better than the other?? probably makes no difference, correct?
Mine is correct, but it makes no difference with the loaders. If you load the ISO in WiiScrubber or something, all the partitions will appear to be still there, but the data isn't. If anything ever tried to use those partitions then you'd get a read error on the Wii. I'm not sure how the partitions are normally used though so really it's not a big deal..

WBM's look really odd, maybe due to compiler opt? It starts off with 32k r/w but will switch back and fore with 64k, 2M access and weirdest part is it will often read/write 2M from a offset but then goes back to the same offset and repeat the read/write this time in 64K chunk again.

That was supposed to be a little optimisation ( I thought
smile.gif
) which helped reduce CPU usage without affecting the speed. Basically, if the full WBFS block is used, then it reads/writes the 2 meg block (for wbfs files), if not, then it reads/writes all the the 32k Wii sectors that are actually used in the block.

I'll send a test version to see if that is the cause.

I'm using CreateFile(), ReadFile() etc. where wbfs_file is using fopen(), fread().. The second part of your comment might because by those functions. Using ReadFile(), the read size must be sector aligned if it's unbuffered. Maybe buffered reads still need to sector aligned, but it happens behind the scenes. Some stuff to look into anyway.

What did you use to analyse the file access? Sounds handy..
 

Wiiwu

Well-Known Member
Member
Joined
Jan 21, 2009
Messages
209
Trophies
0
Age
57
Location
Asia
Website
mmm4wii.posterous.com
XP
54
Country
Hong Kong
I love your tool don't forget I'm one of your earliest fan
yay.gif
, just hoping to squeeze some more juice from the old netbook.

and procmon from sysinternals is also a fab tool to checkout.
 

fig2k4

Well-Known Member
OP
Member
Joined
Oct 30, 2009
Messages
758
Trophies
0
Location
Scotland
Website
www.wiibackupmanager.co.uk
XP
174
Country
When I added the "buffered transfers" option, I originally changed everything to use it. Then I decided that it was kinda pointless having unbuffered reads, so changed some of it back..

Anyway, I noticed that ISOs are opened in read/write mode because of copy n paste again.. Is it possible that some of the ISOs are read only, or the permissions are read only for some of them?

Things like ISO,CISO, WBFS Files should always be opened as read only, except when they're getting created/written. I need to fix that, even if that isn't the problem here.

Edit: I double checked.. Read only ISO files will cause the error you have. The changes I've made will fix it.

Edit2:
@sp00ky
There's 2 or 3 features I still want to re-implement before the covers. It keeps getting put on the back burner because there's loads of little things to do.
wtf.gif


Some features I still want.

1. Inline editing for the Titles, ID etc.
2. Save game lists to file using the templates.
3. Translations. I decided it's probably better to do this before the covers/info stuff too. It'll be a massive job otherwise. Better to do half the work twice..
smile.gif
 

fig2k4

Well-Known Member
OP
Member
Joined
Oct 30, 2009
Messages
758
Trophies
0
Location
Scotland
Website
www.wiibackupmanager.co.uk
XP
174
Country
The simple text file template I used before would output the info something like below, but the templates can be edited. I haven't implemented it yet, but soon. It's next on the list once I fix this silly bug with the inline editing and inbetween fixing the other little things.
smile.gif


Title: Billy the Wizard
GameID: RBZXUG
Region: Region free
Size: 86 MB

Title: Candace Kane's Candy Factory
GameID: RKQENR
Region: NTSC
Size: 78 MB
 

fig2k4

Well-Known Member
OP
Member
Joined
Oct 30, 2009
Messages
758
Trophies
0
Location
Scotland
Website
www.wiibackupmanager.co.uk
XP
174
Country
There's a little bug in the Wii disc partition code that we discussed recently. I noticed a report here and confirmed it by transferring SSBB keeping all partitions.

I've fixed it, so I can release another revision if it's needed by anyone.. Note that the error only happens when remapping partitions from table 2 to table 1, so really it only affects SSBB when keeping all partitions or removing the update. Transferring it using "Game only" works fine.
 

TeenTin

Well-Known Member
Member
Joined
Jun 20, 2007
Messages
1,256
Trophies
1
XP
857
Country
Hong Kong
fig2k4 said:
There's a little bug in the Wii disc partition code that we discussed recently. I noticed a report here and confirmed it by transferring SSBB keeping all partitions.

I've fixed it, so I can release another revision if it's needed by anyone.. Note that the error only happens when remapping partitions from table 2 to table 1, so really it only affects SSBB when keeping all partitions or removing the update. Transferring it using "Game only" works fine.

I need it. Obviously.
happy.gif
 

fig2k4

Well-Known Member
OP
Member
Joined
Oct 30, 2009
Messages
758
Trophies
0
Location
Scotland
Website
www.wiibackupmanager.co.uk
XP
174
Country
It wasn't really obvious, since you said you transferred it using "Game only".
smile.gif


Version 0.3.4r5
Changed: Reverted WBFS AddDisc() routine to the way it was previous to 0.3.4
Changed: ISO, CISO and WBFS files are opened as read only.
Fixed: Bug in the fix partition function that didn't quite work when remapping all the partitions in SSBB. That game showed an FST error when not using "Game only".
 

2lux

Member
Newcomer
Joined
Jan 18, 2010
Messages
9
Trophies
0
Location
France
XP
3
Country
France
hi on last version 0.3.4r4 when i select drive and custom folder ... no game found but on the files if I choose this folder the game has been correctly found ...

sorry for my bad english im french.

and its possible to add autoupdate ???
 

Rock Raiyu

Clock Up
Member
Joined
Jul 14, 2007
Messages
5,066
Trophies
1
Age
32
Location
Walking the path of heaven
XP
2,359
Country
United States
Thanks for fixing it fig2k4, it doesn't freeze anymore. But some games don't come up in the Manager or when it finishes, there is no iso. But I think that has to do with my DVD Drive is all as it rips some games but not all of them.
 

Wiiwu

Well-Known Member
Member
Joined
Jan 21, 2009
Messages
209
Trophies
0
Age
57
Location
Asia
Website
mmm4wii.posterous.com
XP
54
Country
Hong Kong
fig2k4, thanks for the WiiBackupManager-034-Test version.

Sticking to 32k transfers really speed it up
gbasp.gif


now both WBM and wbfs_file transfers in about the same time and cpu utilization is around a reasonable 30%.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Psionic Roshambo @ Psionic Roshambo:
    But you said pine apple...
  • Psionic Roshambo @ Psionic Roshambo:
    Ughh gonna be bored today, class for new job has a lot of networking material and I'm certified in that already...
  • Veho @ Veho:
    Peen apple.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    "pine unf apple" doesn't count! Lol
  • Psionic Roshambo @ Psionic Roshambo:
    Employee code of conduct videos are awesome!!! Did you know eating the other employees is bad? I didn't know... Lol
    +1
  • AncientBoi @ AncientBoi:
    Anymore males there? :blush:
  • Psionic Roshambo @ Psionic Roshambo:
    All of us lol
  • Psionic Roshambo @ Psionic Roshambo:
    I got free every channel so that's awesome lol
    +1
  • AncientBoi @ AncientBoi:
    Give me ALL the gay pron channels, since you won't be watching them :blush::D
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Lol they exist?
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Hmmm so Mario Does Luigi's plumbing is a bad movie? Lol
  • Psionic Roshambo @ Psionic Roshambo:
    These videos are soooo dry
  • Psionic Roshambo @ Psionic Roshambo:
    Please click all suspicious links sent your email
    +1
  • BigOnYa @ BigOnYa:
    What to do today? Cut grass for 3-4 hours, or just get drunk and play video games... Hmm
    +1
  • BigOnYa @ BigOnYa:
    I need a remote controlled mower, so I can sit on the couch and do both.
  • BigOnYa @ BigOnYa:
    Sounds good to me, video games and booze it is then.
    +1
  • denpafan @ denpafan:
    Good choice
    +1
  • BigOnYa @ BigOnYa:
    Now what to play, Starfield or Fallout4. And what to drink, beer or Whiskey and Coke. Such tough decisions.
  • BigOnYa @ BigOnYa:
    Looks like its whiskey & coke, only 4 beers left. And think ill start with Falllout. :grog:
  • rqkaiju2 @ rqkaiju2:
    THIS IMAGE IS SO SCARY WTF. THAT SURE AS HELL IS NOT A CAT THATS LIKE A FUCKING DEMON

    Untitled2.png
  • Psionic Roshambo @ Psionic Roshambo:
    Bonus points for running things over with the lawn mower?
    Psionic Roshambo @ Psionic Roshambo: Bonus points for running things over with the lawn mower?