<commit_before>Zanzarah tools
==============

This repo contains all my Zanzarah editing and browsing tools. It came out from the effort to reverse-engineer the wonderful game: **Zanzarah - the Hidden Portal**, to provide all the tools for community to make various mods, modify the world and to enhance this pretty old game.

### Work In progress

I've actually started refactoring all my last tools, written in coffee-script, dissolve for parsing and node-webgl for ui with the modern stack - node v7 and es6, jBinary for parsing, and react/aframe based webapp for editing and visualization tools. This transition is currently undergoing, and I'm gradually removing the old tools and files. Right now, everything in `/src` is the new toolset, and you can already use something like

```sh
git clone https://github.com/kabbi/zanzarah-tools.git
cd zanzarah-tools
npm install

# Paste the path to your zanzarah game here
export ZANZARAH_ROOT=~/games/Zanzarah
mkdir -p $ZANZARAH_ROOT/Pack
# Unpack packed data
zanzapack u $ZANZARAH_ROOT/Resources/data_0.pak $ZANZARAH_ROOT/Pack $ZANZARAH_ROOT/Pack/packfiles.txt
# Normalize file structure a bit
mv $ZANZARAH_ROOT/Pack/RESOURCES/* $ZANZARAH_ROOT/Pack
# Remove empty dir
rmdir $ZANZARAH_ROOT/Pack/RESOURCES

# Start the tools
npm start
```

There are also some tools in `scripts` folder.

I will update this readme when the transition is finished, and I'll also upload working web-version of all the tools to gh-pages. You can still ask me directly any questions you want.

All the info below is thus deprecated, although stil correct.<commit_msg>Added the screenshots to readme<commit_after>Zanzarah tools
==============

This repo contains all my Zanzarah editing and browsing tools. It came out from the effort to reverse-engineer the wonderful game: **Zanzarah - the Hidden Portal**, to provide all the tools for community to make various mods, modify the world and to enhance this pretty old game.

New Web Version | Old Standalone App
--- | ---
<img src="docs/screenshots/Screen Shot 2017-03-10 at 9.15.16 PM.png" alt="An old node-webgl standalone version" width="400"> | <img src="docs/screenshots/Screen Shot 2015-04-26 at 12.18.10 AM.png" alt="New web-based editor" width="400">

### Work In progress

I've actually started refactoring all my last tools, written in coffee-script, dissolve for parsing and node-webgl for ui with the modern stack - node v7 and es6, jBinary for parsing, and react/aframe based webapp for editing and visualization tools. This transition is currently undergoing, and I'm gradually removing the old tools and files. Right now, everything in `/src` is the new toolset, and you can already use something like

```sh
git clone https://github.com/kabbi/zanzarah-tools.git
cd zanzarah-tools
npm install

# Paste the path to your zanzarah game here
export ZANZARAH_ROOT=~/games/Zanzarah
mkdir -p $ZANZARAH_ROOT/Pack
# Unpack packed data
zanzapack u $ZANZARAH_ROOT/Resources/data_0.pak $ZANZARAH_ROOT/Pack $ZANZARAH_ROOT/Pack/packfiles.txt
# Normalize file structure a bit
mv $ZANZARAH_ROOT/Pack/RESOURCES/* $ZANZARAH_ROOT/Pack
# Remove empty dir
rmdir $ZANZARAH_ROOT/Pack/RESOURCES

# Start the tools
npm start
```

There are also some tools in `scripts` folder.

I will update this readme when the transition is finished, and I'll also upload working web-version of all the tools to gh-pages. You can still ask me directly any questions you want.

All the info below is thus deprecated, although stil correct.
{'fraction_non_alphanumeric': 0.07480653482373173, 'fraction_numerical': 0.01117798796216681, 'mean_word_length': 4.67479674796748, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5841668', 'n_tokens_mistral': 1102, 'n_tokens_neox': 1020, 'n_words': 465}