| Ferrous Moon http://www.ferrousmoon.com:80/forums/ |
|
| About gaps in access logs http://www.ferrousmoon.com:80/forums/viewtopic.php?f=52&t=2667 |
Page 1 of 1 |
| Author: | PedroMalazartes [Sun Jan 08, 2012 2:03 pm ] | ||
| Post subject: | About gaps in access logs | ||
The empty spaces have been bothering me for some time. And as I have the source code of the game analyzed the save-game, to lessen the problem. After some time I could determine what would need to fix the save-game, so I made a small program in pascal that fixes the save-game. How is a simple program needs a few steps appended. 1 - unzip your save-game (pedro.xml.gz) with GZIP 2 - with a command line run the LIMPA.EXE example: C: \>LIMPA pedro.xml 3 - rename the generated file TMPFILE. Pedro.xml $ $ $ 4 - compress the new file with gzip -9 option example: C: \> gzip -9 pedro.xml 5 - Put your new save-game file in the appropriate folder and enjoy! Observations.: 1 - limpa.exe Pascal 7 was compiled for MS-DOS does not work on 64bit 2 - not tried any bug 3 - the first compilation, maybe in the future if you have patience I improve the code 4 - every time you exit the game will be new spaces empty, then repeat the process
|
|||
| Author: | sentinel [Mon Jan 09, 2012 7:18 pm ] |
| Post subject: | Re: About gaps in access logs |
Hey man, if this works, great job! I'm just sorry but I can't test it for you, I'm running on a 64-bit here... |
|
| Author: | PedroMalazartes [Mon Jan 09, 2012 8:49 pm ] |
| Post subject: | Re: About gaps in access logs |
Quote: Hey man, if this works, great job! I'm just sorry but I can't test it for you, I'm running on a 64-bit here...
No need to test because it works and I use to play.The empty spaces filled me patience, the correction did not come. For agile use the following bat file using the calling without extension example: C: \> bafilename savegamename "C:\Arquivos de programas\GnuWin32\bin\gzip" -d %1%.xml.gz limpa2 %1%.xml copy /y tmpfile.$$$ %1%.xml del tmpfile.$$$ "C:\Arquivos de programas\GnuWin32\bin\gzip" -9 %1%.xml note.: use VMWARE for 32 bit sistem. |
|
| Author: | sentinel [Fri Jan 27, 2012 1:54 pm ] |
| Post subject: | Re: About gaps in access logs |
Quote: No need to test because it works and I use to play.
The idea behind "testing" is that what works on one's system might not work on others...
|
|
| Author: | PedroMalazartes [Fri Jan 27, 2012 3:15 pm ] |
| Post subject: | Re: About gaps in access logs |
Quote: Quote: No need to test because it works and I use to play.
The idea behind "testing" is that what works on one's system might not work on others...- not run in win7 64 - run in winxp32 - not test in another system if I had the source code, I would solve the problem. |
|
| Author: | sentinel [Sun Jan 29, 2012 9:59 pm ] |
| Post subject: | Re: About gaps in access logs |
You'll have to talk to one of the devs for that, try PM'ing Miah, Tycho or mc2m and see what they can do for you miah and tycho probably won't answer you in the next month or so, though |
|
| Author: | zzkill [Wed Feb 22, 2012 11:05 am ] |
| Post subject: | Re: About gaps in access logs |
It seems that it corrupts the save, onlink says my save is the wrong version, and XML Notepad can't open it. It adds to my save making it larger, and from what manual comparison I could do, it doubles some letters, but not all are affected. E.g.: onliink-game, item key. I use Windows 7 32bits so there shouldn't be problems and also tried on XP, no luck. The source would be really helpfull, or what it changes in the save, so I could make my own app. |
|
| Author: | PedroMalazartes [Tue Mar 20, 2012 7:47 pm ] |
| Post subject: | Re: About gaps in access logs |
Quote: It seems that it corrupts the save, onlink says my save is the wrong version, and XML Notepad can't open it. It adds to my save making it larger, and from what manual comparison I could do, it doubles some letters, but not all are affected. E.g.: onliink-game, item key.
the save game is corrupted, the executable is somehow considering the next entry in the log with a range of X logs that do not exist, certainly somewhere in the process is not resetting accumulator variable
I use Windows 7 32bits so there shouldn't be problems and also tried on XP, no luck. The source would be really helpfull, or what it changes in the save, so I could make my own app. |
|
| Page 1 of 1 | All times are UTC-05:00 |
| Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |
|