billw2015
King
- Joined
- Jun 22, 2015
- Messages
- 837
@Toffer90 came up with ingenious suggestion to build the FPKs IN the dll, and I confirmed that this should be in theory possible.
What it would mean is:
Note: the art for FPKs doesn't go in the art folder itself still, or the game would just load it from there instead (slowly), so new art can be kept out of the packs until we want to put it into them (as it is now), at which point you just move it to the fpk folder for automatic packing.
What it would mean is:
- No FPKs in SVN, loose files instead: Faster update, faster commit, easier and faster merge, better history, easier art changes etc. All the benefits.
- Optionally you can run a batch file to build the FPKs whenever you want.
- When the DLL starts it will check that the FPKs are up to date with the loose files, and if they aren't it will build them before the game starts. If they ARE then there is no delay and the game just starts and loads the FPKs like normal.
Note: the art for FPKs doesn't go in the art folder itself still, or the game would just load it from there instead (slowly), so new art can be kept out of the packs until we want to put it into them (as it is now), at which point you just move it to the fpk folder for automatic packing.