OpenXcom Forum

OpenXcom => Suggestions => Topic started by: hsbckb on February 18, 2011, 12:22:06 pm

Title: Cloud Saving
Post by: hsbckb on February 18, 2011, 12:22:06 pm
As there will be different version of OpenXcom,  I think "cloud saving" i.e. using space from Gmail account will be very useful. I this way I can play the game at home from my PC and outside using my Symbian/Android Phone.
Title: Re: Cloud Saving
Post by: michal on February 18, 2011, 12:58:19 pm
Crazy interesting idea :)

Maybe we could store saves on ninex.info server. If there will be enough place on hdd. And if NineX will permit ;)

Basically, it would require creating account on (for example) openxcom.ninex.info/saves. Simple login and password, nothing more. Then in openxcom you would have to configure login and password.

As for coding it, instead of loading/saving files, openxcom would need to call simple php scripts:
Code: [Select]
openxcom.ninex.info/saves/list.php?login=aaa&password=xxx
openxcom.ninex.info/saves/save.php?login=aaa&password=xxx&name=save1 (send file as POST data)
openxcom.ninex.info/saves/load.php?login=aaa&password=xxx&name=save1

It should be doable with pure c/c++ sockets. Shouldn't be very hard.
Title: Re: Cloud Saving
Post by: SupSuper on February 19, 2011, 03:31:42 am
Crazy interesting idea :)

Maybe we could store saves on ninex.info server. If there will be enough place on hdd. And if NineX will permit ;)

Basically, it would require creating account on (for example) openxcom.ninex.info/saves. Simple login and password, nothing more. Then in openxcom you would have to configure login and password.

As for coding it, instead of loading/saving files, openxcom would need to call simple php scripts:
Code: [Select]
openxcom.ninex.info/saves/list.php?login=aaa&password=xxx
openxcom.ninex.info/saves/save.php?login=aaa&password=xxx&name=save1 (send file as POST data)
openxcom.ninex.info/saves/load.php?login=aaa&password=xxx&name=save1

It should be doable with pure c/c++ sockets. Shouldn't be very hard.
I guess I shouldn't tell you I pretty much flunked at sockets then. :P
Title: Re: Cloud Saving
Post by: sir_nacnud on February 19, 2011, 07:26:46 am
SDL has support for networking.  This is probably would be what you would use, given Windows uses it's own winsock API, where as Unix based systems use Berkeley sockets.

I think this might be a cool idea for mobile apps, like my android port.
Title: Re: Cloud Saving
Post by: Zyxpsilon on February 19, 2011, 07:58:31 am
IIRC, SMKSoftware.ru's https://www.freewarepocketpc.net/ppc-download-pocket-ufo-v1-26.html (https://www.freewarepocketpc.net/ppc-download-pocket-ufo-v1-26.html) for Windows Mobile Phones should be compatible with Android port if anything.
Title: Re: Cloud Saving
Post by: hellblade on February 22, 2011, 03:07:04 pm
 ;D   I have ALWAYS sent the entire game to my gmail account so I could play it anywhere
Title: Re: Cloud Saving
Post by: Zyxpsilon on February 23, 2011, 08:46:56 am
Broken link, i know... anyone wants it for real here? https://pocket-ufo.en.softonic.com/pocketpc/download#pathbar