feat(bottom): companion page with Stardew, Skyrim and Fallout 4 adapters

This commit is contained in:
Kurt Himebauch committed 2026-11-26 18:11:35 -05:00
1 parent b3ad19ae32
commit b65ecea017
42 files changed
+1531

No files matched your search

@@ -92,6 +92,35 @@ private fun BottomQuick() = PreviewHost {
@DroidDeckPreviews @Composable private fun BottomQuickPreview() = BottomQuick()
/** The Stardew Valley companion page, fed with the mod's messages. */
@Composable
private fun BottomStardew() = PreviewHost {
val S = com.droiddeck.launcher.companion.StardewCompanion
val state = listOf(
"""{"type":"game_info","saveName":"Sunny Farm"}""",
"""{"type":"sdv_day","season":"spring","day":5,"year":1,"weekday":"Fri","timeOfDay":1330,"weatherToday":"Sunny","gold":12500,"energy":200,"maxEnergy":270,"health":90,"maxHealth":100,"location":"Farm"}""",
"""{"type":"sdv_inventory","selected":2,"items":[{"slot":0,"id":"(T)Axe","name":"Axe"},{"slot":1,"id":"(T)Hoe","name":"Hoe"},{"slot":2,"id":"(O)24","name":"Parsnip","count":15},{"slot":4,"id":"(O)388","name":"Wood","count":99}]}""",
"""{"type":"sdv_villagers","villagers":[{"name":"Haley","birthdayIn":0},{"name":"Abigail","birthdayIn":3}]}""",
"""{"type":"sdv_quests","quests":[{"title":"Introductions","objective":"Meet 28 people (12 of 28)"},{"title":"How To Win Friends","objective":"Give a gift to someone"}]}""",
).fold(com.droiddeck.launcher.companion.StardewCompanion.State()) { st, m -> S.reduce(st, m) }
Column(Modifier.fillMaxSize().background(Color.Black).padding(12.dp)) { StardewPanel(state) {} }
}
@DroidDeckPreviews @Composable private fun BottomStardewPreview() = BottomStardew()
/** The Fallout 4 companion page, fed with a Thor Pip-Boy data message. */
@Composable
private fun BottomPipBoy() = PreviewHost {
val rpg = com.droiddeck.launcher.companion.RpgCompanion
val state = rpg.reduce(rpg.FALLOUT_4, com.droiddeck.launcher.companion.RpgCompanion.State(), """{"type":"data","id":"droiddeck","data":{
"player.stats":{"level":23,"hp":245,"hpMax":310,"ap":88,"apMax":105,"rads":65,"caps":1834,"weight":187.4,"weightMax":260},
"player.inventory":[{"id":"0x102","name":"Service Pistol","count":1,"equipped":true,"fav":1},{"id":"0x236","name":"Med Kit","count":7,"fav":0},
{"id":"0x303","name":"Clean Water","count":4,"fav":2}],"radio":{"enabled":true}}}""")
Column(Modifier.fillMaxSize().background(Color.Black).padding(12.dp)) { RpgPanel(state, {}, {}) }
}
@DroidDeckPreviews @Composable private fun BottomPipBoyPreview() = BottomPipBoy()
/** The Library and Stores tabs read store accounts, which load on a background thread. */
private val storesLoaded = { com.droiddeck.launcher.stores.StoresState.accountsLoaded }
@@ -114,4 +143,6 @@ internal val previewCases: List<PreviewCase> = listOf(
PreviewCase("bottom-panel-bar") { BottomPanelBar() },
PreviewCase("bottom-idle-home") { BottomIdle() },
PreviewCase("bottom-quick-tiles") { BottomQuick() },
PreviewCase("bottom-companion-stardew") { BottomStardew() },
PreviewCase("bottom-companion-pipboy") { BottomPipBoy() },
)
@@ -0,0 +1,68 @@
package com.droiddeck.launcher.companion
import kotlinx.coroutines.currentCoroutineContext
import kotlinx.coroutines.delay
import kotlinx.coroutines.ensureActive
import kotlinx.coroutines.isActive
import kotlinx.coroutines.suspendCancellableCoroutine
import java.util.concurrent.atomic.AtomicReference
import kotlin.concurrent.thread
import kotlin.coroutines.resume
class CompanionLink(private val port: Int, private val path: String = "/") {
private val socket = AtomicReference<LoopbackWebSocket?>(null)
val connected: Boolean get() = socket.get() != null
private val sender = java.util.concurrent.Executors.newSingleThreadExecutor { r -> Thread(r, "companion-send-$port").apply { isDaemon = true } }
fun send(text: String): Boolean {
val ws = socket.get() ?: return false
sender.execute { runCatching { ws.send(text) } }
return true
}
fun close() {
sender.shutdown()
}
suspend fun run(onConnected: (Boolean) -> Unit, onText: (String) -> Unit, hello: String? = null) {
while (currentCoroutineContext().isActive) {
val ws = runCatching { LoopbackWebSocket(port, path) }.getOrNull()
if (ws == null) {
delay(RETRY_MS)
continue
}
socket.set(ws)
onConnected(true)
try {
hello?.let { runCatching { ws.send(it) } }
readUntilClosed(ws, onText)
} finally {
socket.set(null)
runCatching { ws.close() }
onConnected(false)
}
currentCoroutineContext().ensureActive()
delay(RETRY_MS)
}
}
private suspend fun readUntilClosed(ws: LoopbackWebSocket, onText: (String) -> Unit) = suspendCancellableCoroutine { cont ->
val reader = thread(name = "companion-$port", isDaemon = true) {
try {
while (true) onText(ws.receive() ?: break)
} catch (_: Exception) {
}
if (cont.isActive) cont.resume(Unit)
}
cont.invokeOnCancellation {
runCatching { ws.close() }
reader.interrupt()
}
}
private companion object {
const val RETRY_MS = 3_000L
}
}
@@ -0,0 +1,109 @@
package com.droiddeck.launcher.companion
import java.io.ByteArrayOutputStream
import java.io.DataInputStream
import java.io.IOException
import java.io.InputStream
import java.io.OutputStream
import java.net.InetSocketAddress
import java.net.Socket
import java.security.SecureRandom
import java.util.Base64
class LoopbackWebSocket(port: Int, path: String = "/", connectTimeoutMs: Int = 1_000, readTimeoutMs: Int = 0) : AutoCloseable {
private val socket = Socket()
private val out: OutputStream
private val input: DataInputStream
private val random = SecureRandom()
init {
try {
socket.connect(InetSocketAddress("127.0.0.1", port), connectTimeoutMs)
socket.soTimeout = readTimeoutMs
socket.tcpNoDelay = true
out = socket.getOutputStream()
input = DataInputStream(socket.getInputStream().buffered())
val key = Base64.getEncoder().encodeToString(ByteArray(16).also(random::nextBytes))
out.write(("GET $path HTTP/1.1\r\nHost: 127.0.0.1:$port\r\nUpgrade: websocket\r\nConnection: Upgrade\r\n" +
"Sec-WebSocket-Key: $key\r\nSec-WebSocket-Version: 13\r\n\r\n").toByteArray())
out.flush()
val status = line(input) ?: throw IOException("no upgrade response")
if (!status.contains(" 101")) throw IOException("upgrade refused: $status")
while (true) {
val header = line(input) ?: throw IOException("upgrade cut short")
if (header.isEmpty()) break
}
} catch (e: Exception) {
runCatching { socket.close() }
throw e
}
}
@Synchronized
fun send(text: String) = frame(0x1, text.toByteArray())
fun receive(): String? {
val message = ByteArrayOutputStream()
while (true) {
val b0 = input.read().takeIf { it >= 0 } ?: return null
val b1 = input.read().takeIf { it >= 0 } ?: return null
var length = (b1 and 0x7F).toLong()
if (length == 126L) length = input.readUnsignedShort().toLong() else if (length == 127L) length = input.readLong()
if (length < 0 || length > MAX_FRAME) throw IOException("frame too large")
val mask = if (b1 and 0x80 != 0) ByteArray(4).also(input::readFully) else null
val data = ByteArray(length.toInt()).also(input::readFully)
if (mask != null) for (i in data.indices) data[i] = (data[i].toInt() xor mask[i % 4].toInt()).toByte()
when (b0 and 0x0F) {
0x8 -> return null
0x9 -> synchronized(this) { frame(0xA, data) }
0x0, 0x1, 0x2 -> {
message.write(data)
if (message.size() > MAX_FRAME) throw IOException("message too large")
if (b0 and 0x80 != 0) return message.toString(Charsets.UTF_8.name())
}
}
}
}
private fun frame(opcode: Int, payload: ByteArray) {
val mask = ByteArray(4).also(random::nextBytes)
val frame = ByteArrayOutputStream(payload.size + 14)
frame.write(0x80 or opcode)
when {
payload.size < 126 -> frame.write(0x80 or payload.size)
payload.size < 65536 -> {
frame.write(0x80 or 126)
frame.write(payload.size ushr 8)
frame.write(payload.size and 0xFF)
}
else -> {
frame.write(0x80 or 127)
for (k in 7 downTo 0) frame.write(((payload.size.toLong() ushr (8 * k)) and 0xFF).toInt())
}
}
frame.write(mask)
for (i in payload.indices) frame.write((payload[i].toInt() xor mask[i % 4].toInt()) and 0xFF)
out.write(frame.toByteArray())
out.flush()
}
private fun line(s: InputStream): String? {
val buf = ByteArrayOutputStream()
while (true) {
val b = s.read()
if (b < 0) return if (buf.size() == 0) null else buf.toString(Charsets.UTF_8.name())
if (b == '\n'.code) return buf.toString(Charsets.UTF_8.name()).trimEnd('\r')
if (buf.size() > 8192) throw IOException("header line too long")
buf.write(b)
}
}
override fun close() {
runCatching { synchronized(this) { frame(0x8, ByteArray(0)) } }
runCatching { socket.close() }
}
private companion object {
const val MAX_FRAME = 16L * 1024 * 1024
}
}
@@ -0,0 +1,99 @@
package com.droiddeck.launcher.companion
import org.json.JSONArray
import org.json.JSONObject
/** Vitals and quick slots read from SkyrimWebSocket (Skyrim) or Thor Pip-Boy (Fallout 4), which share a subscribe protocol. */
object RpgCompanion {
const val SKYRIM_SE = 489830L
const val FALLOUT_4 = 377160L
const val SKYRIM_PORT = 8765
const val PIPBOY_PORT = 8767
data class Bar(val key: String, val value: Float, val max: Float)
data class Slot(val key: String, val label: String, val detail: String, val active: Boolean)
data class State(
val bars: List<Bar> = emptyList(),
val level: Int? = null,
val facts: List<Pair<String, String>> = emptyList(),
val slots: List<Slot> = emptyList(),
val radio: Boolean? = null,
)
fun port(appId: Long): Int = if (appId == FALLOUT_4) PIPBOY_PORT else SKYRIM_PORT
fun subscribe(appId: Long): String = if (appId == FALLOUT_4) {
JSONObject().put("type", "subscribe").put("id", SUB).put("settings", JSONObject().put("frequency", 500))
.put("fields", JSONArray(listOf("player.stats", "player.inventory", "radio"))).toString()
} else {
val fields = JSONObject()
for ((alias, key) in SKYRIM_FIELDS) fields.put(alias, key)
JSONObject().put("type", "subscribe").put("id", SUB)
.put("settings", JSONObject().put("frequency", 500).put("sendOnChange", true)).put("fields", fields).toString()
}
fun reduce(appId: Long, state: State, text: String): State {
val m = runCatching { JSONObject(text) }.getOrNull() ?: return state
if (m.optString("type") != "data" || m.optString("id") != SUB) return state
return if (appId == FALLOUT_4) pipBoy(state, m.optJSONObject("data") ?: return state)
else skyrim(state, m.optJSONObject("fields") ?: return state)
}
fun trigger(appId: Long, slot: Slot, seq: Int): String = if (appId == FALLOUT_4) {
JSONObject().put("type", "command").put("id", "dd-$seq").put("command", "toggle")
.put("params", JSONObject().put("id", slot.key)).toString()
} else {
JSONObject().put("type", "command").put("id", "dd-$seq").put("command", "hotkey_trigger").put("slot", slot.key.toInt()).toString()
}
fun radio(on: Boolean, seq: Int): String =
JSONObject().put("type", "command").put("id", "dd-$seq").put("command", "radio").put("params", JSONObject().put("enable", on)).toString()
private fun skyrim(state: State, f: JSONObject): State {
fun bar(key: String) = if (f.has(key) && f.has("$key.max")) Bar(key, f.optDouble(key).toFloat(), f.optDouble("$key.max").toFloat()) else null
val bars = listOfNotNull(bar("health"), bar("magicka"), bar("stamina")).ifEmpty { state.bars }
val slots = f.optJSONArray("hotkeys")?.let { arr ->
List(arr.length()) { arr.optJSONObject(it) }.filterNotNull().filter { it.optBoolean("bound") }.map {
Slot(it.optInt("slot").toString(), it.optString("name"), it.optString("school").ifEmpty { it.optString("categoryType") }, false)
}
} ?: state.slots
val facts = buildList {
if (f.has("weight") && f.has("carry")) add("weight" to "%.0f / %.0f".format(f.optDouble("weight"), f.optDouble("carry")))
}.ifEmpty { state.facts }
return state.copy(bars = bars, level = if (f.has("level")) f.optInt("level") else state.level, facts = facts, slots = slots)
}
private fun pipBoy(state: State, d: JSONObject): State {
var next = state
d.optJSONObject("player.stats")?.let { s ->
next = next.copy(
bars = listOf(Bar("hp", s.optDouble("hp").toFloat(), s.optDouble("hpMax").toFloat()),
Bar("ap", s.optDouble("ap").toFloat(), s.optDouble("apMax").toFloat())),
level = s.optInt("level"),
facts = listOf("caps" to s.optInt("caps").toString(), "rads" to s.optInt("rads").toString(),
"weight" to "%.0f / %.0f".format(s.optDouble("weight"), s.optDouble("weightMax"))),
)
}
d.optJSONArray("player.inventory")?.let { inv ->
next = next.copy(slots = List(inv.length()) { inv.optJSONObject(it) }.filterNotNull()
.filter { it.has("fav") && it.optInt("fav", -1) >= 0 }
.sortedBy { it.optInt("fav") }
.map { Slot(it.optString("id"), it.optString("name"), countText(it), it.optBoolean("equipped")) })
}
d.optJSONObject("radio")?.let { next = next.copy(radio = it.optBoolean("enabled")) }
return next
}
private fun countText(item: JSONObject): String = item.optInt("count", 1).let { if (it > 1) "×$it" else "" }
private const val SUB = "droiddeck"
private val SKYRIM_FIELDS = listOf(
"health" to "ActorValue::kHealth", "health.max" to "ActorValue::kHealth::Permanent",
"magicka" to "ActorValue::kMagicka", "magicka.max" to "ActorValue::kMagicka::Permanent",
"stamina" to "ActorValue::kStamina", "stamina.max" to "ActorValue::kStamina::Permanent",
"level" to "Player::Level", "weight" to "Player::InventoryWeight", "carry" to "Player::CarryWeight",
"hotkeys" to "Hotkey::Items",
)
}
@@ -0,0 +1,86 @@
package com.droiddeck.launcher.companion
import org.json.JSONArray
import org.json.JSONObject
object StardewCompanion {
const val APP_ID = 413150L
const val PORT = 7786
const val HOTBAR = 12
data class Day(
val season: String, val day: Int, val year: Int, val weekday: String, val time: Int,
val weather: String, val weatherTomorrow: String, val gold: Long,
val energy: Int, val maxEnergy: Int, val health: Int, val maxHealth: Int, val location: String,
)
data class Item(val slot: Int, val id: String, val name: String, val count: Int, val quality: Int)
data class Quest(val title: String, val objective: String, val daysLeft: Int, val complete: Boolean)
data class Birthday(val name: String, val npc: String, val days: Int)
data class State(
val save: String? = null,
val day: Day? = null,
val selected: Int = 0,
val items: List<Item> = emptyList(),
val quests: List<Quest> = emptyList(),
val birthdays: List<Birthday> = emptyList(),
val sprites: Map<String, String> = emptyMap(),
) {
val inGame: Boolean get() = !save.isNullOrEmpty()
val hotbar: List<Item?> get() = List(HOTBAR) { slot -> items.firstOrNull { it.slot == slot && it.id.isNotEmpty() } }
}
fun reduce(state: State, text: String): State {
val m = runCatching { JSONObject(text) }.getOrNull() ?: return state
return when (m.optString("type")) {
"game_info" -> state.copy(save = m.optString("saveName"))
"sdv_day" -> state.copy(day = Day(
m.optString("season"), m.optInt("day"), m.optInt("year"), m.optString("weekday"), m.optInt("timeOfDay"),
m.optString("weatherToday"), m.optString("weatherTomorrow"), m.optLong("gold"),
m.optInt("energy"), m.optInt("maxEnergy"), m.optInt("health"), m.optInt("maxHealth"), m.optString("location"),
))
"sdv_inventory" -> state.copy(selected = m.optInt("selected"), items = objects(m.optJSONArray("items")).map {
Item(it.optInt("slot"), it.optString("id"), it.optString("name"), it.optInt("count", 1), it.optInt("quality"))
})
"sdv_quests" -> state.copy(quests = objects(m.optJSONArray("quests")).map {
Quest(it.optString("title"), it.optString("objective"), it.optInt("daysLeft", -1), flag(it, "complete"))
})
"sdv_villagers" -> state.copy(birthdays = objects(m.optJSONArray("villagers"))
.filter { it.has("birthdayIn") && it.optInt("birthdayIn", -1) in 0..7 }
.map { Birthday(it.optString("name"), it.optString("npc"), it.optInt("birthdayIn")) }
.sortedBy { it.days })
"sdv_sprite" -> {
val id = m.optString("id")
val png = m.optString("png")
if (id.isEmpty() || png.isEmpty()) state else state.copy(sprites = state.sprites + (id to png))
}
else -> state
}
}
fun selectSlot(slot: Int): String = JSONObject().put("type", "select_slot").put("slot", slot).toString()
fun refresh(): String = JSONObject().put("type", "refresh").toString()
/** 610 is 6:10 am; the game's clock runs past midnight up to 2600. */
fun clock(time: Int, twelveHour: Boolean): String {
val hours = time / 100 % 24
val minutes = time % 100
if (!twelveHour) return "%d:%02d".format(hours, minutes)
val h = if (hours % 12 == 0) 12 else hours % 12
return "%d:%02d %s".format(h, minutes, if (hours < 12) "am" else "pm")
}
private fun flag(o: JSONObject, name: String): Boolean = when (val v = o.opt(name)) {
is Boolean -> v
is Number -> v.toInt() != 0
is String -> v == "1" || v.equals("true", true)
else -> false
}
private fun objects(array: JSONArray?): List<JSONObject> =
if (array == null) emptyList() else List(array.length()) { array.optJSONObject(it) }.filterNotNull()
}
@@ -0,0 +1,255 @@
package com.droiddeck.launcher.ui
import android.graphics.BitmapFactory
import android.text.format.DateFormat
import android.util.Base64
import androidx.compose.foundation.Image
import androidx.compose.foundation.background
import androidx.compose.foundation.border
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.aspectRatio
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.fillMaxHeight
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.rememberScrollState
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.foundation.verticalScroll
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
import androidx.compose.runtime.DisposableEffect
import androidx.compose.runtime.LaunchedEffect
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.remember
import androidx.compose.runtime.setValue
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.draw.clip
import androidx.compose.ui.graphics.FilterQuality
import androidx.compose.ui.graphics.ImageBitmap
import androidx.compose.ui.graphics.asImageBitmap
import androidx.compose.ui.platform.LocalContext
import androidx.compose.ui.platform.testTag
import androidx.compose.ui.res.stringResource
import androidx.compose.ui.semantics.Role
import androidx.compose.ui.text.font.FontWeight
import androidx.compose.ui.text.style.TextAlign
import androidx.compose.ui.text.style.TextOverflow
import androidx.compose.ui.unit.dp
import androidx.compose.ui.unit.sp
import com.droiddeck.launcher.R
import com.droiddeck.launcher.companion.CompanionLink
import com.droiddeck.launcher.companion.RpgCompanion
import com.droiddeck.launcher.companion.StardewCompanion
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.delay
import kotlinx.coroutines.isActive
import kotlinx.coroutines.withContext
private const val GAME_POLL_MS = 2_000L
internal fun companionFor(appId: Long?): Long? =
appId?.takeIf { it == StardewCompanion.APP_ID || it == RpgCompanion.SKYRIM_SE || it == RpgCompanion.FALLOUT_4 }
@Composable
internal fun BottomCompanionPage(runningGame: () -> String?) {
var appId by remember { mutableStateOf(runningGame()?.toLongOrNull()) }
LaunchedEffect(Unit) {
while (isActive) {
appId = runningGame()?.toLongOrNull()
delay(GAME_POLL_MS)
}
}
when (companionFor(appId)) {
StardewCompanion.APP_ID -> StardewLive()
RpgCompanion.SKYRIM_SE, RpgCompanion.FALLOUT_4 -> RpgLive(appId!!)
else -> CompanionNote(stringResource(R.string.bottom_companion_none))
}
}
@Composable
private fun CompanionNote(text: String) {
Box(Modifier.fillMaxSize()) {
Text(text, fontSize = 15.sp, color = MaterialTheme.colorScheme.onSurfaceVariant, textAlign = TextAlign.Center,
modifier = Modifier.align(Alignment.Center).padding(24.dp))
}
}
@Composable
private fun StardewLive() {
val link = remember { CompanionLink(StardewCompanion.PORT) }
var state by remember { mutableStateOf(StardewCompanion.State()) }
var connected by remember { mutableStateOf(false) }
DisposableEffect(link) { onDispose { link.close() } }
LaunchedEffect(link) {
withContext(Dispatchers.IO) {
link.run(
onConnected = { connected = it },
onText = { text -> state = StardewCompanion.reduce(state, text) },
hello = StardewCompanion.refresh(),
)
}
}
when {
!connected -> CompanionNote(stringResource(R.string.bottom_companion_stardew_missing))
!state.inGame -> CompanionNote(stringResource(R.string.bottom_companion_title_screen))
else -> StardewPanel(state) { slot -> link.send(StardewCompanion.selectSlot(slot)) }
}
}
@Composable
internal fun StardewPanel(state: StardewCompanion.State, onSlot: (Int) -> Unit) {
val pal = LocalPalette.current
val colors = MaterialTheme.colorScheme
val twelveHour = !DateFormat.is24HourFormat(LocalContext.current)
val sprites = remember(state.sprites) { state.sprites.mapValues { (_, png) -> decode(png) } }
Column(Modifier.fillMaxSize().verticalScroll(rememberScrollState()), verticalArrangement = Arrangement.spacedBy(10.dp)) {
state.day?.let { d ->
Column(Modifier.fillMaxWidth().clip(RoundedCornerShape(14.dp)).background(pal.surface).padding(12.dp),
verticalArrangement = Arrangement.spacedBy(4.dp)) {
Text("${d.weekday} · ${d.season.replaceFirstChar { it.uppercase() }} ${d.day} · ${StardewCompanion.clock(d.time, twelveHour)}",
fontSize = 18.sp, fontWeight = FontWeight.Bold, color = colors.onBackground)
Text(listOf(d.location, d.weather, "%,dg".format(d.gold)).filter { it.isNotEmpty() }.joinToString(" · "),
fontSize = 13.sp, color = colors.onSurfaceVariant)
Row(horizontalArrangement = Arrangement.spacedBy(16.dp)) {
Meter(stringResource(R.string.bottom_companion_energy), d.energy, d.maxEnergy, pal.good)
Meter(stringResource(R.string.bottom_companion_health), d.health, d.maxHealth, colors.error)
}
}
}
Row(Modifier.fillMaxWidth(), horizontalArrangement = Arrangement.spacedBy(4.dp)) {
state.hotbar.forEachIndexed { slot, item ->
val selected = slot == state.selected
Box(
Modifier.weight(1f).aspectRatio(1f).clip(RoundedCornerShape(8.dp))
.background(if (selected) pal.signal.copy(alpha = 0.25f) else pal.surface)
.border(1.dp, if (selected) pal.signal else pal.line, RoundedCornerShape(8.dp))
.clickable(role = Role.Button) { onSlot(slot) }.testTag("stardew-slot-$slot"),
contentAlignment = Alignment.Center,
) {
val sprite = item?.let { sprites[it.id] }
if (sprite != null) Image(sprite, item.name, Modifier.fillMaxSize().padding(4.dp), filterQuality = FilterQuality.None)
else if (item != null) Text(item.name.take(3), fontSize = 10.sp, color = colors.onBackground)
if (item != null && item.count > 1) Text("${item.count}", fontSize = 10.sp, fontWeight = FontWeight.Bold,
color = colors.onBackground, modifier = Modifier.align(Alignment.BottomEnd).padding(2.dp))
}
}
}
if (state.birthdays.isNotEmpty()) Section(stringResource(R.string.bottom_companion_birthdays)) {
for (b in state.birthdays) Text(
if (b.days == 0) stringResource(R.string.bottom_companion_birthday_today, b.name)
else stringResource(R.string.bottom_companion_birthday_in, b.name, b.days),
fontSize = 13.sp, color = colors.onBackground,
)
}
if (state.quests.isNotEmpty()) Section(stringResource(R.string.bottom_companion_quests)) {
for (q in state.quests) Column {
Text(q.title, fontSize = 14.sp, fontWeight = FontWeight.SemiBold, color = if (q.complete) pal.good else colors.onBackground,
maxLines = 1, overflow = TextOverflow.Ellipsis)
if (q.objective.isNotEmpty()) Text(q.objective, fontSize = 12.sp, color = colors.onSurfaceVariant, maxLines = 2, overflow = TextOverflow.Ellipsis)
}
}
}
}
@Composable
private fun RpgLive(appId: Long) {
val link = remember(appId) { CompanionLink(RpgCompanion.port(appId)) }
var state by remember(appId) { mutableStateOf(RpgCompanion.State()) }
var connected by remember(appId) { mutableStateOf(false) }
var seq by remember { mutableStateOf(0) }
DisposableEffect(link) { onDispose { link.close() } }
LaunchedEffect(link) {
withContext(Dispatchers.IO) {
link.run(
onConnected = { connected = it },
onText = { text -> state = RpgCompanion.reduce(appId, state, text) },
hello = RpgCompanion.subscribe(appId),
)
}
}
if (!connected) {
CompanionNote(stringResource(if (appId == RpgCompanion.FALLOUT_4) R.string.bottom_companion_pipboy_missing else R.string.bottom_companion_skyrim_missing))
return
}
RpgPanel(state,
onSlot = { slot -> link.send(RpgCompanion.trigger(appId, slot, ++seq)) },
onRadio = { on -> link.send(RpgCompanion.radio(on, ++seq)) })
}
@Composable
internal fun RpgPanel(state: RpgCompanion.State, onSlot: (RpgCompanion.Slot) -> Unit, onRadio: (Boolean) -> Unit) {
val pal = LocalPalette.current
val colors = MaterialTheme.colorScheme
Column(Modifier.fillMaxSize().verticalScroll(rememberScrollState()), verticalArrangement = Arrangement.spacedBy(10.dp)) {
Column(Modifier.fillMaxWidth().clip(RoundedCornerShape(14.dp)).background(pal.surface).padding(12.dp),
verticalArrangement = Arrangement.spacedBy(8.dp)) {
state.level?.let { Text(stringResource(R.string.bottom_companion_level, it), fontSize = 18.sp, fontWeight = FontWeight.Bold, color = colors.onBackground) }
for (bar in state.bars) {
val (label, color) = when (bar.key) {
"hp", "health" -> stringResource(R.string.bottom_companion_health) to colors.error
"magicka" -> stringResource(R.string.bottom_companion_magicka) to pal.primary
"stamina" -> stringResource(R.string.bottom_companion_stamina) to pal.good
else -> stringResource(R.string.bottom_companion_action_points) to pal.good
}
Column(verticalArrangement = Arrangement.spacedBy(3.dp)) {
Text("$label ${bar.value.toInt()} / ${bar.max.toInt()}", fontSize = 13.sp, fontWeight = FontWeight.SemiBold, color = color)
Box(Modifier.fillMaxWidth().height(6.dp).clip(RoundedCornerShape(3.dp)).background(pal.line)) {
Box(Modifier.fillMaxWidth(if (bar.max > 0) (bar.value / bar.max).coerceIn(0f, 1f) else 0f).fillMaxHeight().background(color))
}
}
}
if (state.facts.isNotEmpty()) {
val caps = stringResource(R.string.bottom_companion_caps)
val rads = stringResource(R.string.bottom_companion_rads)
Text(state.facts.joinToString(" · ") { (key, value) ->
when (key) {
"caps" -> caps.format(value)
"rads" -> rads.format(value)
else -> value
}
}, fontSize = 13.sp, color = colors.onSurfaceVariant)
}
}
if (state.slots.isNotEmpty()) Section(stringResource(R.string.bottom_companion_favorites)) {
for (slot in state.slots) Row(
Modifier.fillMaxWidth().clip(RoundedCornerShape(10.dp))
.background(if (slot.active) pal.signal.copy(alpha = 0.18f) else androidx.compose.ui.graphics.Color.Transparent)
.clickable(role = Role.Button) { onSlot(slot) }.testTag("rpg-slot-${slot.key}").padding(horizontal = 8.dp, vertical = 10.dp),
horizontalArrangement = Arrangement.spacedBy(8.dp), verticalAlignment = Alignment.CenterVertically,
) {
Text(slot.label, fontSize = 15.sp, fontWeight = FontWeight.SemiBold, color = if (slot.active) pal.signal else colors.onBackground,
maxLines = 1, overflow = TextOverflow.Ellipsis, modifier = Modifier.weight(1f))
Text(slot.detail, fontSize = 12.sp, color = colors.onSurfaceVariant, maxLines = 1)
}
}
state.radio?.let { on -> BottomPillButton(stringResource(if (on) R.string.bottom_companion_radio_off else R.string.bottom_companion_radio_on), "rpg-radio") { onRadio(!on) } }
}
}
@Composable
private fun Section(title: String, content: @Composable () -> Unit) {
val pal = LocalPalette.current
Column(Modifier.fillMaxWidth().clip(RoundedCornerShape(14.dp)).background(pal.surface).padding(12.dp),
verticalArrangement = Arrangement.spacedBy(6.dp)) {
Text(title, fontSize = 13.sp, fontWeight = FontWeight.SemiBold, color = pal.signal)
content()
}
}
@Composable
private fun Meter(label: String, value: Int, max: Int, color: androidx.compose.ui.graphics.Color) {
Text("$label $value / $max", fontSize = 13.sp, fontWeight = FontWeight.SemiBold, color = color)
}
private fun decode(png: String): ImageBitmap? = runCatching {
val bytes = Base64.decode(png, Base64.DEFAULT)
BitmapFactory.decodeByteArray(bytes, 0, bytes.size)?.asImageBitmap()
}.getOrNull()
@@ -10,6 +10,7 @@ import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.filled.Speed
import androidx.compose.material.icons.filled.Download
import androidx.compose.material.icons.filled.EmojiEvents
import androidx.compose.material.icons.filled.Extension
import androidx.compose.material.icons.filled.GridView
import androidx.compose.material.icons.filled.MenuBook
import androidx.compose.material.icons.filled.Image
@@ -40,6 +41,7 @@ fun sessionBottomPages(actions: BottomPageActions): List<BottomPage> = listOf(
BottomPage(BOTTOM_PAGE_TELEMETRY, R.string.bottom_page_telemetry, Icons.Filled.Speed) { BottomTelemetryPage(actions.fps, actions.runningGame) },
BottomPage("quick", R.string.drawer_quick_access, Icons.Filled.GridView) { BottomQuickPage(actions) },
BottomPage("achievements", R.string.achievements_title, Icons.Filled.EmojiEvents) { BottomAchievementsPage(actions.runningGame) },
BottomPage("companion", R.string.bottom_page_companion, Icons.Filled.Extension) { BottomCompanionPage(actions.runningGame) },
BottomPage("guides", R.string.bottom_page_guides, Icons.Filled.MenuBook) { BottomGuidesPage(actions.runningGame) },
BottomPage("downloads", R.string.bottom_page_downloads, Icons.Filled.Download) { BottomDownloadsPage() },
BottomPage("screenshots", R.string.bottom_page_screenshots, Icons.Filled.Image) { BottomScreenshotsPage(actions.takeScreenshot) },
+21
View File
@@ -2187,6 +2187,27 @@
<string name="bottom_guides_back">كل الأدلة</string>
<string name="bottom_guides_empty">لا توجد أدلة Steam لهذه اللعبة بعد.</string>
<string name="bottom_guides_failed">تعذّر تحميل أدلة Steam. عد عندما تكون متصلًا.</string>
<string name="bottom_page_companion">المرافق</string>
<string name="bottom_companion_none">لا توجد صفحة مرافقة لهذه اللعبة بعد. توجد واحدة للعبة Stardew Valley.</string>
<string name="bottom_companion_stardew_missing">ثبّت تعديل الشاشة المزدوجة للعبة Stardew Valley عبر SMAPI لترى مزرعتك هنا.</string>
<string name="bottom_companion_title_screen">حمّل حفظًا لترى مزرعتك هنا.</string>
<string name="bottom_companion_energy">الطاقة</string>
<string name="bottom_companion_health">الصحة</string>
<string name="bottom_companion_birthdays">أعياد الميلاد هذا الأسبوع</string>
<string name="bottom_companion_birthday_today">%1$s: عيد الميلاد اليوم</string>
<string name="bottom_companion_birthday_in">%1$s: عيد الميلاد بعد %2$d أيام</string>
<string name="bottom_companion_quests">المهام</string>
<string name="bottom_companion_skyrim_missing">ثبّت إضافة SkyrimWebSocket لـ SKSE لترى شخصيتك هنا.</string>
<string name="bottom_companion_pipboy_missing">ثبّت إضافة Thor Pip-Boy لـ F4SE لترى Pip-Boy هنا.</string>
<string name="bottom_companion_level">المستوى %1$d</string>
<string name="bottom_companion_magicka">السحر</string>
<string name="bottom_companion_stamina">القدرة على التحمل</string>
<string name="bottom_companion_action_points">نقاط الحركة</string>
<string name="bottom_companion_caps">%1$s غطاء</string>
<string name="bottom_companion_rads">%1$s راد</string>
<string name="bottom_companion_favorites">المفضلة</string>
<string name="bottom_companion_radio_on">شغّل الراديو</string>
<string name="bottom_companion_radio_off">أطفئ الراديو</string>
<string name="bottom_page_telemetry">إحصاءات داخل اللعبة</string>
<string name="bottom_hud_group">مؤشرات الشاشة السفلية</string>
<string name="bottom_strip_tabs">شريط على كل تبويب</string>
@@ -2182,6 +2182,27 @@
<string name="bottom_guides_back">Todas las guías</string>
<string name="bottom_guides_empty">Este juego aún no tiene guías de Steam.</string>
<string name="bottom_guides_failed">No se pudieron cargar las guías de Steam. Vuelve a intentarlo cuando tengas conexión.</string>
<string name="bottom_page_companion">Compañero</string>
<string name="bottom_companion_none">Este juego aún no tiene página de compañero. Stardew Valley sí tiene una.</string>
<string name="bottom_companion_stardew_missing">Instala el mod de doble pantalla de Stardew Valley para SMAPI para ver tu granja aquí.</string>
<string name="bottom_companion_title_screen">Carga una partida para ver tu granja aquí.</string>
<string name="bottom_companion_energy">Energía</string>
<string name="bottom_companion_health">Salud</string>
<string name="bottom_companion_birthdays">Cumpleaños de esta semana</string>
<string name="bottom_companion_birthday_today">%1$s: cumpleaños hoy</string>
<string name="bottom_companion_birthday_in">%1$s: cumpleaños en %2$d días</string>
<string name="bottom_companion_quests">Misiones</string>
<string name="bottom_companion_skyrim_missing">Instala el plugin SkyrimWebSocket para SKSE para ver tu personaje aquí.</string>
<string name="bottom_companion_pipboy_missing">Instala el plugin Thor Pip-Boy para F4SE para ver tu Pip-Boy aquí.</string>
<string name="bottom_companion_level">Nivel %1$d</string>
<string name="bottom_companion_magicka">Magia</string>
<string name="bottom_companion_stamina">Aguante</string>
<string name="bottom_companion_action_points">Puntos de acción</string>
<string name="bottom_companion_caps">%1$s chapas</string>
<string name="bottom_companion_rads">%1$s rads</string>
<string name="bottom_companion_favorites">Favoritos</string>
<string name="bottom_companion_radio_on">Encender la radio</string>
<string name="bottom_companion_radio_off">Apagar la radio</string>
<string name="bottom_page_telemetry">Estadísticas del juego</string>
<string name="bottom_hud_group">HUD de la pantalla inferior</string>
<string name="bottom_strip_tabs">Franja en todas las pestañas</string>
+21
View File
@@ -2087,6 +2087,27 @@
<string name="bottom_guides_back">Всички ръководства</string>
<string name="bottom_guides_empty">Все още няма ръководства в Steam за тази игра.</string>
<string name="bottom_guides_failed">Ръководствата в Steam не се заредиха. Опитайте отново, когато сте онлайн.</string>
<string name="bottom_page_companion">Придружител</string>
<string name="bottom_companion_none">Все още няма страница-придружител за тази игра. Stardew Valley има.</string>
<string name="bottom_companion_stardew_missing">Инсталирайте мода за два екрана на Stardew Valley за SMAPI, за да виждате фермата си тук.</string>
<string name="bottom_companion_title_screen">Заредете запис, за да видите фермата си тук.</string>
<string name="bottom_companion_energy">Енергия</string>
<string name="bottom_companion_health">Здраве</string>
<string name="bottom_companion_birthdays">Рождени дни тази седмица</string>
<string name="bottom_companion_birthday_today">%1$s: рожден ден днес</string>
<string name="bottom_companion_birthday_in">%1$s: рожден ден след %2$d дни</string>
<string name="bottom_companion_quests">Задачи</string>
<string name="bottom_companion_skyrim_missing">Инсталирайте приставката SkyrimWebSocket за SKSE, за да виждате героя си тук.</string>
<string name="bottom_companion_pipboy_missing">Инсталирайте приставката Thor Pip-Boy за F4SE, за да виждате своя Pip-Boy тук.</string>
<string name="bottom_companion_level">Ниво %1$d</string>
<string name="bottom_companion_magicka">Магия</string>
<string name="bottom_companion_stamina">Издръжливост</string>
<string name="bottom_companion_action_points">Точки за действие</string>
<string name="bottom_companion_caps">%1$s капачки</string>
<string name="bottom_companion_rads">%1$s рада</string>
<string name="bottom_companion_favorites">Любими</string>
<string name="bottom_companion_radio_on">Включи радиото</string>
<string name="bottom_companion_radio_off">Изключи радиото</string>
<string name="bottom_page_telemetry">Статистика в играта</string>
<string name="bottom_hud_group">HUD на долния екран</string>
<string name="bottom_strip_tabs">Лента на всеки раздел</string>
+21
View File
@@ -2137,6 +2137,27 @@
<string name="bottom_guides_back">Všechny návody</string>
<string name="bottom_guides_empty">Pro tuto hru zatím nejsou žádné návody na Steamu.</string>
<string name="bottom_guides_failed">Návody ze Steamu se nepodařilo načíst. Zkuste to znovu, až budete online.</string>
<string name="bottom_page_companion">Společník</string>
<string name="bottom_companion_none">Pro tuto hru zatím není stránka společníka. Stardew Valley ji má.</string>
<string name="bottom_companion_stardew_missing">Nainstalujte mód dvou obrazovek pro Stardew Valley (SMAPI) a uvidíte zde svou farmu.</string>
<string name="bottom_companion_title_screen">Načtěte uloženou hru a uvidíte zde svou farmu.</string>
<string name="bottom_companion_energy">Energie</string>
<string name="bottom_companion_health">Zdraví</string>
<string name="bottom_companion_birthdays">Narozeniny tento týden</string>
<string name="bottom_companion_birthday_today">%1$s: narozeniny dnes</string>
<string name="bottom_companion_birthday_in">%1$s: narozeniny za %2$d dní</string>
<string name="bottom_companion_quests">Úkoly</string>
<string name="bottom_companion_skyrim_missing">Nainstalujte plugin SkyrimWebSocket pro SKSE a uvidíte zde svou postavu.</string>
<string name="bottom_companion_pipboy_missing">Nainstalujte plugin Thor Pip-Boy pro F4SE a uvidíte zde svůj Pip-Boy.</string>
<string name="bottom_companion_level">Úroveň %1$d</string>
<string name="bottom_companion_magicka">Magie</string>
<string name="bottom_companion_stamina">Výdrž</string>
<string name="bottom_companion_action_points">Akční body</string>
<string name="bottom_companion_caps">%1$s víček</string>
<string name="bottom_companion_rads">%1$s radů</string>
<string name="bottom_companion_favorites">Oblíbené</string>
<string name="bottom_companion_radio_on">Zapnout rádio</string>
<string name="bottom_companion_radio_off">Vypnout rádio</string>
<string name="bottom_page_telemetry">Statistiky ve hře</string>
<string name="bottom_hud_group">HUD na spodní obrazovce</string>
<string name="bottom_strip_tabs">Lišta na každé kartě</string>
+21
View File
@@ -2087,6 +2087,27 @@
<string name="bottom_guides_back">Alle guides</string>
<string name="bottom_guides_empty">Der er endnu ingen Steam-guides til dette spil.</string>
<string name="bottom_guides_failed">Kunne ikke hente Steam-guides. Prøv igen, når du er online.</string>
<string name="bottom_page_companion">Ledsager</string>
<string name="bottom_companion_none">Der er endnu ingen ledsagerside til dette spil. Stardew Valley har en.</string>
<string name="bottom_companion_stardew_missing">Installer Stardew Valleys dobbeltskærms-mod til SMAPI for at se din gård her.</string>
<string name="bottom_companion_title_screen">Indlæs et gemt spil for at se din gård her.</string>
<string name="bottom_companion_energy">Energi</string>
<string name="bottom_companion_health">Helbred</string>
<string name="bottom_companion_birthdays">Fødselsdage denne uge</string>
<string name="bottom_companion_birthday_today">%1$s: fødselsdag i dag</string>
<string name="bottom_companion_birthday_in">%1$s: fødselsdag om %2$d dage</string>
<string name="bottom_companion_quests">Opgaver</string>
<string name="bottom_companion_skyrim_missing">Installer SkyrimWebSocket-pluginnet til SKSE for at se din figur her.</string>
<string name="bottom_companion_pipboy_missing">Installer Thor Pip-Boy-pluginnet til F4SE for at se din Pip-Boy her.</string>
<string name="bottom_companion_level">Niveau %1$d</string>
<string name="bottom_companion_magicka">Magika</string>
<string name="bottom_companion_stamina">Udholdenhed</string>
<string name="bottom_companion_action_points">Handlingspoint</string>
<string name="bottom_companion_caps">%1$s kapsler</string>
<string name="bottom_companion_rads">%1$s rad</string>
<string name="bottom_companion_favorites">Favoritter</string>
<string name="bottom_companion_radio_on">Tænd radioen</string>
<string name="bottom_companion_radio_off">Sluk radioen</string>
<string name="bottom_page_telemetry">Statistik i spillet</string>
<string name="bottom_hud_group">HUD på nederste skærm</string>
<string name="bottom_strip_tabs">Stribe på alle faner</string>
+21
View File
@@ -2079,6 +2079,27 @@
<string name="bottom_guides_back">Alle Anleitungen</string>
<string name="bottom_guides_empty">Für dieses Spiel gibt es noch keine Steam-Anleitungen.</string>
<string name="bottom_guides_failed">Steam-Anleitungen konnten nicht geladen werden. Versuche es erneut, sobald du online bist.</string>
<string name="bottom_page_companion">Begleiter</string>
<string name="bottom_companion_none">Für dieses Spiel gibt es noch keine Begleitseite. Stardew Valley hat eine.</string>
<string name="bottom_companion_stardew_missing">Installiere die Dual-Screen-Mod für Stardew Valley (SMAPI), um hier deinen Hof zu sehen.</string>
<string name="bottom_companion_title_screen">Lade einen Spielstand, um hier deinen Hof zu sehen.</string>
<string name="bottom_companion_energy">Energie</string>
<string name="bottom_companion_health">Gesundheit</string>
<string name="bottom_companion_birthdays">Geburtstage diese Woche</string>
<string name="bottom_companion_birthday_today">%1$s: Geburtstag heute</string>
<string name="bottom_companion_birthday_in">%1$s: Geburtstag in %2$d Tagen</string>
<string name="bottom_companion_quests">Quests</string>
<string name="bottom_companion_skyrim_missing">Installiere das SKSE-Plugin SkyrimWebSocket, um hier deinen Charakter zu sehen.</string>
<string name="bottom_companion_pipboy_missing">Installiere das F4SE-Plugin Thor Pip-Boy, um hier deinen Pip-Boy zu sehen.</string>
<string name="bottom_companion_level">Stufe %1$d</string>
<string name="bottom_companion_magicka">Magicka</string>
<string name="bottom_companion_stamina">Ausdauer</string>
<string name="bottom_companion_action_points">Aktionspunkte</string>
<string name="bottom_companion_caps">%1$s Kronkorken</string>
<string name="bottom_companion_rads">%1$s Rads</string>
<string name="bottom_companion_favorites">Favoriten</string>
<string name="bottom_companion_radio_on">Radio einschalten</string>
<string name="bottom_companion_radio_off">Radio ausschalten</string>
<string name="bottom_page_telemetry">Spielstatistiken</string>
<string name="bottom_hud_group">HUD für den unteren Bildschirm</string>
<string name="bottom_strip_tabs">Leiste auf jedem Tab</string>
+21
View File
@@ -2087,6 +2087,27 @@
<string name="bottom_guides_back">Όλοι οι οδηγοί</string>
<string name="bottom_guides_empty">Δεν υπάρχουν ακόμη οδηγοί Steam για αυτό το παιχνίδι.</string>
<string name="bottom_guides_failed">Δεν ήταν δυνατή η φόρτωση των οδηγών Steam. Δοκιμάστε ξανά όταν είστε online.</string>
<string name="bottom_page_companion">Συνοδός</string>
<string name="bottom_companion_none">Δεν υπάρχει ακόμη σελίδα συνοδού για αυτό το παιχνίδι. Το Stardew Valley έχει.</string>
<string name="bottom_companion_stardew_missing">Εγκαταστήστε το mod διπλής οθόνης του Stardew Valley για SMAPI για να βλέπετε εδώ τη φάρμα σας.</string>
<string name="bottom_companion_title_screen">Φορτώστε μια αποθήκευση για να δείτε εδώ τη φάρμα σας.</string>
<string name="bottom_companion_energy">Ενέργεια</string>
<string name="bottom_companion_health">Υγεία</string>
<string name="bottom_companion_birthdays">Γενέθλια αυτή την εβδομάδα</string>
<string name="bottom_companion_birthday_today">%1$s: γενέθλια σήμερα</string>
<string name="bottom_companion_birthday_in">%1$s: γενέθλια σε %2$d ημέρες</string>
<string name="bottom_companion_quests">Αποστολές</string>
<string name="bottom_companion_skyrim_missing">Εγκαταστήστε το πρόσθετο SkyrimWebSocket για SKSE για να βλέπετε εδώ τον χαρακτήρα σας.</string>
<string name="bottom_companion_pipboy_missing">Εγκαταστήστε το πρόσθετο Thor Pip-Boy για F4SE για να βλέπετε εδώ το Pip-Boy σας.</string>
<string name="bottom_companion_level">Επίπεδο %1$d</string>
<string name="bottom_companion_magicka">Μαγεία</string>
<string name="bottom_companion_stamina">Αντοχή</string>
<string name="bottom_companion_action_points">Πόντοι δράσης</string>
<string name="bottom_companion_caps">%1$s καπάκια</string>
<string name="bottom_companion_rads">%1$s rads</string>
<string name="bottom_companion_favorites">Αγαπημένα</string>
<string name="bottom_companion_radio_on">Ενεργοποίηση ραδιοφώνου</string>
<string name="bottom_companion_radio_off">Απενεργοποίηση ραδιοφώνου</string>
<string name="bottom_page_telemetry">Στατιστικά παιχνιδιού</string>
<string name="bottom_hud_group">HUD κάτω οθόνης</string>
<string name="bottom_strip_tabs">Λωρίδα σε κάθε καρτέλα</string>
+21
View File
@@ -2112,6 +2112,27 @@
<string name="bottom_guides_back">Todas las guías</string>
<string name="bottom_guides_empty">Este juego aún no tiene guías de Steam.</string>
<string name="bottom_guides_failed">No se han podido cargar las guías de Steam. Vuelve a intentarlo cuando tengas conexión.</string>
<string name="bottom_page_companion">Compañero</string>
<string name="bottom_companion_none">Este juego aún no tiene página de compañero. Stardew Valley sí tiene una.</string>
<string name="bottom_companion_stardew_missing">Instala el mod de doble pantalla de Stardew Valley para SMAPI para ver tu granja aquí.</string>
<string name="bottom_companion_title_screen">Carga una partida para ver tu granja aquí.</string>
<string name="bottom_companion_energy">Energía</string>
<string name="bottom_companion_health">Salud</string>
<string name="bottom_companion_birthdays">Cumpleaños de esta semana</string>
<string name="bottom_companion_birthday_today">%1$s: cumpleaños hoy</string>
<string name="bottom_companion_birthday_in">%1$s: cumpleaños en %2$d días</string>
<string name="bottom_companion_quests">Misiones</string>
<string name="bottom_companion_skyrim_missing">Instala el plugin SkyrimWebSocket para SKSE para ver tu personaje aquí.</string>
<string name="bottom_companion_pipboy_missing">Instala el plugin Thor Pip-Boy para F4SE para ver tu Pip-Boy aquí.</string>
<string name="bottom_companion_level">Nivel %1$d</string>
<string name="bottom_companion_magicka">Magia</string>
<string name="bottom_companion_stamina">Aguante</string>
<string name="bottom_companion_action_points">Puntos de acción</string>
<string name="bottom_companion_caps">%1$s chapas</string>
<string name="bottom_companion_rads">%1$s rads</string>
<string name="bottom_companion_favorites">Favoritos</string>
<string name="bottom_companion_radio_on">Encender la radio</string>
<string name="bottom_companion_radio_off">Apagar la radio</string>
<string name="bottom_page_telemetry">Estadísticas del juego</string>
<string name="bottom_hud_group">HUD de la pantalla inferior</string>
<string name="bottom_strip_tabs">Barra en todas las pestañas</string>
+21
View File
@@ -2087,6 +2087,27 @@
<string name="bottom_guides_back">Kaikki oppaat</string>
<string name="bottom_guides_empty">Tälle pelille ei ole vielä Steam-oppaita.</string>
<string name="bottom_guides_failed">Steam-oppaiden lataus epäonnistui. Yritä uudelleen, kun olet verkossa.</string>
<string name="bottom_page_companion">Kumppani</string>
<string name="bottom_companion_none">Tälle pelille ei ole vielä kumppanisivua. Stardew Valleylla on.</string>
<string name="bottom_companion_stardew_missing">Asenna Stardew Valleyn kaksoisnäyttömodi SMAPIlle nähdäksesi tilasi täällä.</string>
<string name="bottom_companion_title_screen">Lataa tallennus nähdäksesi tilasi täällä.</string>
<string name="bottom_companion_energy">Energia</string>
<string name="bottom_companion_health">Terveys</string>
<string name="bottom_companion_birthdays">Syntymäpäivät tällä viikolla</string>
<string name="bottom_companion_birthday_today">%1$s: syntymäpäivä tänään</string>
<string name="bottom_companion_birthday_in">%1$s: syntymäpäivä %2$d päivän päästä</string>
<string name="bottom_companion_quests">Tehtävät</string>
<string name="bottom_companion_skyrim_missing">Asenna SKSE:n SkyrimWebSocket-liitännäinen nähdäksesi hahmosi täällä.</string>
<string name="bottom_companion_pipboy_missing">Asenna F4SE:n Thor Pip-Boy -liitännäinen nähdäksesi Pip-Boysi täällä.</string>
<string name="bottom_companion_level">Taso %1$d</string>
<string name="bottom_companion_magicka">Taikavoima</string>
<string name="bottom_companion_stamina">Kestävyys</string>
<string name="bottom_companion_action_points">Toimintapisteet</string>
<string name="bottom_companion_caps">%1$s korkkia</string>
<string name="bottom_companion_rads">%1$s radia</string>
<string name="bottom_companion_favorites">Suosikit</string>
<string name="bottom_companion_radio_on">Laita radio päälle</string>
<string name="bottom_companion_radio_off">Sammuta radio</string>
<string name="bottom_page_telemetry">Pelinsisäiset tilastot</string>
<string name="bottom_hud_group">Alanäytön HUD</string>
<string name="bottom_strip_tabs">Palkki kaikilla välilehdillä</string>
+21
View File
@@ -2111,6 +2111,27 @@
<string name="bottom_guides_back">Tous les guides</string>
<string name="bottom_guides_empty">Ce jeu n’a pas encore de guides Steam.</string>
<string name="bottom_guides_failed">Impossible de charger les guides Steam. Réessayez une fois en ligne.</string>
<string name="bottom_page_companion">Compagnon</string>
<string name="bottom_companion_none">Ce jeu n’a pas encore de page compagnon. Stardew Valley en a une.</string>
<string name="bottom_companion_stardew_missing">Installez le mod double écran de Stardew Valley pour SMAPI pour voir votre ferme ici.</string>
<string name="bottom_companion_title_screen">Chargez une partie pour voir votre ferme ici.</string>
<string name="bottom_companion_energy">Énergie</string>
<string name="bottom_companion_health">Santé</string>
<string name="bottom_companion_birthdays">Anniversaires de la semaine</string>
<string name="bottom_companion_birthday_today">%1$s : anniversaire aujourd’hui</string>
<string name="bottom_companion_birthday_in">%1$s : anniversaire dans %2$d jours</string>
<string name="bottom_companion_quests">Quêtes</string>
<string name="bottom_companion_skyrim_missing">Installez le plugin SKSE SkyrimWebSocket pour voir votre personnage ici.</string>
<string name="bottom_companion_pipboy_missing">Installez le plugin F4SE Thor Pip-Boy pour voir votre Pip-Boy ici.</string>
<string name="bottom_companion_level">Niveau %1$d</string>
<string name="bottom_companion_magicka">Magie</string>
<string name="bottom_companion_stamina">Vigueur</string>
<string name="bottom_companion_action_points">Points d’action</string>
<string name="bottom_companion_caps">%1$s capsules</string>
<string name="bottom_companion_rads">%1$s rads</string>
<string name="bottom_companion_favorites">Favoris</string>
<string name="bottom_companion_radio_on">Allumer la radio</string>
<string name="bottom_companion_radio_off">Éteindre la radio</string>
<string name="bottom_page_telemetry">Statistiques en jeu</string>
<string name="bottom_hud_group">HUD de l\'écran du bas</string>
<string name="bottom_strip_tabs">Bande sur tous les onglets</string>
+21
View File
@@ -2087,6 +2087,27 @@
<string name="bottom_guides_back">सभी गाइड</string>
<string name="bottom_guides_empty">इस गेम के लिए अभी कोई Steam गाइड नहीं है।</string>
<string name="bottom_guides_failed">Steam गाइड लोड नहीं हो सके। ऑनलाइन होने पर फिर देखें।</string>
<string name="bottom_page_companion">साथी</string>
<string name="bottom_companion_none">इस गेम के लिए अभी कोई साथी पेज नहीं है। Stardew Valley के लिए है।</string>
<string name="bottom_companion_stardew_missing">अपना फ़ार्म यहाँ देखने के लिए SMAPI के लिए Stardew Valley का डुअल-स्क्रीन मॉड इंस्टॉल करें।</string>
<string name="bottom_companion_title_screen">अपना फ़ार्म यहाँ देखने के लिए कोई सेव लोड करें।</string>
<string name="bottom_companion_energy">ऊर्जा</string>
<string name="bottom_companion_health">स्वास्थ्य</string>
<string name="bottom_companion_birthdays">इस हफ़्ते के जन्मदिन</string>
<string name="bottom_companion_birthday_today">%1$s: आज जन्मदिन</string>
<string name="bottom_companion_birthday_in">%1$s: %2$d दिन में जन्मदिन</string>
<string name="bottom_companion_quests">क्वेस्ट</string>
<string name="bottom_companion_skyrim_missing">अपना किरदार यहाँ देखने के लिए SKSE का SkyrimWebSocket प्लगइन इंस्टॉल करें।</string>
<string name="bottom_companion_pipboy_missing">अपना Pip-Boy यहाँ देखने के लिए F4SE का Thor Pip-Boy प्लगइन इंस्टॉल करें।</string>
<string name="bottom_companion_level">लेवल %1$d</string>
<string name="bottom_companion_magicka">मैजिका</string>
<string name="bottom_companion_stamina">स्टैमिना</string>
<string name="bottom_companion_action_points">एक्शन पॉइंट</string>
<string name="bottom_companion_caps">%1$s कैप्स</string>
<string name="bottom_companion_rads">%1$s रैड</string>
<string name="bottom_companion_favorites">पसंदीदा</string>
<string name="bottom_companion_radio_on">रेडियो चालू करें</string>
<string name="bottom_companion_radio_off">रेडियो बंद करें</string>
<string name="bottom_page_telemetry">इन-गेम आंकड़े</string>
<string name="bottom_hud_group">निचली स्क्रीन HUD</string>
<string name="bottom_strip_tabs">हर टैब पर स्ट्रिप</string>
+21
View File
@@ -2087,6 +2087,27 @@
<string name="bottom_guides_back">Összes útmutató</string>
<string name="bottom_guides_empty">Ehhez a játékhoz még nincs Steam-útmutató.</string>
<string name="bottom_guides_failed">Nem sikerült betölteni a Steam-útmutatókat. Próbáld újra, ha online vagy.</string>
<string name="bottom_page_companion">Társ</string>
<string name="bottom_companion_none">Ehhez a játékhoz még nincs társoldal. A Stardew Valley-hez van.</string>
<string name="bottom_companion_stardew_missing">Telepítsd a Stardew Valley kétképernyős modját (SMAPI), hogy itt lásd a farmodat.</string>
<string name="bottom_companion_title_screen">Tölts be egy mentést, hogy itt lásd a farmodat.</string>
<string name="bottom_companion_energy">Energia</string>
<string name="bottom_companion_health">Életerő</string>
<string name="bottom_companion_birthdays">E heti születésnapok</string>
<string name="bottom_companion_birthday_today">%1$s: ma van a születésnapja</string>
<string name="bottom_companion_birthday_in">%1$s: születésnap %2$d nap múlva</string>
<string name="bottom_companion_quests">Küldetések</string>
<string name="bottom_companion_skyrim_missing">Telepítsd a SkyrimWebSocket SKSE-bővítményt, hogy itt lásd a karakteredet.</string>
<string name="bottom_companion_pipboy_missing">Telepítsd a Thor Pip-Boy F4SE-bővítményt, hogy itt lásd a Pip-Boyodat.</string>
<string name="bottom_companion_level">%1$d. szint</string>
<string name="bottom_companion_magicka">Mágia</string>
<string name="bottom_companion_stamina">Állóképesség</string>
<string name="bottom_companion_action_points">Akciópontok</string>
<string name="bottom_companion_caps">%1$s kupak</string>
<string name="bottom_companion_rads">%1$s rad</string>
<string name="bottom_companion_favorites">Kedvencek</string>
<string name="bottom_companion_radio_on">Rádió bekapcsolása</string>
<string name="bottom_companion_radio_off">Rádió kikapcsolása</string>
<string name="bottom_page_telemetry">Játékon belüli statisztikák</string>
<string name="bottom_hud_group">HUD az alsó képernyőn</string>
<string name="bottom_strip_tabs">Sáv minden lapon</string>
+21
View File
@@ -2063,6 +2063,27 @@
<string name="bottom_guides_back">Semua panduan</string>
<string name="bottom_guides_empty">Belum ada panduan Steam untuk game ini.</string>
<string name="bottom_guides_failed">Tidak dapat memuat panduan Steam. Coba lagi saat Anda online.</string>
<string name="bottom_page_companion">Pendamping</string>
<string name="bottom_companion_none">Belum ada halaman pendamping untuk game ini. Stardew Valley sudah punya.</string>
<string name="bottom_companion_stardew_missing">Pasang mod layar ganda Stardew Valley untuk SMAPI agar pertanian Anda tampil di sini.</string>
<string name="bottom_companion_title_screen">Muat simpanan untuk melihat pertanian Anda di sini.</string>
<string name="bottom_companion_energy">Energi</string>
<string name="bottom_companion_health">Kesehatan</string>
<string name="bottom_companion_birthdays">Ulang tahun minggu ini</string>
<string name="bottom_companion_birthday_today">%1$s: ulang tahun hari ini</string>
<string name="bottom_companion_birthday_in">%1$s: ulang tahun %2$d hari lagi</string>
<string name="bottom_companion_quests">Misi</string>
<string name="bottom_companion_skyrim_missing">Pasang plugin SKSE SkyrimWebSocket untuk melihat karakter Anda di sini.</string>
<string name="bottom_companion_pipboy_missing">Pasang plugin F4SE Thor Pip-Boy untuk melihat Pip-Boy Anda di sini.</string>
<string name="bottom_companion_level">Level %1$d</string>
<string name="bottom_companion_magicka">Magicka</string>
<string name="bottom_companion_stamina">Stamina</string>
<string name="bottom_companion_action_points">Poin aksi</string>
<string name="bottom_companion_caps">%1$s tutup botol</string>
<string name="bottom_companion_rads">%1$s rad</string>
<string name="bottom_companion_favorites">Favorit</string>
<string name="bottom_companion_radio_on">Nyalakan radio</string>
<string name="bottom_companion_radio_off">Matikan radio</string>
<string name="bottom_page_telemetry">Statistik dalam gim</string>
<string name="bottom_hud_group">HUD layar bawah</string>
<string name="bottom_strip_tabs">Strip di setiap tab</string>
+21
View File
@@ -2103,6 +2103,27 @@
<string name="bottom_guides_back">Tutte le guide</string>
<string name="bottom_guides_empty">Non ci sono ancora guide di Steam per questo gioco.</string>
<string name="bottom_guides_failed">Impossibile caricare le guide di Steam. Riprova quando sei online.</string>
<string name="bottom_page_companion">Compagno</string>
<string name="bottom_companion_none">Questo gioco non ha ancora una pagina compagno. Stardew Valley ne ha una.</string>
<string name="bottom_companion_stardew_missing">Installa la mod a doppio schermo di Stardew Valley per SMAPI per vedere qui la tua fattoria.</string>
<string name="bottom_companion_title_screen">Carica un salvataggio per vedere qui la tua fattoria.</string>
<string name="bottom_companion_energy">Energia</string>
<string name="bottom_companion_health">Salute</string>
<string name="bottom_companion_birthdays">Compleanni della settimana</string>
<string name="bottom_companion_birthday_today">%1$s: compleanno oggi</string>
<string name="bottom_companion_birthday_in">%1$s: compleanno tra %2$d giorni</string>
<string name="bottom_companion_quests">Missioni</string>
<string name="bottom_companion_skyrim_missing">Installa il plugin SKSE SkyrimWebSocket per vedere qui il tuo personaggio.</string>
<string name="bottom_companion_pipboy_missing">Installa il plugin F4SE Thor Pip-Boy per vedere qui il tuo Pip-Boy.</string>
<string name="bottom_companion_level">Livello %1$d</string>
<string name="bottom_companion_magicka">Magicka</string>
<string name="bottom_companion_stamina">Vigore</string>
<string name="bottom_companion_action_points">Punti azione</string>
<string name="bottom_companion_caps">%1$s tappi</string>
<string name="bottom_companion_rads">%1$s rad</string>
<string name="bottom_companion_favorites">Preferiti</string>
<string name="bottom_companion_radio_on">Accendi la radio</string>
<string name="bottom_companion_radio_off">Spegni la radio</string>
<string name="bottom_page_telemetry">Statistiche di gioco</string>
<string name="bottom_hud_group">HUD dello schermo inferiore</string>
<string name="bottom_strip_tabs">Barra su ogni scheda</string>
+21
View File
@@ -2063,6 +2063,27 @@
<string name="bottom_guides_back">すべてのガイド</string>
<string name="bottom_guides_empty">このゲームの Steam ガイドはまだありません。</string>
<string name="bottom_guides_failed">Steam ガイドを読み込めませんでした。オンラインになってから再度お試しください。</string>
<string name="bottom_page_companion">コンパニオン</string>
<string name="bottom_companion_none">このゲームのコンパニオンページはまだありません。Stardew Valley には対応しています。</string>
<string name="bottom_companion_stardew_missing">農場をここに表示するには、SMAPI 用の Stardew Valley デュアルスクリーン MOD をインストールしてください。</string>
<string name="bottom_companion_title_screen">セーブデータを読み込むと、ここに農場が表示されます。</string>
<string name="bottom_companion_energy">スタミナ</string>
<string name="bottom_companion_health">体力</string>
<string name="bottom_companion_birthdays">今週の誕生日</string>
<string name="bottom_companion_birthday_today">%1$s: 今日が誕生日</string>
<string name="bottom_companion_birthday_in">%1$s: 誕生日まであと %2$d 日</string>
<string name="bottom_companion_quests">クエスト</string>
<string name="bottom_companion_skyrim_missing">キャラクターをここに表示するには、SKSE プラグイン SkyrimWebSocket をインストールしてください。</string>
<string name="bottom_companion_pipboy_missing">Pip-Boy をここに表示するには、F4SE プラグイン Thor Pip-Boy をインストールしてください。</string>
<string name="bottom_companion_level">レベル %1$d</string>
<string name="bottom_companion_magicka">マジカ</string>
<string name="bottom_companion_stamina">スタミナ</string>
<string name="bottom_companion_action_points">アクションポイント</string>
<string name="bottom_companion_caps">%1$s キャップ</string>
<string name="bottom_companion_rads">%1$s rad</string>
<string name="bottom_companion_favorites">お気に入り</string>
<string name="bottom_companion_radio_on">ラジオをオン</string>
<string name="bottom_companion_radio_off">ラジオをオフ</string>
<string name="bottom_page_telemetry">ゲーム内統計</string>
<string name="bottom_hud_group">下部画面の HUD</string>
<string name="bottom_strip_tabs">すべてのタブにストリップを表示</string>
+21
View File
@@ -2063,6 +2063,27 @@
<string name="bottom_guides_back">모든 가이드</string>
<string name="bottom_guides_empty">이 게임에는 아직 Steam 가이드가 없습니다.</string>
<string name="bottom_guides_failed">Steam 가이드를 불러오지 못했습니다. 온라인 상태에서 다시 확인하세요.</string>
<string name="bottom_page_companion">컴패니언</string>
<string name="bottom_companion_none">이 게임에는 아직 컴패니언 페이지가 없습니다. Stardew Valley는 지원합니다.</string>
<string name="bottom_companion_stardew_missing">농장을 여기에서 보려면 SMAPI용 Stardew Valley 듀얼 스크린 모드를 설치하세요.</string>
<string name="bottom_companion_title_screen">저장 파일을 불러오면 여기에 농장이 표시됩니다.</string>
<string name="bottom_companion_energy">기력</string>
<string name="bottom_companion_health">체력</string>
<string name="bottom_companion_birthdays">이번 주 생일</string>
<string name="bottom_companion_birthday_today">%1$s: 오늘 생일</string>
<string name="bottom_companion_birthday_in">%1$s: %2$d일 후 생일</string>
<string name="bottom_companion_quests">퀘스트</string>
<string name="bottom_companion_skyrim_missing">캐릭터를 여기에서 보려면 SKSE 플러그인 SkyrimWebSocket을 설치하세요.</string>
<string name="bottom_companion_pipboy_missing">Pip-Boy를 여기에서 보려면 F4SE 플러그인 Thor Pip-Boy를 설치하세요.</string>
<string name="bottom_companion_level">레벨 %1$d</string>
<string name="bottom_companion_magicka">매지카</string>
<string name="bottom_companion_stamina">지구력</string>
<string name="bottom_companion_action_points">액션 포인트</string>
<string name="bottom_companion_caps">%1$s 캡</string>
<string name="bottom_companion_rads">%1$s 라드</string>
<string name="bottom_companion_favorites">즐겨찾기</string>
<string name="bottom_companion_radio_on">라디오 켜기</string>
<string name="bottom_companion_radio_off">라디오 끄기</string>
<string name="bottom_page_telemetry">게임 내 통계</string>
<string name="bottom_hud_group">하단 화면 HUD</string>
<string name="bottom_strip_tabs">모든 탭에 스트립 표시</string>
+21
View File
@@ -2063,6 +2063,27 @@
<string name="bottom_guides_back">Semua panduan</string>
<string name="bottom_guides_empty">Belum ada panduan Steam untuk permainan ini.</string>
<string name="bottom_guides_failed">Tidak dapat memuatkan panduan Steam. Cuba lagi apabila anda dalam talian.</string>
<string name="bottom_page_companion">Peneman</string>
<string name="bottom_companion_none">Belum ada halaman peneman untuk permainan ini. Stardew Valley ada.</string>
<string name="bottom_companion_stardew_missing">Pasang mod dwi-skrin Stardew Valley untuk SMAPI untuk melihat ladang anda di sini.</string>
<string name="bottom_companion_title_screen">Muatkan simpanan untuk melihat ladang anda di sini.</string>
<string name="bottom_companion_energy">Tenaga</string>
<string name="bottom_companion_health">Kesihatan</string>
<string name="bottom_companion_birthdays">Hari jadi minggu ini</string>
<string name="bottom_companion_birthday_today">%1$s: hari jadi hari ini</string>
<string name="bottom_companion_birthday_in">%1$s: hari jadi dalam %2$d hari</string>
<string name="bottom_companion_quests">Misi</string>
<string name="bottom_companion_skyrim_missing">Pasang pemalam SKSE SkyrimWebSocket untuk melihat watak anda di sini.</string>
<string name="bottom_companion_pipboy_missing">Pasang pemalam F4SE Thor Pip-Boy untuk melihat Pip-Boy anda di sini.</string>
<string name="bottom_companion_level">Tahap %1$d</string>
<string name="bottom_companion_magicka">Magicka</string>
<string name="bottom_companion_stamina">Stamina</string>
<string name="bottom_companion_action_points">Mata tindakan</string>
<string name="bottom_companion_caps">%1$s penutup botol</string>
<string name="bottom_companion_rads">%1$s rad</string>
<string name="bottom_companion_favorites">Kegemaran</string>
<string name="bottom_companion_radio_on">Hidupkan radio</string>
<string name="bottom_companion_radio_off">Matikan radio</string>
<string name="bottom_page_telemetry">Statistik dalam permainan</string>
<string name="bottom_hud_group">HUD skrin bawah</string>
<string name="bottom_strip_tabs">Jalur pada setiap tab</string>
+21
View File
@@ -2087,6 +2087,27 @@
<string name="bottom_guides_back">Alle guider</string>
<string name="bottom_guides_empty">Det finnes ingen Steam-guider for dette spillet ennå.</string>
<string name="bottom_guides_failed">Kunne ikke laste Steam-guider. Prøv igjen når du er på nett.</string>
<string name="bottom_page_companion">Følgesvenn</string>
<string name="bottom_companion_none">Det finnes ingen følgesvennside for dette spillet ennå. Stardew Valley har en.</string>
<string name="bottom_companion_stardew_missing">Installer Stardew Valleys tosjermsmod for SMAPI for å se gården din her.</string>
<string name="bottom_companion_title_screen">Last inn en lagring for å se gården din her.</string>
<string name="bottom_companion_energy">Energi</string>
<string name="bottom_companion_health">Helse</string>
<string name="bottom_companion_birthdays">Bursdager denne uken</string>
<string name="bottom_companion_birthday_today">%1$s: bursdag i dag</string>
<string name="bottom_companion_birthday_in">%1$s: bursdag om %2$d dager</string>
<string name="bottom_companion_quests">Oppdrag</string>
<string name="bottom_companion_skyrim_missing">Installer SKSE-tillegget SkyrimWebSocket for å se figuren din her.</string>
<string name="bottom_companion_pipboy_missing">Installer F4SE-tillegget Thor Pip-Boy for å se Pip-Boyen din her.</string>
<string name="bottom_companion_level">Nivå %1$d</string>
<string name="bottom_companion_magicka">Magika</string>
<string name="bottom_companion_stamina">Utholdenhet</string>
<string name="bottom_companion_action_points">Handlingspoeng</string>
<string name="bottom_companion_caps">%1$s korker</string>
<string name="bottom_companion_rads">%1$s rad</string>
<string name="bottom_companion_favorites">Favoritter</string>
<string name="bottom_companion_radio_on">Slå på radioen</string>
<string name="bottom_companion_radio_off">Slå av radioen</string>
<string name="bottom_page_telemetry">Statistikk i spillet</string>
<string name="bottom_hud_group">HUD på bunnskjermen</string>
<string name="bottom_strip_tabs">Stripe på hver fane</string>
+21
View File
@@ -2087,6 +2087,27 @@
<string name="bottom_guides_back">Alle handleidingen</string>
<string name="bottom_guides_empty">Er zijn nog geen Steam-handleidingen voor deze game.</string>
<string name="bottom_guides_failed">Kan Steam-handleidingen niet laden. Probeer het opnieuw wanneer je online bent.</string>
<string name="bottom_page_companion">Metgezel</string>
<string name="bottom_companion_none">Er is nog geen metgezelpagina voor deze game. Stardew Valley heeft er een.</string>
<string name="bottom_companion_stardew_missing">Installeer de dual-screen-mod voor Stardew Valley (SMAPI) om hier je boerderij te zien.</string>
<string name="bottom_companion_title_screen">Laad een opgeslagen spel om hier je boerderij te zien.</string>
<string name="bottom_companion_energy">Energie</string>
<string name="bottom_companion_health">Gezondheid</string>
<string name="bottom_companion_birthdays">Verjaardagen deze week</string>
<string name="bottom_companion_birthday_today">%1$s: vandaag jarig</string>
<string name="bottom_companion_birthday_in">%1$s: jarig over %2$d dagen</string>
<string name="bottom_companion_quests">Opdrachten</string>
<string name="bottom_companion_skyrim_missing">Installeer de SKSE-plugin SkyrimWebSocket om hier je personage te zien.</string>
<string name="bottom_companion_pipboy_missing">Installeer de F4SE-plugin Thor Pip-Boy om hier je Pip-Boy te zien.</string>
<string name="bottom_companion_level">Niveau %1$d</string>
<string name="bottom_companion_magicka">Magicka</string>
<string name="bottom_companion_stamina">Uithoudingsvermogen</string>
<string name="bottom_companion_action_points">Actiepunten</string>
<string name="bottom_companion_caps">%1$s doppen</string>
<string name="bottom_companion_rads">%1$s rads</string>
<string name="bottom_companion_favorites">Favorieten</string>
<string name="bottom_companion_radio_on">Radio aanzetten</string>
<string name="bottom_companion_radio_off">Radio uitzetten</string>
<string name="bottom_page_telemetry">In-game statistieken</string>
<string name="bottom_hud_group">HUD op het onderste scherm</string>
<string name="bottom_strip_tabs">Strip op elk tabblad</string>
+21
View File
@@ -2137,6 +2137,27 @@
<string name="bottom_guides_back">Wszystkie poradniki</string>
<string name="bottom_guides_empty">Ta gra nie ma jeszcze poradników na Steam.</string>
<string name="bottom_guides_failed">Nie udało się wczytać poradników ze Steam. Spróbuj ponownie, gdy będziesz online.</string>
<string name="bottom_page_companion">Towarzysz</string>
<string name="bottom_companion_none">Ta gra nie ma jeszcze strony towarzysza. Stardew Valley ma.</string>
<string name="bottom_companion_stardew_missing">Zainstaluj mod dwóch ekranów do Stardew Valley (SMAPI), aby widzieć tu swoją farmę.</string>
<string name="bottom_companion_title_screen">Wczytaj zapis, aby zobaczyć tu swoją farmę.</string>
<string name="bottom_companion_energy">Energia</string>
<string name="bottom_companion_health">Zdrowie</string>
<string name="bottom_companion_birthdays">Urodziny w tym tygodniu</string>
<string name="bottom_companion_birthday_today">%1$s: urodziny dziś</string>
<string name="bottom_companion_birthday_in">%1$s: urodziny za %2$d dni</string>
<string name="bottom_companion_quests">Zadania</string>
<string name="bottom_companion_skyrim_missing">Zainstaluj wtyczkę SKSE SkyrimWebSocket, aby widzieć tu swoją postać.</string>
<string name="bottom_companion_pipboy_missing">Zainstaluj wtyczkę F4SE Thor Pip-Boy, aby widzieć tu swojego Pip-Boya.</string>
<string name="bottom_companion_level">Poziom %1$d</string>
<string name="bottom_companion_magicka">Magia</string>
<string name="bottom_companion_stamina">Wytrzymałość</string>
<string name="bottom_companion_action_points">Punkty akcji</string>
<string name="bottom_companion_caps">%1$s kapsli</string>
<string name="bottom_companion_rads">%1$s radów</string>
<string name="bottom_companion_favorites">Ulubione</string>
<string name="bottom_companion_radio_on">Włącz radio</string>
<string name="bottom_companion_radio_off">Wyłącz radio</string>
<string name="bottom_page_telemetry">Statystyki w grze</string>
<string name="bottom_hud_group">HUD dolnego ekranu</string>
<string name="bottom_strip_tabs">Pasek na każdej karcie</string>
@@ -2117,6 +2117,27 @@
<string name="bottom_guides_back">Todos os guias</string>
<string name="bottom_guides_empty">Ainda não há guias Steam para este jogo.</string>
<string name="bottom_guides_failed">Não foi possível carregar os guias Steam. Tente novamente quando estiver online.</string>
<string name="bottom_page_companion">Companheiro</string>
<string name="bottom_companion_none">Este jogo ainda não tem página de companheiro. Stardew Valley tem.</string>
<string name="bottom_companion_stardew_missing">Instale o mod de ecrã duplo do Stardew Valley para SMAPI para ver aqui a sua quinta.</string>
<string name="bottom_companion_title_screen">Carregue um jogo guardado para ver aqui a sua quinta.</string>
<string name="bottom_companion_energy">Energia</string>
<string name="bottom_companion_health">Saúde</string>
<string name="bottom_companion_birthdays">Aniversários da semana</string>
<string name="bottom_companion_birthday_today">%1$s: aniversário hoje</string>
<string name="bottom_companion_birthday_in">%1$s: aniversário dentro de %2$d dias</string>
<string name="bottom_companion_quests">Missões</string>
<string name="bottom_companion_skyrim_missing">Instale o plugin SKSE SkyrimWebSocket para ver aqui a sua personagem.</string>
<string name="bottom_companion_pipboy_missing">Instale o plugin F4SE Thor Pip-Boy para ver aqui o seu Pip-Boy.</string>
<string name="bottom_companion_level">Nível %1$d</string>
<string name="bottom_companion_magicka">Magia</string>
<string name="bottom_companion_stamina">Vigor</string>
<string name="bottom_companion_action_points">Pontos de ação</string>
<string name="bottom_companion_caps">%1$s caricas</string>
<string name="bottom_companion_rads">%1$s rads</string>
<string name="bottom_companion_favorites">Favoritos</string>
<string name="bottom_companion_radio_on">Ligar o rádio</string>
<string name="bottom_companion_radio_off">Desligar o rádio</string>
<string name="bottom_page_telemetry">Estatísticas no jogo</string>
<string name="bottom_hud_group">HUD do ecrã inferior</string>
<string name="bottom_strip_tabs">Faixa em todos os separadores</string>
+21
View File
@@ -2125,6 +2125,27 @@
<string name="bottom_guides_back">Todos os guias</string>
<string name="bottom_guides_empty">Ainda não há guias Steam para este jogo.</string>
<string name="bottom_guides_failed">Não foi possível carregar os guias Steam. Tente de novo quando estiver online.</string>
<string name="bottom_page_companion">Companheiro</string>
<string name="bottom_companion_none">Este jogo ainda não tem página de companheiro. Stardew Valley tem.</string>
<string name="bottom_companion_stardew_missing">Instale o mod de tela dupla do Stardew Valley para SMAPI para ver sua fazenda aqui.</string>
<string name="bottom_companion_title_screen">Carregue um save para ver sua fazenda aqui.</string>
<string name="bottom_companion_energy">Energia</string>
<string name="bottom_companion_health">Saúde</string>
<string name="bottom_companion_birthdays">Aniversários da semana</string>
<string name="bottom_companion_birthday_today">%1$s: aniversário hoje</string>
<string name="bottom_companion_birthday_in">%1$s: aniversário em %2$d dias</string>
<string name="bottom_companion_quests">Missões</string>
<string name="bottom_companion_skyrim_missing">Instale o plugin SKSE SkyrimWebSocket para ver seu personagem aqui.</string>
<string name="bottom_companion_pipboy_missing">Instale o plugin F4SE Thor Pip-Boy para ver seu Pip-Boy aqui.</string>
<string name="bottom_companion_level">Nível %1$d</string>
<string name="bottom_companion_magicka">Magia</string>
<string name="bottom_companion_stamina">Vigor</string>
<string name="bottom_companion_action_points">Pontos de ação</string>
<string name="bottom_companion_caps">%1$s tampinhas</string>
<string name="bottom_companion_rads">%1$s rads</string>
<string name="bottom_companion_favorites">Favoritos</string>
<string name="bottom_companion_radio_on">Ligar o rádio</string>
<string name="bottom_companion_radio_off">Desligar o rádio</string>
<string name="bottom_page_telemetry">Estatísticas no jogo</string>
<string name="bottom_hud_group">HUD da tela inferior</string>
<string name="bottom_strip_tabs">Faixa em todas as abas</string>
+21
View File
@@ -2112,6 +2112,27 @@
<string name="bottom_guides_back">Toate ghidurile</string>
<string name="bottom_guides_empty">Încă nu există ghiduri Steam pentru acest joc.</string>
<string name="bottom_guides_failed">Ghidurile Steam nu s-au putut încărca. Încearcă din nou când ești online.</string>
<string name="bottom_page_companion">Însoțitor</string>
<string name="bottom_companion_none">Acest joc nu are încă o pagină de însoțitor. Stardew Valley are.</string>
<string name="bottom_companion_stardew_missing">Instalează modul cu ecran dublu pentru Stardew Valley (SMAPI) ca să-ți vezi ferma aici.</string>
<string name="bottom_companion_title_screen">Încarcă o salvare ca să-ți vezi ferma aici.</string>
<string name="bottom_companion_energy">Energie</string>
<string name="bottom_companion_health">Sănătate</string>
<string name="bottom_companion_birthdays">Zile de naștere săptămâna aceasta</string>
<string name="bottom_companion_birthday_today">%1$s: ziua de naștere azi</string>
<string name="bottom_companion_birthday_in">%1$s: ziua de naștere peste %2$d zile</string>
<string name="bottom_companion_quests">Misiuni</string>
<string name="bottom_companion_skyrim_missing">Instalează pluginul SKSE SkyrimWebSocket ca să-ți vezi personajul aici.</string>
<string name="bottom_companion_pipboy_missing">Instalează pluginul F4SE Thor Pip-Boy ca să-ți vezi Pip-Boy-ul aici.</string>
<string name="bottom_companion_level">Nivelul %1$d</string>
<string name="bottom_companion_magicka">Magie</string>
<string name="bottom_companion_stamina">Rezistență</string>
<string name="bottom_companion_action_points">Puncte de acțiune</string>
<string name="bottom_companion_caps">%1$s capace</string>
<string name="bottom_companion_rads">%1$s rad</string>
<string name="bottom_companion_favorites">Favorite</string>
<string name="bottom_companion_radio_on">Pornește radioul</string>
<string name="bottom_companion_radio_off">Oprește radioul</string>
<string name="bottom_page_telemetry">Statistici în joc</string>
<string name="bottom_hud_group">HUD pe ecranul de jos</string>
<string name="bottom_strip_tabs">Bandă pe fiecare filă</string>
+21
View File
@@ -2138,6 +2138,27 @@
<string name="bottom_guides_back">Все руководства</string>
<string name="bottom_guides_empty">Для этой игры пока нет руководств Steam.</string>
<string name="bottom_guides_failed">Не удалось загрузить руководства Steam. Попробуйте снова, когда будете в сети.</string>
<string name="bottom_page_companion">Компаньон</string>
<string name="bottom_companion_none">Для этой игры пока нет страницы-компаньона. Для Stardew Valley есть.</string>
<string name="bottom_companion_stardew_missing">Установите мод двух экранов для Stardew Valley (SMAPI), чтобы видеть здесь свою ферму.</string>
<string name="bottom_companion_title_screen">Загрузите сохранение, чтобы увидеть здесь свою ферму.</string>
<string name="bottom_companion_energy">Энергия</string>
<string name="bottom_companion_health">Здоровье</string>
<string name="bottom_companion_birthdays">Дни рождения на этой неделе</string>
<string name="bottom_companion_birthday_today">%1$s: день рождения сегодня</string>
<string name="bottom_companion_birthday_in">%1$s: день рождения через %2$d дн.</string>
<string name="bottom_companion_quests">Задания</string>
<string name="bottom_companion_skyrim_missing">Установите плагин SKSE SkyrimWebSocket, чтобы видеть здесь своего персонажа.</string>
<string name="bottom_companion_pipboy_missing">Установите плагин F4SE Thor Pip-Boy, чтобы видеть здесь свой Pip-Boy.</string>
<string name="bottom_companion_level">Уровень %1$d</string>
<string name="bottom_companion_magicka">Магия</string>
<string name="bottom_companion_stamina">Запас сил</string>
<string name="bottom_companion_action_points">Очки действия</string>
<string name="bottom_companion_caps">Крышек: %1$s</string>
<string name="bottom_companion_rads">Радов: %1$s</string>
<string name="bottom_companion_favorites">Избранное</string>
<string name="bottom_companion_radio_on">Включить радио</string>
<string name="bottom_companion_radio_off">Выключить радио</string>
<string name="bottom_page_telemetry">Игровая статистика</string>
<string name="bottom_hud_group">HUD нижнего экрана</string>
<string name="bottom_strip_tabs">Полоса на всех вкладках</string>
+21
View File
@@ -2087,6 +2087,27 @@
<string name="bottom_guides_back">Alla guider</string>
<string name="bottom_guides_empty">Det finns inga Steam-guider för det här spelet ännu.</string>
<string name="bottom_guides_failed">Det gick inte att läsa in Steam-guider. Försök igen när du är online.</string>
<string name="bottom_page_companion">Följeslagare</string>
<string name="bottom_companion_none">Det finns ingen följeslagarsida för det här spelet ännu. Stardew Valley har en.</string>
<string name="bottom_companion_stardew_missing">Installera Stardew Valleys tvåskärmsmod för SMAPI för att se din gård här.</string>
<string name="bottom_companion_title_screen">Läs in ett sparat spel för att se din gård här.</string>
<string name="bottom_companion_energy">Energi</string>
<string name="bottom_companion_health">Hälsa</string>
<string name="bottom_companion_birthdays">Födelsedagar den här veckan</string>
<string name="bottom_companion_birthday_today">%1$s: födelsedag i dag</string>
<string name="bottom_companion_birthday_in">%1$s: födelsedag om %2$d dagar</string>
<string name="bottom_companion_quests">Uppdrag</string>
<string name="bottom_companion_skyrim_missing">Installera SKSE-tillägget SkyrimWebSocket för att se din karaktär här.</string>
<string name="bottom_companion_pipboy_missing">Installera F4SE-tillägget Thor Pip-Boy för att se din Pip-Boy här.</string>
<string name="bottom_companion_level">Nivå %1$d</string>
<string name="bottom_companion_magicka">Magicka</string>
<string name="bottom_companion_stamina">Uthållighet</string>
<string name="bottom_companion_action_points">Handlingspoäng</string>
<string name="bottom_companion_caps">%1$s kapsyler</string>
<string name="bottom_companion_rads">%1$s rad</string>
<string name="bottom_companion_favorites">Favoriter</string>
<string name="bottom_companion_radio_on">Slå på radion</string>
<string name="bottom_companion_radio_off">Stäng av radion</string>
<string name="bottom_page_telemetry">Statistik i spelet</string>
<string name="bottom_hud_group">HUD på nedre skärmen</string>
<string name="bottom_strip_tabs">Remsa på varje flik</string>
+21
View File
@@ -2063,6 +2063,27 @@
<string name="bottom_guides_back">คู่มือทั้งหมด</string>
<string name="bottom_guides_empty">ยังไม่มีคู่มือ Steam สำหรับเกมนี้</string>
<string name="bottom_guides_failed">โหลดคู่มือ Steam ไม่ได้ ลองอีกครั้งเมื่อออนไลน์</string>
<string name="bottom_page_companion">คู่หู</string>
<string name="bottom_companion_none">ยังไม่มีหน้าคู่หูสำหรับเกมนี้ Stardew Valley มีแล้ว</string>
<string name="bottom_companion_stardew_missing">ติดตั้งม็อดจอคู่ของ Stardew Valley สำหรับ SMAPI เพื่อดูฟาร์มของคุณที่นี่</string>
<string name="bottom_companion_title_screen">โหลดเซฟเพื่อดูฟาร์มของคุณที่นี่</string>
<string name="bottom_companion_energy">พลังงาน</string>
<string name="bottom_companion_health">พลังชีวิต</string>
<string name="bottom_companion_birthdays">วันเกิดสัปดาห์นี้</string>
<string name="bottom_companion_birthday_today">%1$s: วันเกิดวันนี้</string>
<string name="bottom_companion_birthday_in">%1$s: วันเกิดในอีก %2$d วัน</string>
<string name="bottom_companion_quests">เควสต์</string>
<string name="bottom_companion_skyrim_missing">ติดตั้งปลั๊กอิน SKSE SkyrimWebSocket เพื่อดูตัวละครของคุณที่นี่</string>
<string name="bottom_companion_pipboy_missing">ติดตั้งปลั๊กอิน F4SE Thor Pip-Boy เพื่อดู Pip-Boy ของคุณที่นี่</string>
<string name="bottom_companion_level">เลเวล %1$d</string>
<string name="bottom_companion_magicka">มานา</string>
<string name="bottom_companion_stamina">สตามินา</string>
<string name="bottom_companion_action_points">แอ็กชันพอยต์</string>
<string name="bottom_companion_caps">%1$s แคป</string>
<string name="bottom_companion_rads">%1$s แรด</string>
<string name="bottom_companion_favorites">รายการโปรด</string>
<string name="bottom_companion_radio_on">เปิดวิทยุ</string>
<string name="bottom_companion_radio_off">ปิดวิทยุ</string>
<string name="bottom_page_telemetry">สถิติในเกม</string>
<string name="bottom_hud_group">HUD หน้าจอล่าง</string>
<string name="bottom_strip_tabs">แถบในทุกแท็บ</string>
+21
View File
@@ -2079,6 +2079,27 @@
<string name="bottom_guides_back">Tüm rehberler</string>
<string name="bottom_guides_empty">Bu oyun için henüz Steam rehberi yok.</string>
<string name="bottom_guides_failed">Steam rehberleri yüklenemedi. Çevrimiçi olduğunuzda tekrar deneyin.</string>
<string name="bottom_page_companion">Yardımcı</string>
<string name="bottom_companion_none">Bu oyun için henüz bir yardımcı sayfası yok. Stardew Valley için var.</string>
<string name="bottom_companion_stardew_missing">Çiftliğinizi burada görmek için Stardew Valley çift ekran modunu (SMAPI) kurun.</string>
<string name="bottom_companion_title_screen">Çiftliğinizi burada görmek için bir kayıt yükleyin.</string>
<string name="bottom_companion_energy">Enerji</string>
<string name="bottom_companion_health">Sağlık</string>
<string name="bottom_companion_birthdays">Bu haftaki doğum günleri</string>
<string name="bottom_companion_birthday_today">%1$s: doğum günü bugün</string>
<string name="bottom_companion_birthday_in">%1$s: doğum günü %2$d gün sonra</string>
<string name="bottom_companion_quests">Görevler</string>
<string name="bottom_companion_skyrim_missing">Karakterinizi burada görmek için SKSE eklentisi SkyrimWebSocket\'i kurun.</string>
<string name="bottom_companion_pipboy_missing">Pip-Boy\'unuzu burada görmek için F4SE eklentisi Thor Pip-Boy\'u kurun.</string>
<string name="bottom_companion_level">Seviye %1$d</string>
<string name="bottom_companion_magicka">Büyü</string>
<string name="bottom_companion_stamina">Dayanıklılık</string>
<string name="bottom_companion_action_points">Aksiyon puanı</string>
<string name="bottom_companion_caps">%1$s kapak</string>
<string name="bottom_companion_rads">%1$s rad</string>
<string name="bottom_companion_favorites">Favoriler</string>
<string name="bottom_companion_radio_on">Radyoyu aç</string>
<string name="bottom_companion_radio_off">Radyoyu kapat</string>
<string name="bottom_page_telemetry">Oyun içi istatistikler</string>
<string name="bottom_hud_group">Alt ekrandaki HUD</string>
<string name="bottom_strip_tabs">Her sekmede şerit</string>
+21
View File
@@ -2137,6 +2137,27 @@
<string name="bottom_guides_back">Усі посібники</string>
<string name="bottom_guides_empty">Для цієї гри ще немає посібників Steam.</string>
<string name="bottom_guides_failed">Не вдалося завантажити посібники Steam. Спробуйте знову, коли будете онлайн.</string>
<string name="bottom_page_companion">Компаньйон</string>
<string name="bottom_companion_none">Для цієї гри ще немає сторінки-компаньйона. Для Stardew Valley є.</string>
<string name="bottom_companion_stardew_missing">Встановіть мод двох екранів для Stardew Valley (SMAPI), щоб бачити тут свою ферму.</string>
<string name="bottom_companion_title_screen">Завантажте збереження, щоб побачити тут свою ферму.</string>
<string name="bottom_companion_energy">Енергія</string>
<string name="bottom_companion_health">Здоров’я</string>
<string name="bottom_companion_birthdays">Дні народження цього тижня</string>
<string name="bottom_companion_birthday_today">%1$s: день народження сьогодні</string>
<string name="bottom_companion_birthday_in">%1$s: день народження через %2$d дн.</string>
<string name="bottom_companion_quests">Завдання</string>
<string name="bottom_companion_skyrim_missing">Встановіть плагін SKSE SkyrimWebSocket, щоб бачити тут свого персонажа.</string>
<string name="bottom_companion_pipboy_missing">Встановіть плагін F4SE Thor Pip-Boy, щоб бачити тут свій Pip-Boy.</string>
<string name="bottom_companion_level">Рівень %1$d</string>
<string name="bottom_companion_magicka">Магія</string>
<string name="bottom_companion_stamina">Витривалість</string>
<string name="bottom_companion_action_points">Очки дії</string>
<string name="bottom_companion_caps">Кришок: %1$s</string>
<string name="bottom_companion_rads">Радів: %1$s</string>
<string name="bottom_companion_favorites">Вибране</string>
<string name="bottom_companion_radio_on">Увімкнути радіо</string>
<string name="bottom_companion_radio_off">Вимкнути радіо</string>
<string name="bottom_page_telemetry">Ігрова статистика</string>
<string name="bottom_hud_group">HUD на нижньому екрані</string>
<string name="bottom_strip_tabs">Смуга на кожній вкладці</string>
+21
View File
@@ -2063,6 +2063,27 @@
<string name="bottom_guides_back">Tất cả hướng dẫn</string>
<string name="bottom_guides_empty">Trò chơi này chưa có hướng dẫn Steam nào.</string>
<string name="bottom_guides_failed">Không tải được hướng dẫn Steam. Hãy thử lại khi bạn trực tuyến.</string>
<string name="bottom_page_companion">Đồng hành</string>
<string name="bottom_companion_none">Trò chơi này chưa có trang đồng hành. Stardew Valley đã có.</string>
<string name="bottom_companion_stardew_missing">Cài mod hai màn hình của Stardew Valley cho SMAPI để xem nông trại của bạn tại đây.</string>
<string name="bottom_companion_title_screen">Tải một bản lưu để xem nông trại của bạn tại đây.</string>
<string name="bottom_companion_energy">Năng lượng</string>
<string name="bottom_companion_health">Máu</string>
<string name="bottom_companion_birthdays">Sinh nhật tuần này</string>
<string name="bottom_companion_birthday_today">%1$s: sinh nhật hôm nay</string>
<string name="bottom_companion_birthday_in">%1$s: sinh nhật sau %2$d ngày</string>
<string name="bottom_companion_quests">Nhiệm vụ</string>
<string name="bottom_companion_skyrim_missing">Cài plugin SKSE SkyrimWebSocket để xem nhân vật của bạn tại đây.</string>
<string name="bottom_companion_pipboy_missing">Cài plugin F4SE Thor Pip-Boy để xem Pip-Boy của bạn tại đây.</string>
<string name="bottom_companion_level">Cấp %1$d</string>
<string name="bottom_companion_magicka">Ma lực</string>
<string name="bottom_companion_stamina">Thể lực</string>
<string name="bottom_companion_action_points">Điểm hành động</string>
<string name="bottom_companion_caps">%1$s nắp chai</string>
<string name="bottom_companion_rads">%1$s rad</string>
<string name="bottom_companion_favorites">Yêu thích</string>
<string name="bottom_companion_radio_on">Bật radio</string>
<string name="bottom_companion_radio_off">Tắt radio</string>
<string name="bottom_page_telemetry">Thông số trong game</string>
<string name="bottom_hud_group">HUD màn hình dưới</string>
<string name="bottom_strip_tabs">Thanh trên mọi tab</string>
@@ -2140,6 +2140,27 @@
<string name="bottom_guides_back">全部指南</string>
<string name="bottom_guides_empty">此游戏还没有 Steam 指南。</string>
<string name="bottom_guides_failed">无法加载 Steam 指南。请在联网后重试。</string>
<string name="bottom_page_companion">伴侣页</string>
<string name="bottom_companion_none">此游戏还没有伴侣页。Stardew Valley 已支持。</string>
<string name="bottom_companion_stardew_missing">安装 Stardew Valley 的 SMAPI 双屏模组,即可在这里查看你的农场。</string>
<string name="bottom_companion_title_screen">载入存档后,这里会显示你的农场。</string>
<string name="bottom_companion_energy">体力</string>
<string name="bottom_companion_health">生命值</string>
<string name="bottom_companion_birthdays">本周生日</string>
<string name="bottom_companion_birthday_today">%1$s:今天生日</string>
<string name="bottom_companion_birthday_in">%1$s:%2$d 天后生日</string>
<string name="bottom_companion_quests">任务</string>
<string name="bottom_companion_skyrim_missing">安装 SKSE 插件 SkyrimWebSocket,即可在这里查看你的角色。</string>
<string name="bottom_companion_pipboy_missing">安装 F4SE 插件 Thor Pip-Boy,即可在这里查看你的 Pip-Boy。</string>
<string name="bottom_companion_level">等级 %1$d</string>
<string name="bottom_companion_magicka">法力</string>
<string name="bottom_companion_stamina">耐力</string>
<string name="bottom_companion_action_points">行动点数</string>
<string name="bottom_companion_caps">%1$s 瓶盖</string>
<string name="bottom_companion_rads">%1$s 辐射</string>
<string name="bottom_companion_favorites">收藏</string>
<string name="bottom_companion_radio_on">打开收音机</string>
<string name="bottom_companion_radio_off">关闭收音机</string>
<string name="bottom_page_telemetry">游戏内数据</string>
<string name="bottom_hud_group">下屏 HUD</string>
<string name="bottom_strip_tabs">所有页签显示横条</string>
@@ -2062,6 +2062,27 @@
<string name="bottom_guides_back">全部指南</string>
<string name="bottom_guides_empty">此遊戲暫時沒有 Steam 指南。</string>
<string name="bottom_guides_failed">無法載入 Steam 指南。請在連線後再試。</string>
<string name="bottom_page_companion">伴侶頁</string>
<string name="bottom_companion_none">此遊戲暫時沒有伴侶頁。Stardew Valley 已支援。</string>
<string name="bottom_companion_stardew_missing">安裝 Stardew Valley 的 SMAPI 雙屏模組,即可在這裡查看你的農場。</string>
<string name="bottom_companion_title_screen">載入存檔後,這裡會顯示你的農場。</string>
<string name="bottom_companion_energy">體力</string>
<string name="bottom_companion_health">生命值</string>
<string name="bottom_companion_birthdays">本週生日</string>
<string name="bottom_companion_birthday_today">%1$s:今天生日</string>
<string name="bottom_companion_birthday_in">%1$s:%2$d 天後生日</string>
<string name="bottom_companion_quests">任務</string>
<string name="bottom_companion_skyrim_missing">安裝 SKSE 插件 SkyrimWebSocket,即可在這裡查看你的角色。</string>
<string name="bottom_companion_pipboy_missing">安裝 F4SE 插件 Thor Pip-Boy,即可在這裡查看你的 Pip-Boy。</string>
<string name="bottom_companion_level">等級 %1$d</string>
<string name="bottom_companion_magicka">魔力</string>
<string name="bottom_companion_stamina">耐力</string>
<string name="bottom_companion_action_points">行動點數</string>
<string name="bottom_companion_caps">%1$s 瓶蓋</string>
<string name="bottom_companion_rads">%1$s 輻射</string>
<string name="bottom_companion_favorites">最愛</string>
<string name="bottom_companion_radio_on">開啟收音機</string>
<string name="bottom_companion_radio_off">關閉收音機</string>
<string name="bottom_page_telemetry">遊戲內數據</string>
<string name="bottom_hud_group">下方螢幕 HUD</string>
<string name="bottom_strip_tabs">在所有分頁顯示資訊列</string>
@@ -2062,6 +2062,27 @@
<string name="bottom_guides_back">全部指南</string>
<string name="bottom_guides_empty">此遊戲尚無 Steam 指南。</string>
<string name="bottom_guides_failed">無法載入 Steam 指南。請在連線後再試。</string>
<string name="bottom_page_companion">夥伴頁</string>
<string name="bottom_companion_none">此遊戲尚無夥伴頁。Stardew Valley 已支援。</string>
<string name="bottom_companion_stardew_missing">安裝 Stardew Valley 的 SMAPI 雙螢幕模組,即可在這裡查看你的農場。</string>
<string name="bottom_companion_title_screen">載入存檔後,這裡會顯示你的農場。</string>
<string name="bottom_companion_energy">體力</string>
<string name="bottom_companion_health">生命值</string>
<string name="bottom_companion_birthdays">本週生日</string>
<string name="bottom_companion_birthday_today">%1$s:今天生日</string>
<string name="bottom_companion_birthday_in">%1$s:%2$d 天後生日</string>
<string name="bottom_companion_quests">任務</string>
<string name="bottom_companion_skyrim_missing">安裝 SKSE 外掛 SkyrimWebSocket,即可在這裡查看你的角色。</string>
<string name="bottom_companion_pipboy_missing">安裝 F4SE 外掛 Thor Pip-Boy,即可在這裡查看你的 Pip-Boy。</string>
<string name="bottom_companion_level">等級 %1$d</string>
<string name="bottom_companion_magicka">魔力</string>
<string name="bottom_companion_stamina">耐力</string>
<string name="bottom_companion_action_points">行動點數</string>
<string name="bottom_companion_caps">%1$s 瓶蓋</string>
<string name="bottom_companion_rads">%1$s 輻射</string>
<string name="bottom_companion_favorites">最愛</string>
<string name="bottom_companion_radio_on">開啟收音機</string>
<string name="bottom_companion_radio_off">關閉收音機</string>
<string name="bottom_page_telemetry">遊戲內數據</string>
<string name="bottom_hud_group">下螢幕 HUD</string>
<string name="bottom_strip_tabs">在每個分頁顯示資訊列</string>
+21
View File
@@ -2358,6 +2358,27 @@
<string name="bottom_guides_back">All guides</string>
<string name="bottom_guides_empty">There are no Steam guides for this game yet.</string>
<string name="bottom_guides_failed">Could not load Steam guides. Check back once you are online.</string>
<string name="bottom_page_companion">Companion</string>
<string name="bottom_companion_none">There is no companion page for this game yet. Stardew Valley has one.</string>
<string name="bottom_companion_stardew_missing">Install the Stardew Valley dual-screen mod for SMAPI to see your farm here.</string>
<string name="bottom_companion_title_screen">Load a save to see your farm here.</string>
<string name="bottom_companion_energy">Energy</string>
<string name="bottom_companion_health">Health</string>
<string name="bottom_companion_birthdays">Birthdays this week</string>
<string name="bottom_companion_birthday_today">%1$s: birthday today</string>
<string name="bottom_companion_birthday_in">%1$s: birthday in %2$d days</string>
<string name="bottom_companion_quests">Quests</string>
<string name="bottom_companion_skyrim_missing">Install the SkyrimWebSocket SKSE plugin to see your character here.</string>
<string name="bottom_companion_pipboy_missing">Install the Thor Pip-Boy F4SE plugin to see your Pip-Boy here.</string>
<string name="bottom_companion_level">Level %1$d</string>
<string name="bottom_companion_magicka">Magicka</string>
<string name="bottom_companion_stamina">Stamina</string>
<string name="bottom_companion_action_points">Action points</string>
<string name="bottom_companion_caps">%1$s caps</string>
<string name="bottom_companion_rads">%1$s rads</string>
<string name="bottom_companion_favorites">Favorites</string>
<string name="bottom_companion_radio_on">Turn on the radio</string>
<string name="bottom_companion_radio_off">Turn off the radio</string>
<string name="bottom_page_telemetry">In-game stats</string>
<string name="bottom_hud_group">Bottom screen HUD</string>
<string name="bottom_strip_tabs">Strip on every tab</string>
@@ -0,0 +1,75 @@
package com.droiddeck.launcher.companion
import org.json.JSONObject
import org.junit.Assert.assertEquals
import org.junit.Assert.assertNull
import org.junit.Assert.assertTrue
import org.junit.Test
import org.junit.runner.RunWith
import org.robolectric.RobolectricTestRunner
import org.robolectric.annotation.Config
@RunWith(RobolectricTestRunner::class)
@Config(sdk = [33])
class RpgCompanionTest {
@Test
fun pipBoyStatsFavoritesAndRadio() {
val data = """{"type":"data","id":"droiddeck","data":{
"player.stats":{"level":23,"hp":245,"hpMax":310,"ap":88,"apMax":105,"rads":65,"caps":1834,"weight":187.4,"weightMax":260},
"player.inventory":[
{"id":"0x101","name":"Old Laser Rifle","type":"weapon","count":1,"equipped":true},
{"id":"0x102","name":"Service Pistol","type":"weapon","count":1,"equipped":false,"fav":1},
{"id":"0x236","name":"Med Kit","type":"aid","count":7,"equipped":false,"fav":0}],
"radio":{"enabled":true}}}"""
val s = RpgCompanion.reduce(RpgCompanion.FALLOUT_4, RpgCompanion.State(), data)
assertEquals(23, s.level)
assertEquals(listOf("hp", "ap"), s.bars.map { it.key })
assertEquals(310f, s.bars[0].max)
assertEquals(listOf("Med Kit", "Service Pistol"), s.slots.map { it.label })
assertEquals("×7", s.slots[0].detail)
assertEquals(true, s.radio)
assertEquals("1834", s.facts.toMap()["caps"])
val toggle = JSONObject(RpgCompanion.trigger(RpgCompanion.FALLOUT_4, s.slots[1], 3))
assertEquals("toggle", toggle.getString("command"))
assertEquals("0x102", toggle.getJSONObject("params").getString("id"))
assertEquals(false, JSONObject(RpgCompanion.radio(false, 4)).getJSONObject("params").getBoolean("enable"))
}
@Test
fun skyrimVitalsAndHotkeys() {
val data = """{"type":"data","id":"droiddeck","ts":1,"fields":{
"health":320.5,"health.max":400,"magicka":180,"magicka.max":200,"stamina":99.25,"stamina.max":150,
"level":31,"weight":210.2,"carry":300,
"hotkeys":[{"slot":1,"bound":true,"kind":"spell","name":"Flames","school":"Destruction"},{"slot":2,"bound":false},
{"slot":3,"bound":true,"kind":"item","name":"Iron Sword","categoryType":"Weapon"}]}}"""
val s = RpgCompanion.reduce(RpgCompanion.SKYRIM_SE, RpgCompanion.State(), data)
assertEquals(listOf("health", "magicka", "stamina"), s.bars.map { it.key })
assertEquals(31, s.level)
assertEquals(listOf("1", "3"), s.slots.map { it.key })
assertEquals("Destruction", s.slots[0].detail)
assertEquals("210 / 300", s.facts.toMap()["weight"])
assertNull(s.radio)
val partial = RpgCompanion.reduce(RpgCompanion.SKYRIM_SE, s, """{"type":"data","id":"droiddeck","fields":{"level":32}}""")
assertEquals(32, partial.level)
assertEquals(3, partial.bars.size)
val hotkey = JSONObject(RpgCompanion.trigger(RpgCompanion.SKYRIM_SE, s.slots[1], 9))
assertEquals("hotkey_trigger", hotkey.getString("command"))
assertEquals(3, hotkey.getInt("slot"))
}
@Test
fun subscriptionsAndForeignMessages() {
val skyrim = JSONObject(RpgCompanion.subscribe(RpgCompanion.SKYRIM_SE))
assertEquals("Hotkey::Items", skyrim.getJSONObject("fields").getString("hotkeys"))
assertTrue(skyrim.getJSONObject("settings").getBoolean("sendOnChange"))
assertEquals("player.stats", JSONObject(RpgCompanion.subscribe(RpgCompanion.FALLOUT_4)).getJSONArray("fields").getString(0))
val s = RpgCompanion.State(level = 5)
assertEquals(s, RpgCompanion.reduce(RpgCompanion.FALLOUT_4, s, """{"type":"hello","server":"ThorPipBoy"}"""))
assertEquals(s, RpgCompanion.reduce(RpgCompanion.FALLOUT_4, s, """{"type":"data","id":"other","data":{}}"""))
assertEquals(8767, RpgCompanion.port(RpgCompanion.FALLOUT_4))
assertEquals(8765, RpgCompanion.port(RpgCompanion.SKYRIM_SE))
}
}
@@ -0,0 +1,113 @@
package com.droiddeck.launcher.companion
import org.junit.Assert.assertEquals
import org.junit.Assert.assertFalse
import org.junit.Assert.assertNull
import org.junit.Assert.assertTrue
import org.junit.Test
import org.junit.runner.RunWith
import org.robolectric.RobolectricTestRunner
import org.robolectric.annotation.Config
import java.io.DataInputStream
import java.net.ServerSocket
import java.security.MessageDigest
import java.util.Base64
import kotlin.concurrent.thread
@RunWith(RobolectricTestRunner::class)
@Config(sdk = [33])
class StardewCompanionTest {
@Test
fun reducesTheModsMessages() {
var s = StardewCompanion.State()
assertFalse(s.inGame)
s = StardewCompanion.reduce(s, """{"type":"game_info","gameId":"stardew","saveName":"Sunny Farm"}""")
s = StardewCompanion.reduce(s, """{"type":"sdv_day","season":"spring","day":5,"year":1,"weekday":"Fri","timeOfDay":1330,
"weatherToday":"sunny","weatherTomorrow":"rain","gold":12500,"energy":200,"maxEnergy":270,"health":90,"maxHealth":100,"location":"Farm"}""")
s = StardewCompanion.reduce(s, """{"type":"sdv_inventory","selected":2,"capacity":36,"items":[
{"slot":0,"id":"(T)Axe","name":"Axe","count":1,"quality":0},
{"slot":2,"id":"(O)24","name":"Parsnip","count":15,"quality":1},
{"slot":3,"id":"","name":"","count":0},
{"slot":20,"id":"(O)388","name":"Wood","count":99}]}""")
s = StardewCompanion.reduce(s, """{"type":"sdv_quests","quests":[{"index":0,"title":"Introductions","objective":"Meet 28 people","daysLeft":-1,"complete":"0"}]}""")
s = StardewCompanion.reduce(s, """{"type":"sdv_villagers","villagers":[
{"name":"Abigail","npc":"Abigail","birthdayIn":3},{"name":"Haley","npc":"Haley","birthdayIn":0},{"name":"Sam","npc":"Sam","birthdayIn":20}]}""")
s = StardewCompanion.reduce(s, """{"type":"sdv_sprite","id":"(O)24","png":"iVBORw0KGgo="}""")
s = StardewCompanion.reduce(s, "not json")
s = StardewCompanion.reduce(s, """{"type":"sdv_mines","deepest":40}""")
assertTrue(s.inGame)
assertEquals("Sunny Farm", s.save)
assertEquals(1330, s.day!!.time)
assertEquals(12500L, s.day!!.gold)
assertEquals(2, s.selected)
assertEquals(12, s.hotbar.size)
assertEquals("Axe", s.hotbar[0]!!.name)
assertNull(s.hotbar[1])
assertEquals(15, s.hotbar[2]!!.count)
assertNull(s.hotbar[3])
assertEquals(listOf("Haley", "Abigail"), s.birthdays.map { it.name })
assertFalse(s.quests.single().complete)
assertEquals("iVBORw0KGgo=", s.sprites["(O)24"])
assertFalse(StardewCompanion.reduce(s, """{"type":"game_info","saveName":""}""").inGame)
}
@Test
fun commandsAndClock() {
assertEquals("""{"type":"select_slot","slot":4}""", StardewCompanion.selectSlot(4))
assertEquals("6:10 am", StardewCompanion.clock(610, true))
assertEquals("12:00 pm", StardewCompanion.clock(1200, true))
assertEquals("1:30 am", StardewCompanion.clock(2530, true))
assertEquals("18:40", StardewCompanion.clock(1840, false))
}
@Test
fun talksToALoopbackWebSocketServer() {
val server = ServerSocket(0)
var received: String? = null
val worker = thread {
server.accept().use { client ->
val input = DataInputStream(client.getInputStream())
val headers = generateSequence { readLine(input) }.takeWhile { it.isNotEmpty() }.toList()
val key = headers.first { it.startsWith("Sec-WebSocket-Key:") }.substringAfter(':').trim()
val accept = Base64.getEncoder().encodeToString(
MessageDigest.getInstance("SHA-1").digest((key + "258EAFA5-E914-47DA-95CA-C5AB0DC85B11").toByteArray()))
val out = client.getOutputStream()
out.write("HTTP/1.1 101 Switching Protocols\r\nUpgrade: websocket\r\nConnection: Upgrade\r\nSec-WebSocket-Accept: $accept\r\n\r\n".toByteArray())
val big = "x".repeat(300)
for (text in listOf("""{"type":"game_info","saveName":"A"}""", big)) {
val bytes = text.toByteArray()
out.write(0x81)
if (bytes.size < 126) out.write(bytes.size) else { out.write(126); out.write(bytes.size shr 8); out.write(bytes.size and 0xFF) }
out.write(bytes)
}
out.flush()
val b0 = input.read()
val len = input.read() and 0x7F
val mask = ByteArray(4).also(input::readFully)
val payload = ByteArray(len).also(input::readFully)
for (i in payload.indices) payload[i] = (payload[i].toInt() xor mask[i % 4].toInt()).toByte()
if (b0 == 0x81) received = String(payload)
}
}
LoopbackWebSocket(server.localPort).use { ws ->
assertEquals("""{"type":"game_info","saveName":"A"}""", ws.receive())
assertEquals(300, ws.receive()!!.length)
ws.send(StardewCompanion.refresh())
}
worker.join(5_000)
server.close()
assertEquals("""{"type":"refresh"}""", received)
}
private fun readLine(input: DataInputStream): String? {
val sb = StringBuilder()
while (true) {
val c = input.read()
if (c < 0) return null
if (c == '\n'.code) return sb.toString().trimEnd('\r')
sb.append(c.toChar())
}
}
}