ScummVM logo Forum Index - ScummVM website - Contact us - Buy Supported Games: GOG.com Rules - Search - Register - Login curved edge
Folder Forum Index > PlayStation 2 Port > ScummVm PS2<->PC Savegames converter (with GUI)
ScummVm PS2<->PC Savegames converter (with GUI)
  Author    Thread Reply to topic
andrea



Joined: 06 May 2009
Posts: 3
Location: Italy
ScummVm PS2<->PC Savegames converter (with GUI) 

Here we are...
Hi, I'm a great user of ScummVm ... nearly of all his port...
Yesterday I think I've met the same problem of candu...with Simon 1 on the ScummVm for PS2 (the invisible toadpole problem)...
So I've downloaded the converter from candu and easily I've resolved the problem (playing that section on the PC and then converting the save for my PS2)
But I've noticed that many ScummVm users don't know how to use a command line software...so I've programmed a new software with a fully functional GUI (or frontend) for convert ScummVm PC savegames to-and-from ScummVm PS2 savegames (no matter what ScummVm version you use).
This software is also easier to use because all you have to do is:
-insert the name of the output file (no spaces)
-click on a button (depending what you want to convert)
-choose the file to convert from the dialog and press OK
-...DONE!

Your converted save file will be in the same directory of the main program file (ScummVm_PS2-PC_savegames_converter.exe)

Usually the output file name should be:
-PS2 ScummVm savegames:
*.ucl (eg. 001.ucl, 002.ucl, 003.ucl ...)
-PC ScummVm savegames:
*.001 (eg. SAVE.001, SAVE.002, SAVE.003 ...)

The software is for Windows (95/98/Me/2000/Xp/Vista/7)

To download, copy and paste this link in your browser (don't left click on it...just: right click, copy and paste in the address bar of your browser):

http://evonture.altervista.org/ScummVm_PS2-PC_savegames_converter.exe

That's all... ;D
Bye...


Last edited by andrea on Wed May 06, 2009 9:20 pm; edited 1 time in total

 Reply with quote  
Post Wed May 06, 2009 3:59 pm 
 View user's profile Send private message Visit poster's website MSN Messenger
md5
ScummVM Developer


Joined: 03 Nov 2005
Posts: 2256
Location: Athens, Greece
 

Erm... the savegames for PC and PS2 should be interchangeable. So I'm not quite sure what this converter does. Plus it's a dead link (gives 404)...

 Reply with quote  
Post Wed May 06, 2009 6:58 pm 
 View user's profile Send private message
md5
ScummVM Developer


Joined: 03 Nov 2005
Posts: 2256
Location: Athens, Greece
 

As mentioned, the PS2 and PC save games should be exactly the same. Your converter is UPX packed, has references to socket functions, and uses AutoIt libraries (a scripting system). Please, explain why this functionality is needed for a program which is supposed to convert savegames.

Sorry for being cautious here, it's just that you are fairly new here and only got 1 post, and all these coincidences look a bit strange.

I've removed the link till we get some sort of explanation as to what your program is actually doing, preferably with some source code. As it stands, it looks to be quite suspicious.

 Reply with quote  
Post Wed May 06, 2009 7:38 pm 
 View user's profile Send private message
andrea



Joined: 06 May 2009
Posts: 3
Location: Italy
 

No...no...chill out...for me the savegames are not the same...not even interchangeable...and so for the other games...you know...the scummvm for ps2 has a ucl compression for the savegames...instead of the zlib for the pc version...so my software change the compression between the files...and I assure you that it works...
Yeah...the software is UPX packed and made with AutoItv3 ....it's the language that I use...it's very powerful and fast...the UPX compression is a default in the compiler configuration...

For the download link: As I said...copy and paste the link in the address bar...due altervista you can't link a file directly from another site...
Hey...it's all ok Smile

It's my first post...but from a post I've to begin Very Happy
I'm a big fan of ScummVM...and so I wanted to help other user like me...
Again: it's all safe...
Bye! Wink

Ah...for the source code...I've based the compression library stuff on the candu software...and so the source is this:

code:

GUICreate("PS2<->PC",230,150)
GUICtrlCreateLabel("ScummVm PS2<->PC savegames converter",10,5,210,20)
GUICtrlCreateLabel("Created by Andrea Pignataro (2009)",10,130,210,20)
$Button_1 = GUICtrlCreateButton ("ScummVM for PS2 to ScummVM for PC",  10, 60, 210,30)
$Button_2 = GUICtrlCreateButton ( "ScummVM for PC to ScummVM for PS2",  10, 95,210,30)
$nomeuscita=GuiCtrlCreateInput("",110,30,100,20)
GUICtrlCreateLabel("Output file name:",20,33,90,20)
GUISetState ()   
FileInstall("scummsave_convert.exe",@TempDir & "\scummsave_convert.exe" ,1)

While 1
    $msg = GUIGetMsg()
    Select
        Case $msg = $GUI_EVENT_CLOSE
            ExitLoop
        Case $msg = $Button_1
         While 1
            $fileuscita=GuiCtrlRead($nomeuscita)
         If $fileuscita = "" Or StringInStr($fileuscita," ")<>0 Then
         MsgBox(0,"Warning!","The output file name is not valid!")
         ExitLoop
      EndIf
      $fileingresso = FileOpenDialog("Choose the savegame file to convert...", @ScriptDir, "Tutti i file (*.*)", 1)
      If @error Then
      ExitLoop
   EndIf
   $fileingresso=FileGetShortName($fileingresso)
         Run(@ComSpec & " /c " & 'scummsave_convert ' & $fileingresso & ' zlib ' & $fileuscita, @TempDir, @SW_HIDE)
         ProcessWaitClose("scummsave_convert.exe")
         FileMove(@TempDir & "\" & $fileuscita,@ScriptDir & "\" & $fileuscita,1)
         MsgBox(0,"Done!","Conversion process completed." & @CR & "File saved to: " & @ScriptDir & "\" & $fileuscita)
         ExitLoop
      WEnd
   Case $msg = $Button_2
      While 1
            $fileuscita=GuiCtrlRead($nomeuscita)
         If $fileuscita = "" Or StringInStr($fileuscita," ")<>0 Then
         MsgBox(0,"Warning!","The output file name is not valid!")
         ExitLoop
      EndIf
      $fileingresso = FileOpenDialog("Choose the savegame file to convert...", @ScriptDir, "Tutti i file (*.*)", 1)
      If @error Then
      ExitLoop
   EndIf
   $fileingresso=FileGetShortName($fileingresso)
         Run(@ComSpec & " /c " & 'scummsave_convert ' & $fileingresso & ' ucl ' & $fileuscita, @TempDir, @SW_HIDE)
         ProcessWaitClose("scummsave_convert.exe")
         FileMove(@TempDir & "\" & $fileuscita,@ScriptDir & "\" & $fileuscita,1)
         MsgBox(0,"Done!","Conversion process completed." & @CR & "File saved to: " & @ScriptDir & "\" & $fileuscita)
         ExitLoop
         WEnd
    EndSelect
Wend




...written in AutoIt v3 ...
I hope that now it's all clear Very Happy Wink

Last edited by andrea on Thu May 07, 2009 4:42 pm; edited 1 time in total
 Reply with quote  
Post Wed May 06, 2009 9:19 pm 
 View user's profile Send private message Visit poster's website MSN Messenger
md5
ScummVM Developer


Joined: 03 Nov 2005
Posts: 2256
Location: Athens, Greece
 

Thanks, this clears things up Smile Nice work

 Reply with quote  
Post Thu May 07, 2009 5:16 am 
 View user's profile Send private message
andrea



Joined: 06 May 2009
Posts: 3
Location: Italy
 

Thank you! For me it's a pleasure coding ...and not only in Au3... Wink
For any other proggy thing...now the ScummVM forum has a new code-machine Smile

 Reply with quote  
Post Thu May 07, 2009 4:39 pm 
 View user's profile Send private message Visit poster's website MSN Messenger
sunmax



Joined: 12 Jul 2009
Posts: 14
 

Hi there!

(and ciao paisa' Wink

Please note that since 0.13.x we are using zlib to compress
savegames on PS2, so they should be really universal now.

It would be sweet to handle both compressions so that you
can still read PS2 savegames < 0.13.x.

Maybe in the future...

Regards,
-max

 Reply with quote  
Post Sun Jul 12, 2009 10:39 pm 
 View user's profile Send private message
  Display posts from previous:      
Reply to topic

Forum Jump:
 



Forum Rules:
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 vote in polls in this forum

 

Powered by phpBB © 2001, 2006 phpBB Group
Forum design by ScummVM team, icons by raina
curved edge   curved edge