repo help needed! Help with custom iphysics levels!

Discussion in 'iOS Jailbreak & Cydia' started by chaseacton, Apr 29, 2008.

  1. chaseacton

    chaseacton Banned

    Joined:
    Apr 2, 2008
    Messages:
    22
    Likes Received:
    0
    repo help needed! how do i add chmod?

    ok so im making a repo for my custom iphysics levels that i made. here is the zip of the levels: link

    here is the xml file: link

    i zipped them using this method: link

    everything installs fine and when i winSCP into my directory for the levels, the outdoors.levelpack file and the outdoors folder are there, just like all my other levels. the only problem is when i go into iphysics they don't show up. the files are the same size as the originals so i know its not zipped. i just dont know why they wont be read. if i replace them via winscp with the originals they work fine. can anyone help me???

    chaseacton@gmail.com

    update:
    when i set the permissions for the .levelpack file and the folder, i can see it in iphysics but it comes up with just a black screen i can draw on. please help!
  2. micaheljcaboose

    micaheljcaboose Well-Known Member

    Joined:
    Jan 20, 2008
    Messages:
    1,855
    Likes Received:
    82
    I think you need to have it chmod the folders.
  3. chaseacton

    chaseacton Banned

    Joined:
    Apr 2, 2008
    Messages:
    22
    Likes Received:
    0
    what is and how do i chmod
  4. personman1

    personman1 Banned

    Joined:
    Apr 22, 2008
    Messages:
    295
    Likes Received:
    4
    I also must know how to add a chmod command so I can help someone out with their repo.
  5. chaseacton

    chaseacton Banned

    Joined:
    Apr 2, 2008
    Messages:
    22
    Likes Received:
    0
    i know how now. here is my xml. all you need to do is fill it in.

    <?xml version="1.0" encoding="UTF-8"?>
    <plist version="1.0">
    <dict>
    <key>info</key>
    <dict>
    <key>category</key>
    <string>Couch Potato Games</string>
    <key>contact</key>
    <string>Chase</string>
    <key></key>
    <string>Description</string>
    <key>maintainer</key>
    <string>chase</string>
    <key>name</key>
    <string>Couch Potato Games</string>
    <key>url</key>
    <string>www.couchpotatogames.googlepages.com</string>
    </dict>
    <key>packages</key>
    <array>
    <dict>
    <key>author</key>
    <string>Chase and Reid</string>
    <key>bundleIdentifier</key>
    <string>com.repo.iphysics1</string>
    <key>category</key>
    <string>Couch Potato Games</string>
    <key>description</key>
    <string>Outdoors Levelpack</string>
    <key>location</key>
    <string>http://couchpotatogames.googlepages.com/Outdoors.zip</string>
    <key>name</key>
    <string>Outdoors</string>
    <key>size</key>
    <string>237521</string>
    <key>url</key>
    <string>http://couchpotatogames.googlepages.com/moreinfo</string>
    <key>version</key>
    <string>1.0</string>
    <key>date</key>
    <string>1209202801</string>
    <key>scripts</key>
    <dict>
    <key>install</key>
    <array>
    <array>
    <string>CopyPath</string>
    <string>leveldata/</string>
    <string>/private/var/mobile/Media/iPhysics</string>
    </array>
    <array>
    <string>If</string>
    <array>
    <array>
    <string>ExistsPath</string>
    <string>/var/mobile/Media/iPhysics</string>
    </array>
    </array>
    <array>
    <array>
    <string>If</string>
    <array>
    <array>
    <string>ExistsPath</string>
    <string>/usr/bin/chown</string>
    </array>
    </array>
    <array>
    <array>
    <string>Exec</string>
    <string>/usr/bin/chown -R mobile /var/mobile/Media/iPhysics</string>
    </array>
    </array>
    </array>
    <array>
    <string>If</string>
    <array>
    <array>
    <string>ExistsPath</string>
    <string>/bin/chown</string>
    </array>
    </array>
    <array>
    <array>
    <string>Exec</string>
    <string>/bin/chown -R mobile /var/mobile/Media/iPhysics</string>
    </array>
    </array>
    </array>
    <array>
    <string>Exec</string>
    <string>/bin/chmod -R 755 /var/mobile/Media/iPhysics</string>
    </array>
    </array>
    </array>
    </array>
    <key>uninstall</key>
    <array>
    <array>
    <string>RemovePath</string>
    <string>/private/var/mobile/Media/iPhysics/Outdoors</string>
    </array>
    </array>
    </dict>
    </dict>
    </array>
    </dict>
    </plist>

    now how do i add another package.

Share This Page