Wiimm / wiimms-iso-tools

»Wiimms ISO Tools« is a set of command line tools to extract, modify and create Wii and GameCube ISO images and WBFS containers.
https://wit.wiimm.de
118 stars 15 forks source link

wwt: ERROR #48 [NO WBFS FOUND] in AnalyzePartitions() @ src/wbfs-interface.c#447 (no WBFS partitions found -> abort) #28

Open yhilgjff opened 4 months ago

yhilgjff commented 4 months ago

Just discovered your tool and, WOW! Congrats on all of this primo work you have been putting into. <3

I am learning all of this Homebrew channel stuff and I have managed to get everything to work using windoze.

As I am trying to learn all of this stuff better, I would like to be fully functional in a Linux terminal environment. And behold: sudo apt install wit -y showed me heaven.

After some time playing with wit, wwt and wfuse tools, and also checking the quite amazing https://wit.wiimm.de/, I have a much better idea of what I am doing, thank you. I can see my external hard drives with my library when issuing the sudo wwt llll command, I am also capable of finding it and mounting it using the ephemeral folder -u flag.

I explored wwt space, ``analyze,dump``` a few others and they all see my external drive. But when I try adding a game, it says that it cannot find any BWFS partition. Yet it is there:

$ sudo wwt find
/dev/sdc1
$ sudo wfuse /dev/sdc1 -c /mnt/wii
$ sudo wwt list --long

ID6     MiB Reg. 1/500 discs (83 GiB)
------------------------------------------------------------------------
123321  111 PAL  My Sweet Wii Game
------------------------------------------------------------------------
Total: 1/500 discs, 85328 MiB ~ 83 GiB used, 868512 MiB ~ 848 GiB free.
$ cd /wii
$ ls
My Sweet Wii Game 2.iso
$ wdf -v +PACK My Sweet Wii Game 2.iso
[...]
$ ls
My Sweet Wii Game 2.wdf
$ sudo wwt add                                        
*****  wwt: Wiimms WBFS Tool v3.01a r0 x86_64 - Dirk Clemens - 2024-04-01  *****
!! wwt: ERROR #48 [NO WBFS FOUND] in AnalyzePartitions() @ src/wbfs-interface.c#447
!!      no WBFS partitions found -> abort
$ sudo wwt add My Sweet Wii Game 2.wdf
*****  wwt: Wiimms WBFS Tool v3.01a r0 x86_64 - Dirk Clemens - 2024-04-01  *****
!! wwt: ERROR #48 [NO WBFS FOUND] in AnalyzePartitions() @ src/wbfs-interface.c#447
!!      no WBFS partitions found -> abort
$ ps -ef | grep -i wii
root      126726       1  0 14:36 ?        00:00:00 wfuse /dev/sdc1 -c /mnt/wii
[...]
$

I am sure that I ain't missing much. Any idea on what is the proper Linux command and format to add a ISO over to an existing WBFS disk?