|
1 | 1 | # AutoTrimps |
2 | | -Automation script for the idle incremental game Trimps |
| 2 | +Automation script for the idle incremental game Trimps |
3 | 3 |
|
4 | | -**Installation instructions at the bottom of this README** |
| 4 | +## Discussion / Discord Channel |
| 5 | +Discord is a chat program. Come to talk about AutoTrimps, for help, or suggestions for new features : https://discord.gg/0VbWe0dxB9kIfV2C |
| 6 | + |
| 7 | +## Script Installation |
5 | 8 | **Please backup your game via export before and during use to prevent losing your save due to corruption!** |
6 | 9 |
|
| 10 | +***Option 1***: Install TamperMonkey (Chrome) or GreaseMonkey (Firefox) |
| 11 | + |
| 12 | +**EASY INSTALL click here: https://github.com/zininzinin/AutoTrimps/raw/gh-pages/.user.js** (the Monkeys will detect this and prompt you to install it) |
| 13 | + |
| 14 | +Overly detailed Chrome/TamperMonkey Instructions: |
| 15 | +- Open the TamperMonkey dashboard and go to utilities – in the URL box paste https://github.com/zininzinin/AutoTrimps/raw/gh-pages/.user.js and click IMPORT |
| 16 | +- Alternatively, paste the contents of `.user.js` into a user script (pay attention, it says .user.js - this contains 4 lines of code that loads AutoTrimps2.js) |
| 17 | +- The script should automatically load everytime you go to https://trimps.github.io or the game on Kongregate |
| 18 | +- You will know you have the script loaded if you see the Automation and Graphs buttons in the game menu at the bottom |
| 19 | +- DO NOT PASTE THE FULL 2000+ line contents of the script into TamperMonkey! It will not work properly! |
| 20 | +- The .user.js file is a "stub" or "loader" that references the AutoTrimps2.js file which is where the actual script is located. |
| 21 | +- The purpose of .user.js is so that you don't have to rely on TamperMonkey's update functionality - instead it will automaticaly download the updated copy from the URL provided everytime its loaded. |
| 22 | + |
| 23 | +FireFox/GreaseMonkey instructions: |
| 24 | +- GreaseMonkey identifies userscripts by visiting a URL that ends with ".user.js" in them: |
| 25 | +- Visit this URL, and Agree to install the userscript: https://github.com/zininzinin/AutoTrimps/raw/gh-pages/.user.js |
| 26 | + |
| 27 | +***Option 2***: Via a Bookmark (does not work with Kongregate - maybe it does now that I added an include kongregate line to the file) |
| 28 | +- Create new bookmark and set its target to: |
| 29 | +```js |
| 30 | +javascript:with(document)(head.appendChild(createElement('script')).src='https://zininzinin.github.io/AutoTrimps/AutoTrimps2.js')._ |
| 31 | +``` |
| 32 | +- This bookmark button has to be clicked manually after you go to https://trimps.github.io |
| 33 | + |
| 34 | +***Option 3***: Paste into console (last resort for debugging, dont do this) |
| 35 | + |
| 36 | +Chrome Instructions |
| 37 | +- You can copy and paste the entire contents of AutoTrimps2.js into the Dev Console (F12 in chrome) of the page. (make sure the dropdown box to the left of "Preserve Log" is set to "top" - or "mainFrame (indexKong.html)" for kongregate. |
| 38 | + |
| 39 | +Firefox Instructions |
| 40 | +- Push Ctrl+Shift+K to go into console and look for the "Select an iframe" icon, and choose http://trimps.github.io/indexKong.html |
| 41 | + |
| 42 | +Notes: |
| 43 | +If you would like to use only the graphs module, replace `AutoTrimps2.js` with `Graphs.js` in the bookmark or your userscript. |
| 44 | +Feel free to submit any bugs/suggestions as issues here on github. |
| 45 | + |
7 | 46 | ## Recent changes |
8 | 47 |
|
9 | 48 | 4/28/2016 |
|
0 commit comments