[Solved] Convert save.dat to xzm

New features which should be implemented in Porteus; suggestions are welcome. All questions or problems with testing releases (alpha, beta, or rc) should go in their relevant thread here, rather than the Bug Reports section.
Post Reply
mikeruss
White ninja
White ninja
Posts: 11
Joined: 05 Jul 2011, 10:51
Location: UK

[Solved] Convert save.dat to xzm

Post#1 by mikeruss » 08 Jul 2011, 14:10

I want to fix the contents of save.dat by converting it to a xzm

sorry if its been asked before - but how do I do this ?

many thanks .. Mike
Last edited by mikeruss on 08 Jul 2011, 17:16, edited 1 time in total.

User avatar
fanthom
Site Admin
Site Admin
Posts: 4626
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: Convert save.dat to xzm

Post#2 by fanthom » 08 Jul 2011, 14:30

issue these 3 commands:

Code: Select all

mloop /path/to_save.dat
dir2xzm /mnt/loop /path/to_save.xzm
uloop
you can also try "porteus save.dat manager" to attempt recovering of corrupted images.

cheers
Please add [Solved] to your thread title if the solution was found.

mikeruss
White ninja
White ninja
Posts: 11
Joined: 05 Jul 2011, 10:51
Location: UK

Re: Convert save.dat to xzm

Post#3 by mikeruss » 08 Jul 2011, 16:10

thanks .. however,

it all seemed to work OK, I put the resultant zzz1.xzm into /porteus/modules

reloaded - but no changes were loaded from the zzz1.xzm, its back to raw porteus

I reloaded from save.dat and everything I want is there

I didnt try the corrupted images thing as not sure of the sequence I should do this ?

User avatar
fanthom
Site Admin
Site Admin
Posts: 4626
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: Convert save.dat to xzm

Post#4 by fanthom » 08 Jul 2011, 16:19

sorry my mistake, it should be:

Code: Select all

mloop /path/to_save.dat
dir2xzm /mnt/loop/changes /path/to_save.xzm
uloop
you can launch save.dat manager from Kmenu/Lxde-menu -> System -> "Porteus save.dat Manager" or from console:
"make-changes.sh"

Hope that helps.
Please add [Solved] to your thread title if the solution was found.

User avatar
Ahau
King of Docs
King of Docs
Posts: 1331
Joined: 28 Dec 2010, 15:18
Distribution: LXDE & Xfce 32/64-bit
Location: USA

Re: Convert save.dat to xzm

Post#5 by Ahau » 08 Jul 2011, 16:23

Mike -- in your original post, you said you would like to 'fix' the contents of your save.dat.

Do you mean that you want to make them 'fixed' as in, static and unchanging, or that you would like to 'fix' them, as in, they are broken and/or corrupted?

If you aren't experiencing any issues with corruption, etc., then I don't think you need to go through the save.dat manager to check the files. Following fanthom's directions above will make your changes static.
Please take a look at our online documentation, here. Suggestions are welcome!

mikeruss
White ninja
White ninja
Posts: 11
Joined: 05 Jul 2011, 10:51
Location: UK

Re: Convert save.dat to xzm

Post#6 by mikeruss » 08 Jul 2011, 17:09

sorry about the confusion

I meant fix as in cant be changed

all works now . resolved with
dir2xzm /mnt/loop/changes /path/to_save.xzm

thanks again for your help

User avatar
Ahau
King of Docs
King of Docs
Posts: 1331
Joined: 28 Dec 2010, 15:18
Distribution: LXDE & Xfce 32/64-bit
Location: USA

Re: [Solved] Convert save.dat to xzm

Post#7 by Ahau » 08 Jul 2011, 17:46

No worries! That's the nature of the English language. Since it was cobbled together out of so many other languages, there are too many words with the same meaning, and too many meanings for each word!
Please take a look at our online documentation, here. Suggestions are welcome!

Post Reply