Virtualization & Cloud Computing Forum

Virtualization & Cloud Computing Forum (http://www.virtualization.net/forums/)
-   Application Virtualization (http://www.virtualization.net/forums/application-virtualization/)
-   -   simple game (http://www.virtualization.net/forums/application-virtualization/simple-game-1093/)

Inquizitor 01-11-2013 11:10 AM

simple game
 
Hello!!!
I have a simple game for the PC (original language is C++). I want to make a portable version of this game (without installation), so users can play it without having to install (at work, for example!). What technologies for creating and using portable games do you know?
I know about the open graphics library, but it is too complicated for me. Maybe there is something easier?

Robert Miles 01-21-2013 06:42 AM

If You wanted your application to be copy-able (being able to copy the whole game folder to another machine and run it) you should make sure that all required resources and libraries are located in this directory.
On Windows settings should be loaded from %appdata% and if they can't be found they should be created with some default values that make sense.

However if you want your game to be a single file it gets a bit more complicated.
You will have to use statically linked libraries (.lib files, not static linking of .dll's).
The resources will have to be added as actual ressource files by the linker or you just append them to your executable by using the copy command. I would prefer the second one, as mentioned before if you look for sfx archives you will find how they build their stub. The advantage is that code and resource compilation is not dependent on another. And if you're clever you will be able to remove appended ressources from you executable and replace them with new ones, no recompile neccessary.

Inquizitor 01-23-2013 07:19 AM

What software should I use??

Robert Miles 02-05-2013 07:24 AM

Hi! Perhaps it would be useful for you to read information on the site PortableApps.com - Portable software for USB, portable and cloud drives
+ read about thinapp, xenapp, vmware, boxedapp...

Inquizitor 02-06-2013 07:06 AM

Thank you, Robert! I spent a little research and realized that I needed

Robert Miles 02-11-2013 09:55 AM

Always glad to help. If you have questions - please contact me


All times are GMT -4. The time now is 10:17 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0
Virtualization.net