yes, I'll look into integrating trio's sfs converter into filemnt and rox -- hmmm, maybe the BootManager too -- for 4.3beta2.esmourguit wrote:Bonjour,
I like very much this little app.
When you want to mount a SFS file (bad version) in ROX, may be is it possible to modify /usr/sbin/filemnt to launch SFSconvert and convert the SFS file and then mount it.
Cordialement
SFS VERSION CONVERTER-1.4-1 sfs 3 to 4 vice versa
- BarryK
- Puppy Master
- Posts: 9392
- Joined: Mon 09 May 2005, 09:23
- Location: Perth, Western Australia
- Contact:
[url]https://bkhome.org/news/[/url]
Hi Barry,BarryK wrote:yes, I'll look into integrating trio's sfs converter into filemnt and rox -- hmmm, maybe the BootManager too -- for 4.3beta2.esmourguit wrote:Bonjour,
I like very much this little app.
When you want to mount a SFS file (bad version) in ROX, may be is it possible to modify /usr/sbin/filemnt to launch SFSconvert and convert the SFS file and then mount it.
Cordialement
One of the reason that I prefer a GUI than a command line is that it will take a loooong time to convert the big sfs first before than mount it.
I dunno about you, but for me it's better to finish the convert process, then the new sfs can be clicked to mount it.
that's why I made a special command line converter for esmourguit
thanks
- esmourguit
- Posts: 1410
- Joined: Fri 17 Nov 2006, 14:45
- Location: Entre l'ile aux oiseaux.et l'ile de sainte Lucie
Bonjour à tous,
Cordialement
Thanks a lot Trio, i appreciate very much. I just try it and it works fine. It's really very practical.trio wrote:Esmourguit,
I made this one especially for you, commandline converter called sfs3to4:]
Also thank you Barry it would be very pleasant.BarryK wrote: yes, I'll look into integrating trio's sfs converter into filemnt and rox -- hmmm, maybe the BootManager too -- for 4.3beta2.
Cordialement
[url=http://moulinier.net/][color=blue][b]Toutou Linux[/b][/color][/url] - [url=http://toutoulinux.free.fr/pet.php][color=blue][b]Paquets français[/b][/color][/url]
- Lobster
- Official Crustacean
- Posts: 15522
- Joined: Wed 04 May 2005, 06:06
- Location: Paradox Realm
- Contact:
I am in 4.3 Beta 1 and tried to use the 3.1 compiled version SFS
recently announced
http://www.murga-linux.com/puppy/viewto ... 749#335749
Put it through the upgrader
and it appeared in Bootmanager
so I was able to add and reboot
The icons appeared for Openoffice (but just blank script icons - not full colour ones)
Clicking on them - nothing
also right mouse click not working
no menu options working
OK so tried ctrl + alt + backspace
NO!
Had to turn off machine (reset button not connected)
So that is a complete freeze
On reboot my two save files (running from CD)
came up
but keyboard(USB) was not responding
Puppy up and running from new install in a few minutes incidentally . . .
recently announced
http://www.murga-linux.com/puppy/viewto ... 749#335749
Put it through the upgrader
and it appeared in Bootmanager
so I was able to add and reboot
The icons appeared for Openoffice (but just blank script icons - not full colour ones)
Clicking on them - nothing
also right mouse click not working
no menu options working
OK so tried ctrl + alt + backspace
NO!
Had to turn off machine (reset button not connected)
So that is a complete freeze
On reboot my two save files (running from CD)
came up
but keyboard(USB) was not responding
Puppy up and running from new install in a few minutes incidentally . . .
Hi Trio,
I use conveniently on 4.3.1 japanese version. I like your converter.
As hope in the future, if possible, I think that it only has visually to understand the progress report on message splash window "Please wait until this box is closed" screen under conversion.
For instance, it is "Percent display" or "Graph bar display".
I use conveniently on 4.3.1 japanese version. I like your converter.
As hope in the future, if possible, I think that it only has visually to understand the progress report on message splash window "Please wait until this box is closed" screen under conversion.
For instance, it is "Percent display" or "Graph bar display".
I'm a bit too late, aren't I
Bug #1: does not work if extension is .SFS instead of .sfs
Bug #2: does not work if paths have spaces.
This quick hack works for me:
It would also be a nice enhancement to add a checkbox so the user can choose not to add -sfs4 in the name... although it doesn't really matter as it isn't an app you use every day
Also, a checkbox to rename the original sfs would be nice - that way if you're upgrading to a new puppy you can just replace all your old squashfiles with new ones, keeping a backup, and won't need to rename them manually.
Bug #1: does not work if extension is .SFS instead of .sfs
Bug #2: does not work if paths have spaces.
This quick hack works for me:
Code: Select all
#!/bin/sh
#SFS Converter - 3 to 4, 4 to 3
#Trio Tjandradjaja - GPL 2009
case $1 in
-convert)
[ ! "$SFS" ] && Xdialog --title "SFS Converter Splash" --msgbox "Please drag & drop an sfs" 10 40 && exit 0
EXTENSION=sfs
if [ `echo "$SFS" |tail -c 4` = "SFS" ] ; then EXTENSION=SFS; fi
CHECKSFS=`echo "$SFS" | sed 's/^.*\.//'`
BASENAME=`basename "$SFS" ".$EXTENSION"`
if [ "$CHECKSFS" = "$EXTENSION" ]; then
TYPE=`disktype "$SFS" | grep 'version 4'`
if [ ! "$TYPE" ] ; then
Xdialog --title "SFS Converter Splash" --msgbox "Converting sfs v 3.x to 4.x
Please wait until this box is closed
Trio Tj - GPL 2009" 10 40 &
p=$!
cd "$DIR"
unsquashfs3 "$SFS"
mksquashfs4 "squashfs-root" "$BASENAME-sfs4.$EXTENSION"
rm -rf "squashfs-root"
md5sum "$BASENAME-sfs4.$EXTENSION" > "$BASENAME-sfs4.$EXTENSION-md5.txt"
kill $p
else
Xdialog --title "SFS Converter Splash" --msgbox "Converting sfs v 4.x to 3.x
Please wait until this box is closed
Trio Tj - GPL 2009" 10 40 &
p=$!
cd "$DIR"
unsquashfs4 "$SFS"
mksquashfs3 "squashfs-root" "$BASENAME-sfs3.$EXTENSION"
rm -rf "squashfs-root"
md5sum "$BASENAME-sfs3.$EXTENSION" > "$BASENAME-sfs3.$EXTENSION-md5.txt"
kill $p
fi
else
Xdialog --title "SFS Converter Splash" --msgbox "Not a valid sfs file" 10 40
fi
;;
-version)
Xdialog --title "SFS Version Info" --msgbox "INFO:
`disktype "$SFS"`" 15 50 &
;;
-help)
defaulttextviewer /usr/local/sfsconvert/README.txt &
;;
esac
Also, a checkbox to rename the original sfs would be nice - that way if you're upgrading to a new puppy you can just replace all your old squashfiles with new ones, keeping a backup, and won't need to rename them manually.
Do you know a good gtkdialog program? Please post a link here
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
I imagine it is because you only have the squashfs tools from Puppy 4.0, so can't extract or create newer squashfiles... or have you got the newer tools from somewhere?
Do you know a good gtkdialog program? Please post a link here
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
SFS CONVERTER-1.3 sfs 3 to 4 vice versa
The utility works well for me except for converting an OpenOffice sfs with lzma compression - the one I use for the NOP variant. Is lzma compression the issue or is it the huge size of the sfs file? I don't know, but i'm sharing this for others to take note of when using this wonderful utility and also for trio to have a look at...Diamond wrote:Please help!
Sfs converter don't work for me,i am using puppy 4.0. All I get is txt file.
How to use this hack ?
Thanx!
Probably the lzma... was there plenty of space on the drive you converted it on?
How did it fail?
BTW Diamond, you could try using the squashfs tools from 4.3, although I'm not certain that they will work in 4.0. Does anyone know? Or has anyone packaged them for 4.0?
Also, for information: I discovered that Puppy 4.3 can't use files with .SFS extensions (rather than .sfs), even though 4.1x can.
How did it fail?
BTW Diamond, you could try using the squashfs tools from 4.3, although I'm not certain that they will work in 4.0. Does anyone know? Or has anyone packaged them for 4.0?
Also, for information: I discovered that Puppy 4.3 can't use files with .SFS extensions (rather than .sfs), even though 4.1x can.
Do you know a good gtkdialog program? Please post a link here
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
This is great for people that are using 4.3 or newer, but is not much use for people on earlier systems. I'm running 4.1.2, so I cant use this; which sucks cause I really need to.
I guess my only choice is to install a 4.3 system somewhere for the sole purpose of converting newer SFS4 files to SFS so I can use them on my older system. Kinda an obtuse way to get around the problem, but apparently the only solution. While I dont mind doing it for my purpose (trying to install a newer kernel), Im sure there are a ton of people that once they hit this roadblock will just give up. Installing an entire OS no matter how small just to convert one or two files is a lot of effort.
But the general idea of this converter is great. I just wish there was a way that we all could benefit from it. Thanks to the OP who created this program! If it wasnt for you work I wouldnt be able to do what I want to do, even though it'll be work intensive.
I guess my only choice is to install a 4.3 system somewhere for the sole purpose of converting newer SFS4 files to SFS so I can use them on my older system. Kinda an obtuse way to get around the problem, but apparently the only solution. While I dont mind doing it for my purpose (trying to install a newer kernel), Im sure there are a ton of people that once they hit this roadblock will just give up. Installing an entire OS no matter how small just to convert one or two files is a lot of effort.
But the general idea of this converter is great. I just wish there was a way that we all could benefit from it. Thanks to the OP who created this program! If it wasnt for you work I wouldnt be able to do what I want to do, even though it'll be work intensive.
Actually, it seems that you can install and use the new squashfs tools in an older puppy. Get them from here ftp://ibiblio.org/pub/linux/distributio ... 0-pup4.pet
Do you know a good gtkdialog program? Please post a link here
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
hi disciple,disciple wrote:Probably the lzma... was there plenty of space on the drive you converted it on?
How did it fail?
there was 1 gb free on the drive i converted on.
with the lzma'd sfs (OpenOffice), the resulting file was only the one for checking checksum.
the rest of the sfs files (not using lzma compression) converted ok.
thanks
could you make a newer version four newest kernels ?
cause kernel is 3.2.48, Sfs convert unable to convert
kde357j-4.sfs: 51 M
system for esmourguit works, tested with slacko 5.7 kde357j-4.sfs: 51 M