Author Topic: Is there anyway...?  (Read 4425 times)

0 Members and 1 Guest are viewing this topic.

the_pretzel2
  • Newbie
  • *
  • Posts: 1
    • View Profile
Is there anyway...?
« on: November 27, 2013, 04:26:17 AM »
to make the save data go to a Flashdrive?

Christopho

  • Administrator
  • Hero Member
  • *****
  • Posts: 1193
    • View Profile
Re: Is there anyway...?
« Reply #1 on: November 27, 2013, 12:02:22 PM »
Saved data automatically go to a subdirectory of the user's directory (see FileTools::get_base_write_dir()).

But from your Lua scripts, you can use the regular Lua file API to manipulate savegame files. Open the savegame file with sol.file.open() and then just copy its content wherever you want.