As I say sometime till now,
why built bzflag.exe can't memorize the position of the [My bzflag files] folder?
as official binary package is able to.
nobody can answer it. me too.
Ordinal 55 can not be found in zlib1.dll
As I understand it, the code knows the default folder, because it is hard coded in. If you want it somewhere else, you need to specify it every time.
There is nothing worse than aggressive stupidity. -- Johann Wolfgang von Goethe
"How many legs does a dog have if you call his tail a leg? Four. Calling a tail a leg doesn't make it a leg." -- Abraham Lincoln
"How many legs does a dog have if you call his tail a leg? Four. Calling a tail a leg doesn't make it a leg." -- Abraham Lincoln
-
- Private First Class
- Posts: 27
- Joined: Wed Jul 18, 2007 4:11 pm
- Location: the final frontier JP
- Contact:
thanks your advise.
>the code knows the default folder
>If you want it somewhere else, you need to specify it every time.
But, though the reason is unknown,
it seems my built bzflag.exe don't know(find) the default folder path.
rebuilt,
run,
but "he" made any folder and file.
don't made configfile
don't made and search [My bzflag files] folder,so cachefile can't saved.
it seem to appoint that makeing and searching of defalt folder by the program.
src/game/DirectoryNames.cxx
[The main point of this problem]
built bzflag is
1 can't find and make default folder.
2 so,cache and config can't save.
3 able to call configfile for the option "-configdir"
4 but,cache folder can't Appoint.because any option exist.
5 if cache file is not found,game join forced cancel.
I can prepare config by substitute means,
but cache can't prepare like that.no way.
the details, please download the data(my built bzflag), and run it.
http://jumangokumanju.hp.infoseek.co.jp/list.html
>the code knows the default folder
>If you want it somewhere else, you need to specify it every time.
But, though the reason is unknown,
it seems my built bzflag.exe don't know(find) the default folder path.
rebuilt,
run,
but "he" made any folder and file.
don't made configfile
don't made and search [My bzflag files] folder,so cachefile can't saved.
so, if bzflag.exe can't find cachedir,remove downloaded worldcachefiles immediately.code
bzflag\src\Playing.cxx
// lookup the cached world
std::istream *cachedWorld = FILEMGR.createDataInStream(worldCachePath, true);
if (!cachedWorld) {
HUDDialogStack::get()->setFailedMessage("World cache files disappeared. Join canceled");
drawFrame(0.0f);
remove(worldCachePath.c_str());
joiningGame = false;
return;
it seem to appoint that makeing and searching of defalt folder by the program.
src/game/DirectoryNames.cxx
#if defined(_WIN32)
std::string name("C:");
char dir[MAX_PATH];
ITEMIDLIST* idl;
if (SUCCEEDED(SHGetSpecialFolderLocation(NULL, CSIDL_PERSONAL, &idl))) {
if (SHGetPathFromIDList(idl, dir)) {
struct stat statbuf;
if (stat(dir, &statbuf) == 0 && (statbuf.st_mode & _S_IFDIR) != 0)
name = dir;
}
IMalloc* shalloc;
if (SUCCEEDED(SHGetMalloc(&shalloc))) {
shalloc->Free(idl);
shalloc->Release();
}
}
// yes your suposed to have the "my" in front of it. I know it's silly, but it's the MS way.
name += "\\My BZFlag Files\\";
if (versionName) {
name += versionName;
name += "\\";
}
customConfigDir = name;
return name;
[The main point of this problem]
built bzflag is
1 can't find and make default folder.
2 so,cache and config can't save.
3 able to call configfile for the option "-configdir"
4 but,cache folder can't Appoint.because any option exist.
5 if cache file is not found,game join forced cancel.
I can prepare config by substitute means,
but cache can't prepare like that.no way.
the details, please download the data(my built bzflag), and run it.
http://jumangokumanju.hp.infoseek.co.jp/list.html
-
- Private First Class
- Posts: 27
- Joined: Wed Jul 18, 2007 4:11 pm
- Location: the final frontier JP
- Contact:
correct
[The main point of this problem]
built bzflag is
1 can find and make default folder.
2 but,cache and config file can't make.
3 can read configfile for the option "-configdir"
4 cache folder can't Appoint.because any option exist.
5 if cache file is not found,game join forced cancel.
detail(webpage tlanslate)
http://www.google.co.jp/translate?u=htt ... ja&ie=UTF8
[The main point of this problem]
built bzflag is
1 can find and make default folder.
2 but,cache and config file can't make.
3 can read configfile for the option "-configdir"
4 cache folder can't Appoint.because any option exist.
5 if cache file is not found,game join forced cancel.
detail(webpage tlanslate)
http://www.google.co.jp/translate?u=htt ... ja&ie=UTF8
-
- Private First Class
- Posts: 27
- Joined: Wed Jul 18, 2007 4:11 pm
- Location: the final frontier JP
- Contact:
The problem was settled.
folder that made by bzflag.exe automaticaly,[My Bzflag Files]
If it's path include japanese, Bzflag.exe can not make any file.
but,official installer version is not. japanese path no problem.
the reason is still not found.
thanks to many advises.
Ps
please teach me,
the way to configure "wings" flap count .i want to config like [planet mofo].
If it's path include japanese, Bzflag.exe can not make any file.
but,official installer version is not. japanese path no problem.
the reason is still not found.
thanks to many advises.
Ps
please teach me,
the way to configure "wings" flap count .i want to config like [planet mofo].