The array sizes are wrong (see the .spec file prep section).
The paths for resources are relative and only work in development mode. The game still needs to be patched in order to find game resources upon installation (see the .spec file prep section).