-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
97 lines (73 loc) · 3.21 KB
/
Copy path.env.example
File metadata and controls
97 lines (73 loc) · 3.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
# ==============
# === GLOBAL ===
# ==============
# What we use for storing the strings for translation, could be either
# - GOOGLE for Google Sheets integration
# - relative or absolute path to xlsx file (will be created automatically if needed)
STORAGE=GOOGLE
# The ID of the spreadsheet where your translation is going to happen
SPREADSHEET_ID=<your-google-sheets-spreadsheet-id>
# A JSON file from Google for a service account to access your spreadsheet
GOOGLE_CREDENTIALS_FILE=<your-google-credentials-json>
# Names of main sheets
SYSTEM_SHEET_NAME=System
ACTORS_SHEET_NAME=Actors
QUESTS_SHEET_NAME=Quests
DIALOGUES_SHEET_NAME=Dialogues
STRINGS_SHEET_NAME=Strings
# Names of sheets with vocabularies, without 'VOCAB-' prefix
VOCAB_CHARS_SHEET_NAME=Chars
VOCAB_TERMS_SHEET_NAME=Terms
# ====================
# === EXPORTER/BBB ===
# ====================
# 1000xRESIST data directory to get the resources from
# could be a relative or absolute path
# on Windows specifically, make sure it doesn't point to a protected directory such as Program Files
# if that's the case, you can run the toolset as admin or just copy 1000xRESIST_Data to the 1000xTRANSLATE location
GAME_DATA_DIR=1000xRESIST/1000xRESIST_Data
# directory to keep the extracted resources in (will be created automatically if needed)
RES_DIR=!resources
# directory to put textures to (will be created automatically if needed)
TEXTURES_DIR=!textures
# directory to grab overrides from (will NEVER be created automatically)
# overrides are texture (.png) and font (.ttf/.otf) files
OVERRIDES_DIR=!overrides
# directory to output modified bundles to (will be created automatically if needed)
OUT_DIR=!distr
# bbb post-processing command to run after import was finished
# could be anything runnable, for example 7z to pack the translation into the archive
# for Linux/macOS:
#POST_CMD=7z a localization.zip './!distr/*'
# for Windows (dotenv doesn't like this, but ):
#POST_CMD="C:\Program Files\7-Zip\7z.exe" a localization.zip .\!distr\*
# enable this if you want bbb to create a patcher executable instead of patching the game resources immediately
#CREATE_PATCHER=true
# use Python parser instead of a cpp one (enable only if you like to wait more or if there are any problems)
UNITYPY_USE_PYTHON_PARSER=false
# enable this if you wan't to disable exporting and importing of textures
#SKIP_TEXTURES=true
# ===============================
# === SHEETIFIER/DESHEETIFIER ===
# ===============================
# The lang to use as a reference (the one you're translating from)
# Possible values as of now are en,zh,ja
BASE_LANG=en
# The lang to replace in the game
# (it's recommended to use the one different from BASE_LANG to avoid confusion later)
TARGET_LANG=zh
# ==========================
# === TRANSLATOR/CHECKER ===
# ==========================
# Any OpenAI-compatible endpoint should work
OPENAI_API_ENDPOINT=https://api.openai.com/v1
OPENAI_API_KEY=<your-openai-api-key>
OPENAI_MODEL=<model-to-use>
OPENAI_TEMPERATURE=0.2
# Human-readable language names
LANG_FROM=English
LANG_TO=Russian
# Example sentence for LLM, saying "Hello." in your LANG_TO
EXAMPLE_HI="Привет."
# Example sentence for LLM, saying "Hi, how are you?" in your LANG_TO
EXAMPLE_HOWRU="Привет, как дела?"