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 โ | IW6 | S1 | H1 | H2 | S2 | IW7 | IW8 |
|---|---|---|---|---|---|---|---|
| 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) | โ | โ | โ | โ | โ | โ ๏ธ | โ |
| Status | Meaning | |
|---|---|---|
| โ | Supported | Works for the assets of this game pair |
| โ ๏ธ | Partial | Experimental or unfinished (some assets work, weapons may work) |
| ๐ง | Planned | x86 games from Joelrau/zonetool for dumping only |
| โ | Not supported | No conversion |
See Game conversion support for notes on each conversion.
First run
- Put
zonetool.exein your game folder, next to the game exe. - Run
zonetool.exe -h. This prints every command and option, then exits. - Run
zonetool.exewith no command. This opens the interactive console, where you type commands one after another. Typequitto 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, intodump/<map>/with one merged CSV. Use it when you port a map. It works for H1, H2, IW6 and S1. Add--skip-commonto leave out the common zones, if you already have them inzonetool_paths/.dumpasset <type> <name> <zone>dumps one asset todump/assets/. Use*as the name to dump all assets of that type, for exampledumpasset material * mp_shipment.
Useful dump options (put them before the command):
-ddswrites images as.ddsfiles too, so you can open them in an image editor.-dump_streamed_imagealso reads theimagefile*.pakfiles and writes the high-resolution streamed images.-castdumpwrites a.castfile 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
Make a folder for your mod in
zonetool/, for examplezonetool/my_mod/.Put your asset files in it. Use the same paths as a dump. A weapon file from
dump/<zone>/weapons/<weapon>goes tozonetool/my_mod/weapons/<weapon>.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,generatecsvcan make it for you (see below).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:
zonetool/my_mod/zonetool/(files here are shared by all of your mods)- 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
| Line | Effect |
|---|---|
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,true | Writes 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.
| Command | Result |
|---|---|
inspect <zone> | Shows the fastfile header: version, signature, stream files, block sizes and asset count |
inspect --all | Reads 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 --all | Verifies 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 --all | Writes 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>/ |
help | Prints the help |
quit | Closes 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.
| Option | Use | Effect |
|---|---|---|
-game <name> | All | Selects the game: iw6, s1, h1, h2, s2, iw7 or iw8 |
-path <folder> | All | Selects the game folder, the folder that holds zone/ |
-target_path <folder> | All | Selects the game folder of the --target game |
-no_cache | All | Ignores the build cache and writes every file again |
-dds | Dump | Writes images as .dds files too |
-dump_streamed_image | Dump | Reads imagefile*.pak and writes the streamed images |
-castdump | Dump | Writes a .cast file next to each model and animation. S2 only for now |
-more_memory | Build | Doubles the zone memory limit |
-keep_mp_traverse_nodes | Build | Keeps invalid multiplayer traverse nodes in aipaths. H2 only |
-uncompressed | Build | Writes a stored (uncompressed) zone. IW8 only. mw120rproxy needs it for custom weapons |
-lambert | Dump | Converts 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:
- The game exe in the
-pathfolder. Without-path, the game exe in the folder ofzonetool.exeor in the current folder. - The
gamevalue inzonetool.json. - The first game in the build.
| Game exe | Game |
|---|---|
iw6mp64_ship.exe, iw6sp64_ship.exe | iw6 |
s1_mp64_ship.exe, s1_sp64_ship.exe | s1 |
h1_mp64_ship.exe, h1_sp64_ship.exe | h1 |
MW2CR.exe, h2_sp64_bnet_ship.exe | h2 |
s2_mp64_ship.exe | s2 |
iw7_ship.exe | iw7 |
game_dx12_ship_replay.exe, ModernWarfare.exe | iw8 |
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
| Message | Fix |
|---|---|
game "x" is not in this build | Your 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.json | x64-zt did not find the game folder. Give it with -path or in zonetool.json |
no converter from <game> to <game> in this build | That 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 zone | zone_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 selected | Give -game, or check the game exe in the folder |
| An option does nothing | Options 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 โ IW5orIW4 โ 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 โ IW7uses this chain.IW4 โ IW7andIW5 โ IW7are not offered on their own yet. IW3/IW4/IW5 โ IW6/S1/H1/H2/S2are not reimplemented in x64-zt yet. Until then, use the old-gen map porting guide.- H1 is the hub.
S1 โ H2converts through H1, andS1 โ S2is possible by doingS1 โ H1, and thenH1 โ S2. A build of x64-zt needs H1 for these. IW6 โ H1andH1 โ S2convert techsets and shaders natively.H1 โ S2andS1 โ S2are experimental, but work way better as of November 15th, 2026.H1 โ S1is left out due to backporting issues, and may be added again in the future. The legacy code onmaincontains it.IW7 โ H1converts images, materials and models only.IW7 โ IW8is experimental. Attachments and muzzle effects are not converted yet. See Weapon Porting (IW7 โ IW8).IW8 โ IW7is 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-lambertto 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:
- Ghosts (IW6)
- Advanced Warfare (S1)
- Modern Warfare Remastered (H1)
- MW2 Campaign Remastered (H2)
- WWII (S2)
- Infinite Warfare (IW7)
- Modern Warfare 2019 (IW8 1.20)
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
- Port maps from CoD4, MW2 or MW3 to the next-generation games.
- Port maps between AW, MWR and MW2CR.
- Port weapons from IW7 to IW8.
- Zonetool Extra:
override/, custom LUI and other fixes.
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.