Azərbaycan dili Bahasa Indonesia Bosanski Català Čeština Dansk Deutsch Eesti English Español Français Galego Hrvatski Italiano Latviešu Lietuvių Magyar Malti Mакедонски Nederlands Norsk Polski Português Português BR Românã Slovenčina Srpski Suomi Svenska Tiếng Việt Türkçe Ελληνικά Български Русский Українська Հայերեն ქართული ენა 中文
Subpage under development, new version coming soon!

Onderwerp: SokkerMon 5.0

2006-03-03 16:13:00
What do I have to "Save As"???
2006-03-03 16:44:50
First, make a backup !
In old directory (my case : Portugues), use notepad to edit ALL files.
Then File->Save as
Select "Save as type" as All files (to not append .txt at final)
Select "Code" as UTF-8
Click Save (confirm Yes on overwrite existing file)
Copy ALL files from Portugues (again, my case) to new_Portugues. Overwite all existing files.
Disclaimer : I'm not responsible by any disaster in your system. Do at own risk.
2006-03-03 16:52:37
If you use english as language, you can just copy all files from 4.0 England directory to new New_England .... and all data are there :o)
2006-03-03 17:09:45
Muito Obrigado (Thanks)

^_^
(gewijzigd)
2006-03-03 17:29:36
Yes, I know. It is for UTF-8 affected Languages.
Anyway, thanks
2006-03-03 17:30:07
;-)
2006-03-03 18:11:56
Well, in Linux is easy convert large amounts of files :
create 2 new dirs :
mkdir /home/ferdam/dir_src
mkdir /home/ferdam/dir_utf8
Send all files from old format to dir_src
(using ftp, don't forget to type command ASCII before)
cd /home/ferdam/dir_src
for i in `ls -1`
do
iconv --from-code=ISO-8859-1 --to-code=UTF-8 $i > ../dir_utf8/$i
done
Send all files from dir_utf8 to new_XXX
Disclaimer : I'm not responsible by any disaster in your system. Do at own risk.
2006-03-03 20:21:36
Bericht verwijderd

2006-03-04 07:45:16
Hi all,
you can use the data for the trainings from the old version to see your training stats after a little bit manual work.

here is what you have to do:
if you made the installation of SokkerMon5 to a new directory as i did, let me visualize it "C:\SokkerMon5" first you should sonnect to Sokker.org and download your team data. After the download is complete you'll See a directory called a new subdirectory created and the path to this subdirectory will be "C\SokkerMon5\new_England", and the data for your team will be kept there.

Now go back to your old SokkerMon directory lets say "C:\SokkerMon\England\" where the data from the old training was and still is kept.
in this directory you will find many files starting with dates... (Ex. "2006-01-03.jun", "2006-01-03.trn", "2006-01-03.sok"). Select ONLY the files starting with dates and copy them to the new versions directory with path "C:\SokkerMon5\new_England"


For those who installed "SokkerMon5" under the same directory with the previous installation. Similarly you should connect and download your team data. Now go to the "C:\SokkerMon\England" where the data from the old training was and still is kept.
in this directory you will find many files starting with dates... (Ex. "2006-01-03.jun", "2006-01-03.trn", "2006-01-03.sok"). Select ONLY the files starting with dates, and copy them to the new versions directory with path "C:\SokkerMon\new_England". Under

Restart your program and your trainings, and graphs will be back ;), enjoy it.

Thanks to filjo for the good work ;).
2006-03-04 08:05:38
However this will only work with names that do not contain any special, national, characters. As those were changed while migrating to UTF-8 encoding.
2006-03-04 08:19:31
OK.
I created directories 1_src and 1_utf.
I copied all files from my SokkerMon/Polska directory to 1_src.
I enter this:
for i in 'ls -1'; do iconv --from-code=ISO-8859-2 --to-code=UTF-8 %i > ../1_utf/%i; done
(using the $i variable causes error ambiguous redirect $i) and as the whole output, I got ONE file named %i, with 0 bytes written.
When I remove the "$ or %" char from the second redirect (that after the ">" sign) I get en error from iconv, saying wrong option -- 1.

System - Aurox 10.2 (based on FC2)
iconv (GNU libc) 2.3.3
GNU bash, version 3.00.14(1)-release (i386-redhat-linux-gnu)
(gewijzigd)
2006-03-04 08:19:42
on the contrary, i am from turkey, and so i have many players with special characters in their names. But maybe it wont work when if i buy a player from lets say korea or china. i dont have the opportunity to check it.

i made the code change (the first line of the file) of England.lng file, and now all the names of the players are displayed properly with no errors ;).
2006-03-04 08:23:44
Wh did you change the England.lng if you are using Turkce.lng... ?!?!
Or you are using English language in the game and in SokkerMon, and than the whole UTF thing does not concern you.
2006-03-04 09:18:13
i use english as language in the game, however the turkish char set has 7-8 different characters, and so the names of my players seem odd when i download the team. Thats why i had to change the code.
2006-03-04 09:53:17
hmmm... I can't download it (savefile) :(
2006-03-04 10:43:07
rightclick on the link and select "save link as"

if the downloaded file has a .php extension rename it to .zip