Comments (9)
好的,大概是src/modules/Core/GachaReport/gacha_report_utils.py
下
GAME_LOG_PATH = os.environ["userprofile"] + '/AppData/LocalLow/miHoYo/崩坏:星穹铁道/output_log.txt'
def getDefaultGameDataPath():
if not os.path.exists(GAME_LOG_PATH):
log.infoWrite(f"[GachaReport.utils] Game Path not found")
return 0, "Game Log Not found"
with open(GAME_LOG_PATH, 'r', encoding='utf-8') as f:
logFile = f.read()
res = re.search("([A-Z]:/.+(StarRail_Data))", logFile)
game_path = res.group() if res else None
log.infoWrite(f"[GachaReport.utils] Game Path get: {game_path}")
return game_path
判断失误
会在0.1.4修复,感谢反馈
from star-rail-asta.
请问一下是国际服吗
from star-rail-asta.
@AuroraZiling
不是国际服。不过游戏安装位置不是默认的,是不是跟这个有关
from star-rail-asta.
关于C:/Users/[Name]/AppData/LocalLow/miHoYo/崩坏:星穹铁道/output_log.txt
这个文件内有没有类似/Star Rail/Game/StarRail_Data/webCaches\Cache\Cache_Data\data_2
的路径
from star-rail-asta.
@AuroraZiling
存在这个文件,但不存在你所说的路径。
无论是搜索 Star Rail
, StarRail
还是 Cache_Data
之类的关键词都没有结果
from star-rail-asta.
再麻烦看一下同目录的Player.log
有没有包含Loading player data from
字段,后面有没有跟着游戏路径
比如Loading player data from D:/Program Files/Star Rail/Game/StarRail_Data/data.unity3d
from star-rail-asta.
@AuroraZiling
这个有,就在第一行:
Loading player data from D:/Program Files/Star Rail/Game/StarRail_Data/data.unity3d
跟你发的是一模一样的
from star-rail-asta.
现在release了,劳烦测试下不
from star-rail-asta.
一切正常了
from star-rail-asta.
Related Issues (6)
- 数据展示问题 HOT 4
- 启动程序无反应 HOT 3
- 增量更新卡死 HOT 4
- 跃迁记录展示问题[BUG] HOT 1
- 开源许可证的版权信息未修改 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from star-rail-asta.