Skip to content
This repository was archived by the owner on Jul 31, 2024. It is now read-only.

AppConfig syntax

iAmGhost edited this page Feb 18, 2012 · 7 revisions

Before describe each elements, here is content of example AppConfig for Steam version of Super Meat Boy:

<?xml version="1.0"?>
<AppConfig internalName="SuperMeatBoySteam">
	<title>Super Meat Boy (Steam)</title>
	<description>Syncs Steam version of Super Meat Boy</description>
	<entries>
		<entry os="Windows" process="SuperMeatBoy.exe">
			<dir dropboxPath="/">%Steam%/steamapps/common/super meat boy/UserData</dir>
		</entry>
		<entry os="Mac" process="SuperMeatBoy.app">
			<dir dropboxPath="/">%Steam%/SteamApps/common/super meat boy/SuperMeatBoy.app/Contents/MacOS/UserData</dir>
		</entry>
	</entries>
</AppConfig>

AppConfig

Start of AppConfig content.

Properties

  • internalName: AppConfig's internal name, will used for zip file's name.

Usage

<AppConfig internalName="Skyrim">
~~~
</AppConfig>

title

User-friendly name of AppConfig, Sync Manager's list and Tooltips will use this value.

Properties

  • None.

Usage

<title>Skyrim (Steam)</title>

author (deprecated)

It was supposed to display AppConfig's author but not yet implemented.

Properties

  • None.

Usage

<author>iAmGhost</author>

description

Short description for AppConfig, only used in AppConfig gallery for now.

Properties

  • None.

Usage

<decsription>Fus Ro Dah!</description>

entries

Start of entries.

Properties

  • None.

Usage

<entries>
some entries here
</entries>

entry

Start of entry, entry is separator of sync options.

Note that AppConfig can't have multiple entries per platform.

Properties

  • os: Specify platform that will use inner sync options. use Windows/Mac.
  • process: When this process is terminated Kurum will start to sync.

Usage

<entry os="Windows" process="TESV.exe">

dir

Sync an directory recursively. You can use Variables here.

Properties

  • cleanup: Set this to "true' will clean-up original directory before copy files.
  • excludes: files/directories to exclude, separate with ; ex) "fileName1;fileName2;dirName1"
  • dropboxPath: Set target directory in zip file. For example, change dropboxPath from example to /UserData will store data to SuperMeatBoySteam.zip/UserData.

Usage

<dir dropboxPath="/SkyrimData" excludes="RendererInfo.txt" cleanup="true">%Documents%/My Games/Skyrim</dir>

file

Sync an file.

Properties

  • dropboxPath: same as dir but you have to specify filename too.

Usage

<file dropboxPath="/Skyrim.ini">%Documents%/My Games/Skyrim/Skyrim.ini</dir>

var

Create new Variables, useful when if you want to user choose specific file/directory.

Properties

  • type: Set this "directory" to prompt directory chooser or "file" to prompt file chooser.
  • name: Name of variable, you can use this name for variable in file/dir section.

Usage

<var type="directory" name="LeagueOfLegendsPath">Select League of Legends directory:</var>

Now you can use %LeagueOfLegendsPath% for user-chosen directory.

Clone this wiki locally