Hacking Wii Backup Managers in GNU/Linux - WBFS Conversion Issues

  • Thread starter Thread starter aphirst
  • Start date Start date
  • Views Views 25,178
  • Replies Replies 23
  • Likes Likes 1
Why rewrite a wrapper from scratch? Does changing the split option and wit binary in Wii Backup Fusion not enough?
It seems a lot simpler and lighter with C++ and QT.
I may be lucky but I recompiled the source without problems.
 
@Wiimpathy it's because I'd like to change the layout too, with more options and I'm a web dev, don't really wanna get into c++ atm.

Sent from my Z2 Plus using Tapatalk

Edit:

I know Js like the back of my hand, and haven't done C++ in years. Layout is easier in html/css, and the nail on the coffin was the "YOU MAY NOT COPY THIS" license sitting within wiibafu. :/
 
Last edited by octoshrimpy,
I think I've found the problem in Wiibafu's source code:

Code:
    if (!transferParameters.SplitSize.isEmpty()) {
        arguments.append("--split");
        arguments.append("--split-size");
        arguments.append(transferParameters.SplitSize);
    }

@aphirst do you think specifying "--split-size 4G-32K" would be a good workaround, or maybe update the WIT version and use only "--split"? The WIT version being used is ancient, I'm pretty sure that's the problem as running "--split-size" without specifying "4G" should default to "4G-32K" according to your tests, right?
Anyways, I'm gonna dump my Brawl tomorrow and make some tests. If I get anything fruitful I'll fork the project into github and release a linux version.

EDIT: here's the description for --split-size from wit's website:
Enable output file splitting and define a split size. The parameter 'sz' is a floating point number followed by an optional unit factor (one of 'cb' [=1] or 'kmgtpe' [base=1000] or 'KMGTPE' [base=1024]). The default unit is 'G' (GiB).

and for --split:
Enable output file splitting. The default split size is 4 GB.

Based on this it seems if you use "--split" you'll get a 4GB file (aka 4G-32K). Using "--split --split-size 4G-32k" seems to be redundant.

EDIT 2: I've finally found the source of the problem, it's not what I thought above, lol. He was indeed manually specifying "4G" as default, I was able to change it to 4G-32K. Here are the file sizes, before and after, runing with the default settings:
before:
Code:
3145728000 mar 23 13:41 'Super Smash Bros. Brawl [RSBE01].wbf1'
4294967296 mar 23 13:41 'Super Smash Bros. Brawl [RSBE01].wbfs'

after:
Code:
4294934528 mar 23 13:41 'Super Smash Bros. Brawl [RSBE01].iso'
3663757312 mar 23 13:41 'Super Smash Bros. Brawl [RSBE01].iso.1'

EDIT 3 (hopefully the final edit): I've forked the project and it's now on github, the bug is patched (I think, it's working fine on linux), I'm not familiar with GUI programing, so don't expect active devolopment from my part, lol.
https://github.com/evertonstz/wiibafu
 
Last edited by evertonstz,
  • Like
Reactions: aphirst

Site & Scene News

Popular threads in this forum