hong yie wrote:i like this solution. but... as i remember, Magarena always extracted to a new folder followed by version number. it doesn't integrate with the old folder.
You are right in that it seems to be structured in such a way as to discourage you from overwriting the existing folder. I use Windows 7 and 7-zip. To unzip files I usually right click the file and select the "Uncompress here..." option. With the Magarena zip file this extracts the contents to a new folder, "Magarena-1.x". To overwrite the existing folder, I have to actually open the zip file, open the "Magarena-1.x" folder inside the zip, select the contents and drag into the existing installation - a right pain.

So now I will go with the flow and extract to a new folder each time (which means I have to update the shortcut each time as well!

) but it does mean that we will have to consider more than just importing existing images, especially now that player profiles have been implemented.
Here is what I would do to manually upgrade to version 1.49 -
- download Magarena-1.49.zip
- extract zip contents, which should create a new Magarena-1.49 folder.
- copy ..\Magarena-1.48\Magarena\players to ..\Magarena-1.49\Magarena\players.
- copy ..\Magarena-1.48\Magarena\duels to ..\Magarena-1.49\Magarena\duels.
- copy any other stuff you might have added yourself.
- create a new shortcut to ..\Magarena-1.49\Magarena.exe.
- run Magarena-1.49 and import the images from ..\Magarena-1.48\Magarena.
- delete the Magarena-1.48 folder.
Personally, I think this might deter your casual games player from upgrading or even using Magarena which I think is a shame but finding a way to do it automatically is easier said than done. For the next release, I will probably look at adding the the "players" and "duels" directories to the import images process at the very least.
hong yie wrote:is it better to move all necessary old file to a new folder instead?

If you mean overwriting a new installation then I would not recommend doing that. The script and groovy files are constantly being updated so you could easily overwrite a newer version with an older version.