Skip to main content

x64-zt

warning

x64-zt is still in development, and some parts of the modding process are not documented yet. If you get stuck, you can join our Discord and ask or look around.

What is x64-zt?

x64-zt is a standalone command-line tool that reads and writes "Fast File" zones for the next-generation Call of Duty games. x64-zt supports dumping (unlinking), building (linking), and conversions of assets to other games.

Download the x64-zt 2 pre-release from GitHub.

Supported games

Each game has a codename for the studio and its game number. For example, Ghosts is Iw6, Infinity Ward's 6th game. S1 (Sledgehammer's 1st game Advanced Warfare) and H1 (Halfmoon's 1st game Modern Warfare Remastered) are the first games of their teams. Use the codename everywhere x64-zt asks for a game.

Rows are the source game (the game you dump). Columns are the target game to use with --target.

warning

The new x64-zt 2 has IW3, IW4, & IW5 included. Joelrau/zonetool is no longer needed to port old generation Call of Duty games. Conversions like H1 -> S1 that used to work as experiments has been removed.

From โ†“ / To โ†’IW6S1H1H2S2IW7IW8
IW3 (Call of Duty 4)๐Ÿšง๐Ÿšง๐Ÿšง๐Ÿšง๐Ÿšงโœ…โŒ
IW4 (Modern Warfare 2)๐Ÿšง๐Ÿšง๐Ÿšง๐Ÿšง๐Ÿšง๐ŸšงโŒ
IW5 (Modern Warfare 3)๐Ÿšง๐Ÿšง๐Ÿšง๐Ÿšง๐Ÿšง๐ŸšงโŒ
IW6 (Ghosts)โœ…โŒโœ…โŒโŒโŒโŒ
S1 (Advanced Warfare)โŒโœ…โœ…โœ…โš ๏ธโŒโŒ
H1 (Modern Warfare Remastered)โŒโŒโœ…โœ…โš ๏ธโš ๏ธโŒ
H2 (Modern Warfare 2 Campaign Remastered)โŒโŒโœ…โœ…โŒโŒโŒ
S2 (WWII)โŒโŒโš ๏ธโŒโœ…โŒโŒ
IW7 (Infinite Warfare)โŒโŒโš ๏ธโŒโŒโœ…โš ๏ธ
IW8 (Modern Warfare 2019)โŒโŒโŒโŒโŒโš ๏ธโœ…
StatusMeaning
โœ…SupportedWorks for the assets of this game pair
โš ๏ธPartialExperimental or unfinished (some assets work, weapons may work)
๐ŸšงPlannedx86 games from Joelrau/zonetool for dumping only
โŒNot supportedNo conversion

See Game conversion support for notes on each conversion.

First run

  1. Put zonetool.exe in your game folder, next to the game exe.
  2. Run zonetool.exe -h. This prints every command and option, then exits.
  3. Run zonetool.exe with no command. This opens the interactive console, where you type commands one after another. Type quit to close it.

The first line of the console shows the game and the folder that x64-zt selected:

zonetool [h1] C:\Program Files (x86)\Steam\steamapps\common\Call of Duty Modern Warfare Remastered

If the game or the folder is wrong, see Game and folder selection.

You can also run one command and exit, without the console:

zonetool.exe dumpzone mp_shipment
tip

Run x64-zt from inside the game folder. The dump/, zonetool/, zone_source/ and zonetool_paths/ folders are all read from and written to the current folder of your terminal. Only the built .ff always goes to the game's zone/ folder.

Folder layout

All of the folders below are in the game folder. x64-zt makes dump/ and asset_listing/ for you. You make the others.

Modern Warfare Remastered
โ”œโ”€โ”€ zone/ buildzone writes here
โ”œโ”€โ”€ dump/ dumpzone, dumpmap and dumpasset write here
โ”‚ โ””โ”€โ”€ mp_shipment/
โ”œโ”€โ”€ zonetool/ your mod and map asset files
โ”‚ โ””โ”€โ”€ my_mod/
โ”œโ”€โ”€ zone_source/ zone sources (asset list CSV)
โ”‚ โ””โ”€โ”€ my_mod.csv
โ”œโ”€โ”€ zonetool_paths/ optional extra asset folders for every build
โ”‚ โ””โ”€โ”€ common_mp/
โ”œโ”€โ”€ asset_listing/ listzone writes here
โ”œโ”€โ”€ zonetool.exe
โ””โ”€โ”€ h1_mp64_ship.exe

The name ties it all together. To build a zone called my_mod, x64-zt reads the list in zone_source/my_mod.csv, finds the asset files in zonetool/my_mod/, and writes zone/my_mod.ff.

Dumping a zone

A dump unpacks a .ff zone into files. Dumps are the best way to learn how the game's assets are made, and a dump of a stock zone is the usual start for a mod.

zonetool.exe dumpzone mp_shipment

The assets go to dump/mp_shipment/, together with mp_shipment.csv, which lists every asset in the zone. You can leave out the .ff extension.

Other dump commands:

  • dumpmap <map> dumps a map with all of the zones it loads, into dump/<map>/ with one merged CSV. Use it when you port a map. It works for H1, H2, IW6 and S1. Add --skip-common to leave out the common zones, if you already have them in zonetool_paths/.
  • dumpasset <type> <name> <zone> dumps one asset to dump/assets/. Use * as the name to dump all assets of that type, for example dumpasset material * mp_shipment.

Useful dump options (put them before the command):

  • -dds writes images as .dds files too, so you can open them in an image editor.
  • -dump_streamed_image also reads the imagefile*.pak files and writes the high-resolution streamed images.
  • -castdump writes a .cast file next to each model and animation, which you can import into Blender or Maya with Cast. S2 only for now.
zonetool.exe -dds -dump_streamed_image dumpzone mp_shipment

Converting while you dump

Add --target <game> to dumpzone, dumpmap or dumpasset to convert the assets into another game's format. x64-zt reads the zone from the current game and writes the dump for the target game.

zonetool.exe dumpmap mp_greenband --target h1

Some conversions need files from the target game. If the target game is not in the default Steam folder, set its folder with -target_path:

zonetool.exe -target_path "D:\Games\MWR" dumpmap mp_greenband --target h1

See Game conversion support for the conversions that work.

Building a zone

  1. Make a folder for your mod in zonetool/, for example zonetool/my_mod/.

  2. Put your asset files in it. Use the same paths as a dump. A weapon file from dump/<zone>/weapons/<weapon> goes to zonetool/my_mod/weapons/<weapon>.

  3. Make the asset list zone_source/my_mod.csv. A dump CSV is a good start: copy it, then remove the lines you do not need. For maps, generatecsv can make it for you (see below).

  4. Build:

    zonetool.exe buildzone my_mod

The result is zone/my_mod.ff.

danger

buildzone replaces a zone that has the same name. If you build mp_shipment, your build overwrites the stock zone/mp_shipment.ff. Back up the stock zone first, or give your zone a new name.

x64-zt keeps a build cache, so a rebuild only writes what changed. If a build looks wrong after you change files, build again with -no_cache. If a big zone fails because it runs out of memory, build with -more_memory, which doubles the zone memory limit.

Where x64-zt looks for asset files

When it builds my_mod, x64-zt looks for each asset file in this order:

  1. zonetool/my_mod/
  2. zonetool/ (files here are shared by all of your mods)
  3. Each folder in zonetool_paths/

zonetool_paths/ is the place for big sets of assets that many builds use, such as a dump of common_mp. Put the whole dump folder in it, for example zonetool_paths/common_mp/. You do not have to copy those files into each mod.

Generating a map CSV

After you dump or port a map to zonetool/<map>/, run:

zonetool.exe generatecsv mp_greenband

This writes zone_source/mp_greenband.csv with the map assets, the map scripts and the other assets it finds in the folder. Add sp for a singleplayer map (generatecsv <map> sp). Add --path <folder> to also scan another folder. You can use --path more than once.

The zone source CSV

The CSV in zone_source/ tells x64-zt which assets go in the zone. Each line is one asset or one instruction. The first field is the asset type and the second field is the asset name:

material,compass_map_mp_template
rawfile,maps/mp/mp_template.gsc
weapon,turret_minigun_mp

Lines that start with // or # are comments. x64-zt skips them. Comment out a line with # to turn it off without deleting it.

Instructions

LineEffect
iterate,<type>Adds every file in that asset folder of the mod. <type> is fx, material, xmodel or xanim. iterate,true adds all four
include,<csv>Reads another CSV from zone_source/ at this point, for example a shared list of assets
ignore,<csv>Leaves out every asset that is listed in another CSV in zone_source/
require,<zone>Loads a zone from the game's zone/ folder, so your zone can use the assets in it without including them
reference,trueWrites the asset lines after it as references only. reference,false turns this off
addpath,<folder>Adds one folder to the asset search folders
addpaths,<folder>Adds each subfolder of a folder to the asset search folders, as zonetool_paths/ does

A reference asset is a name only. The game finds the real asset in another zone that is already loaded. To make one reference, leave the name field empty and put the name in the third field: techset,,my_techset. In asset listings, two commas after the type also mean a reference.

Example map CSV

// map assets (col_map_mp first to prevent crashes)
col_map_mp,maps/mp/mp_template.d3dbsp
com_map,maps/mp/mp_template.d3dbsp
gfx_map,maps/mp/mp_template.d3dbsp
fx_map,maps/mp/mp_template.d3dbsp
glass_map,maps/mp/mp_template.d3dbsp
map_ents,maps/mp/mp_template.d3dbsp
phys_worldmap,maps/mp/mp_template.d3dbsp

// for bots and AI: use the aipaths of mp_vlobby_room renamed to your map,
// or the aipaths of the map you port
#aipaths,maps/mp/mp_template.d3dbsp

// net const strings (do not remove)
netconststrings,ncs_lsr_level
netconststrings,ncs_lui_level
netconststrings,ncs_acl_level
netconststrings,ncs_fxt_level
netconststrings,ncs_anm_level
netconststrings,ncs_hnt_level
netconststrings,ncs_att_level
netconststrings,ncs_wep_level
netconststrings,ncs_sel_level
netconststrings,ncs_mic_level
netconststrings,ncs_nps_level
netconststrings,ncs_hic_level
netconststrings,ncs_tag_level
netconststrings,ncs_mnu_level
netconststrings,ncs_shk_level
netconststrings,ncs_snl_level
netconststrings,ncs_sbx_level
netconststrings,ncs_snd_level
netconststrings,ncs_loc_level
netconststrings,ncs_vfx_level
netconststrings,ncs_veh_level
netconststrings,ncs_rmb_level
netconststrings,ncs_mat_level
netconststrings,ncs_mdl_level

// map scripts (use a stock GSC dump as a reference)
rawfile,vision/mp_template.vision
rawfile,maps/mp/mp_template.gsc
rawfile,maps/mp/mp_template_fx.gsc
rawfile,maps/mp/mp_template_precache.gsc
rawfile,maps/createfx/mp_template_fx.gsc
rawfile,maps/createart/mp_template_art.gsc
rawfile,maps/createart/mp_template_fog.gsc
rawfile,maps/createart/mp_template_fog_hdr.gsc

// compass image
material,compass_map_mp_template

// add every model, animation and effect in zonetool/mp_template/
iterate,xmodel
iterate,xanim
iterate,fx

Mods and maps

A mod and a map are built the same way. Both are a folder in zonetool/ and a CSV in zone_source/. A map is usually 90% assets that you never edit.

This mod adds an extinction weapon converted from Ghosts, and a _gametypes.txt override that adds more game modes:

Modern Warfare Remastered
โ”œโ”€โ”€ zonetool
โ”‚ โ””โ”€โ”€ custom_gamemode
โ”‚ โ”œโ”€โ”€ override
โ”‚ โ”‚ โ””โ”€โ”€ maps/mp/gametypes/_gametypes.txt
โ”‚ โ””โ”€โ”€ weapons
โ”‚ โ””โ”€โ”€ alienbomb_mp
โ”œโ”€โ”€ zone_source
โ”‚ โ””โ”€โ”€ custom_gamemode.csv
โ””โ”€โ”€ h1-mod.exe

For override/, custom LUI and other client features, see Zonetool Extra. To load a built mod or map in the game, see Loading Mods and Loading Usermaps.

Commands

Type these in the console, or put them after zonetool.exe on the command line. <zone> is a zone name, with or without .ff.

CommandResult
inspect <zone>Shows the fastfile header: version, signature, stream files, block sizes and asset count
inspect --allReads the header of every zone and reports the zones that fail
verifyzone <zone>Reads every asset in the zone and checks that the whole zone is read correctly
verifyzone --allVerifies every zone
dumpzone <zone> [--target <game>]Dumps the zone to dump/<zone>/. --target converts the assets
dumpmap <map> [--target <game>] [--skip-common]Dumps the map and the zones it loads to dump/<map>/, with one merged CSV. H1, H2, IW6 and S1 only
dumpasset <type> <name\|*> <zone> [--target <game>]Dumps one asset to dump/assets/. * dumps all assets of the type
listzone <zone>Writes the asset list of the zone to asset_listing/<game>/<zone>.zone, without dumping assets
listzone --allWrites the asset list of every zone
buildzone <zone>Builds zone/<zone>.ff from zone_source/<zone>.csv and zonetool/<zone>/
generatecsv <map> [sp] [--path <folder>]Writes zone_source/<map>.csv from the files in zonetool/<map>/
helpPrints the help
quitCloses the console
note

Older versions of x64-zt (the main branch) had loadzone, unloadzones and an asset type filter, and put the target game first (dumpzone h1 <zone>). These do not exist in the current version. Use --target <game> after the zone name.

Options

Options change how x64-zt runs. Put them on the zonetool.exe command line, before the command. Options typed in the console do nothing. To use an option with the console, start the console with it: zonetool.exe -dds.

OptionUseEffect
-game <name>AllSelects the game: iw6, s1, h1, h2, s2, iw7 or iw8
-path <folder>AllSelects the game folder, the folder that holds zone/
-target_path <folder>AllSelects the game folder of the --target game
-no_cacheAllIgnores the build cache and writes every file again
-ddsDumpWrites images as .dds files too
-dump_streamed_imageDumpReads imagefile*.pak and writes the streamed images
-castdumpDumpWrites a .cast file next to each model and animation. S2 only for now
-more_memoryBuildDoubles the zone memory limit
-keep_mp_traverse_nodesBuildKeeps invalid multiplayer traverse nodes in aipaths. H2 only
-uncompressedBuildWrites a stored (uncompressed) zone. IW8 only. mw120rproxy needs it for custom weapons
-lambertDumpConverts IW8 materials to the stock IW7 lambert techsets with --target iw7. Without it, x64-zt uses the PBR techsets

Game and folder selection

If you do not give -game, x64-zt selects the game in this order:

  1. The game exe in the -path folder. Without -path, the game exe in the folder of zonetool.exe or in the current folder.
  2. The game value in zonetool.json.
  3. The first game in the build.
Game exeGame
iw6mp64_ship.exe, iw6sp64_ship.exeiw6
s1_mp64_ship.exe, s1_sp64_ship.exes1
h1_mp64_ship.exe, h1_sp64_ship.exeh1
MW2CR.exe, h2_sp64_bnet_ship.exeh2
s2_mp64_ship.exes2
iw7_ship.exeiw7
game_dx12_ship_replay.exe, ModernWarfare.exeiw8

If you do not give -path, x64-zt uses the folder in zonetool.json. If not, it uses the folder of zonetool.exe or the current folder when it has the game exe or a zone/ folder, then the default Steam folder of the game.

Running from another folder

You do not have to copy zonetool.exe into each game. Give the game and its folder on the command line:

zonetool.exe -game h1 -path "D:\Games\MWR" dumpzone mp_shipment

Or save them in zonetool.json, next to zonetool.exe:

{
"game": "h1",
"paths": {
"h1": "D:/Games/MWR",
"s1": "D:/Games/AW",
"s2": "D:/Games/WWII"
}
}

game selects the default game. paths gives the folder of each game. It is also used for the --target game, so you do not need -target_path. Options on the command line always win over zonetool.json.

caution

When you run x64-zt from another folder, dump/, zonetool/ and zone_source/ are in that folder, not in the game folder.

Common errors

MessageFix
game "x" is not in this buildYour copy of x64-zt does not include that game. Use a game listed in zonetool.exe -h
zone "x" not found in ...The zone is not in the game folder. Check the zone name and -path
set the <game> game folder with -path or zonetool.jsonx64-zt did not find the game folder. Give it with -path or in zonetool.json
no converter from <game> to <game> in this buildThat conversion is not supported, or not in your copy. See Game conversion support
dumpmap is not supported for <game>Use dumpzone on each map zone instead
Could not find csv file "x" to build zonezone_source/x.csv is missing, or you run x64-zt from another folder
unknown command "x"Check the spelling. Commands are lowercase. Options start with - and go before the command
The wrong game is selectedGive -game, or check the game exe in the folder
An option does nothingOptions work only on the zonetool.exe command line, before the command. Not in the console

Game conversion support

The full table is in Supported games. Notes on specific conversions:

  • The pipeline is built to do IW3 โ†’ IW4 โ†’ IW5 or IW4 โ†’ IW5, as IW5 is an extremely studied source game that is proven to work (but we plan to make this better in the future). IW3 โ†’ IW7 uses this chain. IW4 โ†’ IW7 and IW5 โ†’ IW7 are not offered on their own yet.
  • IW3/IW4/IW5 โ†’ IW6/S1/H1/H2/S2 are not reimplemented in x64-zt yet. Until then, use the old-gen map porting guide.
  • H1 is the hub. S1 โ†’ H2 converts through H1, and S1 โ†’ S2 is possible by doing S1 โ†’ H1, and then H1 โ†’ S2. A build of x64-zt needs H1 for these.
  • IW6 โ†’ H1 and H1 โ†’ S2 convert techsets and shaders natively.
  • H1 โ†’ S2 and S1 โ†’ S2 are experimental, but work way better as of November 15th, 2026.
  • H1 โ†’ S1 is left out due to backporting issues, and may be added again in the future. The legacy code on main contains it.
  • IW7 โ†’ H1 converts images, materials and models only.
  • IW7 โ†’ IW8 is experimental. Attachments and muzzle effects are not converted yet. See Weapon Porting (IW7 โ†’ IW8).
  • IW8 โ†’ IW7 is experimental for backporting (read issue #317). It converts world geometry, collision, static models, models, materials, images and the vision file. Some materials, models and effects are still dropped. Add -lambert to use the stock IW7 lambert techsets instead of the PBR techsets.

Asset listings

An asset listing is the asset CSV of every zone in a game. Use it to find which zone has the asset you want, before you dump anything. Each .zone file has the same name as a .ff zone in the game.

You can make your own with listzone --all, or download one:

Extract the .zip with a tool like 7-Zip or WinRAR. To search all of the files at once, open the folder in VSCode and use Find in Files (Ctrl+Shift+F).

Next steps

Fully custom assets

You can make new assets with the official CoD4 Mod Tools and build them into a CoD4 fastfile. Dump that fastfile with the x64 branch of Joelrau's zonetool, then build it for a next-generation game with x64-zt, as in the old-gen map porting guide. The CoD4 Mod Tools have been documented on YouTube and other websites since 2008, so we do not give much help with them here.