.ZS File Extension
ZenScript File
Developer | N/A |
Popularity |
3.7 | 15 Votes |
What is a ZS file?
More Information
The ZenScript programming language was originally developed for use with CraftTweaker, a Minecraft mod that enables gamers to modify content, which includes "recipes" These recipes allow users to create new items with resources they gather. The ZenScript programming language is primarily used by modders to add, edit, and delete recipes in the game.
Since ZS files store commands in plain text, you can open and edit the files with any text editor. However, select text editors, such as Notepad++, Visual Studio Code, and Sublime Text, are better options for editing ZS files since they support syntax highlighting of the ZenScript language or plugins that support the language.
NOTE: ZS files must be stored in the [gamedir]/scripts folder to be loaded when a player joins a world in Minecraft.
Programs that open or reference ZS files
ZScript Script
Developer | ZDoom |
Popularity |
4.0 | 2 Votes |
More Information
ZDoom and GZDoom are ported, updated versions of Doom, a popular first-person shooter. They also allow players to play other games that use the Doom engine. Because ZDoom and GZDoom are developed and maintained by fans, players are encouraged to modify them. One way players can modify ZDoom and GZDoom is by creating and loading ZScript (ZS) files that alter the games' gameplay.
For example, a ZS file might contain a script that shows an icon if a player has line of sight to their current target. Or, it might contain a script that spawns new enemies and items in a certain level.
Many top-level ZS files are saved with the name zscript.zs. These scripts often reference sub-scripts, which contain the actual code used to modify ZDoom or GZDoom. For example, a sub-script that modifies weapons may be named weapons.zs.
Common ZS Filenames
Zscript.zs - The name given to most top-level ZS files.
How to open a ZS file
You can open and edit a ZS file in SLADE (multiplatform), which is a ZDoom modding tool. You can also open and edit ZS files in Microsoft Visual Studio Code (multiplatform) or any other text or source code editor.
To use a ZS file with ZDoom or GZDoom, run the programs from the command line and use the -file command to specify the path to the folder containing your ZS file. For example, you might enter text that looks like the following on the command line:
start gzdoom.exe -iwad doom2.wad -file Path/To/Your/Folder
Programs that open ZS files
Z-Sharp Script
Developer | Sam Astro |
Popularity |
3.5 | 2 Votes |
A ZS file may also be a Z-Sharp script. It contains source code written in the Z-Sharp programming language, developed by Sam Astro.
More Information
In 2022, YouTuber Sam Astro (also known as AstroSam) posted a video detailing his efforts to create his own programming language and code a game using that language. The language Astro created is known as Z-Sharp.
Z-Sharp uses syntax and formatting similar to the C# and Python programming languages. It contains enough features to code the game Pong (which was Astro's overall goal). According to Astro, the language will likely never be finished. Nevertheless, developers who want to create programs using the Z-Sharp language can save those programs in ZS files, which the Z-Sharp interpreter recognizes as Z-Sharp scripts.
NOTE: Previously, Z-Sharp was known as Stupid Lang, and ZS files were saved as SLG files.
Common ZS Filenames
script.zs - The name of example Z-Sharp scripts included in Z-Sharp's source code.
How to open a ZS file
You can open and edit a ZS file in any text or source code editor, such as Microsoft Visual Studio Code or GitHub Atom. You can run the script a ZS file contains using the Z-Sharp interpreter (Windows, Linux).
Programs that open ZS files
Zstandard-Compressed Switch Game Data
Developer | Nintendo |
Popularity |
1.5 | 2 Votes |
More Information
Games that contain ZS files include:
- Super Mario Maker 2
- Animal Crossing: New Horizons
- Nintendo Switch Sports
- Splatoon 3
- The Legend of Zelda: Tears of the Kingdom (TotK)
- Super Mario Bros. Wonder
Notably, TotK's ZS files are compressed using a custom compression dictionary (ZSDIC file). For this reason, programs (like Switch-Toolbox) that can open other ZS files may not be able to open TotK's ZS files. However, TotK modders have developed utilities that allow them to decompress the game's ZS files.
NOTE: The ZS format replaced the Switch .SZS format.
How to open a ZS file
You can open most ZS files with Switch-Toolbox (Windows). Those looking to decompress The Legend of Zelda: Tears of the Kingdom's ZS files can do so with Totk Zstd Tool (Windows).