MakeZFS/MakeZIX (updated 2012-07-03)

Moderators: GSH, Ultraken

User avatar
Ultraken
Patch Creator
Posts: 373
Joined: Fri Feb 18, 2011 6:06 pm
Contact:

MakeZFS/MakeZIX (updated 2012-07-03)

Postby Ultraken » Sun Mar 20, 2011 5:09 am

Using existing functionality in the Battlezone codebase, I reconstructed the old MakeZFS and MakeZIX tools. They aren't as full-featured as the originals, and have a completely different command-line interface, but should do enough to be useful.

Update 2011-07-31: Fixed a memory leak and a potential crash in MakeZFS while extracting files from a ZFS.
Update 2011-08-08: Fixed a bunch of problems and added support for the ZFS encryption feature. It only takes effect when creating a new ZFS file using a password (for example, makezfs -p ultraken a addon.zfs addon\*). The contents of the ZFS file will be encrypted and all operations on it will require the correct password.
Update 2012-07-03: Add and update work correctly with filename wildcards (e.g. *.ini). Add, update, and extract now preserve file modification dates.

Download:
MakeZFS/MakeZIX

Using MakeZFS:
MakeZFS works like a command-line archival program such as 7-zip. It takes a single-character command, the name of a ZFS file, and a (sometimes optional) list of file names. File names in the list can include wildcard characters such as ? (match any one character) and * (match any group of characters).
  • The a command compresses and adds files. The file names can be relative or full paths, or even the names of directories.
  • The d command deletes files. It actually just marks them as deleted, but doesn't actually remove the data from the ZFS or compact it.
  • The x command extracts and decompresses files to the current directory. If no file names are listed, it extracts everything.
  • The l command lists files. If no file names are listed, it lists everything in the ZFS.
  • The u command updates files. It works just like a except it ignores any file not already in the ZFS.

Using MakeZIX:
MakeZIX builds a ZIX file from a descriptor file. The descriptor is the part of the ZIX file between the six-digit file count and the giant list of files. It typically looks like this:

Code: Select all

0 D:\bzone BZONE 'Battlezone CD
---
DIR: bzhw16l.zfs
DIR: bzhw16.zfs
DIR: bzhw.zfs
DIR: bzsw.zfs
DIR: bzone.zfs
---

The first line specifies the path, name, and label of the CD. Don't mess with that.
The DIR: lines specify ZFS files to read files from. Earlier entries take precedence over later entries.
The --- lines can contain any number of - as long as it's at least one.

User avatar
General BlackDragon
Flying Mauler
Posts: 2402
Joined: Sat Feb 19, 2011 6:37 am
Contact:

Re: MakeZFS/MakeZIX (updated 2012-07-03)

Postby General BlackDragon » Mon Nov 19, 2012 3:18 pm

The link is broken? :(
Battlezone Classic Public Forums
*****General BlackDragon*****

User avatar
Ultraken
Patch Creator
Posts: 373
Joined: Fri Feb 18, 2011 6:06 pm
Contact:

Re: MakeZFS/MakeZIX (updated 2012-07-03)

Postby Ultraken » Sun Dec 02, 2012 4:36 am

Fixed. It was pointing to the old location hosted on my NAS instead of videoventure.org.

User avatar
Cliffhangr13
Drunken Constructor
Posts: 34
Joined: Tue Oct 02, 2012 11:27 pm
Location: http://tinyurl.com/VTXgamers
Contact:

Re: MakeZFS/MakeZIX (updated 2012-07-03)

Postby Cliffhangr13 » Mon Feb 16, 2015 6:39 am

I guess I could maybe use this for any completed level series I make? So players can just take the zfs and have all the equipment they need to play the levels without extracting a bunch of files and accessing the files needed for any custom units and this might slow down any cheaters from making small alterations that could get past check files?
hmm mayb you need more...inspiration...
http://tinyurl.com/vtxfanpage

User avatar
General BlackDragon
Flying Mauler
Posts: 2402
Joined: Sat Feb 19, 2011 6:37 am
Contact:

Re: MakeZFS/MakeZIX (updated 2012-07-03)

Postby General BlackDragon » Mon Feb 16, 2015 4:11 pm

Yes, the game can read ZFS's from addon. :)
Battlezone Classic Public Forums
*****General BlackDragon*****

User avatar
Cliffhangr13
Drunken Constructor
Posts: 34
Joined: Tue Oct 02, 2012 11:27 pm
Location: http://tinyurl.com/VTXgamers
Contact:

Re: MakeZFS/MakeZIX (updated 2012-07-03)

Postby Cliffhangr13 » Thu Feb 19, 2015 1:43 am

cool that p[lus the scripting upgrades mean any kind of surprises are possible!
hmm mayb you need more...inspiration...
http://tinyurl.com/vtxfanpage

User avatar
Cliffhangr13
Drunken Constructor
Posts: 34
Joined: Tue Oct 02, 2012 11:27 pm
Location: http://tinyurl.com/VTXgamers
Contact:

Re: MakeZFS/MakeZIX (updated 2012-07-03)

Postby Cliffhangr13 » Sun Mar 01, 2015 1:37 pm

Any idea why the original unzfs app would extract .odfs in a garbled mostly unreadable format? Also, I downloaded makezfs and it a .7z file..should i be renaming it to .exe or something? how do i install it? lastly: and if anyone cares to, could they pm me switcher,swarmer odfs, and a svcnst.vdf (see "oldies" thread.)
hmm mayb you need more...inspiration...
http://tinyurl.com/vtxfanpage

User avatar
Ded10c
Recycler
Posts: 3785
Joined: Sun Feb 20, 2011 11:05 am
Location: Stafford
Contact:

Re: MakeZFS/MakeZIX (updated 2012-07-03)

Postby Ded10c » Sun Mar 01, 2015 6:00 pm

.7z files can be opened with 7-Zip.
battlezone.wikia.com needs your help!



Return to “Battlezone 1 Patches”

Who is online

Users browsing this forum: No registered users and 1 guest