리플레이 변환기 13.10 지원: ValorantReplayParser 28e24af → fbf24b6 (13.09 · 13.10 페이로드 변환, 13.10 전투 기록 배치) · 밴딧은 파서 새 이름 "Bandit" 대신 예전 이름 "Compact Pistol" 로 내보냄 (사이트 · 뽑아 둔 총 모델 이름) · v1.12.1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
4
app/package-lock.json
generated
4
app/package-lock.json
generated
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "gvr-app",
|
"name": "gvr-app",
|
||||||
"version": "1.12.0",
|
"version": "1.12.1",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "gvr-app",
|
"name": "gvr-app",
|
||||||
"version": "1.12.0",
|
"version": "1.12.1",
|
||||||
"license": "UNLICENSED",
|
"license": "UNLICENSED",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@discordjs/voice": "^0.19.2",
|
"@discordjs/voice": "^0.19.2",
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "gvr-app",
|
"name": "gvr-app",
|
||||||
"productName": "겜녹이",
|
"productName": "겜녹이",
|
||||||
"version": "1.12.0",
|
"version": "1.12.1",
|
||||||
"description": "겜녹이 (Game Voice Recorder) - 게임 연동 디스코드 음성 기록",
|
"description": "겜녹이 (Game Voice Recorder) - 게임 연동 디스코드 음성 기록",
|
||||||
"private": true,
|
"private": true,
|
||||||
"main": "dist/main.cjs",
|
"main": "dist/main.cjs",
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
# ValorantReplayParser (MIT, https://github.com/michel-giehl/ValorantReplayParser) 를 고정 커밋으로 받아 vendor/ 에 둔다.
|
# ValorantReplayParser (MIT, https://github.com/michel-giehl/ValorantReplayParser) 를 고정 커밋으로 받아 vendor/ 에 둔다.
|
||||||
# 발로란트 패치로 리플레이 형식이 바뀌면 PARSER_COMMIT 을 새 커밋으로 올린다.
|
# 발로란트 패치로 리플레이 형식이 바뀌면 PARSER_COMMIT 을 새 커밋으로 올린다.
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
PARSER_COMMIT="${PARSER_COMMIT:-28e24af44f5d2e2444fb679f500b6ec04ab60672}"
|
PARSER_COMMIT="${PARSER_COMMIT:-fbf24b62c5a8b8b7a64df71b4cbaaf0a651ce5b8}"
|
||||||
here="$(cd "$(dirname "$0")" && pwd)"
|
here="$(cd "$(dirname "$0")" && pwd)"
|
||||||
dst="$here/vendor/ValorantReplayParser"
|
dst="$here/vendor/ValorantReplayParser"
|
||||||
if [ ! -d "$dst/.git" ]; then
|
if [ ! -d "$dst/.git" ]; then
|
||||||
|
|||||||
@@ -512,6 +512,8 @@ public sealed partial class Collector(int sampleMs) : IReplayEventSink
|
|||||||
var equipKindIndex = new Dictionary<string, int>();
|
var equipKindIndex = new Dictionary<string, int>();
|
||||||
int EquipKind(string name)
|
int EquipKind(string name)
|
||||||
{
|
{
|
||||||
|
// 밴딧: 파서가 fbf24b6 부터 "Bandit" 이라 부른다. 사이트 · 뽑아 둔 총 모델(map-extract)은 "Compact Pistol" 이라 예전 이름 그대로 낸다
|
||||||
|
if (name == "Bandit") name = "Compact Pistol";
|
||||||
if (!equipKindIndex.TryGetValue(name, out var k)) { k = equipKinds.Count; equipKinds.Add(name); equipKindIndex[name] = k; }
|
if (!equipKindIndex.TryGetValue(name, out var k)) { k = equipKinds.Count; equipKinds.Add(name); equipKindIndex[name] = k; }
|
||||||
return k;
|
return k;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user