# Implementing Steam Cloud Storage \[SOLVED\]

**URL:** <https://forum.defold.com/t/implementing-steam-cloud-storage-solved/69945>\
**Category:** Questions\
**Created:** [December 17, 2021, 8:21pm UTC](https://forum.defold.com/t/implementing-steam-cloud-storage-solved/69945 "2021-12-17T20:21:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![benjames171](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/benjames171/32/34759_2.png) [@benjames171](https://forum.defold.com/u/benjames171)\
**Post date:** [December 17, 2021, 8:21pm UTC](https://forum.defold.com/t/implementing-steam-cloud-storage-solved/69945/1 "2021-12-17T20:21:33Z")

</div>

I would like to save my data (currently in a Lua table) to Steam Cloud Storage using `steamworks.remote_storage_file_write`. The function doesn’t seem to like tables and I’ve only managed to get it to work by passing in a string. Is there a way to pass in a table or do I need to convert all my data to a string somehow?

---

<div class="post-metadata">

**Author:** ![Pkeod](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/pkeod/32/606_2.png) [@Pkeod](https://forum.defold.com/u/Pkeod)\
**Post date:** [December 17, 2021, 10:23pm UTC](https://forum.defold.com/t/implementing-steam-cloud-storage-solved/69945/2 "2021-12-17T22:23:38Z")

</div>

> [@benjames171](#):
>
> convert all my data to a string somehow

> [API reference](https://defold.com/ref/stable/sys/#sys.serialize:table) sys.serialize:table  
> [API reference](https://defold.com/ref/stable/sys/#sys.deserialize:buffer) sys.deserialize:buffer

You can use this to convert between strings and tables for serialization.

Also, for Steam cloud save, you don’t have to do this in code. You can give Steam directories to look at and it will sync save data on its own.

From Big Klondike’s config

 ![2021-12-17 14_27_03-Window](https://forum-defold-uploads.b-cdn.net/original/3X/3/c/3c5193a8c422ca05d2666f262962d1e329123ed6.png)

---

<div class="post-metadata">

**Author:** ![benjames171](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/benjames171/32/34759_2.png) [@benjames171](https://forum.defold.com/u/benjames171)\
**Post date:** [December 18, 2021, 1:39pm UTC](https://forum.defold.com/t/implementing-steam-cloud-storage-solved/69945/3 "2021-12-18T13:39:50Z")

</div>

That’s helpful, thanks. I’ll just do it the easy way!
