Hacking WiiJManager Multiplataform (Windows/OS X)

zon7

Active Member
OP
Newcomer
Joined
Oct 1, 2005
Messages
38
Trophies
0
XP
96
Country
I've updated the download link as it contained an error when sorting the columns. No version change as it was a minor error.
 

Wiimm

Developer
Member
Joined
Aug 11, 2009
Messages
2,292
Trophies
1
Location
Germany
Website
wiimmfi.de
XP
1,519
Country
Germany
Yesterday I have tested the tool a little bit. Proxy runs and I haven't any problems with it. But I have some suggestion (tested with 0.5.3/windows):
  • The manger windows is not sizeable and to small for all columns.
  • All columns but name can be smaller.
  • The size values are in MiB. MiB is an official unit symbol for Mebibyte and means 1024*1024 = 0x100000. So you can use the shorter "MiB" insetad of "MBytes". (The new output with --section delivers the size in bytes)
  • The size columns are not right aligned.
  • In the office I can't open a folder. (I have no WBFS drive here, so I wanted to open 2 folders). I will do this test at home again.
 

ChokeD

The Contributor
Member
Joined
Jul 18, 2009
Messages
968
Trophies
0
XP
168
Country
United States
Thanks for the gui, man am i lazy.
tongue.gif
 

zon7

Active Member
OP
Newcomer
Joined
Oct 1, 2005
Messages
38
Trophies
0
XP
96
Country
@ChokeD You are welcome.

@Wiimm Yes, there was a problem on Windows when opening a folder since I changed the dialog for osx. Reverted to old version (on windows only).

@madeiraboy: As Wiimm suggest, you can try to compile wwt by yourself and send it to me, and I'll see if it works (it won't give me any problem i'm sure).


Posts merged

New version uploaded. As always check first post for the download link
QUOTE said:
Version 0.6
-Added copy between WBFS partitions.
-Added option to drag games into tables
-Fixed problem with opening folder in windows.
-Solved minor issues.
 

madeirabhoy

Well-Known Member
Member
Joined
Nov 29, 2008
Messages
336
Trophies
0
XP
386
Country
Antarctica
Wiimm said:
madeirabhoy said:
hope you are able to get this running on a 10.5 (PPC) mac as WBFS for Mac OSX is the only option and its dead buggy.
And what's about WWT? Have you ever tried to checkout the sources and make it by yourself?

wimm, how would i do that? unfortunately i know nothing about compiling
 

Wiimm

Developer
Member
Joined
Aug 11, 2009
Messages
2,292
Trophies
1
Location
Germany
Website
wiimmfi.de
XP
1,519
Country
Germany
madeirabhoy said:
Wiimm said:
madeirabhoy said:
hope you are able to get this running on a 10.5 (PPC) mac as WBFS for Mac OSX is the only option and its dead buggy.
And what's about WWT? Have you ever tried to checkout the sources and make it by yourself?


wimm, how would i do that? unfortunately i know nothing about compiling


if a complete development system is installed:
CODEcd a_base_directory_of_your_choice
svn co http://opensvn.wiimm.de/wii/trunk/wiimms-wbfs-tool
cd wiimms-wbfs-tool
make

# if there are no errors
make install

# remove temporary files
make clean

And after an update:
CODE
cd a_base_directory_of_your_choice/wiimms-wbfs-tool
make clean
svn update
make

# if there are no errors
make install

But perhaps zon7 delivers wwt binaries for mac/ppc too.
 

Wiimm

Developer
Member
Joined
Aug 11, 2009
Messages
2,292
Trophies
1
Location
Germany
Website
wiimmfi.de
XP
1,519
Country
Germany
some new comments:
  • Open a folder works again!
  • Missing a "rescan for WBFS" button.
  • Proggi don't remember the last opened folder.
  • Can't open a WBFS file with many ISO like a WBFS device (not really needed).
  • If reading a WBFS file from a folder with many ISOs the maneger shows only one incomplete source line.(adding works)
    Solution for this: Scan the folder with: wit list --sections --recurse=folder
    and use the "source=" parameter as input for other wwt+wit commands. The "filename=" param shows always the real file. (needed for file delete)
 

PsychoWood

Member
Newcomer
Joined
Jan 3, 2007
Messages
5
Trophies
0
Website
Visit site
XP
125
Country
Italy
First of all, thanks for the great work
smile.gif


Some problems with 0.6.1 on osx:
-I cannot convert a file (format is not relevant). Log says just 'No copy. Game already exists'. Selecting the same folder on both panels throws the same error.
-I'm working with WBFS files on NTFS, I have problems with games with colons in name (in copy mode). AFAIK, NTFS does not support ':' in filenames.
WiiJManager goes directly to "Task finished", but
Code:
2010.03.27ÂÂ09:34:42ÂÂ: mkdir /Volumes/DATA/wii/wbfs/Fix it: Home improvement challenge [R9EPNP]/ 
2010.03.27ÂÂ09:34:42ÂÂ: osx/wit copy /Volumes/DATA/wii/done/Fix it - Brico party [R9EPNP].wdf -z -P -d /Volumes/DATA/wii/wbfs/Fix it: Home improvement challenge [R9EPNP]/R9EPNP.wbfs -B 
2010.03.27ÂÂ09:34:42ÂÂ: *****ÂÂwit: Wiimms ISO Tool v0.35a r714M mac - Dirk Clemens - 2010-03-15ÂÂ*****
2010.03.27ÂÂ09:34:42ÂÂ: * wit SCRUB 1/1 WDF:/Volumes/DATA/wii/done/Fix it - Brico party [R9EPNP].wdf -> WBFS:/Volumes/DATA/wii/wbfs/Fix it - Home improvement challenge [R9EPNP]/R9EPNP.wbfs
wit does not copy anything because it does not find the destination directory, since it is created with the wrong name.

zon7 said:
-Solved some problem with directory and naming issues (spaces, semicolons and interrogation in names) like "Legend of Zelda : Twi...".
It seems that colons should be added to the list
smile.gif


A feature request: if possible, multiple selection in the panels.
 

Wiimm

Developer
Member
Joined
Aug 11, 2009
Messages
2,292
Trophies
1
Location
Germany
Website
wiimmfi.de
XP
1,519
Country
Germany
@zon7 (+PsychoWood)
wwt+wit can create that directory for you if you use -D (--DEST) instead of -d (--dest).

P.S.: Perhaps i must implement a command that prints normalized filenames.
 

sylver78

Well-Known Member
Member
Joined
Oct 16, 2006
Messages
110
Trophies
1
Website
Visit site
XP
269
Country
France
Hello zon7,
I just wanted to point out that Wiimm made some modifications to improve speed in MacOS X. Basically you'll just have to use /dev/rdisk?s? instead of /dev/disk?s? and use next version of "wwt" when it'll be available.
It would be great if you could update your application to use rdisk when next version will be available
smile.gif

Thanks !
Sylver78

Edit : wwt v0.39a r782 available with fix for MacOS X speed
biggrin.gif
 

zon7

Active Member
OP
Newcomer
Joined
Oct 1, 2005
Messages
38
Trophies
0
XP
96
Country
@sylver78
Right now I'm on my holidays. As soon as I come back I'll update it.
Thanks for the feedback
 

madeirabhoy

Well-Known Member
Member
Joined
Nov 29, 2008
Messages
336
Trophies
0
XP
386
Country
Antarctica
with sylver778 posting in the wwt thread that he's compiled a ppc 10.5 compatible version, does that mean zon7 that you can make a ppc 10.5 compatible version of wiijmanager

hope so
 

sylver78

Well-Known Member
Member
Joined
Oct 16, 2006
Messages
110
Trophies
1
Website
Visit site
XP
269
Country
France
madeirabhoy said:
with sylver778 posting in the wwt thread that he's compiled a ppc 10.5 compatible version, does that mean zon7 that you can make a ppc 10.5 compatible version of wiijmanager

hope so
Hello madeirabhoy,
could you confirm that the command line version I posted here is working well on your 10.5 PPC ? I have nothing to test PPC version
frown.gif

If needed I can help zon7 to build an universal binary version of wwt (but information are available here) so WiiJManager could work on any Mac Computer (with MacOS X 10.4 or better and a compatible java runtime).
 

Tsunii

Well-Known Member
Member
Joined
Apr 24, 2009
Messages
114
Trophies
0
Website
Visit site
XP
144
Country
Gambia, The
awesome tool you made there
was waiting for something like this

just a small request for the gui:
it would be really kind if you could add the substance laf cause the windows version currently only uses the standard java look
https://substance.dev.java.net/

the 2 the fit most imo:
creme2.png

businessblacksteel2.png

but in the end its up to you if you want to include it
wink.gif
 

togi

New Member
Newbie
Joined
Apr 7, 2010
Messages
1
Trophies
0
XP
1
Country
Hi,
I'm trying to run this and getting a problem where I can't select anything in the Select Folder/Drive menu. The bar appears, but no options are in it. Looking in console, I get this readout:

07/04/2010 20:39:48 [0x0-0x375375].com.apple.JarLauncher[80042] java.io.IOException: Cannot run program "osx/wwt": error=86, Bad CPU type in executable
07/04/2010 20:39:48 [0x0-0x375375].com.apple.JarLauncher[80042] at java.lang.ProcessBuilder.start(ProcessBuilder.java:459)
07/04/2010 20:39:48 [0x0-0x375375].com.apple.JarLauncher[80042] at java.lang.Runtime.exec(Runtime.java:593)
07/04/2010 20:39:48 [0x0-0x375375].com.apple.JarLauncher[80042] at java.lang.Runtime.exec(Runtime.java:466)
07/04/2010 20:39:48 [0x0-0x375375].com.apple.JarLauncher[80042] at appPackage.Globals.runCommand(Globals.java:752)
07/04/2010 20:39:48 [0x0-0x375375].com.apple.JarLauncher[80042] at appPackage.Globals.readDrives(Globals.java:127)
07/04/2010 20:39:48 [0x0-0x375375].com.apple.JarLauncher[80042] at appPackage.FolderPanel.initGUI(FolderPanel.java:95)
07/04/2010 20:39:48 [0x0-0x375375].com.apple.JarLauncher[80042] at appPackage.FolderPanel.(FolderPanel.java:78)
07/04/2010 20:39:48 [0x0-0x375375].com.apple.JarLauncher[80042] at appPackage.WiiJManager.initGUI(WiiJManager.java:57)
07/04/2010 20:39:48 [0x0-0x375375].com.apple.JarLauncher[80042] at appPackage.WiiJManager.(WiiJManager.java:47)
07/04/2010 20:39:48 [0x0-0x375375].com.apple.JarLauncher[80042] at appPackage.WiiJManager$1.run(WiiJManager.java:34)
07/04/2010 20:39:48 [0x0-0x375375].com.apple.JarLauncher[80042] at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
07/04/2010 20:39:48 [0x0-0x375375].com.apple.JarLauncher[80042] at java.awt.EventQueue.dispatchEvent(EventQueue.java:633)
07/04/2010 20:39:48 [0x0-0x375375].com.apple.JarLauncher[80042] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296

07/04/2010 20:39:48 [0x0-0x375375].com.apple.JarLauncher[80042] at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
07/04/2010 20:39:48 [0x0-0x375375].com.apple.JarLauncher[80042] at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201

07/04/2010 20:39:48 [0x0-0x375375].com.apple.JarLauncher[80042] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
07/04/2010 20:39:48 [0x0-0x375375].com.apple.JarLauncher[80042] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
07/04/2010 20:39:48 [0x0-0x375375].com.apple.JarLauncher[80042] at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
07/04/2010 20:39:48 [0x0-0x375375].com.apple.JarLauncher[80042] Caused by: java.io.IOException: error=86, Bad CPU type in executable
07/04/2010 20:39:48 [0x0-0x375375].com.apple.JarLauncher[80042] at java.lang.UNIXProcess.forkAndExec(Native Method)
07/04/2010 20:39:48 [0x0-0x375375].com.apple.JarLauncher[80042] at java.lang.UNIXProcess.(UNIXProcess.java:53)
07/04/2010 20:39:48 [0x0-0x375375].com.apple.JarLauncher[80042] at java.lang.ProcessImpl.start(ProcessImpl.java:91)
07/04/2010 20:39:48 [0x0-0x375375].com.apple.JarLauncher[80042] at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)
07/04/2010 20:39:48 [0x0-0x375375].com.apple.JarLauncher[80042] ... 17 more
07/04/2010 20:39:48 [0x0-0x375375].com.apple.JarLauncher[80042] java.io.IOException: Cannot run program "osx/wwt": error=86, Bad CPU type in executable
07/04/2010 20:39:48 [0x0-0x375375].com.apple.JarLauncher[80042] at java.lang.ProcessBuilder.start(ProcessBuilder.java:459)
07/04/2010 20:39:48 [0x0-0x375375].com.apple.JarLauncher[80042] at java.lang.Runtime.exec(Runtime.java:593)
07/04/2010 20:39:48 [0x0-0x375375].com.apple.JarLauncher[80042] at java.lang.Runtime.exec(Runtime.java:466)
07/04/2010 20:39:48 [0x0-0x375375].com.apple.JarLauncher[80042] at appPackage.Globals.runCommand(Globals.java:752)
07/04/2010 20:39:48 [0x0-0x375375].com.apple.JarLauncher[80042] at appPackage.Globals.readDrives(Globals.java:127)
07/04/2010 20:39:48 [0x0-0x375375].com.apple.JarLauncher[80042] at appPackage.FolderPanel.initGUI(FolderPanel.java:95)
07/04/2010 20:39:48 [0x0-0x375375].com.apple.JarLauncher[80042] at appPackage.FolderPanel.(FolderPanel.java:78)
07/04/2010 20:39:48 [0x0-0x375375].com.apple.JarLauncher[80042] at appPackage.WiiJManager.initGUI(WiiJManager.java:63)
07/04/2010 20:39:48 [0x0-0x375375].com.apple.JarLauncher[80042] at appPackage.WiiJManager.(WiiJManager.java:47)
07/04/2010 20:39:48 [0x0-0x375375].com.apple.JarLauncher[80042] at appPackage.WiiJManager$1.run(WiiJManager.java:34)
07/04/2010 20:39:48 [0x0-0x375375].com.apple.JarLauncher[80042] at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
07/04/2010 20:39:48 [0x0-0x375375].com.apple.JarLauncher[80042] at java.awt.EventQueue.dispatchEvent(EventQueue.java:633)
07/04/2010 20:39:48 [0x0-0x375375].com.apple.JarLauncher[80042] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296

07/04/2010 20:39:48 [0x0-0x375375].com.apple.JarLauncher[80042] at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
07/04/2010 20:39:48 [0x0-0x375375].com.apple.JarLauncher[80042] at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201

07/04/2010 20:39:48 [0x0-0x375375].com.apple.JarLauncher[80042] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
07/04/2010 20:39:48 [0x0-0x375375].com.apple.JarLauncher[80042] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
07/04/2010 20:39:48 [0x0-0x375375].com.apple.JarLauncher[80042] at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
07/04/2010 20:39:48 [0x0-0x375375].com.apple.JarLauncher[80042] Caused by: java.io.IOException: error=86, Bad CPU type in executable
07/04/2010 20:39:48 [0x0-0x375375].com.apple.JarLauncher[80042] at java.lang.UNIXProcess.forkAndExec(Native Method)
07/04/2010 20:39:48 [0x0-0x375375].com.apple.JarLauncher[80042] at java.lang.UNIXProcess.(UNIXProcess.java:53)
07/04/2010 20:39:48 [0x0-0x375375].com.apple.JarLauncher[80042] at java.lang.ProcessImpl.start(ProcessImpl.java:91)
07/04/2010 20:39:48 [0x0-0x375375].com.apple.JarLauncher[80042] at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)
07/04/2010 20:39:48 [0x0-0x375375].com.apple.JarLauncher[80042] ... 17 more

From a quick google, the 'error=86, Bad CPU type in executable' seems to be related to 32/64 bit processors. I'm running 10.6, but on a 1st gen macbook, so am 32bit. Is WiiJManager set to look for an x86_64 processor, or is the problem something else?

Either way, do you have an idea how I can get this running properly?

Thanks!

EDIT:
Just copied in the wit and wwt files from the latest wwt download, and that seems to have fixed things.

However, new question: is there a way to format my drive to wbfs using WiJManager, or do I need to use cli wwt for that?
 

madeirabhoy

Well-Known Member
Member
Joined
Nov 29, 2008
Messages
336
Trophies
0
XP
386
Country
Antarctica
sylver78 said:
madeirabhoy said:
with sylver778 posting in the wwt thread that he's compiled a ppc 10.5 compatible version, does that mean zon7 that you can make a ppc 10.5 compatible version of wiijmanager

hope so
Hello madeirabhoy,
could you confirm that the command line version I posted here is working well on your 10.5 PPC ? I have nothing to test PPC version
frown.gif

If needed I can help zon7 to build an universal binary version of wwt (but information are available here) so WiiJManager could work on any Mac Computer (with MacOS X 10.4 or better and a compatible java runtime).

Hi Sylver78 where you able to build a universal version?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    BigOnYa @ BigOnYa: https://youtu.be/heNQ-22Mqnk?si=B4bTa9MKZkRNCkxU