[Homebrew Support] Error Opening ZIP File With LPPVita

Discussion in 'PS Vita - Hacking & Homebrew' started by Sasori, Sep 26, 2016.

  1. Sasori
    OP

    Sasori GBAtemp Advanced Maniac

    Member
    1,547
    937
    Jan 28, 2015
    United States
    I'm trying to extract a zip file to my sd card and am having a few issues. I thought this was due to my dying memory card but it seems consistant through a different system. I assume I'm saving my downloading zip incorrectly. However if I can get some assistance I would appreciate it since this is the last step that I need in order for this project to be a success

    LPP is telling me that it has an error when trying to open the zip file itself. Is it being saved wrong maybe?

    Code:
    handle = io.open("ux0:/data/TMoI/Dapper.zip", FCREATE)
                content = string.sub(raw_data, data_offs+1)
                io.write(handle, content, string.len(content))
                io.close(handle)
                txt = "Installing mods..."
                System.extractZIP("ux0:/data/TMoI/Dapper.zip", "ux0:/app/PCSE00507")
     
  2. Rinnegatamante

    Rinnegatamante GBAtemp Psycho!

    Member
    3,127
    3,271
    Nov 24, 2014
    Italy
    Bologna
    Are you using an unsafe eboot? Safe eboots can't write in app folder.
     
  3. Sasori
    OP

    Sasori GBAtemp Advanced Maniac

    Member
    1,547
    937
    Jan 28, 2015
    United States
    I was using a safe eboot. Ill try an unsafe. That will explain a few other errors as well then :)

    EDIT: That seems to have fixed everything. All works now Thank you
     
    Last edited by Sasori, Sep 26, 2016