Merge commit '811e28583413b2e17eefc99c1d0909bdf25f7ceb' into HEAD

This commit is contained in:
Kurt Himebauch committed 2026-12-03 15:48:43 -05:00
commit 9bfbf99331
65 files changed
+128 -534

No files matched your search

+1 -1
View File
@@ -113,7 +113,7 @@ DroidDeck is [GPL-3.0](LICENSE). Steam and Proton belong to Valve Corporation. V
- Steam audio goes through [@The412Banner](https://github.com/The412Banner)'s [DirectAudio](https://github.com/The412Banner/directaudio) PulseAudio sink (LGPL-2.1-or-later), built from `tools/directaudio/sink`.
- The DroidDeck HUD is [@The412Banner](https://github.com/The412Banner)'s [FusionHUD](https://github.com/The412Banner/FusionHUD) (GPL-3.0 with an attribution term). Its readings match Valve's [MangoHud](https://github.com/flightlessmango/MangoHud) build (MIT), with frame times from gamescope patch 0125.
- The HUD's CPU, GPU load, thermal and battery readers come from [@xXJSONDeruloXx](https://github.com/xXJSONDeruloXx)'s work.
- LSFG frame generation comes from Camille LaVey and the [Eden](https://eden-emu.dev) project, following [lsfg-vk](https://github.com/PancakeTAS/lsfg-vk), ported by [@maxjivi05](https://github.com/maxjivi05). It needs your own copy of [Lossless Scaling](https://store.steampowered.com/app/993090/) and ships none of its shaders.
- LSFG frame generation comes from Camille LaVey and the [Eden](https://eden-emu.dev) project, following [lsfg-vk](https://github.com/PancakeTAS/lsfg-vk), ported by [@maxjivi05](https://github.com/maxjivi05). It requires [Lossless Scaling](https://store.steampowered.com/app/993090/) installed through Steam and ships none of its shaders.
- Black frame insertion follows the design of [@artzox](https://github.com/artzox)'s [BFI Presenter](https://github.com/artzox/BFI-Presenter) (GPL-3.0): the strobe runs on the display's refresh clock and the game is paced to the lit refresh. Both build on [Blur Busters](https://blurbusters.com)' research on MPRT and motion blur. No BFI Presenter code is used.
- Remote Play decodes through Android's MediaCodec or the [FFmpeg](https://ffmpeg.org) (LGPL-2.1-or-later) in Steam's runtime. Qualcomm low latency settings follow [Moonlight](https://github.com/moonlight-stream/moonlight-android) (GPL-3.0).
- [PipeWire](https://gitlab.freedesktop.org/pipewire/pipewire) (MIT) sockets use the settings in its `module-access.c`, and [WirePlumber](https://gitlab.freedesktop.org/pipewire/wireplumber) (MIT) keeps those clients at full permissions.
@@ -59,7 +59,7 @@ internal fun sampleState(
internal val sampleActions: FrontEndActions = FrontEndActions(
onPlay = {}, onPlayDesktopUi = {}, onSteamGame = {}, onDesktop = {}, onEmulator = {}, onRom = {}, onResume = {},
onSteamSettings = {}, onDesktopSettings = {}, onInstallPackage = {}, onRemovePackage = {}, onRuntime = {},
onFrameGenPick = {}, onImportLossless = {}, onProtons = {}, onComponents = {}, onPerformance = {}, onRoms = {},
onFrameGenPick = {}, onProtons = {}, onComponents = {}, onPerformance = {}, onRoms = {},
onFiles = {}, onLogs = {}, onOffline = {},
onSetPhantomProcessLimit = { _, _ -> },
)
@@ -82,7 +82,7 @@ internal fun sampleDrawerActions(
secondScreenDisplays = listOfNotNull(secondScreen?.let { SecondScreenDisplay(2, "Built-in · 1240×1080") }),
selectedSecondScreenDisplay = if (secondScreen != null) 2 else -1, onSecondScreenDisplay = {},
gameSwapAvailable = secondScreen != null, dashboardAvailable = secondScreen != null,
onImportLossless = {}, onKeyboard = {}, onHardwareKeyboard = {},
onKeyboard = {}, onHardwareKeyboard = {},
onSteamMenu = if (steam) ({}) else null, onQam = if (steam) ({}) else null,
onLaunchAndroidApp = { _, _ -> }, onBackground = {}, onShareLogs = {}, onStop = {}, onClose = {},
)
@@ -304,9 +304,6 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
protons.installExperimental { progress -> com.droiddeck.launcher.session.ExperimentalProtons.installFromFile(this, zip, progress) }
}
}
private val pickLossless = registerForActivityResult(ActivityResultContracts.StartActivityForResult()) { r ->
if (r.resultCode == RESULT_OK) InAppFilePicker.pickedFile(r.data)?.let { importLossless(it) }
}
private val pickSaveZip = registerForActivityResult(ActivityResultContracts.StartActivityForResult()) { r ->
val then = onSavePicked.also { onSavePicked = null } ?: return@registerForActivityResult
if (r.resultCode == RESULT_OK) InAppFilePicker.pickedFile(r.data)?.let(then)
@@ -517,17 +514,6 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
bootMovieCustomName = com.droiddeck.launcher.session.BootMovie.customName(this)
}
private fun importLossless(dll: File) {
Thread({
val message = Lossless.message(this, Lossless.import(this, dll))
val state = Lossless.state(this)
ui.post {
lossless = state
android.widget.Toast.makeText(this, message, android.widget.Toast.LENGTH_LONG).show()
}
}, "lossless-import").start()
}
private fun importSaves(name: String, game: () -> GameSaves.Game) {
if (SessionState.running) {
android.widget.Toast.makeText(this, R.string.main_saves_close_session, android.widget.Toast.LENGTH_LONG).show()
@@ -1660,9 +1646,6 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
FrameGen.set(this, mode)
frameGenLabel = FrameGen.label(this)
},
onImportLossless = {
pickLossless.launch(InAppFilePicker.buildIntent(this, listOf("dll"), getString(R.string.lsfg_pick_title)))
},
onProtons = { openProtons() },
onComponents = { focusContent -> openComponents(focusContent) },
onGameComponents = { game -> openComponents(gameKey = game.profileKey) },
@@ -717,9 +717,6 @@ class SessionActivity : ComponentActivity(), SurfaceHolder.Callback, com.droidde
private var drawerTextureAnisotropy by mutableStateOf<Int?>(null)
private var drawerTextureLodBias by mutableStateOf<String?>(null)
private var lossless by mutableStateOf(Lossless.State.NONE)
private val pickLossless = registerForActivityResult(ActivityResultContracts.StartActivityForResult()) { r ->
if (r.resultCode == RESULT_OK) InAppFilePicker.pickedFile(r.data)?.let { importLossless(it) }
}
private var frameGen by mutableStateOf(FrameGen.Mode.OFF)
private var frameGenActiveGameId by mutableStateOf<Long?>(null)
private var frameGenActiveGameName by mutableStateOf<String?>(null)
@@ -1902,10 +1899,6 @@ class SessionActivity : ComponentActivity(), SurfaceHolder.Callback, com.droidde
readPrefs()
applyFrameGen(force = true)
},
onImportLossless = {
pickLossless.launch(InAppFilePicker.buildIntent(
this@SessionActivity, listOf("dll"), getString(R.string.lsfg_pick_title)))
},
onKeyboard = { drawerOpen = false; pcKeyboardOpen = false; togglePrimaryKeyboard() },
onHardwareKeyboard = ::togglePcKeyboard,
wowChatShown = com.droiddeck.launcher.ui.WowChat.isWow(AgentGuest.gameProgram),
@@ -3588,19 +3581,6 @@ class SessionActivity : ComponentActivity(), SurfaceHolder.Callback, com.droidde
}, "lossless-sync").start()
}
private fun importLossless(dll: File) {
Thread({
val result = Lossless.import(this, dll)
val message = Lossless.message(this, result)
val state = Lossless.state(this)
runOnUiThread {
lossless = state
Toast.makeText(this, message, Toast.LENGTH_LONG).show()
applyFrameGen(force = result == Lossless.ImportResult.UPDATED)
}
}, "lossless-import").start()
}
private fun watchSession() {
val handler = Handler(Looper.getMainLooper())
@@ -111,7 +111,7 @@ object FrameGen {
if (status != LsfgNative.STATUS_OK || cachePath == null) {
WaylandCompositor.nativeSetFrameGenArmed(false, 0, 0)
val problem = context.getString(
if (status == LsfgNative.STATUS_NOT_INSTALLED) R.string.lsfg_problem_missing else R.string.lsfg_problem_failed,
if (status == LsfgNative.STATUS_NOT_INSTALLED) R.string.lsfg_needs_steam else R.string.lsfg_problem_failed,
)
Log.w(TAG, "$problem (status $status)")
return problem
@@ -2,22 +2,16 @@ package com.droiddeck.launcher.gpu
import android.content.Context
import android.util.Log
import com.droiddeck.launcher.R
import com.droiddeck.launcher.runtime.LinuxRuntime
import com.droiddeck.launcher.session.GameStorage
import com.droiddeck.launcher.session.SessionPrefs
import java.io.File
import java.security.DigestOutputStream
import java.security.MessageDigest
object Lossless {
enum class Source { NONE, STEAM, IMPORT }
enum class ImportResult { UPDATED, UNCHANGED, NOT_OWNED, INVALID, FAILED }
data class State(val owned: Boolean, val ready: Boolean, val source: Source) {
data class State(val owned: Boolean, val ready: Boolean) {
companion object {
val NONE = State(owned = false, ready = false, source = Source.NONE)
val NONE = State(owned = false, ready = false)
}
}
@@ -26,15 +20,13 @@ object Lossless {
private const val KEY_OWNED = "owned"
private const val KEY_ID = "id"
private const val KEY_SOURCE = "source"
private const val SOURCE_STEAM = "STEAM"
private const val KEY_STEAM_STAMP = "steamStamp"
private const val STEAM_MANIFEST = "steamapps/appmanifest_993090.acf"
private const val STEAM_DLL = "steamapps/common/Lossless Scaling/Lossless.dll"
private const val UNCHANGED = -1
fun state(context: Context): State {
val source = prefs(context).getString(KEY_SOURCE, null)
?.let { name -> Source.entries.firstOrNull { it.name == name } } ?: Source.NONE
return State(owned(context), cacheFile(context)?.isFile == true, source)
}
fun state(context: Context) = State(owned(context), cacheFile(context)?.isFile == true)
fun owned(context: Context): Boolean {
if (prefs(context).getBoolean(KEY_OWNED, false)) return true
@@ -43,61 +35,46 @@ object Lossless {
return true
}
fun cacheFile(context: Context): File? = prefs(context).getString(KEY_ID, null)?.let { cacheFor(context, it) }
fun cacheFile(context: Context): File? = steamCacheId(context)?.let { cacheFor(context, it) }
private fun steamCacheId(context: Context): String? = prefs(context).let {
if (it.getString(KEY_SOURCE, null) == SOURCE_STEAM) it.getString(KEY_ID, null) else null
}
@Synchronized
fun sync(context: Context): Int {
val settings = prefs(context)
if (steamCacheId(context) == null && settings.contains(KEY_ID)) {
settings.edit().remove(KEY_ID).remove(KEY_SOURCE).remove(KEY_STEAM_STAMP).apply()
}
val steam = steamDll(context)
if (steam != null) {
markOwned(context)
val stamp = "${steam.length()}:${steam.lastModified()}"
if (stamp != prefs(context).getString(KEY_STEAM_STAMP, null)) {
val status = adopt(context, steam, Source.STEAM)
if (stamp != settings.getString(KEY_STEAM_STAMP, null)) {
val status = adoptSteamDll(context, steam)
if (status != LsfgNative.STATUS_OK && status != UNCHANGED) {
Log.w(TAG, "Steam copy $steam not taken: ${statusName(status)}")
}
prefs(context).edit().putString(KEY_STEAM_STAMP, stamp).apply()
settings.edit().putString(KEY_STEAM_STAMP, stamp).apply()
}
}
return ensureBuilt(context)
}
@Synchronized
fun import(context: Context, dll: File): ImportResult {
if (!owned(context)) return ImportResult.NOT_OWNED
return when (adopt(context, dll, Source.IMPORT)) {
UNCHANGED -> ImportResult.UNCHANGED
LsfgNative.STATUS_OK -> ImportResult.UPDATED
LsfgNative.STATUS_UNREADABLE_FILE, LsfgNative.STATUS_NOT_PORTABLE_EXECUTABLE,
LsfgNative.STATUS_MISSING_SHADERS -> ImportResult.INVALID
else -> ImportResult.FAILED
}
}
fun message(context: Context, result: ImportResult): String = context.getString(
when (result) {
ImportResult.UPDATED -> R.string.lsfg_imported
ImportResult.UNCHANGED -> R.string.lsfg_import_unchanged
ImportResult.NOT_OWNED -> R.string.lsfg_import_not_owned
ImportResult.INVALID -> R.string.lsfg_import_invalid
ImportResult.FAILED -> R.string.lsfg_import_failed
},
)
private fun ensureBuilt(context: Context): Int {
val id = prefs(context).getString(KEY_ID, null) ?: return LsfgNative.STATUS_NOT_INSTALLED
val cache = cacheFor(context, id)
val cache = cacheFile(context) ?: return LsfgNative.STATUS_NOT_INSTALLED
if (usable(cache)) return LsfgNative.STATUS_OK
val dll = storedDll(context)
if (!dll.isFile) return LsfgNative.STATUS_NOT_INSTALLED
return build(dll, cache)
}
private fun adopt(context: Context, source: File, from: Source): Int {
private fun adoptSteamDll(context: Context, source: File): Int {
val staged = File(dir(context).apply { mkdirs() }, "Lossless.dll.staged")
try {
val id = copyHashing(source, staged)
if (id == prefs(context).getString(KEY_ID, null) && usable(cacheFor(context, id))) return UNCHANGED
if (id == steamCacheId(context) && usable(cacheFor(context, id))) return UNCHANGED
val cache = cacheFor(context, id)
var status = LsfgNative.nativeValidateDll(staged.path)
if (status == LsfgNative.STATUS_OK) status = build(staged, cache)
@@ -109,9 +86,9 @@ object Lossless {
cache.delete()
return LsfgNative.STATUS_CACHE_UNUSABLE
}
prefs(context).edit().putString(KEY_ID, id).putString(KEY_SOURCE, from.name).apply()
prefs(context).edit().putString(KEY_ID, id).putString(KEY_SOURCE, SOURCE_STEAM).apply()
removeStale(context, id)
Log.i(TAG, "Lossless.dll from $source ($from) ready as $id")
Log.i(TAG, "Steam Lossless.dll from $source ready as $id")
return LsfgNative.STATUS_OK
} catch (e: java.io.IOException) {
Log.w(TAG, "could not copy $source", e)
@@ -158,9 +135,13 @@ object Lossless {
GameStorage.effective(context)?.path?.let(::File),
GameStorage.x64CardLibrary(context),
) + com.droiddeck.launcher.frontend.AddedGames.roots(context).map { it.host }
return libraries.map { File(it, STEAM_DLL) }.filter { it.isFile }.maxByOrNull { it.lastModified() }
return installedSteamDll(libraries)
}
internal fun installedSteamDll(libraries: List<File>): File? =
libraries.asSequence().filter { File(it, STEAM_MANIFEST).isFile }
.map { File(it, STEAM_DLL) }.filter { it.isFile }.maxByOrNull { it.lastModified() }
private fun markOwned(context: Context) {
if (!prefs(context).getBoolean(KEY_OWNED, false)) prefs(context).edit().putBoolean(KEY_OWNED, true).apply()
}
@@ -106,7 +106,7 @@ private fun PanelContent(
onChange(settings.copy(frameGen = it))
}
Text("Native engine (experimental): Google's WebRTC and DroidDeck's own compositor, so DroidDeck frame generation " +
"(DDFG) or LSFG can add frames. LSFG uses the Lossless.dll DroidDeck already uses for games. Screen effects " +
"(DDFG) or LSFG can add frames. LSFG requires Lossless Scaling installed through Steam. Screen effects " +
"apply to the web engine.", style = MaterialTheme.typography.bodySmall, color = MaterialTheme.colorScheme.onSurfaceVariant,
modifier = Modifier.padding(start = 8.dp, bottom = 6.dp))
}
@@ -623,11 +623,11 @@ class XboxNativePlayerActivity : ComponentActivity() {
XboxMenuEntry((if (current.frameGen == mode) "✓ " else "") + fgName(mode), when (mode) {
XboxNativeVideo.FG_DDFG -> "DroidDeck's own frame generation (DDFG); doubles the shown frame rate"
XboxNativeVideo.FG_LSFG, XboxNativeVideo.FG_LSFG3, XboxNativeVideo.FG_LSFG4 ->
"Lossless Scaling frame generation (the Lossless.dll DroidDeck uses for games); the frame-rate target caps the output"
"Lossless Scaling frame generation from the Steam installation; the frame-rate target caps the output"
else -> "Show the stream's own frames only"
}, choices[i]) { current = current.copy(frameGen = mode); setFrameGen(mode) }
}
if (!lsfg) androidx.compose.material3.Text("LSFG appears here once DroidDeck has the Lossless.dll (frame generation settings).",
if (!lsfg) androidx.compose.material3.Text("LSFG appears here once Lossless Scaling is installed through Steam.",
style = androidx.compose.material3.MaterialTheme.typography.bodySmall, color = cs.onSurfaceVariant,
modifier = androidx.compose.ui.Modifier.padding(horizontal = 16.dp, vertical = 8.dp))
if (current.zeroCopy) androidx.compose.material3.Text(
@@ -199,7 +199,6 @@ internal fun SessionDrawerPreview(secondScreens: List<SecondScreenDisplay>) {
secondScreenDisplays = secondScreens,
selectedSecondScreenDisplay = secondScreens.firstOrNull()?.id ?: -1,
onSecondScreenDisplay = {},
onImportLossless = {},
onKeyboard = {}, onHardwareKeyboard = {},
onSteamMenu = if (steam) ({}) else null,
onQam = if (steam) ({}) else null,
@@ -24,18 +24,13 @@ internal fun FrameGenMenu(
mode: FrameGen.Mode,
lossless: Lossless.State,
onPick: (FrameGen.Mode) -> Unit,
onImportLossless: () -> Unit,
gameProfileId: String? = null,
hasGameOverride: Boolean = false,
onResetGame: () -> Unit = {},
focusModifier: Modifier = Modifier,
legacyButtons: Boolean = false,
) {
val need = when {
lossless.ready -> null
lossless.owned -> stringResource(R.string.lsfg_needs_install)
else -> stringResource(R.string.lsfg_needs_steam)
}
val need = stringResource(R.string.lsfg_needs_steam)
val selectedEngine = mode.engine.takeIf { it != FrameGen.ENGINE_OFF }
val offLabel = FrameGen.label(LocalContext.current, FrameGen.Mode.OFF)
val colors = MaterialTheme.colorScheme
@@ -70,7 +65,7 @@ internal fun FrameGenMenu(
}
if (selectedEngine == FrameGen.ENGINE_LSFG && !lossless.ready) {
Text(
need.orEmpty(),
need,
color = colors.onSurfaceVariant,
style = MaterialTheme.typography.bodySmall,
modifier = Modifier.padding(top = 6.dp),
@@ -87,21 +82,6 @@ internal fun FrameGenMenu(
Text(stringResource(R.string.comp_game_use_general) + if (hasGameOverride) "" else " ✓")
}
}
if (lossless.owned) {
val using = when (lossless.source) {
Lossless.Source.STEAM -> stringResource(R.string.lsfg_using_steam)
Lossless.Source.IMPORT -> stringResource(R.string.lsfg_using_import)
Lossless.Source.NONE -> null
}
OutlinedButton(
onClick = onImportLossless,
modifier = Modifier.fillMaxWidth().padding(top = 6.dp)
.controllerConfirm(onClick = onImportLossless),
contentPadding = PaddingValues(horizontal = 12.dp, vertical = 8.dp),
) {
Text(stringResource(R.string.lsfg_import) + (using?.let { " · $it" } ?: ""))
}
}
}
return
}
@@ -200,7 +180,7 @@ internal fun FrameGenMenu(
}
if (selectedEngine == FrameGen.ENGINE_LSFG && !lossless.ready) {
Text(need.orEmpty(), color = colors.onSurfaceVariant,
Text(need, color = colors.onSurfaceVariant,
style = MaterialTheme.typography.bodySmall,
modifier = Modifier.padding(top = 6.dp))
}
@@ -217,20 +197,5 @@ internal fun FrameGenMenu(
}
}
if (lossless.owned) {
val using = when (lossless.source) {
Lossless.Source.STEAM -> stringResource(R.string.lsfg_using_steam)
Lossless.Source.IMPORT -> stringResource(R.string.lsfg_using_import)
Lossless.Source.NONE -> null
}
OutlinedButton(
onClick = onImportLossless,
modifier = Modifier.fillMaxWidth().padding(top = 8.dp)
.controllerConfirm(onClick = onImportLossless),
contentPadding = PaddingValues(horizontal = 12.dp, vertical = 8.dp),
) {
Text(stringResource(R.string.lsfg_import) + (using?.let { " · $it" } ?: ""))
}
}
}
}
@@ -246,7 +246,6 @@ class FrontEndActions(
val onVkBridgeSafe: (Boolean) -> Unit = {},
val onBridgeProtonDxvk: (Boolean) -> Unit = {},
val onFrameGenPick: (FrameGen.Mode) -> Unit,
val onImportLossless: () -> Unit,
val onProtons: () -> Unit,
val onComponents: (focusContent: Boolean) -> Unit,
val onGameComponents: (Library.SteamGame) -> Unit = { onComponents(true) },
@@ -860,7 +860,7 @@ internal fun ReadinessCard(
@Composable
private fun FrameGenMenu(s: FrontEndState, a: FrontEndActions, host: MenuHost) {
FrameGenMenu(s.frameGen, s.lossless, a.onFrameGenPick, a.onImportLossless, legacyButtons = true)
FrameGenMenu(s.frameGen, s.lossless, a.onFrameGenPick, legacyButtons = true)
}
@Composable
@@ -901,7 +901,6 @@ internal fun LaunchSettings(s: FrontEndState, a: FrontEndActions, host: MenuHost
gameFrameGenOverride = true
}
},
onImportLossless = a.onImportLossless,
legacyButtons = true,
gameProfileId = frameGenProfileKey,
hasGameOverride = gameFrameGenOverride,
@@ -316,7 +316,6 @@ class DrawerActions(
val hdr: Boolean = false,
val hdrAvailable: Boolean = false,
val onHdr: (Boolean) -> Unit = {},
val onImportLossless: () -> Unit,
val onKeyboard: () -> Unit,
val onHardwareKeyboard: () -> Unit,
val wowChatShown: Boolean = false,
@@ -906,7 +905,7 @@ private fun DrawerFrameGenPage(host: MenuHost, a: DrawerActions, track: (String)
SettingsGroup(stringResource(R.string.frame_gen_title), compact = true, key = "frame-generation", detail = summary(fgLabel, scope)) {
SettingsRow(stringResource(R.string.frame_gen_title), scope, stacked = true, tightControlSpacing = true) {
FrameGenMenu(
a.frameGen, a.lossless, a.onFrameGenPick, a.onImportLossless,
a.frameGen, a.lossless, a.onFrameGenPick,
gameProfileId = a.frameGenTargetGameId,
hasGameOverride = a.hasGameOverride,
onResetGame = a.onFrameGenReset,
@@ -31,10 +31,6 @@ internal fun FrameGenGroup(s: FrontEndState, a: FrontEndActions) {
a.onFrameGenPick(mode)
host.open = null
},
onImportLossless = {
a.onImportLossless()
host.open = null
},
focusModifier = Modifier.focusRequester(firstItemFocus),
legacyButtons = true,
)
@@ -82,17 +82,25 @@ import kotlinx.coroutines.withContext
private const val WALL_MIN_GAMES = 4
private const val WALL_DISTINCT = 40
private const val IDLE_FRAME_NS = 30_000_000L
internal val IdleFrames = IdleFrameGate()
internal object IdleFrames {
private var shown = 0L
internal class IdleFrameGate {
private var next = Long.MIN_VALUE
private var shown = Long.MIN_VALUE
fun due(nanos: Long): Boolean {
if (nanos == shown) return true
if (nanos - shown < IDLE_FRAME_NS) return false
// Allow sub-ms vsync jitter; carry the phase on panels whose refresh isn't a multiple of 60.
if (nanos + VSYNC_TOLERANCE_NS < next) return false
next = if (next == Long.MIN_VALUE || nanos - next >= FRAME_NS) nanos + FRAME_NS else next + FRAME_NS
shown = nanos
return true
}
private companion object {
const val FRAME_NS = 1_000_000_000L / 60
const val VSYNC_TOLERANCE_NS = 500_000L
}
}
@Composable
-11
View File
@@ -55,17 +55,6 @@
<string name="frame_gen_lsfg">LSFG %1$d×</string>
<string name="frame_gen_lsfg_adaptive">LSFG تكيّفي %1$d</string>
<string name="lsfg_needs_steam">يتطلب Lossless Scaling على Steam</string>
<string name="lsfg_needs_install">ثبّت Lossless Scaling في Steam أو استورد Lossless.dll</string>
<string name="lsfg_import">استيراد Lossless.dll…</string>
<string name="lsfg_using_steam">يتم استخدام النسخة الموجودة في Steam</string>
<string name="lsfg_using_import">يتم استخدام نسخة مستوردة</string>
<string name="lsfg_pick_title">اختر Lossless.dll</string>
<string name="lsfg_imported">تم استيراد Lossless.dll</string>
<string name="lsfg_import_unchanged">ملف Lossless.dll هذا قيد الاستخدام بالفعل</string>
<string name="lsfg_import_not_owned">حساب Steam هذا لا يملك Lossless Scaling</string>
<string name="lsfg_import_invalid">هذا الملف ليس Lossless.dll الخاص بـ Lossless Scaling</string>
<string name="lsfg_import_failed">تعذّر تجهيز LSFG من ملف Lossless.dll هذا</string>
<string name="lsfg_problem_missing">يتطلب LSFG برنامج Lossless Scaling من Steam أو ملف Lossless.dll مستوردًا</string>
<string name="lsfg_problem_failed">تعذّر على LSFG تجهيز أدوات التظليل من Lossless.dll</string>
<string name="hud_fg_unsupported">%1$s: غير مدعوم</string>
<string name="hud_fg_failed">%1$s: فشل المحرك</string>
@@ -55,17 +55,6 @@
<string name="frame_gen_lsfg">LSFG %1$d×</string>
<string name="frame_gen_lsfg_adaptive">LSFG adaptativo %1$d</string>
<string name="lsfg_needs_steam">Requiere Lossless Scaling en Steam</string>
<string name="lsfg_needs_install">Instala Lossless Scaling en Steam o importa Lossless.dll</string>
<string name="lsfg_import">Importar Lossless.dll…</string>
<string name="lsfg_using_steam">Usando la copia de Steam</string>
<string name="lsfg_using_import">Usando una copia importada</string>
<string name="lsfg_pick_title">Elegir Lossless.dll</string>
<string name="lsfg_imported">Lossless.dll importado</string>
<string name="lsfg_import_unchanged">Este Lossless.dll ya está en uso</string>
<string name="lsfg_import_not_owned">Lossless Scaling no está en esta cuenta de Steam</string>
<string name="lsfg_import_invalid">Este archivo no es el Lossless.dll de Lossless Scaling</string>
<string name="lsfg_import_failed">No se pudo preparar LSFG con este Lossless.dll</string>
<string name="lsfg_problem_missing">LSFG necesita Lossless Scaling de Steam o un Lossless.dll importado</string>
<string name="lsfg_problem_failed">LSFG no pudo preparar sus shaders desde Lossless.dll</string>
<string name="hud_fg_unsupported">%1$s: no compatible</string>
<string name="hud_fg_failed">%1$s: falló el motor</string>
-11
View File
@@ -55,17 +55,6 @@
<string name="frame_gen_lsfg">LSFG %1$d×</string>
<string name="frame_gen_lsfg_adaptive">LSFG Адаптивно %1$d</string>
<string name="lsfg_needs_steam">Изисква Lossless Scaling в Steam</string>
<string name="lsfg_needs_install">Инсталирайте Lossless Scaling в Steam или импортирайте Lossless.dll</string>
<string name="lsfg_import">Импортиране на Lossless.dll…</string>
<string name="lsfg_using_steam">Използва се копието от Steam</string>
<string name="lsfg_using_import">Използва се импортирано копие</string>
<string name="lsfg_pick_title">Изберете Lossless.dll</string>
<string name="lsfg_imported">Lossless.dll е импортиран</string>
<string name="lsfg_import_unchanged">Този Lossless.dll вече се използва</string>
<string name="lsfg_import_not_owned">Lossless Scaling не е закупен за този акаунт в Steam</string>
<string name="lsfg_import_invalid">Този файл не е Lossless.dll на Lossless Scaling</string>
<string name="lsfg_import_failed">LSFG не можа да се подготви от този Lossless.dll</string>
<string name="lsfg_problem_missing">LSFG изисква Lossless Scaling от Steam или импортиран Lossless.dll</string>
<string name="lsfg_problem_failed">LSFG не можа да подготви шейдърите си от Lossless.dll</string>
<string name="hud_fg_unsupported">%1$s: не се поддържа</string>
<string name="hud_fg_failed">%1$s: грешка в двигателя</string>
-11
View File
@@ -55,17 +55,6 @@
<string name="frame_gen_lsfg">LSFG %1$d×</string>
<string name="frame_gen_lsfg_adaptive">LSFG Adaptivní %1$d</string>
<string name="lsfg_needs_steam">Vyžaduje Lossless Scaling na Steamu</string>
<string name="lsfg_needs_install">Nainstalujte Lossless Scaling ve Steamu nebo naimportujte Lossless.dll</string>
<string name="lsfg_import">Importovat Lossless.dll…</string>
<string name="lsfg_using_steam">Používá se kopie ze Steamu</string>
<string name="lsfg_using_import">Používá se importovaná kopie</string>
<string name="lsfg_pick_title">Vyberte Lossless.dll</string>
<string name="lsfg_imported">Lossless.dll byl importován</string>
<string name="lsfg_import_unchanged">Tento Lossless.dll se už používá</string>
<string name="lsfg_import_not_owned">Tento účet Steamu nevlastní Lossless Scaling</string>
<string name="lsfg_import_invalid">Tento soubor není Lossless.dll aplikace Lossless Scaling</string>
<string name="lsfg_import_failed">Z tohoto souboru Lossless.dll se nepodařilo připravit LSFG</string>
<string name="lsfg_problem_missing">LSFG vyžaduje Lossless Scaling ze Steamu nebo importovaný Lossless.dll</string>
<string name="lsfg_problem_failed">LSFG se nepodařilo připravit shadery z Lossless.dll</string>
<string name="hud_fg_unsupported">%1$s: nepodporováno</string>
<string name="hud_fg_failed">%1$s: chyba enginu</string>
-11
View File
@@ -55,17 +55,6 @@
<string name="frame_gen_lsfg">LSFG %1$d×</string>
<string name="frame_gen_lsfg_adaptive">LSFG Adaptiv %1$d</string>
<string name="lsfg_needs_steam">Kræver Lossless Scaling på Steam</string>
<string name="lsfg_needs_install">Installer Lossless Scaling via Steam, eller importer Lossless.dll</string>
<string name="lsfg_import">Importer Lossless.dll…</string>
<string name="lsfg_using_steam">Bruger kopien fra Steam</string>
<string name="lsfg_using_import">Bruger en importeret kopi</string>
<string name="lsfg_pick_title">Vælg Lossless.dll</string>
<string name="lsfg_imported">Lossless.dll importeret</string>
<string name="lsfg_import_unchanged">Denne Lossless.dll er allerede i brug</string>
<string name="lsfg_import_not_owned">Lossless Scaling ejes ikke på denne Steam-konto</string>
<string name="lsfg_import_invalid">Denne fil er ikke Lossless Scalings Lossless.dll</string>
<string name="lsfg_import_failed">Kunne ikke forberede LSFG fra denne Lossless.dll</string>
<string name="lsfg_problem_missing">LSFG kræver Lossless Scaling fra Steam eller en importeret Lossless.dll</string>
<string name="lsfg_problem_failed">LSFG kunne ikke forberede sine shadere fra Lossless.dll</string>
<string name="hud_fg_unsupported">%1$s: ikke understøttet</string>
<string name="hud_fg_failed">%1$s: motoren fejlede</string>
-11
View File
@@ -55,17 +55,6 @@
<string name="frame_gen_lsfg">LSFG %1$d×</string>
<string name="frame_gen_lsfg_adaptive">LSFG Adaptiv %1$d</string>
<string name="lsfg_needs_steam">Benötigt Lossless Scaling auf Steam</string>
<string name="lsfg_needs_install">Installiere Lossless Scaling in Steam oder importiere Lossless.dll</string>
<string name="lsfg_import">Lossless.dll importieren…</string>
<string name="lsfg_using_steam">Kopie aus Steam wird verwendet</string>
<string name="lsfg_using_import">Importierte Kopie wird verwendet</string>
<string name="lsfg_pick_title">Lossless.dll auswählen</string>
<string name="lsfg_imported">Lossless.dll importiert</string>
<string name="lsfg_import_unchanged">Diese Lossless.dll wird bereits verwendet</string>
<string name="lsfg_import_not_owned">Dieses Steam-Konto besitzt Lossless Scaling nicht</string>
<string name="lsfg_import_invalid">Diese Datei ist nicht die Lossless.dll von Lossless Scaling</string>
<string name="lsfg_import_failed">LSFG konnte aus dieser Lossless.dll nicht vorbereitet werden</string>
<string name="lsfg_problem_missing">LSFG benötigt Lossless Scaling aus Steam oder eine importierte Lossless.dll</string>
<string name="lsfg_problem_failed">LSFG konnte seine Shader nicht aus Lossless.dll vorbereiten</string>
<string name="hud_fg_unsupported">%1$s: nicht unterstützt</string>
<string name="hud_fg_failed">%1$s: Engine-Fehler</string>
-11
View File
@@ -55,17 +55,6 @@
<string name="frame_gen_lsfg">LSFG %1$d×</string>
<string name="frame_gen_lsfg_adaptive">LSFG προσαρμοστικό %1$d</string>
<string name="lsfg_needs_steam">Απαιτεί το Lossless Scaling στο Steam</string>
<string name="lsfg_needs_install">Εγκαταστήστε το Lossless Scaling στο Steam ή εισαγάγετε το Lossless.dll</string>
<string name="lsfg_import">Εισαγωγή Lossless.dll…</string>
<string name="lsfg_using_steam">Χρήση του αντιγράφου από το Steam</string>
<string name="lsfg_using_import">Χρήση ενός εισαγμένου αντιγράφου</string>
<string name="lsfg_pick_title">Επιλογή Lossless.dll</string>
<string name="lsfg_imported">Το Lossless.dll εισήχθη</string>
<string name="lsfg_import_unchanged">Αυτό το Lossless.dll χρησιμοποιείται ήδη</string>
<string name="lsfg_import_not_owned">Αυτός ο λογαριασμός Steam δεν κατέχει το Lossless Scaling</string>
<string name="lsfg_import_invalid">Αυτό το αρχείο δεν είναι το Lossless.dll του Lossless Scaling</string>
<string name="lsfg_import_failed">Δεν ήταν δυνατή η προετοιμασία του LSFG από αυτό το Lossless.dll</string>
<string name="lsfg_problem_missing">Το LSFG απαιτεί το Lossless Scaling από το Steam ή ένα εισαγμένο Lossless.dll</string>
<string name="lsfg_problem_failed">Το LSFG δεν μπόρεσε να προετοιμάσει τα shaders του από το Lossless.dll</string>
<string name="hud_fg_unsupported">%1$s: μη υποστηριζόμενο</string>
<string name="hud_fg_failed">%1$s: αποτυχία μηχανής</string>
-11
View File
@@ -55,17 +55,6 @@
<string name="frame_gen_lsfg">LSFG %1$d×</string>
<string name="frame_gen_lsfg_adaptive">LSFG adaptativo %1$d</string>
<string name="lsfg_needs_steam">Requiere Lossless Scaling en Steam</string>
<string name="lsfg_needs_install">Instala Lossless Scaling en Steam o importa Lossless.dll</string>
<string name="lsfg_import">Importar Lossless.dll…</string>
<string name="lsfg_using_steam">Usando la copia de Steam</string>
<string name="lsfg_using_import">Usando una copia importada</string>
<string name="lsfg_pick_title">Elegir Lossless.dll</string>
<string name="lsfg_imported">Lossless.dll importado</string>
<string name="lsfg_import_unchanged">Este Lossless.dll ya está en uso</string>
<string name="lsfg_import_not_owned">Lossless Scaling no está en esta cuenta de Steam</string>
<string name="lsfg_import_invalid">Este archivo no es el Lossless.dll de Lossless Scaling</string>
<string name="lsfg_import_failed">No se pudo preparar LSFG con este Lossless.dll</string>
<string name="lsfg_problem_missing">LSFG necesita Lossless Scaling de Steam o un Lossless.dll importado</string>
<string name="lsfg_problem_failed">LSFG no pudo preparar sus shaders desde Lossless.dll</string>
<string name="hud_fg_unsupported">%1$s: no compatible</string>
<string name="hud_fg_failed">%1$s: falló el motor</string>
-11
View File
@@ -55,17 +55,6 @@
<string name="frame_gen_lsfg">LSFG %1$d×</string>
<string name="frame_gen_lsfg_adaptive">LSFG Mukautuva %1$d</string>
<string name="lsfg_needs_steam">Vaatii Lossless Scalingin Steamista</string>
<string name="lsfg_needs_install">Asenna Lossless Scaling Steamista tai tuo Lossless.dll</string>
<string name="lsfg_import">Tuo Lossless.dll…</string>
<string name="lsfg_using_steam">Käytössä on Steamin kopio</string>
<string name="lsfg_using_import">Käytössä on tuotu kopio</string>
<string name="lsfg_pick_title">Valitse Lossless.dll</string>
<string name="lsfg_imported">Lossless.dll tuotu</string>
<string name="lsfg_import_unchanged">Tämä Lossless.dll on jo käytössä</string>
<string name="lsfg_import_not_owned">Lossless Scaling ei ole tämän Steam-tilin omistuksessa</string>
<string name="lsfg_import_invalid">Tämä tiedosto ei ole Lossless Scalingin Lossless.dll</string>
<string name="lsfg_import_failed">LSFG:n valmistelu tästä Lossless.dll-tiedostosta epäonnistui</string>
<string name="lsfg_problem_missing">LSFG tarvitsee Lossless Scalingin Steamista tai tuodun Lossless.dll-tiedoston</string>
<string name="lsfg_problem_failed">LSFG ei pystynyt valmistelemaan sävyttimiään Lossless.dll-tiedostosta</string>
<string name="hud_fg_unsupported">%1$s: ei tuettu</string>
<string name="hud_fg_failed">%1$s: moottori epäonnistui</string>
-11
View File
@@ -55,17 +55,6 @@
<string name="frame_gen_lsfg">LSFG %1$d×</string>
<string name="frame_gen_lsfg_adaptive">LSFG Adaptatif %1$d</string>
<string name="lsfg_needs_steam">Nécessite Lossless Scaling sur Steam</string>
<string name="lsfg_needs_install">Installez Lossless Scaling sur Steam ou importez Lossless.dll</string>
<string name="lsfg_import">Importer Lossless.dll…</string>
<string name="lsfg_using_steam">Utilise la version sur Steam</string>
<string name="lsfg_using_import">Utilise la version importée</string>
<string name="lsfg_pick_title">Sélectionner le fichier Lossless.dll</string>
<string name="lsfg_imported">Lossless.dll importé</string>
<string name="lsfg_import_unchanged">Ce Lossless.dll est déjà utilisé</string>
<string name="lsfg_import_not_owned">Ce compte Steam ne possède pas Lossless Scaling</string>
<string name="lsfg_import_invalid">Ce fichier n\'est pas le Lossless.dll de Lossless Scaling</string>
<string name="lsfg_import_failed">Impossible de préparer LSFG à partir de ce Lossless.dll</string>
<string name="lsfg_problem_missing">LSFG nécessite Lossless Scaling depuis Steam, ou un fichier Lossless.dll importé</string>
<string name="lsfg_problem_failed">LSFG ne peut pas préparer ses shaders à partir de ce Lossless.dll</string>
<string name="hud_fg_unsupported">%1$s : non pris en charge</string>
<string name="hud_fg_failed">%1$s : échec du moteur</string>
-11
View File
@@ -55,17 +55,6 @@
<string name="frame_gen_lsfg">LSFG %1$d×</string>
<string name="frame_gen_lsfg_adaptive">LSFG एडैप्टिव %1$d</string>
<string name="lsfg_needs_steam">Steam पर Lossless Scaling की ज़रूरत है</string>
<string name="lsfg_needs_install">Steam में Lossless Scaling इंस्टॉल करें या Lossless.dll इंपोर्ट करें</string>
<string name="lsfg_import">Lossless.dll इंपोर्ट करें…</string>
<string name="lsfg_using_steam">Steam वाली कॉपी का उपयोग हो रहा है</string>
<string name="lsfg_using_import">इंपोर्ट की गई कॉपी का उपयोग हो रहा है</string>
<string name="lsfg_pick_title">Lossless.dll चुनें</string>
<string name="lsfg_imported">Lossless.dll इंपोर्ट हो गई</string>
<string name="lsfg_import_unchanged">यह Lossless.dll पहले से उपयोग में है</string>
<string name="lsfg_import_not_owned">इस Steam खाते में Lossless Scaling नहीं है</string>
<string name="lsfg_import_invalid">यह फ़ाइल Lossless Scaling की Lossless.dll नहीं है</string>
<string name="lsfg_import_failed">इस Lossless.dll से LSFG तैयार नहीं हो सका</string>
<string name="lsfg_problem_missing">LSFG को Steam से Lossless Scaling या इंपोर्ट की गई Lossless.dll चाहिए</string>
<string name="lsfg_problem_failed">LSFG अपने शेडर Lossless.dll से तैयार नहीं कर सका</string>
<string name="hud_fg_unsupported">%1$s: असमर्थित</string>
<string name="hud_fg_failed">%1$s: इंजन विफल</string>
-11
View File
@@ -55,17 +55,6 @@
<string name="frame_gen_lsfg">LSFG %1$d×</string>
<string name="frame_gen_lsfg_adaptive">LSFG adaptív %1$d</string>
<string name="lsfg_needs_steam">A Lossless Scaling szükséges a Steamen</string>
<string name="lsfg_needs_install">Telepítse a Lossless Scalinget a Steamen, vagy importálja a Lossless.dll fájlt</string>
<string name="lsfg_import">Lossless.dll importálása…</string>
<string name="lsfg_using_steam">A Steamről származó másolat használatban</string>
<string name="lsfg_using_import">Egy importált másolat használatban</string>
<string name="lsfg_pick_title">Válassza ki a Lossless.dll fájlt</string>
<string name="lsfg_imported">A Lossless.dll importálva</string>
<string name="lsfg_import_unchanged">Ez a Lossless.dll már használatban van</string>
<string name="lsfg_import_not_owned">A Lossless Scaling nincs a tulajdonában ezen a Steam-fiókon</string>
<string name="lsfg_import_invalid">Ez a fájl nem a Lossless Scaling Lossless.dll fájlja</string>
<string name="lsfg_import_failed">Nem sikerült előkészíteni az LSFG-t ebből a Lossless.dll fájlból</string>
<string name="lsfg_problem_missing">Az LSFG-hez szükséges a Lossless Scaling a Steamről vagy egy importált Lossless.dll</string>
<string name="lsfg_problem_failed">Az LSFG nem tudta előkészíteni a shadereket a Lossless.dll fájlból</string>
<string name="hud_fg_unsupported">%1$s: nem támogatott</string>
<string name="hud_fg_failed">%1$s: a motor hibát jelzett</string>
-11
View File
@@ -55,17 +55,6 @@
<string name="frame_gen_lsfg">LSFG %1$d×</string>
<string name="frame_gen_lsfg_adaptive">LSFG Adaptif %1$d</string>
<string name="lsfg_needs_steam">Memerlukan Lossless Scaling di Steam</string>
<string name="lsfg_needs_install">Instal Lossless Scaling di Steam atau impor Lossless.dll</string>
<string name="lsfg_import">Impor Lossless.dll…</string>
<string name="lsfg_using_steam">Menggunakan salinan dari Steam</string>
<string name="lsfg_using_import">Menggunakan salinan yang diimpor</string>
<string name="lsfg_pick_title">Pilih Lossless.dll</string>
<string name="lsfg_imported">Lossless.dll diimpor</string>
<string name="lsfg_import_unchanged">Lossless.dll ini sudah digunakan</string>
<string name="lsfg_import_not_owned">Lossless Scaling tidak dimiliki di akun Steam ini</string>
<string name="lsfg_import_invalid">File ini bukan Lossless.dll milik Lossless Scaling</string>
<string name="lsfg_import_failed">Tidak dapat menyiapkan LSFG dari Lossless.dll ini</string>
<string name="lsfg_problem_missing">LSFG memerlukan Lossless Scaling dari Steam atau Lossless.dll yang diimpor</string>
<string name="lsfg_problem_failed">LSFG tidak dapat menyiapkan shader-nya dari Lossless.dll</string>
<string name="hud_fg_unsupported">%1$s: tidak didukung</string>
<string name="hud_fg_failed">%1$s: mesin gagal</string>
-11
View File
@@ -55,17 +55,6 @@
<string name="frame_gen_lsfg">LSFG %1$d×</string>
<string name="frame_gen_lsfg_adaptive">LSFG adattivo %1$d</string>
<string name="lsfg_needs_steam">Richiede Lossless Scaling su Steam</string>
<string name="lsfg_needs_install">Installa Lossless Scaling in Steam o importa Lossless.dll</string>
<string name="lsfg_import">Importa Lossless.dll…</string>
<string name="lsfg_using_steam">In uso la copia di Steam</string>
<string name="lsfg_using_import">In uso una copia importata</string>
<string name="lsfg_pick_title">Scegli Lossless.dll</string>
<string name="lsfg_imported">Lossless.dll importato</string>
<string name="lsfg_import_unchanged">Questo Lossless.dll è già in uso</string>
<string name="lsfg_import_not_owned">Questo account Steam non possiede Lossless Scaling</string>
<string name="lsfg_import_invalid">Questo file non è il Lossless.dll di Lossless Scaling</string>
<string name="lsfg_import_failed">Impossibile preparare LSFG da questo Lossless.dll</string>
<string name="lsfg_problem_missing">LSFG richiede Lossless Scaling da Steam o un Lossless.dll importato</string>
<string name="lsfg_problem_failed">LSFG non è riuscito a preparare gli shader da Lossless.dll</string>
<string name="hud_fg_unsupported">%1$s: non supportato</string>
<string name="hud_fg_failed">%1$s: errore del motore</string>
-11
View File
@@ -55,17 +55,6 @@
<string name="frame_gen_lsfg">LSFG %1$d×</string>
<string name="frame_gen_lsfg_adaptive">LSFG アダプティブ %1$d</string>
<string name="lsfg_needs_steam">Steam版のLossless Scalingが必要です</string>
<string name="lsfg_needs_install">SteamでLossless Scalingをインストールするか、Lossless.dllをインポートしてください</string>
<string name="lsfg_import">Lossless.dllをインポート…</string>
<string name="lsfg_using_steam">Steam版を使用中</string>
<string name="lsfg_using_import">インポート版を使用中</string>
<string name="lsfg_pick_title">Lossless.dllファイルを選択</string>
<string name="lsfg_imported">Lossless.dllをインポートしました</string>
<string name="lsfg_import_unchanged">このLossless.dllはすでに使用されています</string>
<string name="lsfg_import_not_owned">このSteamアカウントはLossless Scalingを所有していません</string>
<string name="lsfg_import_invalid">このファイルはLossless ScalingのLossless.dllではありません</string>
<string name="lsfg_import_failed">このLossless.dllからLSFGを準備できませんでした</string>
<string name="lsfg_problem_missing">LSFGにはSteam版のLossless Scaling、またはインポートされたLossless.dllファイルが必要です</string>
<string name="lsfg_problem_failed">LSFGはこのLossless.dllからシェーダーを準備できませんでした</string>
<string name="hud_fg_unsupported">%1$s:サポート外</string>
<string name="hud_fg_failed">%1$s:エンジンエラー</string>
-11
View File
@@ -55,17 +55,6 @@
<string name="frame_gen_lsfg">LSFG %1$d×</string>
<string name="frame_gen_lsfg_adaptive">LSFG 적응형 %1$d</string>
<string name="lsfg_needs_steam">Steam에서 Lossless Scaling이 필요합니다</string>
<string name="lsfg_needs_install">Steam에서 Lossless Scaling을 설치하거나 Lossless.dll을 가져오세요</string>
<string name="lsfg_import">Lossless.dll 가져오기…</string>
<string name="lsfg_using_steam">Steam 버전 사용 중</string>
<string name="lsfg_using_import">가져온 버전 사용 중</string>
<string name="lsfg_pick_title">Lossless.dll 파일 선택</string>
<string name="lsfg_imported">Lossless.dll을 가져왔습니다</string>
<string name="lsfg_import_unchanged">이 Lossless.dll은 이미 사용 중입니다</string>
<string name="lsfg_import_not_owned">이 Steam 계정에는 Lossless Scaling이 없습니다</string>
<string name="lsfg_import_invalid">이 파일은 Lossless Scaling의 Lossless.dll이 아닙니다</string>
<string name="lsfg_import_failed">이 Lossless.dll에서 LSFG를 준비할 수 없습니다</string>
<string name="lsfg_problem_missing">LSFG에는 Steam의 Lossless Scaling 또는 가져온 Lossless.dll 파일이 필요합니다</string>
<string name="lsfg_problem_failed">LSFG가 이 Lossless.dll에서 셰이더를 준비할 수 없습니다</string>
<string name="hud_fg_unsupported">%1$s: 지원되지 않음</string>
<string name="hud_fg_failed">%1$s: 엔진 실패</string>
-11
View File
@@ -55,17 +55,6 @@
<string name="frame_gen_lsfg">LSFG %1$d×</string>
<string name="frame_gen_lsfg_adaptive">LSFG Adaptif %1$d</string>
<string name="lsfg_needs_steam">Memerlukan Lossless Scaling pada Steam</string>
<string name="lsfg_needs_install">Pasang Lossless Scaling dalam Steam atau import Lossless.dll</string>
<string name="lsfg_import">Import Lossless.dll…</string>
<string name="lsfg_using_steam">Menggunakan salinan daripada Steam</string>
<string name="lsfg_using_import">Menggunakan salinan yang diimport</string>
<string name="lsfg_pick_title">Pilih Lossless.dll</string>
<string name="lsfg_imported">Lossless.dll diimport</string>
<string name="lsfg_import_unchanged">Lossless.dll ini sudah digunakan</string>
<string name="lsfg_import_not_owned">Lossless Scaling tidak dimiliki pada akaun Steam ini</string>
<string name="lsfg_import_invalid">Fail ini bukan Lossless.dll milik Lossless Scaling</string>
<string name="lsfg_import_failed">Tidak dapat menyediakan LSFG daripada Lossless.dll ini</string>
<string name="lsfg_problem_missing">LSFG memerlukan Lossless Scaling daripada Steam atau Lossless.dll yang diimport</string>
<string name="lsfg_problem_failed">LSFG tidak dapat menyediakan shadernya daripada Lossless.dll</string>
<string name="hud_fg_unsupported">%1$s: tidak disokong</string>
<string name="hud_fg_failed">%1$s: enjin gagal</string>
-11
View File
@@ -55,17 +55,6 @@
<string name="frame_gen_lsfg">LSFG %1$d×</string>
<string name="frame_gen_lsfg_adaptive">LSFG Adaptiv %1$d</string>
<string name="lsfg_needs_steam">Krever Lossless Scaling på Steam</string>
<string name="lsfg_needs_install">Installer Lossless Scaling via Steam, eller importer Lossless.dll</string>
<string name="lsfg_import">Importer Lossless.dll…</string>
<string name="lsfg_using_steam">Bruker kopien fra Steam</string>
<string name="lsfg_using_import">Bruker en importert kopi</string>
<string name="lsfg_pick_title">Velg Lossless.dll</string>
<string name="lsfg_imported">Lossless.dll importert</string>
<string name="lsfg_import_unchanged">Denne Lossless.dll-filen er allerede i bruk</string>
<string name="lsfg_import_not_owned">Lossless Scaling eies ikke av denne Steam-kontoen</string>
<string name="lsfg_import_invalid">Denne filen er ikke Lossless Scalings Lossless.dll</string>
<string name="lsfg_import_failed">Kunne ikke forberede LSFG fra denne Lossless.dll-filen</string>
<string name="lsfg_problem_missing">LSFG krever Lossless Scaling fra Steam eller en importert Lossless.dll</string>
<string name="lsfg_problem_failed">LSFG kunne ikke forberede shaderne sine fra Lossless.dll</string>
<string name="hud_fg_unsupported">%1$s: ikke støttet</string>
<string name="hud_fg_failed">%1$s: motoren feilet</string>
-11
View File
@@ -55,17 +55,6 @@
<string name="frame_gen_lsfg">LSFG %1$d×</string>
<string name="frame_gen_lsfg_adaptive">LSFG adaptief %1$d</string>
<string name="lsfg_needs_steam">Vereist Lossless Scaling op Steam</string>
<string name="lsfg_needs_install">Installeer Lossless Scaling in Steam of importeer Lossless.dll</string>
<string name="lsfg_import">Lossless.dll importeren…</string>
<string name="lsfg_using_steam">De kopie uit Steam wordt gebruikt</string>
<string name="lsfg_using_import">Een geïmporteerde kopie wordt gebruikt</string>
<string name="lsfg_pick_title">Kies Lossless.dll</string>
<string name="lsfg_imported">Lossless.dll geïmporteerd</string>
<string name="lsfg_import_unchanged">Deze Lossless.dll wordt al gebruikt</string>
<string name="lsfg_import_not_owned">Lossless Scaling staat niet op dit Steam-account</string>
<string name="lsfg_import_invalid">Dit bestand is niet de Lossless.dll van Lossless Scaling</string>
<string name="lsfg_import_failed">Kan LSFG niet voorbereiden met deze Lossless.dll</string>
<string name="lsfg_problem_missing">LSFG vereist Lossless Scaling uit Steam of een geïmporteerde Lossless.dll</string>
<string name="lsfg_problem_failed">LSFG kan zijn shaders niet voorbereiden uit Lossless.dll</string>
<string name="hud_fg_unsupported">%1$s: niet ondersteund</string>
<string name="hud_fg_failed">%1$s: engine mislukt</string>
-11
View File
@@ -55,17 +55,6 @@
<string name="frame_gen_lsfg">LSFG %1$d×</string>
<string name="frame_gen_lsfg_adaptive">LSFG adaptacyjne %1$d</string>
<string name="lsfg_needs_steam">Wymaga Lossless Scaling ze Steam</string>
<string name="lsfg_needs_install">Zainstaluj Lossless Scaling w Steam lub zaimportuj Lossless.dll</string>
<string name="lsfg_import">Importuj Lossless.dll…</string>
<string name="lsfg_using_steam">Używana jest kopia ze Steam</string>
<string name="lsfg_using_import">Używana jest zaimportowana kopia</string>
<string name="lsfg_pick_title">Wybierz Lossless.dll</string>
<string name="lsfg_imported">Zaimportowano Lossless.dll</string>
<string name="lsfg_import_unchanged">Ten plik Lossless.dll jest już używany</string>
<string name="lsfg_import_not_owned">To konto Steam nie ma Lossless Scaling</string>
<string name="lsfg_import_invalid">Ten plik to nie Lossless.dll z Lossless Scaling</string>
<string name="lsfg_import_failed">Nie udało się przygotować LSFG z tego pliku Lossless.dll</string>
<string name="lsfg_problem_missing">LSFG wymaga Lossless Scaling ze Steam lub zaimportowanego pliku Lossless.dll</string>
<string name="lsfg_problem_failed">Nie udało się przygotować shaderów LSFG z pliku Lossless.dll</string>
<string name="hud_fg_unsupported">%1$s: nieobsługiwane</string>
<string name="hud_fg_failed">%1$s: błąd silnika</string>
@@ -55,17 +55,6 @@
<string name="frame_gen_lsfg">LSFG %1$d×</string>
<string name="frame_gen_lsfg_adaptive">LSFG Adaptativo %1$d</string>
<string name="lsfg_needs_steam">Requer o Lossless Scaling no Steam</string>
<string name="lsfg_needs_install">Instale o Lossless Scaling no Steam ou importe o Lossless.dll</string>
<string name="lsfg_import">Importar Lossless.dll…</string>
<string name="lsfg_using_steam">A utilizar a cópia do Steam</string>
<string name="lsfg_using_import">A utilizar uma cópia importada</string>
<string name="lsfg_pick_title">Escolher Lossless.dll</string>
<string name="lsfg_imported">Lossless.dll importado</string>
<string name="lsfg_import_unchanged">Este Lossless.dll já está a ser utilizado</string>
<string name="lsfg_import_not_owned">Esta conta Steam não possui o Lossless Scaling</string>
<string name="lsfg_import_invalid">Este ficheiro não é o Lossless.dll do Lossless Scaling</string>
<string name="lsfg_import_failed">Não foi possível preparar o LSFG a partir deste Lossless.dll</string>
<string name="lsfg_problem_missing">O LSFG requer o Lossless Scaling do Steam ou um Lossless.dll importado</string>
<string name="lsfg_problem_failed">O LSFG não conseguiu preparar os shaders a partir do Lossless.dll</string>
<string name="hud_fg_unsupported">%1$s: não suportado</string>
<string name="hud_fg_failed">%1$s: falha do motor</string>
-11
View File
@@ -55,17 +55,6 @@
<string name="frame_gen_lsfg">LSFG %1$d×</string>
<string name="frame_gen_lsfg_adaptive">LSFG Adaptativo %1$d</string>
<string name="lsfg_needs_steam">Requer o Lossless Scaling na Steam</string>
<string name="lsfg_needs_install">Instale o Lossless Scaling na Steam ou importe o Lossless.dll</string>
<string name="lsfg_import">Importar Lossless.dll…</string>
<string name="lsfg_using_steam">Usando a cópia da Steam</string>
<string name="lsfg_using_import">Usando uma cópia importada</string>
<string name="lsfg_pick_title">Escolha o Lossless.dll</string>
<string name="lsfg_imported">Lossless.dll importado</string>
<string name="lsfg_import_unchanged">Este Lossless.dll já está em uso</string>
<string name="lsfg_import_not_owned">Esta conta Steam não tem o Lossless Scaling</string>
<string name="lsfg_import_invalid">Este arquivo não é o Lossless.dll do Lossless Scaling</string>
<string name="lsfg_import_failed">Não foi possível preparar o LSFG com este Lossless.dll</string>
<string name="lsfg_problem_missing">O LSFG requer o Lossless Scaling da Steam ou um Lossless.dll importado</string>
<string name="lsfg_problem_failed">O LSFG não conseguiu preparar os shaders a partir do Lossless.dll</string>
<string name="hud_fg_unsupported">%1$s: sem suporte</string>
<string name="hud_fg_failed">%1$s: falha no mecanismo</string>
-11
View File
@@ -55,17 +55,6 @@
<string name="frame_gen_lsfg">LSFG %1$d×</string>
<string name="frame_gen_lsfg_adaptive">LSFG Adaptiv %1$d</string>
<string name="lsfg_needs_steam">Necesită Lossless Scaling pe Steam</string>
<string name="lsfg_needs_install">Instalează Lossless Scaling în Steam sau importă Lossless.dll</string>
<string name="lsfg_import">Importă Lossless.dll…</string>
<string name="lsfg_using_steam">Se folosește copia din Steam</string>
<string name="lsfg_using_import">Se folosește o copie importată</string>
<string name="lsfg_pick_title">Alege Lossless.dll</string>
<string name="lsfg_imported">Lossless.dll importat</string>
<string name="lsfg_import_unchanged">Acest Lossless.dll este deja în uz</string>
<string name="lsfg_import_not_owned">Lossless Scaling nu este deținut pe acest cont Steam</string>
<string name="lsfg_import_invalid">Acest fișier nu este Lossless.dll al Lossless Scaling</string>
<string name="lsfg_import_failed">Nu s-a putut pregăti LSFG din acest Lossless.dll</string>
<string name="lsfg_problem_missing">LSFG are nevoie de Lossless Scaling din Steam sau de un Lossless.dll importat</string>
<string name="lsfg_problem_failed">LSFG nu a putut pregăti shaderele din Lossless.dll</string>
<string name="hud_fg_unsupported">%1$s: neacceptat</string>
<string name="hud_fg_failed">%1$s: motor eșuat</string>
-11
View File
@@ -55,17 +55,6 @@
<string name="frame_gen_lsfg">LSFG %1$d×</string>
<string name="frame_gen_lsfg_adaptive">LSFG Адаптивный %1$d</string>
<string name="lsfg_needs_steam">Требуется Lossless Scaling из Steam</string>
<string name="lsfg_needs_install">Установите Lossless Scaling в Steam или импортируйте Lossless.dll</string>
<string name="lsfg_import">Импорт Lossless.dll…</string>
<string name="lsfg_using_steam">Используется копия из Steam</string>
<string name="lsfg_using_import">Используется импортированная копия</string>
<string name="lsfg_pick_title">Выберите файл Lossless.dll</string>
<string name="lsfg_imported">Lossless.dll импортирован</string>
<string name="lsfg_import_unchanged">Этот Lossless.dll уже используется</string>
<string name="lsfg_import_not_owned">В этой учетной записи Steam нет Lossless Scaling</string>
<string name="lsfg_import_invalid">Этот файл не является Lossless.dll от Lossless Scaling</string>
<string name="lsfg_import_failed">Не удалось подготовить LSFG из этого Lossless.dll</string>
<string name="lsfg_problem_missing">Для LSFG требуется Lossless Scaling из Steam или импортированный файл Lossless.dll</string>
<string name="lsfg_problem_failed">LSFG не удалось подготовить шейдеры из Lossless.dll</string>
<string name="hud_fg_unsupported">%1$s: не поддерживается</string>
<string name="hud_fg_failed">%1$s: сбой движка</string>
-11
View File
@@ -55,17 +55,6 @@
<string name="frame_gen_lsfg">LSFG %1$d×</string>
<string name="frame_gen_lsfg_adaptive">LSFG adaptiv %1$d</string>
<string name="lsfg_needs_steam">Kräver Lossless Scaling på Steam</string>
<string name="lsfg_needs_install">Installera Lossless Scaling i Steam eller importera Lossless.dll</string>
<string name="lsfg_import">Importera Lossless.dll…</string>
<string name="lsfg_using_steam">Använder kopian från Steam</string>
<string name="lsfg_using_import">Använder en importerad kopia</string>
<string name="lsfg_pick_title">Välj Lossless.dll</string>
<string name="lsfg_imported">Lossless.dll har importerats</string>
<string name="lsfg_import_unchanged">Den här Lossless.dll används redan</string>
<string name="lsfg_import_not_owned">Lossless Scaling ägs inte på det här Steam-kontot</string>
<string name="lsfg_import_invalid">Filen är inte Lossless.dll från Lossless Scaling</string>
<string name="lsfg_import_failed">Kunde inte förbereda LSFG från den här Lossless.dll</string>
<string name="lsfg_problem_missing">LSFG kräver Lossless Scaling från Steam eller en importerad Lossless.dll</string>
<string name="lsfg_problem_failed">LSFG kunde inte förbereda sina shaders från Lossless.dll</string>
<string name="hud_fg_unsupported">%1$s: stöds inte</string>
<string name="hud_fg_failed">%1$s: motorn misslyckades</string>
-11
View File
@@ -55,17 +55,6 @@
<string name="frame_gen_lsfg">LSFG %1$d×</string>
<string name="frame_gen_lsfg_adaptive">LSFG แบบปรับอัตโนมัติ %1$d</string>
<string name="lsfg_needs_steam">ต้องมี Lossless Scaling บน Steam</string>
<string name="lsfg_needs_install">ติดตั้ง Lossless Scaling ใน Steam หรือนำเข้า Lossless.dll</string>
<string name="lsfg_import">นำเข้า Lossless.dll…</string>
<string name="lsfg_using_steam">ใช้ชุดที่มาจาก Steam</string>
<string name="lsfg_using_import">ใช้ชุดที่นำเข้ามา</string>
<string name="lsfg_pick_title">เลือก Lossless.dll</string>
<string name="lsfg_imported">นำเข้า Lossless.dll แล้ว</string>
<string name="lsfg_import_unchanged">Lossless.dll นี้ถูกใช้งานอยู่แล้ว</string>
<string name="lsfg_import_not_owned">บัญชี Steam นี้ไม่ได้เป็นเจ้าของ Lossless Scaling</string>
<string name="lsfg_import_invalid">ไฟล์นี้ไม่ใช่ Lossless.dll ของ Lossless Scaling</string>
<string name="lsfg_import_failed">ไม่สามารถเตรียม LSFG จาก Lossless.dll นี้ได้</string>
<string name="lsfg_problem_missing">LSFG ต้องใช้ Lossless Scaling จาก Steam หรือ Lossless.dll ที่นำเข้ามา</string>
<string name="lsfg_problem_failed">LSFG ไม่สามารถเตรียมเชดเดอร์จาก Lossless.dll ได้</string>
<string name="hud_fg_unsupported">%1$s: ไม่รองรับ</string>
<string name="hud_fg_failed">%1$s: เอนจินล้มเหลว</string>
-11
View File
@@ -55,17 +55,6 @@
<string name="frame_gen_lsfg">LSFG %1$d×</string>
<string name="frame_gen_lsfg_adaptive">LSFG Uyarlanabilir %1$d</string>
<string name="lsfg_needs_steam">Steam\'de Lossless Scaling gerekli</string>
<string name="lsfg_needs_install">Lossless Scaling\'i Steam\'den yükleyin veya Lossless.dll dosyasını içe aktarın</string>
<string name="lsfg_import">Lossless.dll içe aktar…</string>
<string name="lsfg_using_steam">Steam\'deki kopya kullanılıyor</string>
<string name="lsfg_using_import">İçe aktarılan kopya kullanılıyor</string>
<string name="lsfg_pick_title">Lossless.dll seçin</string>
<string name="lsfg_imported">Lossless.dll içe aktarıldı</string>
<string name="lsfg_import_unchanged">Bu Lossless.dll zaten kullanılıyor</string>
<string name="lsfg_import_not_owned">Bu Steam hesabı Lossless Scaling\'e sahip değil</string>
<string name="lsfg_import_invalid">Bu dosya Lossless Scaling\'in Lossless.dll dosyası değil</string>
<string name="lsfg_import_failed">Bu Lossless.dll ile LSFG hazırlanamadı</string>
<string name="lsfg_problem_missing">LSFG için Steam\'den Lossless Scaling veya içe aktarılmış bir Lossless.dll gerekir</string>
<string name="lsfg_problem_failed">LSFG, gölgelendiricilerini Lossless.dll dosyasından hazırlayamadı</string>
<string name="hud_fg_unsupported">%1$s: desteklenmiyor</string>
<string name="hud_fg_failed">%1$s: motor hatası</string>
-11
View File
@@ -55,17 +55,6 @@
<string name="frame_gen_lsfg">LSFG %1$d×</string>
<string name="frame_gen_lsfg_adaptive">LSFG адаптивний %1$d</string>
<string name="lsfg_needs_steam">Потрібен Lossless Scaling зі Steam</string>
<string name="lsfg_needs_install">Установіть Lossless Scaling у Steam або імпортуйте Lossless.dll</string>
<string name="lsfg_import">Імпортувати Lossless.dll…</string>
<string name="lsfg_using_steam">Використовується копія зі Steam</string>
<string name="lsfg_using_import">Використовується імпортована копія</string>
<string name="lsfg_pick_title">Виберіть Lossless.dll</string>
<string name="lsfg_imported">Lossless.dll імпортовано</string>
<string name="lsfg_import_unchanged">Цей Lossless.dll уже використовується</string>
<string name="lsfg_import_not_owned">У цьому обліковому записі Steam немає Lossless Scaling</string>
<string name="lsfg_import_invalid">Цей файл не є Lossless.dll від Lossless Scaling</string>
<string name="lsfg_import_failed">Не вдалося підготувати LSFG із цього Lossless.dll</string>
<string name="lsfg_problem_missing">Для LSFG потрібен Lossless Scaling зі Steam або імпортований Lossless.dll</string>
<string name="lsfg_problem_failed">LSFG не вдалося підготувати шейдери з Lossless.dll</string>
<string name="hud_fg_unsupported">%1$s: не підтримується</string>
<string name="hud_fg_failed">%1$s: збій рушія</string>
-11
View File
@@ -55,17 +55,6 @@
<string name="frame_gen_lsfg">LSFG %1$d×</string>
<string name="frame_gen_lsfg_adaptive">LSFG thích ứng %1$d</string>
<string name="lsfg_needs_steam">Cần Lossless Scaling trên Steam</string>
<string name="lsfg_needs_install">Cài Lossless Scaling trong Steam hoặc nhập Lossless.dll</string>
<string name="lsfg_import">Nhập Lossless.dll…</string>
<string name="lsfg_using_steam">Đang dùng bản sao từ Steam</string>
<string name="lsfg_using_import">Đang dùng bản đã nhập</string>
<string name="lsfg_pick_title">Chọn Lossless.dll</string>
<string name="lsfg_imported">Đã nhập Lossless.dll</string>
<string name="lsfg_import_unchanged">Lossless.dll này đã đang được dùng</string>
<string name="lsfg_import_not_owned">Tài khoản Steam này không sở hữu Lossless Scaling</string>
<string name="lsfg_import_invalid">Tệp này không phải là Lossless.dll của Lossless Scaling</string>
<string name="lsfg_import_failed">Không thể chuẩn bị LSFG từ Lossless.dll này</string>
<string name="lsfg_problem_missing">LSFG cần Lossless Scaling từ Steam hoặc một Lossless.dll đã nhập</string>
<string name="lsfg_problem_failed">LSFG không thể chuẩn bị shader từ Lossless.dll</string>
<string name="hud_fg_unsupported">%1$s: không hỗ trợ</string>
<string name="hud_fg_failed">%1$s: engine lỗi</string>
@@ -55,17 +55,6 @@
<string name="frame_gen_lsfg">LSFG %1$d×</string>
<string name="frame_gen_lsfg_adaptive">LSFG 自适应 %1$d</string>
<string name="lsfg_needs_steam">需要 Steam 上的 Lossless Scaling</string>
<string name="lsfg_needs_install">请在 Steam 中安装 Lossless Scaling,或导入 Lossless.dll</string>
<string name="lsfg_import">导入 Lossless.dll…</string>
<string name="lsfg_using_steam">正在使用 Steam 中的副本</string>
<string name="lsfg_using_import">正在使用已导入的副本</string>
<string name="lsfg_pick_title">选择 Lossless.dll</string>
<string name="lsfg_imported">Lossless.dll 已导入</string>
<string name="lsfg_import_unchanged">该 Lossless.dll 已在使用中</string>
<string name="lsfg_import_not_owned">此 Steam 账户未拥有 Lossless Scaling</string>
<string name="lsfg_import_invalid">该文件不是 Lossless Scaling 的 Lossless.dll</string>
<string name="lsfg_import_failed">无法由此 Lossless.dll 准备 LSFG</string>
<string name="lsfg_problem_missing">LSFG 需要 Steam 上的 Lossless Scaling 或已导入的 Lossless.dll</string>
<string name="lsfg_problem_failed">LSFG 无法从 Lossless.dll 准备其着色器</string>
<string name="hud_fg_unsupported">%1$s:不支持</string>
<string name="hud_fg_failed">%1$s:引擎失败</string>
@@ -55,17 +55,6 @@
<string name="frame_gen_lsfg">LSFG %1$d×</string>
<string name="frame_gen_lsfg_adaptive">LSFG 自適應 %1$d</string>
<string name="lsfg_needs_steam">需要 Steam 上的 Lossless Scaling</string>
<string name="lsfg_needs_install">請在 Steam 安裝 Lossless Scaling,或匯入 Lossless.dll</string>
<string name="lsfg_import">匯入 Lossless.dll…</string>
<string name="lsfg_using_steam">正在使用 Steam 上的版本</string>
<string name="lsfg_using_import">正在使用匯入的版本</string>
<string name="lsfg_pick_title">選擇 Lossless.dll</string>
<string name="lsfg_imported">已匯入 Lossless.dll</string>
<string name="lsfg_import_unchanged">此 Lossless.dll 已在使用中</string>
<string name="lsfg_import_not_owned">此 Steam 帳戶未擁有 Lossless Scaling</string>
<string name="lsfg_import_invalid">此檔案不是 Lossless Scaling 的 Lossless.dll</string>
<string name="lsfg_import_failed">無法從此 Lossless.dll 準備 LSFG</string>
<string name="lsfg_problem_missing">LSFG 需要 Steam 上的 Lossless Scaling 或已匯入的 Lossless.dll</string>
<string name="lsfg_problem_failed">LSFG 無法從 Lossless.dll 準備著色器</string>
<string name="hud_fg_unsupported">%1$s:不支援</string>
<string name="hud_fg_failed">%1$s:引擎故障</string>
@@ -55,17 +55,6 @@
<string name="frame_gen_lsfg">LSFG %1$d×</string>
<string name="frame_gen_lsfg_adaptive">LSFG 自適應 %1$d</string>
<string name="lsfg_needs_steam">需要 Steam 上的 Lossless Scaling</string>
<string name="lsfg_needs_install">在 Steam 中安裝 Lossless Scaling,或匯入 Lossless.dll</string>
<string name="lsfg_import">匯入 Lossless.dll…</string>
<string name="lsfg_using_steam">正在使用 Steam 上的版本</string>
<string name="lsfg_using_import">正在使用匯入的版本</string>
<string name="lsfg_pick_title">選擇 Lossless.dll 檔案</string>
<string name="lsfg_imported">已匯入 Lossless.dll</string>
<string name="lsfg_import_unchanged">這個 Lossless.dll 已經在使用中了</string>
<string name="lsfg_import_not_owned">此 Steam 帳號沒有 Lossless Scaling</string>
<string name="lsfg_import_invalid">此檔案不是 Lossless Scaling 的 Lossless.dll</string>
<string name="lsfg_import_failed">無法從此 Lossless.dll 準備 LSFG</string>
<string name="lsfg_problem_missing">LSFG 需要來自 Steam 的 Lossless Scaling,或是匯入的 Lossless.dll 檔案</string>
<string name="lsfg_problem_failed">LSFG 無法從此 Lossless.dll 準備其著色器</string>
<string name="hud_fg_unsupported">%1$s:不支援</string>
<string name="hud_fg_failed">%1$s:引擎失敗</string>
-11
View File
@@ -83,17 +83,6 @@
<string name="frame_gen_lsfg">LSFG %1$d×</string>
<string name="frame_gen_lsfg_adaptive">LSFG Adaptive %1$d</string>
<string name="lsfg_needs_steam">Needs Lossless Scaling on Steam</string>
<string name="lsfg_needs_install">Install Lossless Scaling in Steam or import Lossless.dll</string>
<string name="lsfg_import">Import Lossless.dll…</string>
<string name="lsfg_using_steam">Using the copy from Steam</string>
<string name="lsfg_using_import">Using an imported copy</string>
<string name="lsfg_pick_title">Choose Lossless.dll</string>
<string name="lsfg_imported">Lossless.dll imported</string>
<string name="lsfg_import_unchanged">This Lossless.dll is already in use</string>
<string name="lsfg_import_not_owned">Lossless Scaling is not owned on this Steam account</string>
<string name="lsfg_import_invalid">This file is not Lossless Scaling\'s Lossless.dll</string>
<string name="lsfg_import_failed">Could not prepare LSFG from this Lossless.dll</string>
<string name="lsfg_problem_missing">LSFG needs Lossless Scaling from Steam or an imported Lossless.dll</string>
<string name="lsfg_problem_failed">LSFG could not prepare its shaders from Lossless.dll</string>
<string name="hud_fg_unsupported">%1$s: unsupported</string>
<string name="hud_fg_failed">%1$s: engine failed</string>
@@ -40,9 +40,39 @@ class LosslessTest {
assertTrue(Lossless.owned(context))
}
@Test fun importIsRefusedWithoutOwnership() {
val dll = File(context.cacheDir, "Lossless.dll").apply { writeText("not a dll") }
assertFalse(Lossless.owned(context))
assertEquals(Lossless.ImportResult.NOT_OWNED, Lossless.import(context, dll))
@Test fun anOldManualImportCannotBeUsedOrRebuiltEvenWhenOwned() {
val prefs = context.getSharedPreferences("lossless", Context.MODE_PRIVATE)
prefs.edit().putBoolean("owned", true).putString("source", "IMPORT").putString("id", "legacy")
.putString("steamStamp", "old stamp").commit()
val dir = File(context.filesDir, "lsfg").apply { mkdirs() }
File(dir, "Lossless.dll").writeText("legacy DLL")
File(dir, "shaders-legacy.cache").writeText("legacy cache")
assertFalse(Lossless.state(context).ready)
assertNull(Lossless.cacheFile(context))
assertEquals(LsfgNative.STATUS_NOT_INSTALLED, Lossless.sync(context))
assertFalse(prefs.contains("steamStamp"))
assertTrue(Lossless.owned(context))
}
@Test fun aPreviouslyPreparedSteamCacheRemainsAvailable() {
val prefs = context.getSharedPreferences("lossless", Context.MODE_PRIVATE)
prefs.edit().putBoolean("owned", true).putString("source", "STEAM").putString("id", "steam").commit()
val cache = File(File(context.filesDir, "lsfg").apply { mkdirs() }, "shaders-steam.cache")
cache.writeText("cache")
assertEquals(cache, Lossless.cacheFile(context))
assertTrue(Lossless.state(context).ready)
}
@Test fun looseDllWithoutAnInstallManifestDoesNotCountAsASteamInstall() {
val library = File(context.cacheDir, "library")
val dll = File(library, "steamapps/common/Lossless Scaling/Lossless.dll")
dll.parentFile!!.mkdirs()
dll.writeText("fixture")
assertNull(Lossless.installedSteamDll(listOf(library)))
File(library, "steamapps/appmanifest_993090.acf").writeText("fixture")
assertEquals(dll, Lossless.installedSteamDll(listOf(library)))
}
}
@@ -300,7 +300,7 @@ class CurseLinkTabTest {
onPlay = {}, onPlayDesktopUi = {}, onSteamGame = {}, onDesktop = {}, onEmulator = {},
onRom = {}, onResume = {}, onSteamSettings = {}, onDesktopSettings = {},
onInstallPackage = {}, onRemovePackage = {}, onRuntime = {}, onFrameGenPick = {},
onImportLossless = {}, onProtons = {}, onComponents = {}, onPerformance = {},
onProtons = {}, onComponents = {}, onPerformance = {},
onRoms = {}, onFiles = {}, onLogs = {}, onOffline = {},
onSetPhantomProcessLimit = { _, _ -> },
@@ -85,7 +85,7 @@ class DesktopUninstallTest {
), FrontEndActions(
onPlay = {}, onPlayDesktopUi = {}, onSteamGame = {}, onDesktop = {}, onEmulator = {}, onRom = {}, onResume = {},
onSteamSettings = {}, onDesktopSettings = {}, onInstallPackage = {}, onRemovePackage = {},
onRuntime = {}, onFrameGenPick = {}, onImportLossless = {}, onProtons = {}, onComponents = {},
onRuntime = {}, onFrameGenPick = {}, onProtons = {}, onComponents = {},
onPerformance = {}, onRoms = {}, onFiles = {}, onLogs = {}, onOffline = {},
onSetPhantomProcessLimit = { _, _ -> }, onRemoveDesktop = { removals++ },
@@ -65,7 +65,7 @@ class FlathubFocusTest {
onPlay = {}, onPlayDesktopUi = {}, onSteamGame = {}, onDesktop = {}, onEmulator = {},
onRom = {}, onResume = {}, onSteamSettings = {}, onDesktopSettings = {},
onInstallPackage = {}, onRemovePackage = {}, onRuntime = {}, onFrameGenPick = {},
onImportLossless = {}, onProtons = {}, onComponents = {}, onPerformance = {},
onProtons = {}, onComponents = {}, onPerformance = {},
onRoms = {}, onFiles = {}, onLogs = {}, onOffline = {},
onSetPhantomProcessLimit = { _, _ -> },
@@ -56,7 +56,7 @@ class GamesClientTagTest {
onPlay = {}, onPlaySteamVr = {}, onPlayDesktopUi = {}, onSteamGame = {}, onDesktop = {}, onEmulator = {},
onRom = {}, onResume = {}, onSteamSettings = {}, onDesktopSettings = {},
onInstallPackage = {}, onRemovePackage = {}, onRuntime = {}, onFrameGenPick = {},
onImportLossless = {}, onProtons = {}, onComponents = {}, onPerformance = {},
onProtons = {}, onComponents = {}, onPerformance = {},
onRoms = {}, onFiles = {}, onLogs = {}, onOffline = {},
onSetPhantomProcessLimit = { _, _ -> },
@@ -165,7 +165,7 @@ class GlobalGlassesSettingsTest {
onPlay = {}, onPlayDesktopUi = {}, onSteamGame = {}, onDesktop = {}, onEmulator = {},
onRom = {}, onResume = {}, onSteamSettings = {}, onDesktopSettings = {},
onInstallPackage = {}, onRemovePackage = {}, onRuntime = {}, onFrameGenPick = {},
onImportLossless = {}, onProtons = {}, onComponents = {}, onPerformance = {},
onProtons = {}, onComponents = {}, onPerformance = {},
onRoms = {}, onFiles = {}, onLogs = {}, onOffline = {},
onSetPhantomProcessLimit = { _, _ -> },
@@ -1,19 +1,37 @@
package com.droiddeck.launcher.ui
import org.junit.Assert.assertEquals
import org.junit.Assert.assertFalse
import org.junit.Assert.assertTrue
import org.junit.Test
class IdleFramesTest {
@Test
fun idleLoopsDrawThirtyFramesASecondAndShareEachOne() {
val start = 5_000_000_000L
val frame = 8_333_333L
val drawn = (0 until 120).count { IdleFrames.due(start + it * frame) }
assertEquals(30, drawn)
private val start = 5_000_000_000L
val later = start + 1_000_000_000L
assertEquals(listOf(true, true, true), List(3) { IdleFrames.due(later) })
assertEquals(listOf(false, false), List(2) { IdleFrames.due(later + frame) })
assertEquals(listOf(true, true), List(2) { IdleFrames.due(later + 4 * frame) })
@Test
fun idleLoopsDrawAtSixtyOrThePanelRateIfLower() {
for (hz in listOf(30, 60, 90, 120, 144)) {
val gate = IdleFrameGate()
val drawn = (0 until 10 * hz).count { gate.due(start + it * 1_000_000_000L / hz) }
assertEquals("panel at $hz Hz", 10 * minOf(hz, 60), drawn)
}
}
@Test
fun idleLoopsShareTheDecisionForEachVsync() {
val gate = IdleFrameGate()
assertEquals(List(3) { true }, List(3) { gate.due(start) })
assertEquals(List(2) { false }, List(2) { gate.due(start + 8_333_333) })
assertEquals(List(2) { true }, List(2) { gate.due(start + 16_666_666) })
}
@Test
fun aLongPauseDoesNotCauseCatchUpDraws() {
val gate = IdleFrameGate()
assertTrue(gate.due(start))
val resumed = start + 1_000_000_000L
assertTrue(gate.due(resumed))
assertFalse(gate.due(resumed + 8_333_333))
assertTrue(gate.due(resumed + 16_666_666))
}
}
@@ -98,7 +98,7 @@ class InputUiLayoutTest {
onPlay = {}, onPlayDesktopUi = {}, onSteamGame = {}, onDesktop = {}, onEmulator = {},
onRom = {}, onResume = {}, onSteamSettings = {}, onDesktopSettings = {},
onInstallPackage = {}, onRemovePackage = {}, onRuntime = {}, onFrameGenPick = {},
onImportLossless = {}, onProtons = {}, onComponents = {}, onPerformance = {},
onProtons = {}, onComponents = {}, onPerformance = {},
onRoms = {}, onFiles = {}, onLogs = {}, onOffline = {},
onSetPhantomProcessLimit = { _, _ -> }, controller = ControllerActions({}),
@@ -63,7 +63,7 @@ class LaunchSettingsComponentsTest {
onPlay = {}, onPlayDesktopUi = {}, onSteamGame = {}, onDesktop = {}, onEmulator = {},
onRom = {}, onResume = {}, onSteamSettings = {}, onDesktopSettings = {},
onInstallPackage = {}, onRemovePackage = {}, onRuntime = {}, onFrameGenPick = {},
onImportLossless = {}, onProtons = {}, onComponents = { defaultOpens++ },
onProtons = {}, onComponents = { defaultOpens++ },
onGameComponents = { openedGame = it }, onPerformance = {},
onRoms = {}, onFiles = {}, onLogs = {}, onOffline = {},
@@ -249,7 +249,7 @@ class LibraryVisibilityTest {
onPlay = {}, onPlayDesktopUi = {}, onSteamGame = {}, onDesktop = {}, onEmulator = {},
onRom = {}, onResume = {}, onSteamSettings = {}, onDesktopSettings = {},
onInstallPackage = {}, onRemovePackage = {}, onRuntime = {}, onFrameGenPick = {},
onImportLossless = {}, onProtons = {}, onComponents = {}, onPerformance = {},
onProtons = {}, onComponents = {}, onPerformance = {},
onRoms = {}, onFiles = {}, onLogs = {}, onOffline = {},
onSetPhantomProcessLimit = { _, _ -> },
@@ -286,7 +286,7 @@ class NavTabsTest {
private fun actions() = FrontEndActions(
onPlay = {}, onPlayDesktopUi = {}, onSteamGame = {}, onDesktop = {}, onEmulator = {}, onRom = {}, onResume = {},
onSteamSettings = {}, onDesktopSettings = {}, onInstallPackage = {}, onRemovePackage = {},
onRuntime = {}, onFrameGenPick = {}, onImportLossless = {}, onProtons = {}, onComponents = {},
onRuntime = {}, onFrameGenPick = {}, onProtons = {}, onComponents = {},
onPerformance = {}, onRoms = {}, onFiles = {}, onLogs = {}, onOffline = {},
onSetPhantomProcessLimit = { _, _ -> }, onRemoveDesktop = {},
@@ -92,7 +92,7 @@ class NavigationSelectionTest {
onPlay = {}, onPlayDesktopUi = {}, onSteamGame = {}, onDesktop = {}, onEmulator = {},
onRom = {}, onResume = {}, onSteamSettings = {}, onDesktopSettings = {},
onInstallPackage = {}, onRemovePackage = {}, onRuntime = {}, onFrameGenPick = {},
onImportLossless = {}, onProtons = {}, onComponents = {}, onPerformance = {},
onProtons = {}, onComponents = {}, onPerformance = {},
onRoms = {}, onFiles = {}, onLogs = {}, onOffline = {},
onSetPhantomProcessLimit = { _, _ -> },
@@ -95,7 +95,7 @@ class PenSettingsGroupTest {
suspendPolicy = "auto", backActionsInverted = false,
touchMode = "auto", touchAuto = "touchpad", pen = pen, onPen = onPen, fexPreset = "default",
secondScreenMode = SecondScreenMode.NONE, secondScreenDisplays = emptyList(), selectedSecondScreenDisplay = 1,
onHud = {}, onFrameGenPick = {}, onImportLossless = {}, onKeyboard = {}, onHardwareKeyboard = {},
onHud = {}, onFrameGenPick = {}, onKeyboard = {}, onHardwareKeyboard = {},
onSteamMenu = null, onQam = null, onOsc = {}, onSuspendPolicy = {}, onBackActionsInverted = {},
onTouch = {}, onFexPreset = {}, onSecondScreenMode = {}, onSecondScreenDisplay = {},
onLaunchAndroidApp = { _, _ -> }, onBackground = {}, onShareLogs = {}, onStop = {}, onClose = {})
@@ -150,7 +150,7 @@ class PortraitLayoutTest {
onPlay = {}, onPlayDesktopUi = {}, onSteamGame = {}, onDesktop = {}, onEmulator = {},
onRom = {}, onResume = {}, onSteamSettings = {}, onDesktopSettings = {},
onInstallPackage = {}, onRemovePackage = {}, onRuntime = {}, onFrameGenPick = {},
onImportLossless = {}, onProtons = {}, onComponents = {}, onPerformance = {},
onProtons = {}, onComponents = {}, onPerformance = {},
onRoms = {}, onFiles = {}, onLogs = {}, onOffline = {},
onSetPhantomProcessLimit = { _, _ -> },
@@ -416,7 +416,7 @@ class SessionSecondScreenTest {
suspendPolicy = "auto", backActionsInverted = false,
touchMode = "auto", touchAuto = "trackpad", fexPreset = "default",
secondScreenMode = mode, secondScreenDisplays = displays, selectedSecondScreenDisplay = 1, gameSwapAvailable = gameSwap,
onHud = {}, onFrameGenPick = {}, onImportLossless = {}, onKeyboard = {}, onHardwareKeyboard = {},
onHud = {}, onFrameGenPick = {}, onKeyboard = {}, onHardwareKeyboard = {},
onSteamMenu = null, onQam = null, onOsc = {}, onSuspendPolicy = {}, onBackActionsInverted = {},
onTouch = {}, onFexPreset = {}, onSecondScreenMode = select, onSecondScreenDisplay = {},
onLaunchAndroidApp = { _, _ -> }, onBackground = {}, onShareLogs = {}, onStop = {}, onClose = onClose)
@@ -99,7 +99,7 @@ class SteamHomeHeadsetTest {
onPlay = {}, onPlaySteamVr = { vrStarts++ }, onPlayDesktopUi = {}, onSteamGame = {}, onDesktop = {}, onEmulator = {},
onRom = {}, onResume = {}, onSteamSettings = {}, onDesktopSettings = {},
onInstallPackage = {}, onRemovePackage = {}, onRuntime = {}, onFrameGenPick = {},
onImportLossless = {}, onProtons = {}, onComponents = {}, onPerformance = {},
onProtons = {}, onComponents = {}, onPerformance = {},
onRoms = {}, onFiles = {}, onLogs = {}, onOffline = {},
onSetPhantomProcessLimit = { _, _ -> },
@@ -143,7 +143,7 @@ class StoreRestorationTest {
onPlay = {}, onPlayDesktopUi = {}, onSteamGame = {}, onDesktop = {}, onEmulator = {},
onRom = {}, onResume = {}, onSteamSettings = {}, onDesktopSettings = {},
onInstallPackage = {}, onRemovePackage = {}, onRuntime = {}, onFrameGenPick = {},
onImportLossless = {}, onProtons = {}, onComponents = {}, onPerformance = {},
onProtons = {}, onComponents = {}, onPerformance = {},
onRoms = {}, onFiles = {}, onLogs = {}, onOffline = {},
onSetPhantomProcessLimit = { _, _ -> },