Page 1 of 1

[Solved] Convert save.dat to xzm

Posted: 08 Jul 2011, 14:10
by mikeruss
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

Re: Convert save.dat to xzm

Posted: 08 Jul 2011, 14:30
by fanthom
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

Re: Convert save.dat to xzm

Posted: 08 Jul 2011, 16:10
by mikeruss
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 ?

Re: Convert save.dat to xzm

Posted: 08 Jul 2011, 16:19
by fanthom
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.

Re: Convert save.dat to xzm

Posted: 08 Jul 2011, 16:23
by Ahau
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.

Re: Convert save.dat to xzm

Posted: 08 Jul 2011, 17:09
by mikeruss
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

Re: [Solved] Convert save.dat to xzm

Posted: 08 Jul 2011, 17:46
by Ahau
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!