Skip to content

Instantly share code, notes, and snippets.

@vgmoose
Last active February 4, 2017 23:05
Show Gist options
  • Save vgmoose/90f48949c95927c8e92c990bd6985b38 to your computer and use it in GitHub Desktop.
Save vgmoose/90f48949c95927c8e92c990bd6985b38 to your computer and use it in GitHub Desktop.
hbas install file syntax

Explanation

These .install files will be installed to sd:/wiiu/apps/hbas/.manifest and will act as a manifest of installed files, extracted from the zip.

Syntax

The syntax is as follows:

MODE sd:/path/...

where MODE is one of:

  • U: (update) replace this file on every update or install of the package, will be deleted upon removal
  • G: (get) only download this file upon the first GET, but still delete it when it needs to be removed
  • L: (local) this file didn't come with the zip, but it should be deleted as well upon removal

If a file isn't in this manifest, but it comes with the zip, then it won't be deleted upon removal.

The main purpose of this file is to regulate/manage the deletion and update policy of files from the zip. Most packages will want to have the state set to UPDATE to always be replaced on update, but some packages my consist of sample configuration files that the user may customize, and these such files should only be installed once (GET).

A LOCAL file allows for additional cleanup of files that may be generated by the app and should be removed.

U sd:/wiiu/apps/hbas/.manifest/haxchi.install
U sd:/wiiu/apps/meta.xml
U sd:/wiiu/apps/haxchi.elf
U sd:/wiiu/apps/icon.png
G sd:/haxchi/bootDrcTex.tga
G sd:/haxchi/bootTvTex.tga
G sd:/haxchi/config.txt
G sd:/haxchi/iconTex.tga
G sd:/haxchi/title.txt
U sd:/wiiu/hbas/mgba-core.install
U sd:/wiiu/apps/meta.xml
U sd:/wiiu/apps/icon.png
U sd:/retroarch/cores/mgba-libretro.rpx
U sd:/retroarch/info/mgba.info
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment