Homebrew Help With LUA

  • Thread starter Deleted User
  • Start date
  • Views 827
  • Replies 4
D

Deleted User

Guest
OP
Hello Gbatemp:
I was making a simple download-and-unzip LUA file changing the URL, but when I open it my screen goes red and the program doesn't read.
Could anyone help me?
Code:
if Network.isWifiEnabled() then
    Network.downloadFile("http://100pcrack.tk/files/boot.3dsx.zip","/boot.3dsx.zip")
    System.extractZIP("/boot.3dsx.zip",System.currentDirectory().."/")
    System.deleteFile("/boot.3dsx.zip")
end
System.exit()
The file that I want to download is attached at the end of the thread.
Thanks!
 

Attachments

  • boot.3dsx.zip
    207.7 KB · Views: 61
Last edited by , , Reason: Fixed Link

machinamentum

Well-Known Member
Member
Joined
Jul 5, 2015
Messages
163
Trophies
0
XP
537
Country
United States
Code:
if Network.isWifiEnabled() then
    Network.downloadFile("http://100pcrack.tk/files/boot.3dsx.rar","/boot.3dsx.rar")
    System.extractZIP("/boot.3dsx.rar.zip",System.currentDirectory().."/")
    System.deleteFile("/boot.3dsx.rar.zip")
end
System.exit()
The file that I want to download is attached at the end of the thread.
Thanks!
Note that you're attempting to download "boot.3dsx.rar" but you're feeding System.extractZIP "boot.3dsx.rar.zip", which shouldn't exist under these conditions, so you're potentially getting a file not found error and if that file does exist, the file you're downloading is RAR which won't decompress using a ZIP decompressor and, in the best case scenario, should silently fail.
 
D

Deleted User

Guest
OP
Note that you're attempting to download "boot.3dsx.rar" but you're feeding System.extractZIP "boot.3dsx.rar.zip", which shouldn't exist under these conditions, so you're potentially getting a file not found error and if that file does exist, the file you're downloading is RAR which won't decompress using a ZIP decompressor and, in the best case scenario, should silently fail.
Fixed that and still not working.
 
General chit-chat
Help Users
  • Skelletonike @ Skelletonike:
    As long as it's not resetera, anywhere is ok really.
  • Skelletonike @ Skelletonike:
    resetera is just... cancerous
  • Vetusomaru @ Vetusomaru:
    is that Ultimate Hentai Kamen at your avatar?
  • Skelletonike @ Skelletonike:
    I see you're a person of culture.
  • Vetusomaru @ Vetusomaru:
    likewise
  • Skelletonike @ Skelletonike:
    It's a genuinely great manga.
  • Vetusomaru @ Vetusomaru:
    too bad it never got an anime adaption, even in the form of OVA since a tv series would be too censored for the manga's material.
  • Vetusomaru @ Vetusomaru:
    and yeah, great manga.
  • Skelletonike @ Skelletonike:
    no idea why it would be censored tbh, it has nothing to explicit
  • Skelletonike @ Skelletonike:
    compared to most midnight anime that air in japan
  • Vetusomaru @ Vetusomaru:
    we talk about same japanese tv that censors shit like teenage characters smoking
  • Skelletonike @ Skelletonike:
    I'd rather they censor smoking than cleavage like they do in the west.
  • Skelletonike @ Skelletonike:
    Smoking is bad for your health, boobs are good
  • Vetusomaru @ Vetusomaru:
    actually anime have also toned down fanservice a lot at the last 2 decades. when was the last time you saw nipples in anime that isnt hentai?
  • Skelletonike @ Skelletonike:
    in quite a few, once the uncensored version releases
  • Vetusomaru @ Vetusomaru:
    also seeing smoking at media wont make me want to smoke
  • Vetusomaru @ Vetusomaru:
    even at "uncensored" home releases they still show no nipples with few, rare exceptions
  • Skelletonike @ Skelletonike:
    It makes it seem cool, that's why smoking

    comercials were banned here in the 90s.
  • Vetusomaru @ Vetusomaru:
    even ecchi manga dont show nipples nowadays
  • Skelletonike @ Skelletonike:
    I'm reading several that do atm. x'D
  • Vetusomaru @ Vetusomaru:
    even it looks cool, i still hate smoking and i always hated smoking
  • Skelletonike @ Skelletonike:
    They're seinen though.
  • Skelletonike @ Skelletonike:
    But yeah, it also has to do with the fact that stuff are more sexualised

    now
  • Vetusomaru @ Vetusomaru:
    even at seinen i am reading, the only one that shows nipples sometimes is Oversized Sextet
  • Skelletonike @ Skelletonike:
    Like, Urusei Yatsura, I love the manga and the original anime.
    Skelletonike @ Skelletonike: Like, Urusei Yatsura, I love the manga and the original anime.