Last visit was: It is currently Thu Mar 28, 2024 6:48 am


All times are UTC-05:00




Post new topic Reply to topic  [8 posts ] 
    Author Message
     Post subject:About gaps in access logs
    PostPosted:Sun Jan 08, 2012 2:03 pm 
     

    Joined:Sun Jan 08, 2012 1:31 pm
    Posts:27
    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


    Attachments:
    LIMPA.zip [4.9KiB]
    Downloaded 689 times
    Top
    Offline  
     Post subject:Re: About gaps in access logs
    PostPosted:Mon Jan 09, 2012 7:18 pm 
    User avatar
     

    Joined:Sat Jun 06, 2009 1:21 am
    Posts:581
    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...

    _________________
    I'll see you on the dark side of the (ferrous) moon.


    Top
    Offline  
     Post subject:Re: About gaps in access logs
    PostPosted:Mon Jan 09, 2012 8:49 pm 
     

    Joined:Sun Jan 08, 2012 1:31 pm
    Posts:27
    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.


    Top
    Offline  
     Post subject:Re: About gaps in access logs
    PostPosted:Fri Jan 27, 2012 1:54 pm 
    User avatar
     

    Joined:Sat Jun 06, 2009 1:21 am
    Posts:581
    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...

    _________________
    I'll see you on the dark side of the (ferrous) moon.


    Top
    Offline  
     Post subject:Re: About gaps in access logs
    PostPosted:Fri Jan 27, 2012 3:15 pm 
     

    Joined:Sun Jan 08, 2012 1:31 pm
    Posts:27
    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...
    ok, i make it whit turbo pascal 7 borland for MS-DOS my sistem is Windows7 64 premium, but i compile in windows xp 32.
    - not run in win7 64
    - run in winxp32
    - not test in another system
    if I had the source code, I would solve the problem.


    Top
    Offline  
     Post subject:Re: About gaps in access logs
    PostPosted:Sun Jan 29, 2012 9:59 pm 
    User avatar
     

    Joined:Sat Jun 06, 2009 1:21 am
    Posts:581
    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

    _________________
    I'll see you on the dark side of the (ferrous) moon.


    Top
    Offline  
     Post subject:Re: About gaps in access logs
    PostPosted:Wed Feb 22, 2012 11:05 am 
     

    Joined:Mon Jul 04, 2011 12:48 pm
    Posts:16
    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.


    Top
    Offline  
     Post subject:Re: About gaps in access logs
    PostPosted:Tue Mar 20, 2012 7:47 pm 
     

    Joined:Sun Jan 08, 2012 1:31 pm
    Posts:27
    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.

    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.
    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


    Top
    Offline  
    Display posts from previous: Sort by 
    Post new topic Reply to topic

      All times are UTC-05:00


      Who is online

      Users browsing this forum: No registered users and 33 guests


      You cannot post new topics in this forum
      You cannot reply to topics in this forum
      You cannot edit your posts in this forum
      You cannot delete your posts in this forum
      You cannot post attachments in this forum

      Search for:
      Jump to:  
      cron
      Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
      Theme created by Miah with assistance from hyprnova