mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-22 03:55:11 +00:00
Disable DynOS compression
This commit is contained in:
parent
1f076c0e8b
commit
5def3ee46a
2 changed files with 10 additions and 8 deletions
|
@ -70,7 +70,8 @@ static bool DynOS_Actor_WriteBinary(const SysPath &aOutputFilename, GfxData *aGf
|
|||
DynOS_Anim_Write(_File, aGfxData);
|
||||
DynOS_Anim_Table_Write(_File, aGfxData);
|
||||
BinFile::Close(_File);
|
||||
return DynOS_Bin_Compress(aOutputFilename);
|
||||
// return DynOS_Bin_Compress(aOutputFilename);
|
||||
return true;
|
||||
}
|
||||
|
||||
/////////////
|
||||
|
@ -151,9 +152,9 @@ static void DynOS_Actor_Generate(const SysPath &aPackFolder, Array<Pair<u64, Str
|
|||
if (fs_sys_file_exists(_BinFilename.c_str())) {
|
||||
#ifdef DEVELOPMENT
|
||||
// Compress file to gain some space
|
||||
if (!DynOS_Bin_IsCompressed(_BinFilename)) {
|
||||
/*if (!DynOS_Bin_IsCompressed(_BinFilename)) {
|
||||
DynOS_Bin_Compress(_BinFilename);
|
||||
}
|
||||
}*/
|
||||
#endif
|
||||
return;
|
||||
}
|
||||
|
@ -262,11 +263,11 @@ void DynOS_Actor_GeneratePack(const SysPath &aPackFolder) {
|
|||
|
||||
#ifdef DEVELOPMENT
|
||||
// Compress .bin files to gain some space
|
||||
SysPath _Filename = fstring("%s/%s", aPackFolder.c_str(), _PackEnt->d_name);
|
||||
/*SysPath _Filename = fstring("%s/%s", aPackFolder.c_str(), _PackEnt->d_name);
|
||||
if (SysPath(_PackEnt->d_name).find(".bin") != SysPath::npos && !DynOS_Bin_IsCompressed(_Filename)) {
|
||||
DynOS_Bin_Compress(_Filename);
|
||||
continue;
|
||||
}
|
||||
}*/
|
||||
#endif
|
||||
|
||||
// For each subfolder, read tokens from model.inc.c and geo.inc.c
|
||||
|
|
|
@ -637,7 +637,8 @@ static bool DynOS_Col_WriteBinary(const SysPath &aOutputFilename, GfxData *aGfxD
|
|||
DynOS_Col_Write(_File, aGfxData, _Node);
|
||||
|
||||
BinFile::Close(_File);
|
||||
return DynOS_Bin_Compress(aOutputFilename);
|
||||
// return DynOS_Bin_Compress(aOutputFilename);
|
||||
return true;
|
||||
}
|
||||
|
||||
/////////////
|
||||
|
@ -693,9 +694,9 @@ void DynOS_Col_Generate(const SysPath &aPackFolder, Array<Pair<u64, String>> _Ac
|
|||
if (fs_sys_file_exists(_ColFilename.c_str())) {
|
||||
#ifdef DEVELOPMENT
|
||||
// Compress file to gain some space
|
||||
if (!DynOS_Bin_IsCompressed(_ColFilename)) {
|
||||
/*if (!DynOS_Bin_IsCompressed(_ColFilename)) {
|
||||
DynOS_Bin_Compress(_ColFilename);
|
||||
}
|
||||
}*/
|
||||
#endif
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue