TL;DR
1. What is the . pack Pack200 java archive in the sources?
2. Why the binary that has been compiled natively runs so slow and requires more CPU cycles compared to the precompiled stable binaries?
Full question:
Wanted to compile the game from sources, updated the repos and did a full upgrade (on Ubuntu), went to the github, did the git clone, the download resulted in a ~15GB directory. Browsed through the files and found a .pack archive in a hidden git directory: ~/Cataclysm-DDA/.git/objects/pack. What is it? Do I need it really, I can’t find any mentions of it in the MAKE file? Can someone please confirm whether or not it is necessary for the build process, because all of the other assets and source files are around 2.2GB and the resulting binary is ~177MB and I’d like to not keep it locally if it doesn’t really do anything.
Also the resulting compiled ncurses version looks a bit off, there are some visual problems when the multianswer questions appear, that prompt the (Y)es (N)o (I)gnore answers for example - there are white bars around the options which are not there in the precompiled stable version (example in a screenshot), and the game itself loads really slow compared to the distributed binaries, although I thought that the software that has been built from sources should run faster on the machine it has been compiled on. If the explanations are too technical I would very much appreciate simply pointing me towards the topics I should research to have a clearer picture about this and to understand it for myself. Should I add some other parameters to the make program to make the resulting binary more performant on my system, or should I change something in the code? I used just this for the ncurses version:
make RELEASE=1 -j5
Another thing is that I’m unable to scroll the descriptions of items in the inventory menu in this version. PageUp and PageDown scroll the actions to the right (from a activate to + Auto Pickup), but not the item description to the left. It works fine in the precompiled Herbert stable version.
Long time player, but first time posting here, sorry for possible miscategorization and for cramming multiple questions into one post, hope that’s okay-ish
Game version: Cataclysm Dark Days Ahead: cdda-experimental-2025-08-23-0606 2232afecf0