sudo apt-get install android-tools-adb
Additionally you have to enable USB debugging in your device.
You can turn the option on in the menu:And now come to the point:
adb devices
You should get output something like this:
List of devices attached
PMP90533735148 device
adb pull /sdcard/pl.org.zielinscy.freeciv/saves/freeciv-T0093-Y-0175-auto.sav.gz ~/freeciv-T0093-Y-0175-auto.sav.gz
gunzip freeciv-T0093-Y-0175-auto.sav.gz
Next open uncompressed file in your favorite text aditor, ex. in geany and find
a line as following:
gold=YOUR_NOTED_GOLD_AMOUNT
It should be somewhere in section [player0]. Change it to:
gold=NEW_INCREASED_GOLD_AMOUNT
Save the file.
gzip freeciv-T0093-Y-0175-auto.sav
and send it to the device like this:
adb push freeciv-T0093-Y-0175-auto.sav.gz /sdcard/pl.org.zielinscy.freeciv/saves/freeciv-T0093-Y-0175-auto.sav.gz