What files are absolutely needed?

Get help with installing and running the Cafu Engine here. This forum is also for general questions and discussion of all aspects regarding the Cafu Engine.
Post Reply
xjonx
Posts: 2
Joined: 2019-07-09, 04:28

What files are absolutely needed?

Post by xjonx » 2019-07-10, 17:39

I compiled a release. However, the file structure is very messy with source files and python files everywhere. What can I safely delete for a release build?
Keep in mind, I copied everything from "\Cafu\build\win32\vc11\x86\release" to "\Cafu" because Cafu said it couldn't find any games from the release directory (and your compile guide said to do this anyways).
User avatar
Carsten
Site Admin
Posts: 2149
Joined: 2004-08-19, 13:46
Location: Germany
Contact:

Re: What files are absolutely needed?

Post by Carsten » 2019-07-11, 10:27

Dear xjonx,
welcome to the Cafu forums! :welcome:

Do you mind looking this up in the Python script that I use to make the Cafu binary release? Please have a look at:
https://bitbucket.org/cafu/tools/src/ma ... _binary.py

If you have trouble, I'll explain what the script does.
Best regards,
Carsten
xjonx
Posts: 2
Joined: 2019-07-09, 04:28

Re: What files are absolutely needed?

Post by xjonx » 2019-07-11, 19:56

The python script only reports directories, not files. Also, this seems to compile a demo release, like the precompiled (old) binary builds you provide (CaSanity is missing, for example where as I have it compiled). I am still unsure of what is safe to delete. Like, Common only has source files can I delete that? And build, since I already copied the stuff from there can I just delete that?
User avatar
Carsten
Site Admin
Posts: 2149
Joined: 2004-08-19, 13:46
Location: Germany
Contact:

Re: What files are absolutely needed?

Post by Carsten » 2019-07-12, 10:35

Yes, for a release, you can delete everything that is listed in source_dirs, please see:
https://bitbucket.org/cafu/tools/src/ma ... #lines-208
but not CaWE/res and maybe some of the textures that you want to keep.

Alternatively, maybe the function at https://bitbucket.org/cafu/tools/src/ma ... y#lines-74 works even better for you?
Sorry that I didn't mention this earlier, but reconsidering I recommend using that, it's more versatile.
Best regards,
Carsten
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests