Jump to content


  • You cannot reply to this topic

WIT: Wiimms ISO Tools / beta test

, For test purposes only (Go to first unread post)
Wiimm Post #181 Posted 11 January 2011 - 08:39 PM

    GBAtemp Maniac


  • Group: Members
  • Posts: 1,494
  • Member No.: 191,758
  • Joined: 11-August 09
  • Location: Germany

  •  
@giantpune:
please try these patches:

1.)
CODE
Index: src/libbz2/Makefile
===================================================================
--- src/libbz2/Makefile (revision 2154)
+++ src/libbz2/Makefile (working copy)
@@ -8,7 +8,7 @@
LDFLAGS=

BIGFILES=-D_FILE_OFFSET_BITS=64
-CFLAGS=-Wall -Winline -O2 -g $(BIGFILES) $(XFLAGS)
+CFLAGS=-Wall -Winline -O2 $(BIGFILES) $(XFLAGS)

# Where you want it installed when you do 'make install'
PREFIX=/usr/local


2.)
CODE
Index: src/libbz2/Makefile
===================================================================
--- src/libbz2/Makefile (revision 2154)
+++ src/libbz2/Makefile (working copy)
@@ -8,7 +8,7 @@
LDFLAGS=

BIGFILES=-D_FILE_OFFSET_BITS=64
-CFLAGS=-Wall -Winline -O2 -g $(BIGFILES) $(XFLAGS)
+CFLAGS=-Wall -Winline -O2 -fno-stack-protector $(BIGFILES) $(XFLAGS)

# Where you want it installed when you do 'make install'
PREFIX=/usr/local




giantpune Post #182 Posted 11 January 2011 - 08:50 PM

    GBAtemp Addict


  • Group: Members
  • Posts: 2,764
  • Member No.: 173,011
  • Joined: 10-April 09

  •  
here is the errors using patch 1
Warning! Spoiler inside. 


and heres from patch #2
Warning! Spoiler inside. 




Wiimm Post #183 Posted 11 January 2011 - 09:10 PM

    GBAtemp Maniac


  • Group: Members
  • Posts: 1,494
  • Member No.: 191,758
  • Joined: 11-August 09
  • Location: Germany

  •  
-fno-stack-protector solves some of this.

I will continue this tomorrow. Last question:
What is you OSx building system? I want "uname -a"

Edited by Wiimm, 11 January 2011 - 09:10 PM.


giantpune Post #184 Posted 11 January 2011 - 09:11 PM

    GBAtemp Addict


  • Group: Members
  • Posts: 2,764
  • Member No.: 173,011
  • Joined: 10-April 09

  •  
Darwin Mac.local 10.0.0 Darwin Kernel Version 10.0.0: Sat Nov 21 23:51:18 EST 2009; anappirtrvh:xnu-1456.1.26/BUILD/obj/RELEASE_I386 i386


Wiimm Post #185 Posted 11 January 2011 - 09:39 PM

    GBAtemp Maniac


  • Group: Members
  • Posts: 1,494
  • Member No.: 191,758
  • Joined: 11-August 09
  • Location: Germany

  •  
I have committed beta2 with some more small changes. Please give it a try. I will use this beta2 as base for more experiments.


Wiimm Post #186 Posted 12 January 2011 - 10:09 AM

    GBAtemp Maniac


  • Group: Members
  • Posts: 1,494
  • Member No.: 191,758
  • Joined: 11-August 09
  • Location: Germany

  •  
@giantpune:
I have edited the libbz2 sources and added "#define _GNU_SOURCE 1". The compiler flags are now similar to the main project. No problems on Darwin 9, Linux32, Linux64 and cygwin found.

I have committed these changes as beta3. Please test it.

BTW: Can anyone offer me an OS X (Darwin 10) account for testing?
This would make it much easier to solve the problem.

Edited by Wiimm, 12 January 2011 - 10:10 AM.


Wiimm Post #187 Posted 14 January 2011 - 11:50 PM

    GBAtemp Maniac


  • Group: Members
  • Posts: 1,494
  • Member No.: 191,758
  • Joined: 11-August 09
  • Location: Germany

  •  
Hey giant,
can you give it a new try.
The bzip2 lib will be created, but not used. Instead the loader uses the *.o files. Perhaps it is an lib issue.


giantpune Post #188 Posted 15 January 2011 - 12:40 AM

    GBAtemp Addict


  • Group: Members
  • Posts: 2,764
  • Member No.: 173,011
  • Joined: 10-April 09

  •  
still no luck. maybe somebody else with my version of OSx can try this and see if its something wrong with my system or the way its setup.
CODE
Undefined symbols:
  "___strcat_chk", referenced from:
      _bzopen_or_bzdopen in bzlib.o
      _bzopen_or_bzdopen in bzlib.o
  "___stack_chk_guard", referenced from:
      ___stack_chk_guard$non_lazy_ptr in blocksort.o
      ___stack_chk_guard$non_lazy_ptr in bzlib.o
      ___stack_chk_guard$non_lazy_ptr in compress.o
     (maybe you meant: ___stack_chk_guard$non_lazy_ptr)
  "___stack_chk_fail", referenced from:
      _BZ2_blockSort in blocksort.o
      _bzopen_or_bzdopen in bzlib.o
      _BZ2_compressBlock in compress.o
  "_fopen$UNIX2003", referenced from:
      _bzopen_or_bzdopen in bzlib.o
  "_fdopen$UNIX2003", referenced from:
      _bzopen_or_bzdopen in bzlib.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [gen-ui] Error 1


Edited by giantpune, 15 January 2011 - 12:41 AM.


Wiimm Post #189 Posted 15 January 2011 - 02:13 AM

    GBAtemp Maniac


  • Group: Members
  • Posts: 1,494
  • Member No.: 191,758
  • Joined: 11-August 09
  • Location: Germany

  •  
I think, this describes some of the problems: http://cocoawithlove.com/2009/09/building-...ersions-in.html


Wiimm Post #190 Posted 15 January 2011 - 12:21 PM

    GBAtemp Maniac


  • Group: Members
  • Posts: 1,494
  • Member No.: 191,758
  • Joined: 11-August 09
  • Location: Germany

  •  
I have committed beta5 for a next try:
libbz2 is not longer handled as lib and is now part of the main projects. It is compiled and linked with the same flags as all other objects.


giantpune Post #191 Posted 15 January 2011 - 02:57 PM

    GBAtemp Addict


  • Group: Members
  • Posts: 2,764
  • Member No.: 173,011
  • Joined: 10-April 09

  •  
success. it builds and at least runs enough to start up and show the help screen. i havent processed any games with it, though.


smyll Post #192 Posted 15 January 2011 - 03:03 PM

    Newbie


  • Group: Newcomers
  • Posts: 9
  • Member No.: 272,168
  • Joined: 15-January 11

  •  
dear all.

I need some help using wit... I know that is not actually the right place because this topics concerns beta test but here is my message : http://gbatemp.net/t274602-wii-iso-from-wii-dol-hb-wit

Thanks for your help,

Smyll


Wiimm Post #193 Posted 15 January 2011 - 04:34 PM

    GBAtemp Maniac


  • Group: Members
  • Posts: 1,494
  • Member No.: 191,758
  • Joined: 11-August 09
  • Location: Germany

  •  
I can live with this solution. Thanx for support wink.gif


Wiimm Post #194 Posted 21 January 2011 - 05:07 PM

    GBAtemp Maniac


  • Group: Members
  • Posts: 1,494
  • Member No.: 191,758
  • Joined: 11-August 09
  • Location: Germany

  •  
Long time ago WiiPower wrotes:

QUOTE(WiiPower @ Aug 30 2010, 03:04 PM) <{POST_SNAPBACK}>
Wiimm, how much work would it be for you to write a "Wii Release Checker"?

Did you see thoese threads about Metroid Other M freezing? It looks like it's because of a broken release. Would you be interested in writing an app that tells:
- if a .iso is scrubbed or not
- checks the hashes of the .iso? (i guess the hashes for the scrubbed area don't match, but the rest just HAS to)
- tells if the update partition is missing

If you do that, it might be the 1st thing people do on new releases to immediately to post: "The release is incomplete, it's scrubbed", "The release is incomplete, there's no update partition" or "The release is broken, some parts(in the not scrubbed area) do not match the hashes, this WILL result in some kind of error in the game"


I have remembered that and changed the output step by step. First the DUMP command prints multiple info:
Warning! Spoiler inside. 


Adding -l (or --long) up to 3 times will increase the verbosity (Example for -ll)
Warning! Spoiler inside. 


Checksums can be checked with the old VERIFY command (I plan to change the layout):
Warning! Spoiler inside. 



I will release a beta at this weekend.


Edited by Wiimm, 22 January 2011 - 04:18 AM.


Wiimm Post #195 Posted 24 January 2011 - 05:43 PM

    GBAtemp Maniac


  • Group: Members
  • Posts: 1,494
  • Member No.: 191,758
  • Joined: 11-August 09
  • Location: Germany

  •  


WIT: Wiimms ISO Tools v1.26a.beta6 - 2011-01-24
Beta test version, for EXPERIMENTAL use only.

WIT (Wiimms ISO Tools) is a set of command line tools to manipulate Wii ISO images and WBFS containers. The two main tools are called wit (Wiimms ISO Tool) and wwt (Wiimms WBFS Tool, the WBFS manager).

For productive versions see the main WIT thread or visit http://wit.wiimm.de/.

Download this EXPERIMENTAL release:

Change log:

CODE
wit v1.26a.beta6 r2209 - 2011-01-24

- Bug fix for "wwt EXTRACT --test": If extracting to an already existing file
   the old file was removed.
- Bug fix for "wdf +PACK": wrong data written if packing a raw file.
- I have made some changes in the make system to support GCC option -static
   and cross compiling (Linux/i386 on Linux/x86_64).
- Linux/i386: Because of the static linking I can use the latest version of
   the Linux GLIBC with preallocation support. Copying file is now fast again.
- BZIP2 support is now included as source and should work for all systems.
   This enables WIA/bzip2 support for Mac/x86_64.
- "wit COPY/CONVERT/EXTRACT/EDIT/MOVE/DIFF" and "wwt ADD/EXTRACT/REMOVE"
   support now the option --sections.
- "wwt add": New user interface implemented: In a first fast loop the jobs are
   counted with respect to the options like --update and --newer (ignore skiped
   files). In a second loop the jobs are executed with correct job counters.
- wit DUMP: Scrubbing status of disc and partitions are printed. Example:
      "TICKET & TMD are well signed. Partition is encrypted and scrubbed."
- "wit EXTARCT" failed if the disc title could not found in the title db.


Known bugs:

- The GameCube support is in development and EXPERIMENTAL!
    - GameCube conversion to WIA fails.
- There are new problems while reading from non seekable sources (e.g. pipes).
   The reason is the complete new and more intelligent wiidisc lib which makes
   more lookups ==> The best is to use version 1.01c for pipes.


The source is published under the license of GPL2. Checkout the sources directly from the SVN repository or browse the source. These URLs are different from the product version. Visit http://wit.wiimm.de/ for more information.








Users browsing this topic

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users