Transferring saved games from Free to Full version Cyberlords – Arcology

I love when I actually get swift support from a company. And it works. Kudos to Handy Games (http://www.handy-games.com)…

 

Transferring saved games from Free to Full version Cyberlords - ArcologyThe inability to do chown -R on Android is a bit of a let-down, but then I guess it was never designed to be a fully functional Linux filesystem. I’m just happy that it doesn’t have thousands of files in a convoluted directory tree and I feel I’ve learned some stuff today about the Android’s particular Linux flavour and how it’s set up permission-wise. It’s always a good day when you’ve learned something.

From: support
Date: 2 August 2011 12:31
Subject: AW: Cyberlords – Arcology

To: Peter AdamsTransferring saved games from Free to Full version Cyberlords - Arcology
I’ve just bought the full game after getting to level 2 on the free version. Is their any way to import my saves or 
> will I have  to start again?

Hi

Well it is possible, but rather complicated.

L

You will need a rooted device and good knowledge of the file system.

I send you a guide we wrote for another game.

Just exchange the gunsandglory terms with cyberlords (and some folders may vary)

– Copy the savegame files from /data/data/com.hg.gunsandgloryfree to /data/data/com.hg.gunsandglory

– Make sure these files can read and written by the user ID created for Guns and Glory (either change the owner of the files and folders or make them world read/writeable)

If an adb connection is available follow these steps:

Check the user ID for the Guns’n’Glory application:

Enter the following command:

adb shell ls –l /data/data/com.hg.gunsandglory

This should produce output similar to this:

drwxr-xr-x system   system                       2011-03-01   17:45  lib

drwxrwx–x app_83   app_83                       2011-03-02   17:27  databases

drwxrwx–x app_83   app_83                       2011-03-01   17:45  cache

drwxrwx–x app_83   app_83                       2011-03-02   17:28  shared_prefs

drwxrwx–x app_83   app_83                       2011-03-01   17:45  files

The required user ID in that case is app_83

Remove the old savegame files:

adb shell rm –r /data/data/com.hg.gunsandglory

Copy the savegame files from the free version:

adb shell cp –R /data/data/com.hg.gunsandgloryfree /data/data/com.hg.gunsandglory

Change ownership of the copied files (Note, exchange the user and group with the user printed by the ls command):

adb shell chown app_83.app_83 /data/data/com.hg.gunsandglory

adb shell chown app_83.app_83 /data/data/com.hg.gunsandglory/*

adb shell chown app_83.app_83 /data/data/com.hg.gunsandglory/shared_prefs/*

adb shell chown app_83.app_83 /data/data/com.hg.gunsandglory/databases/*

adb shell chown app_83.app_83 /data/data/com.hg.gunsandglory/cache/*

adb shell chown app_83.app_83 /data/data/com.hg.gunsandglory/files/*

Please ensure that all subfolders have the correct user id (-r doesn’t seem to work for some reason)

The lib folder and its contents belong to the system user:

adb shell chown system.system /data/data/com.hg.gunsandglory/lib

adb shell chown system.system /data/data/com.hg.gunsandglory/lib/*

I hope you get it done, but try at your own risk.

Bye

Something to say?