Difference between revisions of "Use X-Moto on a USB-Key"

From X-Moto
Jump to: navigation, search
(Media:xmoto_local.bat)
 
(5 intermediate revisions by 4 users not shown)
Line 4: Line 4:
 
==Windows==
 
==Windows==
 
# Copy xmoto and files (get the .zip package for example) on a usb key
 
# Copy xmoto and files (get the .zip package for example) on a usb key
# Copy the following [[Media:xmoto_local.bat]] next xmoto.exe and run the .bat
+
# Copy the following [[#Media:xmoto_local.bat|this section]] next xmoto.exe and run the .bat
  
 
The .bat runs xmoto with the configpath option set to myConfig
 
The .bat runs xmoto with the configpath option set to myConfig
Line 11: Line 11:
 
===Media:xmoto_local.bat===
 
===Media:xmoto_local.bat===
 
This file contains only one line:
 
This file contains only one line:
  @xmoto --configpath myConfig
+
  start xmoto --configpath "%cd%\myConfig" --noDBDirsCheck
 +
 
 +
--noDBDirsCheck appears with X-Moto 0.4.3

Latest revision as of 14:27, 2 February 2011

When you run xmoto, it creates a directory into ~/.xmoto, then, if you put xmoto on a usb key and change of computer, you don't find your data back. By the way, xmoto has an option "--configpath" to change the directory where data are saved.

Windows

  1. Copy xmoto and files (get the .zip package for example) on a usb key
  2. Copy the following this section next xmoto.exe and run the .bat

The .bat runs xmoto with the configpath option set to myConfig


Media:xmoto_local.bat

This file contains only one line:

start xmoto --configpath "%cd%\myConfig" --noDBDirsCheck
--noDBDirsCheck appears with X-Moto 0.4.3