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