Pak header size?

O Ilusionista

Captain 100K
I was looking at the log and I found this:
FileCaching System Init......    Warning: pak header is too large: 557056 / 524288

What this means?

By the way, I create the pak using this line of code
Code:
borpak.exe -d DATA -b AvengersUnitedBattleForce.pak
 
i have 2 files to pack games, packer.bat and namefothegame.bat

packer.bat
Code:
:: Name: packer
:: Author: Plombo
:: Frontend for borpak that emulates Senile Team's "packer" utility.
:: Put this file in the same directory as the borpak executable.
@echo off

if (%1) == () goto USAGE
if (%2) == () goto USAGE
if not (%3) == () goto USAGE

%0\..\borpak -b -d %2 %1
goto END

:USAGE
echo Usage: %0 ^<packname^> ^<dirname^>
goto END

:END
gamename.bat
Code:
packer.bat bor.PAK data
Never had issues with header
 
bWWd Thanks - its the same way I use.
I am not having issue right now, I just never saw this type of error before - I am using a dev build of the game.
I noticed the same message in other big games, like Zvitor's Marvel Infinity War and I would to know what this means and what this can affect the game.
 
Sorry, I completely missed this thread, even when I was @-mentioned in it.

I think that warning is harmless. A comment in the code informs me that the arbitrary-looking 524288 (0x80000) number is based on CD sector boundaries (because the file caching system was originally written for the Dreamcast). So it's probably something archaic. I can't find any reference to that number in the code other than the condition to write that log message.

At any rate, the message is written when there are a lot of files in a pak. The size of the files doesn't matter, just the number.
 
Back
Top Bottom