Replace mouse operation, Simply repeat action.
One key does more than one thing.
- OS : Windows 7 / 10 / 11
- Autohotkey : H-2.0-beta.3 ( @ thqby/AutoHotkey_H )
- My Time At Portia : final 2.0.141541 ( last updated time : 2021 / 08 )
- Game Resolution :
1680 * 1050
( only )
- download
.zip
package from lastest Releases and unzip . Or
git clone https://github.com/miozus/MyTimeAtPortiaKeymap.git
- Open
Portia.ahk
with Notepad or Visual Studio Code, change setting as you used to ( or use default setting of mine directly and skip this step )- GameSetting : write down what you set in game.
- Keymap :
yourHotkey::function()
, you can define new function inPortiaFuntions.ahk
- Setting In Game :
- Setting Reference Screenshot
- Resolution must be
1680 * 1050
. -
Lens inertia
must be checked, for move mouse with fluent perfomance.
- For once, right click Autohotkey.exe (x32 or x64 ) , set it run with Administrator privilige. Then double click
Portia.ahk
. - Play game ( the order of launcher does not matter ).
Do you want to know how does this project code, from 10 lines, grows up to 1500 lines ?
Read Design Note with google translator please.
Real Game DemoMouse controls perspective. yes, it's VIM style:
Camera | ||
---|---|---|
K | ||
H | J | L |
From | I | O | ; | ' |
---|---|---|---|---|
To | LeftButton | RightButton | Scroll down | Scroll up |
A : Hold on while press mouse hotkey above, it can slow down mouse move speed, which is useful on bag UI.
/ : Resize actor's perspective to focus on forehead.
At Oustside, actor run in 4 directions ( up, down, left, right ):
Run | ||
---|---|---|
E | ||
S | D | F |
But if you open staitc UI, actor can't move at the time, the directions become another keymap set:
S | F | Funtcion | |
---|---|---|---|
PageUI | left | right | click left / right button |
( PageUI : except BagUI case of poverty to release all grids. )
Hotkey | Action | Function |
---|---|---|
E | previous | click previous Bag Item |
D | next | click next Bag Item |
If there is CounterUI, those actions priority is the highest, for clicking CounterUI button:
Modifier | S | F | Function |
---|---|---|---|
minus | plus | click | |
Ctrl | min | max | click |
Alt | center | center | click and enable to input number |
Each state has two skills, they aim to do one work together.
State | Name | T Main Skill | W Assist Skill | Function |
---|---|---|---|---|
🛖 | Hoster | conitnueWorkingProduct | startMaxProduct | Default |
🐟 | Fisher | fish +5 | fish -10 | number 1~5 ⇒ feed n*35 rice |
⛏️ | Farmer | LButtonClickLoop | seekingTreasures | press , to stop loop, Eletic Drill prefer to use mouse or hold I |
. : Turn to next state for cycle.
Number Hotkey would do the right thing, though there are different Scenes.
Default ( Outside )
1 ~ P : No mapping, remain origin key.
ManualUI
Hotkey | Maping Position | Function |
---|---|---|
1 ~ 3 | [1, 1-3] | N's Tab |
4 5 | [left, right] | start makeup |
BagUI
Hotkey | Maping Position | Function |
---|---|---|
1 ~ 8 | [1-8, 1] | 1st row |
9 0 - = | [1-8, 2-5] | the 2 ~ 5 row, like climb down ladder |
P | [1-8, P] | equipment bar |
Q : Quick Sort Bag and Box's Items, and hover on the center fo Box.
ListUI
Hotkey | Maping Position | Bioler Station | Relic | FeedAnimal | Cook Menu |
---|---|---|---|---|---|
1 ~ 7 | [1, 1-7] | N's product | stages | food | menu |
Specially, when you hold on modifier key above all, it follows secondary action.
Modifier | Hotkey | Maping Position | Function |
---|---|---|---|
Ctrl | 1 ~ P | [1-8, N] | And Press Exchange ( to bag ) |
Alt | 1 ~ P | [1-8, N] | And Press RightButton ( to box / hang up equipment ) |
"Perhaps I knows what you do next."
If you stay outside, farm or ride aircraft, it keep silent as origin key.
It appears at those scene:
- Accept the Chamber of Commerce Daily Quest
- Feed Animal
- Read Email
- Arrange food and wait for alpaca
- Dialog choose option 1
- Start challenge remains
- Lead you go home by bus
It feels upset sometimes, keep patient please.
Now you have the ability to copy code from clipboard, which can recognise the game scene, and develp your new function.
Combine | G | Function |
---|---|---|
Ctrl | which scene now | detech every collected scene and register state |
Alt | pixelsearch under cursor | get copied code |
Ctrl Alt | click under cursor | get copied code |
Ctrl Shift | convert counterUI position to string | get copied code |
( null ) | G | press origin key |
Design notes will be release soon.
Game demo video cutted completed, is making icon description or words.
All by myself, welcome to PR.
MIT © Copyright (c) 2021 miozus