larsenv / showmiiwads

Automatically exported from code.google.com/p/showmiiwads
1 stars 0 forks source link

.app names not handled correctly / can't pack some wads #22

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
try to do anything with a wad with the .app files named anything besides
00000000.app, 00000001.app, 00000002.app, etc.  i'm using waninkoko's rev18
right now.  his .app names match what it says in the TMD.  if i use
showmiinand to take his IOS off a nand dump and pack a wad, it will rename
all the .app files but not change them in the TMD.  so the 00000012.app
gets renamed 00000000.app, but in the TMD, it still lists it as 00000012.app.

also, if i have a folder with all the .app files and TMD exactly like
waninkoko has them named, showmiiwads / wii.cs refuses to pack it.  it does
not look in the TMD to see what .app file it needs.  it just assumes that
the .app file will be named like its index. (00000013.app will be index
0x0013, 00000009.app will be index 0x0009)

What is the expected output? What do you see instead?
Expected output is that the .app files will be packed in a wad.  instead I
must manually fix the TMD to ensure that the name of the .app file watches
the index of that module.

What version of the product are you using? On what operating system?
v1.3b mono version
ubuntu AMD64

Please provide any additional information below.

Original issue reported on code.google.com by giantpune@gmail.com on 7 Mar 2010 at 4:01

GoogleCodeExporter commented 9 years ago
The whole thing about this is that on the nand, the contents are named after 
their
content ID, ShowMiiWads does name them after their index when extracting and 
also
expects them to be named after their index when packing a wad from a folder.
Only when you extract a wad to a nand dump, it will name them after their 
content ID.

So, it's alright with the tmd. I initially used the index as the name to be
compatible with older wadpackers.

Original comment by Lea...@gmail.com on 7 Mar 2010 at 4:22