Compare commits

...

5 Commits

Author SHA1 Message Date
mio
1052a4bffb upgrade version 2023-05-06 12:55:25 +08:00
mio
2fd8730cdd fix: use Player.log instead of Player-prev (#18) 2023-05-06 10:11:38 +08:00
mio
bbc52af184 fix: the pity value in excel is incorrect (#15) 2023-05-05 14:04:08 +08:00
mio
38ed348865 fix: i18n(zh-cn) 光錐 -> 光锥 2023-05-05 09:56:06 +08:00
mio
29548310c5 docs: update picture 2023-05-04 16:49:44 +08:00
12 changed files with 13 additions and 10 deletions

View File

@ -15,7 +15,9 @@
## 使用说明
1. 下载工具后解压 - 下载地址: [Github](https://github.com/biuuu/star-rail-warp-export/releases/latest/download/StarRailWarpExport.zip) / [蓝奏云](https://wwvt.lanzoum.com/b022mikwh) 密码:f1iy
2. 打开游戏的跃迁历史记录
2. 打开游戏的跃迁详情页面
![详情页面](/docs/wish-history.png)
3. 点击工具的“加载数据”按钮

View File

@ -17,7 +17,9 @@ If you feel that the existing translation is inappropriate, you can send a pull
## Usage
1. Unzip after downloading the tool - [Download](https://github.com/biuuu/star-rail-warp-export/releases/latest/download/StarRailWarpExport.zip)
2. Open the warp history of the game
2. Open the warp details page of the game
![warp details](/docs/wish-history-en.png)
3. Click the tool's "Load data" button

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

After

Width:  |  Height:  |  Size: 9.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 46 KiB

View File

@ -1,6 +1,6 @@
{
"name": "star-rail-warp-export",
"version": "0.0.11",
"version": "0.0.14",
"main": "./dist/electron/main/main.js",
"author": "biuuu <https://github.com/biuuu>",
"license": "MIT",

View File

@ -22,7 +22,7 @@
"ui.data.sum": "已累计",
"ui.data.no5star": "抽未出5星",
"ui.data.character": "角色",
"ui.data.weapon": "光",
"ui.data.weapon": "光",
"ui.data.star5": "5星",
"ui.data.star4": "4星",
"ui.data.star3": "3星",
@ -30,9 +30,9 @@
"ui.data.average": "5星平均出货次数为",
"ui.data.chara5": "5星角色",
"ui.data.chara4": "4星角色",
"ui.data.weapon5": "5星光",
"ui.data.weapon4": "4星光",
"ui.data.weapon3": "3星光",
"ui.data.weapon5": "5星光",
"ui.data.weapon4": "4星光",
"ui.data.weapon3": "3星光",
"ui.setting.title": "设置",
"ui.setting.language": "语言",
"ui.setting.languageHint": "缺少翻译时,会默认显示简体中文",

View File

@ -4,7 +4,6 @@ const { app, ipcMain, dialog } = require('electron')
const fs = require('fs-extra')
const path = require('path')
const i18n = require('./i18n')
const cloneDeep = require('lodash-es/cloneDeep').default
function pad(num) {
return `${num}`.padStart(2, "0");
@ -87,7 +86,7 @@ const start = async () => {
arr.push(total)
arr.push(pity)
temp.push(arr)
if (log.rank_type === 5) {
if (log.rank_type === '5') {
pity = 0
}
// if (key === '301') {

View File

@ -83,7 +83,7 @@ const detectGameLocale = async (userPath) => {
const arr = ['/miHoYo/崩坏:星穹铁道/', '/Cognosphere/Star Rail/']
arr.forEach(str => {
try {
const pathname = path.join(userPath, '/AppData/LocalLow/', str, 'Player-prev.log')
const pathname = path.join(userPath, '/AppData/LocalLow/', str, 'Player.log')
fs.accessSync(pathname, fs.constants.F_OK)
list.push(pathname)
} catch (e) {}