here is a way to read the rcc files.
**need use gameclient.exe to run the game**
gameemulatorview.cpp
find:
Code:
cgameemulatorview::cgameemulatorview()
: Cd3dapplication()
, m_bcreated(false)
, m_hcursordefault(null)
{
m_busedepthbuffer = true;
scharacter = scharset();
}
replace to:
Code:
cgameemulatorview::cgameemulatorview()
: Cd3dapplication()
, m_bcreated(false)
, m_hcursordefault(null)
{
m_busedepthbuffer = true;
scharacter = scharset();
// siumoon: Use the rcc file by default.
Glogic::bglogic_packfile = false;
glogic::bglogic_zipfile = true;
glogic::benglib_zipfile = true;
}
-----------
serveragent.cpp / serverfield.cpp / serverlogin.cpp / serversession.cpp
find:
Code:
bool brcc = false;
for ( int i=0; i<strcmdarray.getcount(); i++ )
{
cstring strtemp = strcmdarray.getat(i);
if ( strtemp == "use_rcc" || strtemp == "use_rcc" )
{
brcc = true;
}
}
//rcc initialize
glogic::bglogic_packfile = false;
glogic::bglogic_zipfile = false;
glogic::benglib_zipfile = false;
if ( brcc )
{
glogic::bglogic_packfile = false;
glogic::bglogic_zipfile = true;
glogic::benglib_zipfile = true;
}
replace to:
Code:
bool brcc = true; // siumoon: Use the rcc file by default.
For ( int i=0; i<strcmdarray.getcount(); i++ )
{
cstring strtemp = strcmdarray.getat(i);
if ( strtemp == "not_use_rcc" || strtemp == "not_use_rcc" )
{
brcc = false;
}
}
//rcc initialize
glogic::bglogic_packfile = false;
glogic::bglogic_zipfile = true;
glogic::benglib_zipfile = true;
if ( !brcc )
{
glogic::bglogic_packfile = false;
glogic::bglogic_zipfile = false;
glogic::benglib_zipfile = false;
}
-----------
gameclient.cpp
find:
Code:
bool brcc = false;
for ( int i=0; i<strcmdarray.getcount(); i++ )
{
cstring strtemp = strcmdarray.getat(i);
/*if ( strtemp == "app_run" )
{
bapm = true;
}*/
if ( strtemp == "use_rcc" || strtemp == "use_rcc" )
{
brcc = true;
}
replace to:
Code:
bool brcc = true; // siumoon: Use the rcc file by default.
For ( int i=0; i<strcmdarray.getcount(); i++ )
{
cstring strtemp = strcmdarray.getat(i);
/*if ( strtemp == "app_run" )
{
bapm = true;
}*/
if ( strtemp == "not_use_rcc" || strtemp == "not_use_rcc" )
{
brcc = false;
}