saf extractor

Post anything about MX Simulator here. Please. I'm begging you.
litwiller934
Posts: 40
Joined: Thu Jan 24, 2013 2:00 am
Team: Elite Decals

saf extractor

Post by litwiller934 »

could someone plzz post a link to a saf extractor plzzz
Image
WellsMX524
Posts: 2106
Joined: Sun Feb 05, 2012 7:23 am
Team: Aspect Visual Co.
Location: Illinois/Wisconsin

Re: saf extractor

Post by WellsMX524 »

No.
litwiller934
Posts: 40
Joined: Thu Jan 24, 2013 2:00 am
Team: Elite Decals

Re: saf extractor

Post by litwiller934 »

[/quote]No[/quote] why??
Image
Pumaxcs
Posts: 13208
Joined: Sat Dec 15, 2007 11:50 pm
Team: Kyle/Luiz
Location: Western, Kentucky

Re: saf extractor

Post by Pumaxcs »

The reason .saf files were created is because they were intended to keep others out of the file from making changes to the file and protect the creators artwork. An extractor defeats the purpose of the file and the creator using that file.
Image
Everytime you post something stupid, a baby gets punched in the face. Please be smart, for the children.
MXS Cares
jlv wrote: Thu Nov 05, 2020 1:09 am Pumaxcs would know better than I do.
Pumaxcs
Posts: 13208
Joined: Sat Dec 15, 2007 11:50 pm
Team: Kyle/Luiz
Location: Western, Kentucky

Re: saf extractor

Post by Pumaxcs »

The reason .saf files were created is because they were intended to keep others out of the file from making changes to the file and protect the creators artwork. An extractor defeats the purpose of the file and the creator using that file.
Image
Everytime you post something stupid, a baby gets punched in the face. Please be smart, for the children.
MXS Cares
jlv wrote: Thu Nov 05, 2020 1:09 am Pumaxcs would know better than I do.
litwiller934
Posts: 40
Joined: Thu Jan 24, 2013 2:00 am
Team: Elite Decals

Re: saf extractor

Post by litwiller934 »

If theres gear in a saf but the forum post says [release] psd in pack wouldn't you be aloud to rip it
Image
Pumaxcs
Posts: 13208
Joined: Sat Dec 15, 2007 11:50 pm
Team: Kyle/Luiz
Location: Western, Kentucky

Re: saf extractor

Post by Pumaxcs »

A .psd is a completely different story but it would never be put in the .saf.
Image
Everytime you post something stupid, a baby gets punched in the face. Please be smart, for the children.
MXS Cares
jlv wrote: Thu Nov 05, 2020 1:09 am Pumaxcs would know better than I do.
Pumaxcs
Posts: 13208
Joined: Sat Dec 15, 2007 11:50 pm
Team: Kyle/Luiz
Location: Western, Kentucky

Re: saf extractor

Post by Pumaxcs »

A .psd is a completely different story but it would never be put in the .saf.
Image
Everytime you post something stupid, a baby gets punched in the face. Please be smart, for the children.
MXS Cares
jlv wrote: Thu Nov 05, 2020 1:09 am Pumaxcs would know better than I do.
litwiller934
Posts: 40
Joined: Thu Jan 24, 2013 2:00 am
Team: Elite Decals

Re: saf extractor

Post by litwiller934 »

The last few set I tryed to get the psd from when I dl it it was a saf
Image
wheels1758
Posts: 4132
Joined: Tue Oct 21, 2008 5:20 pm
Location: Washington, USA
Contact:

Re: saf extractor

Post by wheels1758 »

Pumaxcs wrote:The reason .saf files were created is because they were intended to keep others out of the file from making changes to the file and protect the creators artwork. An extractor defeats the purpose of the file and the creator using that file.
Simple Archive Format. Not Safe wAy to keep your Files.

Granted, until JLV said otherwise, I thought it was something like safe, without the e.
JT43
Crushed Dissenter
Posts: 3245
Joined: Thu Feb 16, 2012 8:33 pm
Team: MotardMatt220
Location: KTM57

Re: saf extractor

Post by JT43 »

wheels1758 wrote:
Pumaxcs wrote:The reason .saf files were created is because they were intended to keep others out of the file from making changes to the file and protect the creators artwork. An extractor defeats the purpose of the file and the creator using that file.
Simple Archive Format. Not Safe wAy to keep your Files.

Granted, until JLV said otherwise, I thought it was something like safe, without the e.
Yeah but most people have been using the saf. files as a way of protecting their work when releasing something, despite that not being the saf. files purpose. Either way, the saf. files on mx sim shouldn't be opened for obvious reasons.
jlv wrote: Motardmatt220 is a crock of shit
KTM57 wrote: August is 13 years old and thinks he's hot shit because he's a lot younger than everyone else
jlv
Site Admin
Posts: 14930
Joined: Fri Nov 02, 2007 5:39 am
Team: No Frills Racing
Contact:

Re: saf extractor

Post by jlv »

Here you go:

Code: Select all

#!/bin/bash
#
# Simple Archive Format
#


#set -C

if test "_$1_" = _c_
then
	shift
	find "$@" -maxdepth 0 -printf '%s %p\n'
	echo -
	cat "$@"
elif test "_$1_" = _x_
then
	shift
	count=0

	while read size name && test "_${size##[^0-9]}_" = "_${size}_"
	do
		sizes[count]=$((size))
		names[count]=${name}
		count=$((count+1))
	done

	if test "_${size}_" != "_-_"
	then
		echo "Bad dir"
		exit
	fi

	i=0
	while let 'i<count'
	do
		echo ${names[i]} ${sizes[i]}
		if test "_${names[i]##*/}_" != "_${names[i]}_"
		then
			install -d "${names[i]%/*}"
		fi
		dd bs=${sizes[i]} count=1 >"${names[i]}" 2>/dev/null
		i=$((i+1))
	done

else
	echo "To create an archive use: saf.sf c files..."
	echo "To extract an archive use: saf.sf x"
fi
Josh Vanderhoof
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
MX PRODIGY 17
Posts: 3275
Joined: Tue Apr 12, 2011 9:36 pm
Team: TBR
Location: New Jersey

Re: saf extractor

Post by MX PRODIGY 17 »

It's funny cause it's JLV
Image
litwiller934
Posts: 40
Joined: Thu Jan 24, 2013 2:00 am
Team: Elite Decals

Re: saf extractor

Post by litwiller934 »

Jlv I have know Idea what to do with that I dont understand it
Image
Trevor
Crushed Dissenter
Posts: 778
Joined: Wed Jan 18, 2012 11:22 pm
Team: 21 Savage
Location: Somewhere in Taiwan

Re: saf extractor

Post by Trevor »

You should learn the difference of Know and No
Image
Post Reply