General CRYENGINE Discussion

View unanswered posts | View active topics


Post a new topicPost a reply
Previous topic | Next topic 

User avatar   Has no life Has no lifeMember since: 11.07.2008, 20:25Posts: 11740Location: Nottingham, UK Likes: 89
 

 Post Topic: Packaging/Launching your game
PostPosted 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:

Quote:
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   Beginner BeginnerMember since: 18.08.2011, 15:40Posts: 99Location: Egypt Likes: 0
 

 Post Topic: Re: Launching your game
PostPosted 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   News Posters News PostersMember since: 04.12.2007, 03:23Posts: 11814Location: Hamar, Norway Likes: 719
 

 Post Topic: Re: Launching your game
PostPosted 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   Beginner BeginnerMember since: 18.08.2011, 15:40Posts: 99Location: Egypt Likes: 0
 

 Post Topic: Re: Launching your game
PostPosted 22.12.2011, 21:00 
Quote by Lavizh:
1. Nothing to see here, move along.

Are you mean I can't disable login screen ?


Image
User avatar   News Posters News PostersMember since: 04.12.2007, 03:23Posts: 11814Location: Hamar, Norway Likes: 719
 

 Post Topic: Re: Launching your game
PostPosted 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   24/7 Modder 24/7 ModderMember since: 12.04.2007, 16:51Posts: 3272 Likes: 2
 

 Post Topic: Re: Launching your game
PostPosted 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   Crytek Staff Member Crytek Staff MemberMember since: 09.01.2008, 01:11Posts: 11176Location: Crytek HQ Likes: 822
 

 Post Topic: Re: Launching your game
PostPosted 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   Beginner BeginnerMember since: 16.12.2011, 04:17Posts: 19 Likes: 0
 

 Post Topic: Re: Launching your game
PostPosted 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   Beginner BeginnerMember since: 04.01.2012, 12:38Posts: 13Location: Russian Federation Likes: 0
 

 Post Topic: Re: Launching your game
PostPosted 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.
  Beginner BeginnerMember since: 12.02.2009, 20:09Posts: 53 Likes: 1
 

 Post Topic: Re: Launching your game
PostPosted 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   Beginner BeginnerMember since: 11.01.2012, 01:59Posts: 2 Likes: 2
 

 Post Topic: Re: Launching your game
PostPosted 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   News Posters News PostersMember since: 04.12.2007, 03:23Posts: 11814Location: Hamar, Norway Likes: 719
 

 Post Topic: Re: Launching your game
PostPosted 12.01.2012, 00:51 
Quote:
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   Beginner BeginnerMember since: 11.01.2012, 01:59Posts: 2 Likes: 2
 

 Post Topic: Re: Launching your game
PostPosted 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   Beginner BeginnerMember since: 04.01.2012, 12:38Posts: 13Location: Russian Federation Likes: 0
 

 Post Topic: Re: Launching your game
PostPosted 12.01.2012, 20:58 
Yup! Go play crysis 2, take ideas, wait....Zzz...
  Beginner BeginnerMember since: 10.01.2012, 00:19Posts: 7 Likes: 0
 

 Post Topic: Re: Launching your game
PostPosted 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.