<commit_before># Kanan's Mabinogi Mod
Mods for Mabinogi using JavaScript

## Instructions
1. Download Python 3.5 (or greater) from
[python.org](https://www.python.org/downloads/).
2. While installing it make sure you check the box that says **Add Python 3.x to
PATH**
3. To make sure Python was installed correctly, open a command prompt and type
`python --version` and you should get a response.
4. Run the batch file `kanan.bat` as an administrator.

You can run `python kanan.py -h` for more usage information. For best results,
run kanan before launching mabi and keep it running in the background.

## Features at a glance
Look in the scripts directory for a full list of mods provided with kanan.
* By default most scripts (mods) that come with kanan are enabled. To disable a
mod you can either add ".disabled" as a suffix to the respective file's name (FreeZoom.js > FreeZoom.disabled.js) in the `./scripts/` directory, or add the file name (BitmapFont.js for example) to `disabled.txt` in the main directory.
* You can attach kanan to different processes if you are running multiple
clients. Open an administrator command prompt where `kanan.py` is located and
run `python kanan.py -p<id>` where `id` is the process id you want to attach to.
 You can also have kanan start multiple clients by running 
`kanan auto-start.bat` or `python kanan.py -s`.
* You can use kanan to load dll's into mabi by modifying `DllLoader.js`. More
details on what to do are located at the top of that file.
* You can use kanan's data folder as if it was mabi's data folder for file based
mods. Read `UseDataFolder.js` for more detail. Essentially this feature
redirects mabi's data folder, to the data folder `kanan.py` is in allowing you
to fully mod mabi without touching its folder.
* Simple scripts can be automatically coalesced to cut down on memory usage.
* `PatternScanSnapshot.js` automatically disassembles the locations of patterns
used by each script for archiving and easier updating when something breaks.
* Keep kanan running in the background and whenever you close and relaunch mabi
kanan will automatically rerun all the scripts.

## Known issues
* Closing the command prompt after patches have been applied has caused crashes
for some users. If you experience a crash immediately after closing the command
prompt then leave it open for now.
    * If `kanan.bat` does not stay open then something is most likely wrong with
your python install.

## The following scripts are disabled by default
* ClientSideDevCat.js
* PatternScanSnapshot.js
* LargerTTFontResize.js

Learn about configuring kanan on our [wiki](https://github.com/cursey/kanan/wiki).

## Contributing
Contributions are welcome. If you are contributing a patch that you aren't the
original author of please give credits at the top of the file. If a patch has
been added and you are the original author of it or know who is, open an issue
so proper credits may be given (or issue a pull request).

## Original patch authors
kanan comes with more mods than are listed here. This is the list of patch 
authors who haven't directly contributed via GitHub's pull requests.
* Blade3575
    * Bitmap font
    * Elf lag
* Step29
    * NPC fast text
    * One click revive
    * Free indoor camera
    * Hide NPC curtains
    * Hide second title
    * No player zoom transparency
    * Mana tunnel lag fix
    * No skill rank up window
    * Windows appear faster
    * Uncapped auto production
    * Mini title menu (TitleOrganize)
    * Mute commerce imp (NoImp)
* Rydian
    * No black bars
    * Transformation mastery collect mode always enabled
    * No persistent fighter chain popup
    * Objects between camera and character do not become transparent
    * Client side devCat title
    * Hide main title

## Thank you to all contributors!
* QewQew
* C0ZIEST
* Kyralis
* x99user
* Aahzmandius
* Poshwosh
* Warsen
* Rydian<commit_msg>Added y3tii to README.md<commit_after># Kanan's Mabinogi Mod
Mods for Mabinogi using JavaScript

## Instructions
1. Download Python 3.5 (or greater) from
[python.org](https://www.python.org/downloads/).
2. While installing it make sure you check the box that says **Add Python 3.x to
PATH**
3. To make sure Python was installed correctly, open a command prompt and type
`python --version` and you should get a response.
4. Run the batch file `kanan.bat` as an administrator.

You can run `python kanan.py -h` for more usage information. For best results,
run kanan before launching mabi and keep it running in the background.

## Features at a glance
Look in the scripts directory for a full list of mods provided with kanan.
* By default most scripts (mods) that come with kanan are enabled. To disable a
mod you can either add ".disabled" as a suffix to the respective file's name (FreeZoom.js > FreeZoom.disabled.js) in the `./scripts/` directory, or add the file name (BitmapFont.js for example) to `disabled.txt` in the main directory.
* You can attach kanan to different processes if you are running multiple
clients. Open an administrator command prompt where `kanan.py` is located and
run `python kanan.py -p<id>` where `id` is the process id you want to attach to.
 You can also have kanan start multiple clients by running 
`kanan auto-start.bat` or `python kanan.py -s`.
* You can use kanan to load dll's into mabi by modifying `DllLoader.js`. More
details on what to do are located at the top of that file.
* You can use kanan's data folder as if it was mabi's data folder for file based
mods. Read `UseDataFolder.js` for more detail. Essentially this feature
redirects mabi's data folder, to the data folder `kanan.py` is in allowing you
to fully mod mabi without touching its folder.
* Simple scripts can be automatically coalesced to cut down on memory usage.
* `PatternScanSnapshot.js` automatically disassembles the locations of patterns
used by each script for archiving and easier updating when something breaks.
* Keep kanan running in the background and whenever you close and relaunch mabi
kanan will automatically rerun all the scripts.

## Known issues
* Closing the command prompt after patches have been applied has caused crashes
for some users. If you experience a crash immediately after closing the command
prompt then leave it open for now.
    * If `kanan.bat` does not stay open then something is most likely wrong with
your python install.

## The following scripts are disabled by default
* ClientSideDevCat.js
* PatternScanSnapshot.js
* LargerTTFontResize.js

Learn about configuring kanan on our [wiki](https://github.com/cursey/kanan/wiki).

## Contributing
Contributions are welcome. If you are contributing a patch that you aren't the
original author of please give credits at the top of the file. If a patch has
been added and you are the original author of it or know who is, open an issue
so proper credits may be given (or issue a pull request).

## Original patch authors
kanan comes with more mods than are listed here. This is the list of patch 
authors who haven't directly contributed via GitHub's pull requests.
* Blade3575
    * Bitmap font
    * Elf lag
* Step29
    * NPC fast text
    * One click revive
    * Free indoor camera
    * Hide NPC curtains
    * Hide second title
    * No player zoom transparency
    * Mana tunnel lag fix
    * No skill rank up window
    * Windows appear faster
    * Uncapped auto production
    * Mini title menu (TitleOrganize)
    * Mute commerce imp (NoImp)
* Rydian
    * No black bars
    * Transformation mastery collect mode always enabled
    * No persistent fighter chain popup
    * Objects between camera and character do not become transparent
    * Client side devCat title
    * Hide main title

## Thank you to all contributors!
* QewQew
* C0ZIEST
* Kyralis
* x99user
* Aahzmandius
* Poshwosh
* Warsen
* Rydian
* y3tii
{'fraction_non_alphanumeric': 0.05520766773162939, 'fraction_numerical': 0.004345047923322683, 'mean_word_length': 3.8699439950217798, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6377724', 'n_tokens_mistral': 2174, 'n_tokens_neox': 2079, 'n_words': 1159}