Hacking App to download covers for nand

kylster

mich weich töten
Member
Joined
Sep 11, 2010
Messages
1,393
Trophies
0
Age
37
Location
Fr33D0M R1N6
XP
472
Country
United States
I want to use this to see exactly how well it works but with any version I try I get this error:
nand covers downloader.PNG

I have other means of getting covers but yeah this is what is preventing me from using your app :(

Specific Details:
  • nand is in folder C:\nand\
  • nand is that of a bootmii nand dump extracted using showmiiwads
Well hopefully someone can give some advice here. Thanks spray your awesome!
 

spayrosam

Well-Known Member
OP
Member
Joined
Jun 2, 2009
Messages
756
Trophies
0
Location
Gafsa
Website
Visit site
XP
309
Country
get the source
find "_FileListToArray" in sorce, and on the next line replace " 1" with "< 1"

I don't think so. :ninja:
Code:
_FileListToArray($sPath [, $sFilter = "*" [, $iFlag = 0]])

$sPath Path to generate filelist for.
$sFilter [optional] the filter to use, default is *.
$iFlag [optional] specifies whether to return files folders or both
$iFlag=0(Default) Return both files and folders
$iFlag=1 Return files only
$iFlag=2 Return Folders only
Return Value
Success: an Array, see remarks
Failure: 0
@[member='error']: 1 = Path not found or invalid
2 = Invalid $sFilter
3 = Invalid $iFlag
4 = No File(s) Found

Remarks
The array returned is one-dimensional and is made up as follows:
$array[0] = Number of Files\Folders returned
$array[1] = 1st File\Folder
$array[2] = 2nd File\Folder
$array[3] = 3rd File\Folder
$array[n] = nth File\Folder

My code:
$FileListRead = _FileListToArray($path & "\title", "*", 2)
If @[member='error'] 1
Significance: Lists only folders in $path & "\title" if Path not found or invalid then do nothing

as you say:
$FileListRead = _FileListToArray($path & "\title", "*", 2)
If @[member='error']
 

pdanpdan

Active Member
Newcomer
Joined
Dec 29, 2011
Messages
36
Trophies
0
XP
133
Country
Romania
I think both me an kylster have the same problem: that exception shown in our attached pictures. Somehow the @[member='error'] is 4, so there is no array in $FileListRead but it goes through the if.
As I understand it, if @[member='error']>=1 then $FileListRead is not an array.

Thank you for the code - it's great.
 

spayrosam

Well-Known Member
OP
Member
Joined
Jun 2, 2009
Messages
756
Trophies
0
Location
Gafsa
Website
Visit site
XP
309
Country
I want to use this to see exactly how well it works but with any version I try I get this error:
nand covers downloader.PNG

@[member='kylster'] & @[member='pdanpdan']

line 11078

That does not help us further! (compiled script is linked with all included object files)
I would like to know which line has the error, it is only possible if you run the script from Scite without compiling it.

EDIT:
if @[member='error']>=1 then $FileListRead is not an array.
if @[member='error']=1 then $FileListRead is not an array.
@[member='error']=2 / @[member='error']=3 / @[member='error']=4 are excluded!
($sFilter = * (Default) and $iFlag=2 Return Folders only)
 

pdanpdan

Active Member
Newcomer
Joined
Dec 29, 2011
Messages
36
Trophies
0
XP
133
Country
Romania
In source code in first post:
1. in line 1383 - there is a problem with the quote - I had to replace """ with '"'
2. in line 1383 - I think there is a problem with the character with code 3 (it is shown as space in code)
3. In line 1400 - there is a problem with the regex - as it is shown in browser it cannot compile because of the new line inside the regex

After this changes, I get this error:
mh6qdt.png


I agree - this should not happen :). But it happens and it's also true that any @[member='error']>=1 is an error.
 

kylster

mich weich töten
Member
Joined
Sep 11, 2010
Messages
1,393
Trophies
0
Age
37
Location
Fr33D0M R1N6
XP
472
Country
United States
We are suppose to compile it? All I did was download the file and try to run it, sorry I've never had to compile anything thanks to helpfull people on the forums here :)
 

twig123

Well-Known Member
Member
Joined
Apr 4, 2009
Messages
261
Trophies
1
XP
257
Country
United States
I see that if a cover is missing from your language, it will download it from another language if available...
Any way of having an option to download only covers from the region that you select?
 

spayrosam

Well-Known Member
OP
Member
Joined
Jun 2, 2009
Messages
756
Trophies
0
Location
Gafsa
Website
Visit site
XP
309
Country
I see that if a cover is missing from your language, it will download it from another language if available...
Any way of having an option to download only covers from the region that you select?

Yes :)

Step 1
Add to Line N' 449
Code:
$RegionCount = GUICtrlRead($RegionCountInput)

Step 2
Replace Line N' 450
Code:
For $NewL = 0 To $RegionCount

Step 3
Add Line N' 310 to 321 (12 new lines)
Code:
 Case $RegionCountInputPlus
$CNowRegion = GUICtrlRead($RegionCountInput)
For $i = 0 To 10
If $i = $CNowRegion And $CNowRegion < 10 Then GUICtrlSetData($RegionCountInput, $i + 1)
Next
IniWrite($ConfigINI, "Conf", "Preferred Region Count", GUICtrlRead($RegionCountInput))
Case $RegionCountInputMinus
$CNowRegion = GUICtrlRead($RegionCountInput)
For $i = 0 To 10
If $i = $CNowRegion And $CNowRegion > 0 Then GUICtrlSetData($RegionCountInput, $i - 1)
Next
IniWrite($ConfigINI, "Conf", "Preferred Region Count", GUICtrlRead($RegionCountInput))

Step 4
Add Line N' 152 to 157 (6 new lines)
Code:
GUICtrlCreateLabel("Region Count", 10, 225, 125, 20, $SS_CENTERIMAGE + $SS_CENTER)
$RegionCountInputMinus = GUICtrlCreateButton("", 115, 245, 20, 25)

Step 5
Replace Line N' 130
Code:
$LangOption = GUICtrlCreateListView('', 10, 20, 125, 200)

5ao2wgyd.gif
 

spayrosam

Well-Known Member
OP
Member
Joined
Jun 2, 2009
Messages
756
Trophies
0
Location
Gafsa
Website
Visit site
XP
309
Country
ncdv15.png

Nand

- Searches a NAND dump for all installed titles
- Download Covers (FULL/Front/3D/Disc) Region: EN|FR|DE|ES|IT|NL|PT|US|JA|KO|ZH
- Show Title infos (GameTDB)
- Search Trailers (Online)
- Delete title
- Open folder

Backup
- Download Trailers/Fanart/FULL/Front/3D/Disc Region: EN|FR|DE|ES|IT|NL|PT|US|JA|KO|ZH
- Show Title infos (GameTDB)
- Search Trailers (Online)
- Delete game
- Download settings (User Default|WiiFlow|USB Loader GX|CFG USB Loader)
- WBFS, Fat32 and NTFS are supported

Games Wiki
- Search games (any portion of a game's name/ID) Region: EN|FR|DE|ES|IT|NL|PT|US|JA|KO|ZH
- Show Title infos (GameTDB)
- Search Trailers (Online)

Hack WII
- Hack any Wii - Complete Softmod

Update WII
- Channels
- IOS
- CIOS

an app for everything (For me :))
Fate would have it so.
 

fire_dragon2k

New Member
Newbie
Joined
Apr 8, 2014
Messages
3
Trophies
0
Age
58
XP
51
Country
Gambia, The
Dear friends, I tried to download this program, but all links are not working. Then I tried to compile version 1.2, which gave me errors, and then I tried to compile the first version which succeeded, but I cannot choose my nand folder.

Can somebody please upload the latest version of this program or post the source code which will succeed compiling?

Maybe one of you still got the code.

Thank you.
 

fire_dragon2k

New Member
Newbie
Joined
Apr 8, 2014
Messages
3
Trophies
0
Age
58
XP
51
Country
Gambia, The
I managed to open the nand folder in the 1st version now, but with my nand folder it crashes. And when I create a new nand folder with ShowMiiWads and only a few games, it wont load it. Maybe the todays ShowMiiWads nand isn't compatible anymore. I would like to test the latest version though. Or does anybody know another program which can do the same job (loading covers for the nand)?
 

Sky Design

Well-Known Member
Newcomer
Joined
Jun 6, 2014
Messages
90
Trophies
0
Age
33
Location
California
Website
www.twitch.tv
XP
125
Country
United States
I hope this doesn't mean bringing the dead to life. But this is what I've been looking for a few hours now and just when I thought I was going to be on my merry way the links are dead :cry:

If the uploader is still alive can you please reupload the dead link(s)? :D
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    I @ idonthave: :)