Janrilw / limbus-company-auto

边狱巴士自动化脚本 | try to get some auto operation thing
MIT License
36 stars 3 forks source link

操作步骤5 #4

Open a08690025 opened 1 year ago

a08690025 commented 1 year ago

請問 5.用cd指令跳转到本仓库目录 要打什麼指令?

Janrilw commented 1 year ago

您可以使用cd命令在Windows的cmd应用中跳转到不同的目录或文件夹。[1] [2] [3]

例如,如果您想跳转到E盘的limbus-company-auto文件夹,您可以先输入E:切换到E盘,然后输入cd limbus-company-auto跳转到该文件夹。 [2] [3]

如果您想返回上一级目录,您可以输入cd ..。 如果您想查看当前目录下的文件和文件夹,您可以输入dir。 [2] [4]

a08690025 commented 1 year ago

我對miniconda3資料夾 右鍵 在此處打開命令提示符 输入python limbus_corp.py 沒有limbus_corp.py這個檔案

Janrilw commented 1 year ago

可以尝试使用limbus_corp.py的完整路径代替之。

a08690025 commented 1 year ago

我搜尋 limbus_corp.py 沒有這個檔案 還是我少安裝什麼?

Janrilw commented 1 year ago

你是不是没下载这个仓库?limbus_corp.py就在这个仓库里。 因为是熟练使用者所以不可避免地忽略了一些步骤。

a08690025 commented 1 year ago

了解 謝謝

a08690025 commented 1 year ago

重裝模組 發現 (base) D:\Users\P>conda install pyautogui Collecting package metadata (current_repodata.json): done Solving environment: unsuccessful initial attempt using frozen solve. Retrying with flexible solve. Collecting package metadata (repodata.json): done Solving environment: unsuccessful initial attempt using frozen solve. Retrying with flexible solve.

PackagesNotFoundError: The following packages are not available from current channels:

Current channels:

To search for alternate channels that may provide the conda package you're looking for, navigate to

https://anaconda.org

and use the search bar at the top of the page.

Janrilw commented 1 year ago

conda装不了就把conda换成pip

a08690025 commented 1 year ago

pip 裝成功了

a08690025 commented 1 year ago

(base) C:>CD C:\ProgramData\miniconda3

(base) C:\ProgramData\miniconda3>python limbus_corp.py Traceback (most recent call last): File "C:\ProgramData\miniconda3\limbus_corp.py", line 22, in from base import Game, Panel, Widget File "C:\ProgramData\miniconda3\base.py", line 17, in from screenshot import window_capture File "C:\ProgramData\miniconda3\screenshot.py", line 101, in from baseImage import Image as Image2 File "C:\ProgramData\miniconda3\baseImage__init__.py", line 2, in from .base_image import Image File "C:\ProgramData\miniconda3\baseImage\base_image.py", line 6, in from .coordinate import Rect, Size File "C:\ProgramData\miniconda3\baseImage\coordinate.py", line 9, in from pydantic import BaseModel ModuleNotFoundError: No module named 'pydantic'

Janrilw commented 1 year ago

这个也是要再装一个pydantic

a08690025 commented 1 year ago

pip install pydantic 裝完 目前 輸入python limbus_corp.py 會轉跳到遊戲 然後 手動操做完成一次镜之地牢嗎?

Janrilw commented 1 year ago

是的,需要游戏在1080p下以英文运行。 程序使用的是SIFT算法做的图像匹配,而月计没有给贴图上mipmap导致低分辨率下识别率很差,且对于变形的抗性很弱,实际使用还是会有低概率会卡死。 这个脚本因为事务繁忙已经无力维护,属于是勉强能用的程度。

a08690025 commented 1 year ago

通關镜之地牢後 在输入python limbus_corp.py 就會自己打下一輪?

Janrilw commented 1 year ago

打完以后建议直接关闭这个脚本重新开,当时没有写多次重开的功能。

a08690025 commented 1 year ago

了解 謝謝