Forums Gallery Downloads LOGIN |REGISTER

Packaging/Launching your game

Just getting started? Looking for some information on CE and/or CE projects? Ask here!


 

User avatar
Ruan
Has seen it all
Has seen it all
 
Posts: 11740
Images: 0
Member since: 11.07.2008, 20:25
Location: Nottingham, UK
Likes: 90

Packaging/Launching your game

Postby Ruan » 22.12.2011, 14:56

We're seeing the same question being posted over and over in these forums right now so I thought I'd clarify exactly how the engine is used to run a game.

Binxx\GameSDK.exe is used to run the game. CRYENGINE does not include a "baking" or "packing" functionality because there's no need, the launcher and files already exist in a suitable structure on disk (the same as used by C2 etc).

To control how exactly the launcher runs, open Code\Solutions\CryEngine_GameCodeOnly.sln, which includes the CryGame project. This can be compiled to CryGameSDK.dll for two platforms: x86 (goes in Bin32) and x64 (goes in Bin64). Debug, profile and release options are also supported.

From the docs:

The code handling the initialization of a CryENGINE game is contained inside Code\Game\GameDll\GameStartup.cpp. The function CGameStartup::Reset() is handling the allocation and initialization of the IGame interface.

For adding any game specific initialization, it is recommended to look into CGame::Init(). This function is called once when the game is loaded. The function CGame::Shutdown() will be called when the game is being shutdown.


If you have more specific questions, post away!
Out now! CryENGINE Game Programming with C++, C#, and Lua
Ex-Crytek, now with Deep Silver Dambuster Studios
User avatar
woodygoody
Just getting started
Just getting started
 
Posts: 99
Member since: 18.08.2011, 15:40
Location: Egypt
Likes: 0

Re: Launching your game

Postby woodygoody » 22.12.2011, 20:31

... By this way, can I do these two things ?
1-- Disable CryDev login screen (ID, Password)
2-- Run my game by launcher without typing "map mylevelname"
Image
User avatar
Lavizh
News Posters
News Posters
 
Posts: 11981
Member since: 04.12.2007, 03:23
Location: Hamar, Norway
Likes: 744

Re: Launching your game

Postby Lavizh » 22.12.2011, 20:43

1. Nothing to see here, move along.
2. Make a shortcut (rightclick on file) and click Properties. Enter +map mylevelname in the file's target.
OR you can do this via a .CFG file, kinda like autoexec.cfg (or a specific one), just type in exec mylevelname and the bottom of the file.
 
 
 

Image
User avatar
woodygoody
Just getting started
Just getting started
 
Posts: 99
Member since: 18.08.2011, 15:40
Location: Egypt
Likes: 0

Re: Launching your game

Postby woodygoody » 22.12.2011, 21:00

Lavizh wrote:1. Nothing to see here, move along.

Are you mean I can't disable login screen ?
Image
User avatar
Lavizh
News Posters
News Posters
 
Posts: 11981
Member since: 04.12.2007, 03:23
Location: Hamar, Norway
Likes: 744

Re: Launching your game

Postby Lavizh » 23.12.2011, 23:59

That's correct. I have no way of knowing what Crytek has planned for the future though. I mean for the commercial version they have no choice but to remove it. Don't know about the FreeSDK.
 
 
 

Image
User avatar
VengenceBot
Executive Producer
Executive Producer
 
Posts: 3272
Member since: 12.04.2007, 16:51
Likes: 2

Re: Launching your game

Postby VengenceBot » 24.12.2011, 03:42

So how can I play Crysis 2 in 64bit?? Theres no CryGame.dll there.. With the SDK I can make Crysis 2 64bit??
User avatar
Cry-Adam
Crytek Staff Member
Crytek Staff Member
 
Posts: 11270
Images: 182
Member since: 09.01.2008, 01:11
Location: Crytek HQ
Likes: 846

Re: Launching your game

Postby Cry-Adam » 24.12.2011, 06:19

This is for the Free SDK, nothing to do with Crysis 2.

Image
Image
No dev/modding PM's please, use the forums! :)
Achievement Unlocked: Wear the Winter avatar all year.
User avatar
kopirat
Just getting started
Just getting started
 
Posts: 19
Member since: 16.12.2011, 04:17
Likes: 0

Re: Launching your game

Postby kopirat » 31.12.2011, 03:46

If you apply for an independent developer license (The one where CryTek receives 20% of project profits) will you be supplied with a method for distributing your game with a launcher that doesn't require a CryDev.net login and password? Or is the only way to distribute your game without the CryDev login process by obtaining a commercial license?
Lead Programmer - studioPIRAT
studioPIRAT is looking for help on kousei! PM if interested!
User avatar
Romans
Just getting started
Just getting started
 
Posts: 13
Member since: 04.01.2012, 12:38
Location: Russian Federation
Likes: 0

Re: Launching your game

Postby Romans » 07.01.2012, 20:10

Yea. Indie-developers can't build free games until their solutions parasited by log-in screen. We can release films or machinima only. If Crytek will give to us information about logged account, it's will like a part of gameplay(Developers will write\read info to\from Crytek's database ). Something like game accounts. It's will like a paradise! We all know what log-in system is "-", but so you can change it to "+". IT is my and my company's IMHO
Last edited by Romans on 08.01.2012, 17:25, edited 1 time in total.
nsk
Just getting started
Just getting started
 
Posts: 53
Member since: 12.02.2009, 20:09
Likes: 1

Re: Launching your game

Postby nsk » 08.01.2012, 14:56

I agree with you.
Why would I study Cryengine 3 if I can not publish my game for free or with licence?

If I publish game, it must be without login screen. That login screen is stupid anyway. Everybody can register for free so nobody profits (I go in minus instead).
User avatar
rames
Just getting started
Just getting started
 
Posts: 2
Member since: 11.01.2012, 01:59
Likes: 2

Re: Launching your game

Postby rames » 12.01.2012, 00:33

I agree with all of you.

What the hell is that "login screen" bullshit? What point of learning CryEngine3 if we cant release our games for free, downloadable content.

And with all of theese things CryTek slogan is begining with "Be free..."
User avatar
Lavizh
News Posters
News Posters
 
Posts: 11981
Member since: 04.12.2007, 03:23
Location: Hamar, Norway
Likes: 744

Re: Launching your game

Postby Lavizh » 12.01.2012, 00:51

What point of learning CryEngine3 if we cant release our games for free, downloadable content.

Hi and welcome to the forums :)

You are sure this won't be available in an update later on? Why would they go thru all the trouble of making the FreeSDK, if the content can't be distributed in the first place. I'm sure a better launcher solution will be available in a future update. They have to make a launcher (not the editor) that doesn't require a login. Otherwise the engine is useless to the developers and the players.

The engine has only been out for a few months. There has only been 1 official update so far. Next one is around the corner. You can't expect everything to be in place in the first release.

Besides most games in development on the engine so far, is far from finished, and most likely still in their pre-alpha stages.

Relax and wait and see what the future holds for us. Q1 & Q2 2012 will be excellent for all of us :)
 
 
 

Image
User avatar
rames
Just getting started
Just getting started
 
Posts: 2
Member since: 11.01.2012, 01:59
Likes: 2

Re: Launching your game

Postby rames » 12.01.2012, 01:30

Hi, thanks for answering. You're right and I hope you will be right in future about this update :). I'll wait, because CE3 worth to wait update of package solution ;) .
User avatar
Romans
Just getting started
Just getting started
 
Posts: 13
Member since: 04.01.2012, 12:38
Location: Russian Federation
Likes: 0

Re: Launching your game

Postby Romans » 12.01.2012, 20:58

Yup! Go play crysis 2, take ideas, wait....Zzz...
tdunnigan
Just getting started
Just getting started
 
Posts: 7
Member since: 10.01.2012, 00:19
Likes: 0

Re: Launching your game

Postby tdunnigan » 31.01.2012, 23:14

Is it possible to host all of the game files on a server? I know that I can supply some command line arguments to the game to pass the name of the map to run. But can those map files (& all other content/entity/audio/video/model files/etc) reside on a centralized server, instead of on a user's pc?

Thanks.


 
Connect and collaborate with CRYENGINE developers in the official Forums.
Visit the Gallery to share what you have created and be inspired by what others are creating with CRYENGINE.
Community