Forums Gallery LOGIN |REGISTER

Community Archive is read-only - Here you can view content recorded up until February 2017. To join the latest discussions visit our new forums


Steps for releasing game

Gameplay Setup, SP/MP Logic, Audio Setup, AI Logic, Entity Usage, etc.


 

User avatar Guzzo
Junior Dev
Junior Dev
 
Posts: 231
Member since: 27.11.2014, 12:17
Likes: 3

Steps for releasing game

Postby Guzzo » 22.09.2016, 12:19

Hi,
My game is almost finished and now I'm preparing to release it. I'm using Eaas 3.8.6
I will release it on Steam for PC Windows.

I've found this guide http://docs.cryengine.com/pages/viewpag ... d=21890874
but I don't understand the difference about compiling or not compiling the game.
I have exported to engine my game levels and all works fine in the launcher, so what's the meaning of compiling the game?

I'm also reading about WAF but I can't understand if I have to use it or not

I need also to:
remove the console
remove the debug keys (F3, F2,etc..)
create PAKs with encryption

Is there someone so kind to tell me step by step what I have to do?

Thank you!
User avatar Guzzo
Junior Dev
Junior Dev
 
Posts: 231
Member since: 27.11.2014, 12:17
Likes: 3

Re: Steps for releasing game

Postby Guzzo » 23.09.2016, 12:27

Can anyone help me please?
I've found this thread where Lavizh says this:
Lavizh wrote:1. Export to Engine in the Editor.
2. Remove any unused assets to shrink the size down (like the RC, Tools folder, Editor folder etc...)
3. Remove (BACKUP!!) the .CRY and .BAK files for each level.
4. ZIP down the build.
5. Upload to FTP, a website or whatever.
6. Have them run GameSDK.EXE to start the game (or whatever name you want for the file).

You can also sell your game without even contacting Crytek. Thats the beauty of EaaS. But be careful, EaaS users are not allowed to bundle the Editor with the game without additional permission from Crytek.

Your Editor is tied into the Steam Subscription part, the GameSDK is not.


viewtopic.php?f=322&t=123702#p1216686

So what do I have to do? Just follow Lavizh steps or compile the game?
I'm very confused about that.
User avatar manuk
Producer
Producer
 
Posts: 1265
Images: 8
Member since: 03.06.2013, 19:50
Location: Paris, France
Likes: 306

Re: Steps for releasing game

Postby manuk » 24.09.2016, 13:41

All depend of your game and of security level you want.

If you modiyed the game code ( c++ ) or if you want to do a securised release with packs and Cvars controls, you ll have to compile the game and use WAF.

If your game is simple like a "mod" you can just export to engine and delete all other files like lavish said.

If you didnt modifier C++, you should begin with lavizh said, and try WAF later.

Once again all depend of what you created.

If you want to do complete process, you'll have to:

1- Install and setup waf:
http://docs.cryengine.com/display/SDKDO ... d+with+WAF

2 - Build the solution with visual studio:
http://docs.cryengine.com/display/SDKDO ... d+with+WAF
https://www.youtube.com/watch?feature=p ... Z6U6toIkKM

3 - Create packs with RCjob:
http://docs.cryengine.com/display/SDKDO ... +Platforms

4 - Secure Cvars and Packs:
http://docs.cryengine.com/pages/viewpag ... d=21890874
No PMs for help plz, use the forums.
Image
User avatar romahassanih
Intern Dev
Intern Dev
 
Posts: 120
Images: 3
Member since: 18.02.2015, 04:26
Location: Germany
Likes: 18

Re: Steps for releasing game

Postby romahassanih » 24.09.2016, 15:21

As always helpfull, thank you Manu =)
User avatar Lavizh
Lead Moderator
Lead Moderator
 
Posts: 15317
Member since: 04.12.2007, 03:23
Location: Hamar, Norway
Likes: 1141

Re: Steps for releasing game

Postby Lavizh » 24.09.2016, 15:23

My statement up there is from the EaaS days and doesn't necessarly apply to CEV the same way. Certain structures and tools have changed since then. Follow the docs Manu linked too instead. Should work fine for you.
 
 
Image  Image
User avatar Guzzo
Junior Dev
Junior Dev
 
Posts: 231
Member since: 27.11.2014, 12:17
Likes: 3

Re: Steps for releasing game

Postby Guzzo » 24.09.2016, 19:25

Thank you a lot for your kind help.
I haven't modified C++ and I'm using EaaS so I think I can use both Lavizh method and compiling.
I have some more questions before choosing the way to continue:
- What do you mean exactly for security level? If I build PAKs with RC and encryption, my assets aren't secure enough? ( It seems that I can secure my Paks without compiling, by using only RC and KeyGen.exe )
- I suppose that the other security aspect is the CVars because they can be whitelisted only with compilation. Have I understood right?
User avatar manuk
Producer
Producer
 
Posts: 1265
Images: 8
Member since: 03.06.2013, 19:50
Location: Paris, France
Likes: 306

Re: Steps for releasing game

Postby manuk » 24.09.2016, 21:29

Guzzo wrote:Thank you a lot for your kind help.
I haven't modified C++ and I'm using EaaS so I think I can use both Lavizh method and compiling.
I have some more questions before choosing the way to continue:
- What do you mean exactly for security level? If I build PAKs with RC and encryption, my assets aren't secure enough? ( It seems that I can secure my Paks without compiling, by using only RC and KeyGen.exe )
- I suppose that the other security aspect is the CVars because they can be whitelisted only with compilation. Have I understood right?


- if you want to secure your paks with Rc and keygen you'll have to compile because you have to "Setting up cryptography keys" in "GameStartup.cpp"

- cvar are withelisted on compilation, u understand right
No PMs for help plz, use the forums.
Image
User avatar Guzzo
Junior Dev
Junior Dev
 
Posts: 231
Member since: 27.11.2014, 12:17
Likes: 3

Re: Steps for releasing game

Postby Guzzo » 25.09.2016, 20:08

Thank you so much.
I've compiled the game and created paks with RC.
I'm testing the game and in the main menu everything works fine, but when I load my level, the game crashes (at the end of the level load).
I've tested even the stock Cryengine Woodland level and it crashed again.
I thought that "goto" command was the cause, so I've added WHITELIST("goto") in the GameStartup.cpp and recompiled the game but the problem persists.
What can be the problem?
I attach the logs of the Woodland level crash.


**EDIT**
It seems related to the Pak Process because textures and some files seems to be missing in PAKs.
I've created my Paks with RC and this XML by Lavizh:
viewtopic.php?f=355&t=133206#p1289820

Maybe that file is too old for Eaas 3.8.6?
Attachments
game.log
(6.05 KiB) Downloaded 109 times
error.log
(4.88 KiB) Downloaded 106 times
User avatar manuk
Producer
Producer
 
Posts: 1265
Images: 8
Member since: 03.06.2013, 19:50
Location: Paris, France
Likes: 306

Re: Steps for releasing game

Postby manuk » 27.09.2016, 15:40

- what do mean by "goto" command ? the flowgraph node "AI:GoTo" ?
if yes, this node is depreciated for long time now, you should not use it on 3.8.6
( this was replaced by AIsequence system and nodes. )

- the RCjob XML file from lavitzh is only an example ( was created for his game, not for basic GameSDK ), you have to modify it for your game, depend of your assets, folder path, etc...
No PMs for help plz, use the forums.
Image
User avatar Guzzo
Junior Dev
Junior Dev
 
Posts: 231
Member since: 27.11.2014, 12:17
Likes: 3

Re: Steps for releasing game

Postby Guzzo » 28.09.2016, 19:31

It was the RC job xml file that had missed some files. For now the game seems to work in release mode :)
Thanks a lot to both Manuk and Lavizh.
I'll let you know if there will be some other problems