<commit_before>Repo
	* $ git clone https://github.com/dutscher/trialstrackmap-gfx.git
Screenshots
	* Season Transition "Season Begin"
	* Startline of new Track
	* Platin medal on trackmap centered, each per each
Photoshop
	* Season
		* use previous "/seasons/42.resolution.jpg" as mask and include the new
		* save image as jpg, the name of new image should like this "./seasons/43.brake-up.jpg"
		* use 50% compression (the new image should be 15KB)
	* Trackmap
		* open "/map-psd/map.5.7.0-petrol-falls.psd"
		* insert screenshot of centered new track
		* toggle the visiblity to get it mapped to the big map
		* mask it, fully black mask, and unmask only visible new track
		* merge if done to one layer
		* save image as jpg, the name of new image should like this "./map/trackmap.2.180224.en.jpg" (trackmap.WORLD.YEAR MONTH DAY.LANG.jpg)
		* use 50% compression (round about should the jpg be 1,54MB)
		* save the .psd
	* Trackmap path
		* in the same psd is a hidden layer group
		* assign the pathes in vector mask
		* use a 30px black brush and paint on the path
		* deactivate the vector mask
		* paint the tier colors at its bounds
		* save the .psd
		* save with for web "STRG+SHIFT+ALT+S"
			* scale down to 320x320 (world 2, see in "./database/media/gfx.json" which dimension u need) 
			* save image as jpg, the name should be "./map/trackmap.2.180224.path.min.jpg"
		* hide group layer "track path" and save .psd
	* Deployment
		* commit the image changes and push to master
			* $ git add .
			* $ git commit -m "newest season and tracks added"
			* $ git push
		* upload the compressed images to www.imgur.com
		* notice direct urls "https://i.imgur.com/J8rLK29.jpg"
	* Upload Startline images
		* use www.imgur.com
		* add uploaded images to startlines
		* notice the "Direct link"
	* Changes for gfx in repo trackmap
		* go into file "./database/media/gfx.json"
		* change for trackmap "src" property "https://i.imgur.com/J8rLK29.jpg" => "#1/J8rLK29.jpg"
		* add the path image to "srcPath" "#1/MZjlZMS.jpg"
		
Repo changes for tracks and deploy
	* clone repo
		* $ git clone https://github.com/dutscher/trialstrackmap.git
		* $ cd trialstrackmap
		* $ npm install
	* unpack "TFunpacker.zip" into "C:/"
		* check if "#TFunpacker" dir exists
			* #adb, #bin2txt, #hashes and #unpacker are child dirs
 	* Import newest data
		* look into game which version is the actual one
		* start app, go to options (gear in the top/left corner next to "Village"), in the right/bottom corner stands "5.8.3"
		* go into file "./grunt/import.js" change "gameVersion" variabe to "583"
		* change also in file "./database/map.json" the app_version "5.8.3"
		* connect your phone with adb (go into #adb file and start cmd here)
			* Hold Shift while Right-Clicking a blank space in the desired folder to bring up a more verbose context menu. 
			  One of the options is Open Command Window Here
			* in cmd:
				* C:\www\#TFunpacker\#adb>adb devices
				  List of devices attached
				  * daemon not running. starting it now on port 5037 *
				  * daemon started successfully *
				  * C:\www\#TFunpacker\#adb>
				  * NO DEVICE FOUND
					* unplug device
					* go into your Android settings
					* System / click 10 times on "build number"
						* now go into developer options
						* enable "Android debugging"
							* Allow USB debugging, click OK
						* plugin your device
							* RSA fingerprint of your device will shown up
							* Always allow from this computer
			* back to cmd
				* C:\www\#TFunpacker\#adb>adb devices
				  List of devices attached
				  ZY3224JGK8      device
				* DEVICE CONNECTED via adb
		* back to repo
			* $ npm run grunt import1GameDataPhone
			* $ npm run grunt import2GameDataS3
			* $ npm run grunt import3DoUnpacking
			* $ npm run grunt import4DoPackagesToOneDir
			* $ npm run grunt import5ConvertOri2Json
			* $ npm run grunt import6GameDataViaJson
			* add unreleased tracks to "./database/i18n/en.json"
				* new track get a new id
				* also add the new tracksk with their new id's to "./database/trackdata/ids.json"
				* make sure world and tier is right
			* $ npm run grunt #startImportI18N
				* now we have to add the changes from "./build/import/i18n/*.json" to "./database/i18n/*.json"
				* use diff function for every language and add the new tracks (nothing more)
			* now compare "./build/import/parts.json" with "./database/trackdata/parts.json"
			* now compare "./build/import/teims.json" with "./database/trackdata/times.json"
			* add the above uploaded startlines into "./database/trackdata/startlines.json"
				>>,"291": "dasdasdd.jpg"<<, without "https://i.imgur.com/"
			* start server
				* $ npm run serve
				* open in browser "http://localhost:8001/locations.html"
				* click on every new track on the star on the medal (the location is copied into the clipboard)
					* insert the clipboard data into "./database/trackdata/coords.json"
			* now we have to categorize the tracks
				* create a new track category in "./database/categories.json"
					* choose a color in hexcode
				* add for every track in "./database/trackdata/categories.json" the categories
* deploy job and upload on ftp
				
* TODO
	* season<commit_msg>update how to update<commit_after>Repo
	* $ git clone https://github.com/dutscher/trialstrackmap-gfx.git
Screenshots
	* Season Transition "Season Begin"
	* Startline of new Track
	* Platin medal on trackmap centered, each per each
Photoshop
	* Season
		* use previous "/seasons/42.resolution.jpg" as mask and include the new
		* save image as jpg, the name of new image should like this "./seasons/43.brake-up.jpg"
		* use 50% compression (the new image should be 15KB)
	* Trackmap
		* open "/map-psd/map.5.7.0-petrol-falls.psd"
		* insert screenshot of centered new track
		* toggle the visiblity to get it mapped to the big map
		* mask it, fully black mask, and unmask only visible new track
		* merge if done to one layer
		* save image as jpg, the name of new image should like this "./map/trackmap.2.180224.en.jpg" (trackmap.WORLD.YEAR MONTH DAY.LANG.jpg)
		* use 50% compression (round about should the jpg be 1,54MB)
		* save the .psd
	* Trackmap path
		* in the same psd is a hidden layer group
		* assign the pathes in vector mask
		* use a 30px black brush and paint on the path
		* deactivate the vector mask
		* paint the tier colors at its bounds
		* save the .psd
		* save with for web "STRG+SHIFT+ALT+S"
			* scale down to 320x320 (world 2, see in "./database/media/gfx.json" which dimension u need) 
			* save image as jpg, the name should be "./map/trackmap.2.180224.path.min.jpg"
		* hide group layer "track path" and save .psd
	* Deployment
		* commit the image changes and push to master
			* $ git add .
			* $ git commit -m "newest season and tracks added"
			* $ git push
		* upload the compressed images to www.imgur.com
		* notice direct urls "https://i.imgur.com/J8rLK29.jpg"
	* Upload Startline images
		* use www.imgur.com
		* add uploaded images to startlines
		* notice the "Direct link"
	* Changes for gfx in repo trackmap
		* go into file "./database/media/gfx.json"
		* change for trackmap "src" property "https://i.imgur.com/J8rLK29.jpg" => "#1/J8rLK29.jpg"
		* add the path image to "srcPath" "#1/MZjlZMS.jpg"
		
Repo changes for tracks and deploy
	* clone repo
		* $ git clone https://github.com/dutscher/trialstrackmap.git
		* $ cd trialstrackmap
		* $ npm install
	* unpack "TFunpacker.zip" into "C:/"
		* check if "#TFunpacker" dir exists
			* #adb, #bin2txt, #hashes and #unpacker are child dirs
 	* Import newest data
		* look into game which version is the actual one
		* start app, go to options (gear in the top/left corner next to "Village"), in the right/bottom corner stands "5.8.3"
		* go into file "./grunt/import.js" change "gameVersion" variabe to "583"
		* change also in file "./database/map.json" the app_version "5.8.3"
		* connect your phone with adb (go into #adb file and start cmd here)
			* Hold Shift while Right-Clicking a blank space in the desired folder to bring up a more verbose context menu. 
			  One of the options is Open Command Window Here
			* in cmd:
				* C:\www\#TFunpacker\#adb>adb devices
				  List of devices attached
				  * daemon not running. starting it now on port 5037 *
				  * daemon started successfully *
				  * C:\www\#TFunpacker\#adb>
				  * NO DEVICE FOUND
					* unplug device
					* go into your Android settings
					* System / click 10 times on "build number"
						* now go into developer options
						* enable "Android debugging"
							* Allow USB debugging, click OK
						* plugin your device
							* RSA fingerprint of your device will shown up
							* Always allow from this computer
			* back to cmd
				* C:\www\#TFunpacker\#adb>adb devices
				  List of devices attached
				  ZY3224JGK8      device
				* DEVICE CONNECTED via adb
		* back to repo
			* $ npm run grunt import1GameDataPhone
			* $ npm run grunt import2GameDataS3
			* $ npm run grunt import3DoUnpacking
			* $ npm run grunt import4DoPackagesToOneDir
			* $ npm run grunt import5ConvertOri2Json
			* $ npm run grunt import6GameDataViaJson
			* add unreleased tracks to "./database/i18n/en.json"
				* new track get a new id
				* also add the new tracks with their new id's to "./database/trackdata/ids.json"
				* make sure the world id is right (1: seymore and lotz, 2: petrol falls)
			* $ npm run grunt #startImportI18N
				* now we have to add the changes from "./build/import/i18n/*.json" to "./database/i18n/*.json"
				* use diff function for every language and add the new tracks (nothing more)
			* now compare "./build/import/parts.json" with "./database/trackdata/parts.json"
			* now compare "./build/import/times.json" with "./database/trackdata/times.json"
			* now compare "./build/import/tiers.json" with "./database/trackdata/tiers.json"
			* add the above uploaded startlines into "./database/trackdata/startlines.json"
				>>,"291": "dasdasdd.jpg"<<, without "https://i.imgur.com/"
			* start server
				* $ npm run serve
				* open in browser "http://localhost:8001/locations.html"
				* click on every new track on the star on the medal (the location is copied into the clipboard)
					* insert the clipboard data into "./database/trackdata/coords.json"
			* now we have to categorize the tracks
				* create a new track category in "./database/categories.json"
					* choose a color in hexcode
				* add for every track in "./database/trackdata/categories.json" the categories
* deploy job and upload on ftp
{'fraction_non_alphanumeric': 0.0924569580519357, 'fraction_numerical': 0.018072862170645868, 'mean_word_length': 3.0500770416024654, 'pattern_counts': {'":': 2, '<': 7, '<?xml version=': 0, '>': 15, 'https://': 10, 'lorem ipsum': 0, 'www.': 10, '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': '2174018', 'n_tokens_mistral': 3876, 'n_tokens_neox': 3285, 'n_words': 1294}