I just installed this on my Windoze pc in the office. Harharhar, how do I update my windows version to include official player names and teams?
I guest I can figure the Linux version out at home.
lastly are the save files interchangeable between Linux and Windows?
Thanks in advance
Official team names and team definitions in Windows
-
- Posts: 1
- Joined: Tue Sep 13, 2005 6:17 am
- Location: Manila, Philippines
- Contact:
Re: Official team names and team definitions in Windows
the update script is a bash script and uses unix-typical tools like patch and sed and perl, so it definitely doesn't work on windowsstrummsteel wrote:I just installed this on my Windoze pc in the office. Harharhar, how do I update my windows version to include official player names and teams?

now, after you got the official names (btw, don't expect too many player names, only 10 teams or so have a definition), you can simply pack your (patched) definitions dir (normally, $HOME/.bygfoot-1.9/definitions), and replace the directory support_files/definitions on your windows system with it. that should work.I guest I can figure the Linux version out at home.
yes and no. yes, because once the save file is unpacked, the contained files can be loaded by both versions. no, because on windows the files are arj-packed and on linux zip-packed (didn't find a nice small free zip packer for windows). so if you really really have to interchange files often, you best write a small script on linux to convert the archives.lastly are the save files interchangeable between Linux and Windows?
gyözö
Press any key to continue or any other key to quit.
Re: Official team names and team definitions in Windows
...the contained files can be loaded by both versions. no, because on windows the files are arj-packed and on linux zip-packed (didn't find a nice small free zip packer for windows). so if you really really have to interchange files often, you best write a small script on linux to convert the archives.

http://www.info-zip.org/pub/infozip/Zip.html
http://www.mirrorservice.org/sites/ftp. ... ozip/MSDOS
Look also
http://sourceforge.net/projects/gnuwin32
If I can compile this weendend the source code in windows, maybe I can try to change ARJ comman line to use one ZIP program.
Un saludo
Carlos Garces
Re: Official team names and team definitions in Windows
the zip and unzip binaries from this project work fine (even without the dlls, i wonder why).idcarlos wrote: http://sourceforge.net/projects/gnuwin32
you just have to replace the arj stuff in the support_files/bygfoot_constants file with the zip stuff (you can copy the zip stuff from the unix section of the file).If I can compile this weendend the source code in windows, maybe I can try to change ARJ comman line to use one ZIP program.
gyözö
Press any key to continue or any other key to quit.
Change compression in windows to ZIP
ZIP in windows mini HOW-TO
- 1.-Put Unzip.exe and Zip.exe in your bfgfoot folder (you can get if from http://sourceforge.net/projects/gnuwin32)
- 2.-Edit the win32 section of support_files/bygfoot_constants, replace it with this code
Code: Select all
# commands for win32 filesystem interaction string_fs_compress_command_win32 zip string_fs_compress_switches_win32 -q string_fs_uncompress_command_win32 unzip string_fs_uncompress_switches_win32 -qq -o string_fs_copy_file_command_win32 copy string_fs_remove_file_command_win32 erase string_fs_save_suffix_win32 .zip
- 3.-(Optional) Recompres the savegames in zip format if you need keep your games
- 4.-(Optional) Edit save/last_save file
Last edited by idcarlos on Wed Sep 14, 2005 2:20 pm, edited 1 time in total.
Re: Change compression in windows to ZIP
true, but let's wait a bit and see whether the zip stuff works without problems on windows (it does, most probably).idcarlos wrote:Note for developers. With this changes, maybe only neeed one seccion for ZIP commands.
btw, didn't you forget the ´ on sección?


gyözö
Press any key to continue or any other key to quit.
as expected.idcarlos wrote:I'm saving/loading .ZIP games without problems in WindowsXP
you could have a look if you can reproduce this bug:Send me a mail at carlos-garces usa.net if you need test something under windows.
http://bygfoot.sourceforge.net/forum/vi ... =2446#2446
the poster didn't give any information other than 'crash!', unfortunately

gyözö
Press any key to continue or any other key to quit.