mirror of
https://github.com/horizon-rust/horizon.git
synced 2026-11-09 10:39:46 -10:00
Compare commits
107
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4cea8c2ee6 | ||
|
|
38174db59b | ||
|
|
093f5efda8 | ||
|
|
b444a6b64f | ||
|
|
e8d192f2ac | ||
|
|
6ad39aa412 | ||
|
|
6342ce83b2 | ||
|
|
595421d8ee | ||
|
|
7169886142 | ||
|
|
cdcac3463e | ||
|
|
e71c626484 | ||
|
|
194ede9376 | ||
|
|
12578352dc | ||
|
|
11ebc3f199 | ||
|
|
bc08885276 | ||
|
|
bc7b8889de | ||
|
|
7180a52bf2 | ||
|
|
8e37c4a4b7 | ||
|
|
94ba80f90d | ||
|
|
238fc99add | ||
|
|
ac96d3fa35 | ||
|
|
ceff25fca1 | ||
|
|
36d0695742 | ||
|
|
94484675a8 | ||
|
|
9097d2973d | ||
|
|
00e573cf87 | ||
|
|
0694db7dcb | ||
|
|
4881a0862f | ||
|
|
e859476293 | ||
|
|
89235891ce | ||
|
|
2081a0dd95 | ||
|
|
3f1a50ccb2 | ||
|
|
8534f12db0 | ||
|
|
7e95a1f57f | ||
|
|
e0e4c5e9db | ||
|
|
3dcfd7276b | ||
|
|
bfbf06a439 | ||
|
|
75071c8b9b | ||
|
|
971f341977 | ||
|
|
63a6a92bef | ||
|
|
cf93d0dd3a | ||
|
|
2e9f807458 | ||
|
|
21aabee4c0 | ||
|
|
7be13f1e9a | ||
|
|
ff83eccf6a | ||
|
|
8d7ca30ea4 | ||
|
|
e39ec11e59 | ||
|
|
b5f396461e | ||
|
|
e963d24058 | ||
|
|
3eec96a8b1 | ||
|
|
249e8db13c | ||
|
|
6bb4c0eda9 | ||
|
|
2f06f532e5 | ||
|
|
092dee299b | ||
|
|
c992f24496 | ||
|
|
005249b984 | ||
|
|
23ca4a855a | ||
|
|
16172da6b7 | ||
|
|
5720b15eff | ||
|
|
2e754b1297 | ||
|
|
70c8d7089d | ||
|
|
eb3157d251 | ||
|
|
d577d49a78 | ||
|
|
4643ea9357 | ||
|
|
8a9bd15a3d | ||
|
|
a40f3d82c1 | ||
|
|
af3c22b9f1 | ||
|
|
182eec2cb7 | ||
|
|
59d958c09e | ||
|
|
1a2015e305 | ||
|
|
197172ef3c | ||
|
|
9d6d292348 | ||
|
|
1e789800af | ||
|
|
74e0245c47 | ||
|
|
e5eacec45c | ||
|
|
cf23e5001a | ||
|
|
0e9233b230 | ||
|
|
358456bb02 | ||
|
|
aa741b3570 | ||
|
|
3b03b98836 | ||
|
|
4e4767bbfe | ||
|
|
a2d34c7dbd | ||
|
|
e42acfc7ea | ||
|
|
9fd16efb45 | ||
|
|
34b5df1397 | ||
|
|
72c6784172 | ||
|
|
f0c1ec9d84 | ||
|
|
443a42f97a | ||
|
|
755b7800c1 | ||
|
|
30149bfb41 | ||
|
|
93ecc8d0c1 | ||
|
|
230b167744 | ||
|
|
0031c67d04 | ||
|
|
2726614191 | ||
|
|
2e45a0750d | ||
|
|
8ad2c758ad | ||
|
|
c71978372d | ||
|
|
5152376c4b | ||
|
|
8f331a10f5 | ||
|
|
cbba6ead3a | ||
|
|
2a44a86383 | ||
|
|
92742bef1b | ||
|
|
de9ab4646d | ||
|
|
2d2a2621f2 | ||
|
|
bb29b70b32 | ||
|
|
3ad8a18a7b | ||
|
|
e0b91d71bf |
No files matched your search
Generated
+2
-1
@@ -1461,6 +1461,7 @@ dependencies = [
|
||||
"horizon-server-files",
|
||||
"horizon-shader-api",
|
||||
"horizon-shaders",
|
||||
"horizon-system",
|
||||
"horizon-telemetry",
|
||||
"horizon-theme",
|
||||
"horizon-threads",
|
||||
@@ -1805,8 +1806,8 @@ dependencies = [
|
||||
name = "horizon-optifine"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"horizon-bench",
|
||||
"horizon-core",
|
||||
"horizon-system",
|
||||
"log",
|
||||
"regex",
|
||||
]
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
//! The machine a report was measured on. CPU, RAM and OS are detected here; the GPU and the display
|
||||
//! come from the program that rendered (the game knows its adapter, the launcher its window).
|
||||
|
||||
#[cfg(any(target_os = "macos", target_os = "linux"))]
|
||||
use horizon_telemetry::system::command_output as output;
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
@@ -68,12 +69,12 @@ impl Hardware {
|
||||
os: std::env::consts::OS.to_owned(),
|
||||
os_version: os_version(),
|
||||
arch: std::env::consts::ARCH.to_owned(),
|
||||
cpu: cpu(),
|
||||
cpu: horizon_telemetry::system::cpu(),
|
||||
cpu_threads: std::thread::available_parallelism().ok().map(|n| n.get()),
|
||||
cpu_cores: probes.cores,
|
||||
cpu_base_mhz: probes.base,
|
||||
cpu_boost_mhz: probes.boost,
|
||||
ram_mb: ram_bytes().map(|b| b >> 20),
|
||||
ram_mb: horizon_telemetry::system::ram_bytes().map(|b| b >> 20),
|
||||
storage: None,
|
||||
form: probes.form,
|
||||
gpu: None,
|
||||
@@ -109,84 +110,16 @@ fn probes() -> Probes {
|
||||
}
|
||||
}
|
||||
|
||||
/// The one-minute load average: above about the number of threads the machine was busy.
|
||||
pub fn load_average() -> Option<f64> {
|
||||
if cfg!(target_os = "macos") {
|
||||
// "{ 1.23 1.10 1.00 }"
|
||||
output("sysctl", &["-n", "vm.loadavg"])?
|
||||
.trim_start_matches('{')
|
||||
.split_whitespace()
|
||||
.next()?
|
||||
.parse()
|
||||
.ok()
|
||||
} else {
|
||||
std::fs::read_to_string("/proc/loadavg")
|
||||
.ok()?
|
||||
.split_whitespace()
|
||||
.next()?
|
||||
.parse()
|
||||
.ok()
|
||||
}
|
||||
}
|
||||
|
||||
/// `ac` or `battery`; `None` where it can't be read (and on machines without a battery on Linux).
|
||||
pub fn power_source() -> Option<&'static str> {
|
||||
horizon_telemetry::system::power()
|
||||
}
|
||||
|
||||
/// Resident memory of a process, in bytes (macOS, Linux).
|
||||
pub fn rss_bytes(pid: u32) -> Option<u64> {
|
||||
if cfg!(target_os = "macos") {
|
||||
return output("ps", &["-o", "rss=", "-p", &pid.to_string()])?
|
||||
.parse::<u64>()
|
||||
.ok()
|
||||
.map(|kb| kb * 1024);
|
||||
}
|
||||
let status = std::fs::read_to_string(format!("/proc/{pid}/status")).ok()?;
|
||||
let line = status.lines().find(|l| l.starts_with("VmRSS:"))?;
|
||||
line.split_whitespace()
|
||||
.nth(1)?
|
||||
.parse::<u64>()
|
||||
.ok()
|
||||
.map(|kb| kb * 1024)
|
||||
}
|
||||
|
||||
/// CPU time a process has used, user and system, in seconds (macOS, Linux).
|
||||
pub fn cpu_seconds(pid: u32) -> Option<f64> {
|
||||
if cfg!(target_os = "macos") {
|
||||
// "[[dd-]hh:]mm:ss.cc"
|
||||
let time = output("ps", &["-o", "time=", "-p", &pid.to_string()])?;
|
||||
let (rest, days) = match time.split_once('-') {
|
||||
Some((d, rest)) => (rest.to_owned(), d.parse::<f64>().ok()?),
|
||||
None => (time, 0.0),
|
||||
};
|
||||
let seconds = rest.split(':').try_fold(0.0, |acc, part| {
|
||||
part.parse::<f64>().ok().map(|v| acc * 60.0 + v)
|
||||
})?;
|
||||
return Some(days * 86_400.0 + seconds);
|
||||
}
|
||||
// utime and stime, fields 14 and 15, in clock ticks (100 per second on Linux).
|
||||
let stat = std::fs::read_to_string(format!("/proc/{pid}/stat")).ok()?;
|
||||
let fields: Vec<&str> = stat.rsplit_once(')')?.1.split_whitespace().collect();
|
||||
let ticks: f64 = fields.get(11)?.parse::<f64>().ok()? + fields.get(12)?.parse::<f64>().ok()?;
|
||||
Some(ticks / 100.0)
|
||||
}
|
||||
|
||||
#[cfg(target_os = "macos")]
|
||||
fn os_version() -> Option<String> {
|
||||
output("sw_vers", &["-productVersion"])
|
||||
}
|
||||
|
||||
#[cfg(target_os = "macos")]
|
||||
fn cpu() -> Option<String> {
|
||||
output("sysctl", &["-n", "machdep.cpu.brand_string"])
|
||||
}
|
||||
|
||||
#[cfg(target_os = "macos")]
|
||||
fn ram_bytes() -> Option<u64> {
|
||||
output("sysctl", &["-n", "hw.memsize"])?.parse().ok()
|
||||
}
|
||||
|
||||
#[cfg(target_os = "linux")]
|
||||
fn os_version() -> Option<String> {
|
||||
let release = std::fs::read_to_string("/etc/os-release").ok()?;
|
||||
@@ -199,22 +132,6 @@ fn os_version() -> Option<String> {
|
||||
})
|
||||
}
|
||||
|
||||
#[cfg(target_os = "linux")]
|
||||
fn cpu() -> Option<String> {
|
||||
let info = std::fs::read_to_string("/proc/cpuinfo").ok()?;
|
||||
// x86 names the CPU per core; arm64 only gives the core's implementer and part.
|
||||
horizon_telemetry::system::linux_cpu_name(&info)
|
||||
}
|
||||
|
||||
#[cfg(target_os = "linux")]
|
||||
fn ram_bytes() -> Option<u64> {
|
||||
let info = std::fs::read_to_string("/proc/meminfo").ok()?;
|
||||
let kb = key_value(&info, "MemTotal", ':')?
|
||||
.trim_end_matches("kB")
|
||||
.trim();
|
||||
kb.parse::<u64>().ok().map(|kb| kb * 1024)
|
||||
}
|
||||
|
||||
#[cfg(target_os = "linux")]
|
||||
fn key_value<'a>(text: &'a str, key: &str, sep: char) -> Option<&'a str> {
|
||||
text.lines().find_map(|line| {
|
||||
@@ -228,39 +145,11 @@ fn os_version() -> Option<String> {
|
||||
horizon_telemetry::system::windows_version()
|
||||
}
|
||||
|
||||
#[cfg(target_os = "windows")]
|
||||
fn cpu() -> Option<String> {
|
||||
horizon_telemetry::system::windows_cpu()
|
||||
}
|
||||
|
||||
#[cfg(target_os = "windows")]
|
||||
fn ram_bytes() -> Option<u64> {
|
||||
let out = output(
|
||||
"powershell",
|
||||
&[
|
||||
"-NoProfile",
|
||||
"-Command",
|
||||
"(Get-CimInstance Win32_ComputerSystem).TotalPhysicalMemory",
|
||||
],
|
||||
)?;
|
||||
out.parse().ok()
|
||||
}
|
||||
|
||||
#[cfg(not(any(target_os = "macos", target_os = "linux", target_os = "windows")))]
|
||||
fn os_version() -> Option<String> {
|
||||
None
|
||||
}
|
||||
|
||||
#[cfg(not(any(target_os = "macos", target_os = "linux", target_os = "windows")))]
|
||||
fn cpu() -> Option<String> {
|
||||
None
|
||||
}
|
||||
|
||||
#[cfg(not(any(target_os = "macos", target_os = "linux", target_os = "windows")))]
|
||||
fn ram_bytes() -> Option<u64> {
|
||||
None
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
@@ -274,9 +163,6 @@ mod tests {
|
||||
assert!(hw.cpu.is_some(), "{hw:?}");
|
||||
assert!(hw.ram_mb.unwrap() > 256, "{hw:?}");
|
||||
assert!(hw.os_version.is_some(), "{hw:?}");
|
||||
assert!(load_average().is_some());
|
||||
assert!(rss_bytes(std::process::id()).unwrap() > 1 << 20);
|
||||
assert!(cpu_seconds(std::process::id()).unwrap() >= 0.0);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -13,7 +13,9 @@ use serde::{Deserialize, Serialize};
|
||||
|
||||
mod hardware;
|
||||
|
||||
pub use hardware::{cpu_seconds, load_average, power_source, rss_bytes, Display, Gpu, Hardware};
|
||||
pub use hardware::{power_source, Display, Gpu, Hardware};
|
||||
/// The process probes, from the platform (`horizon-system`).
|
||||
pub use horizon_telemetry::system::{cpu_seconds, load_average, rss_bytes};
|
||||
|
||||
pub const FORMAT: &str = "horizon-benchmark-report";
|
||||
pub const VERSION: u32 = 1;
|
||||
|
||||
@@ -1441,6 +1441,16 @@ pub enum Rumble {
|
||||
},
|
||||
Totem,
|
||||
}
|
||||
impl From<crate::input_source::Feedback> for Rumble {
|
||||
fn from(event: crate::input_source::Feedback) -> Self {
|
||||
use crate::input_source::Feedback;
|
||||
match event {
|
||||
Feedback::BlockBroken => Rumble::BlockBroken,
|
||||
Feedback::Explosion { distance, radius } => Rumble::Explosion { distance, radius },
|
||||
Feedback::Totem => Rumble::Totem,
|
||||
}
|
||||
}
|
||||
}
|
||||
/// A vibration: the heavy (low-frequency) and light motors, 0..1, and how
|
||||
/// long it lasts.
|
||||
#[derive(Clone, Copy, Debug, PartialEq)]
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
//! The engine's side of the input source (docs/layers.md, "Controllers, splitscreen, replays and
|
||||
//! UI pages"): what gameplay tells a device beyond the keyboard and mouse. Gameplay names these
|
||||
//! types, never a controller's; the controller code answers.
|
||||
|
||||
/// Something that happened to the player that a device may let them feel (a controller's
|
||||
/// vibration). The device decides how, or whether.
|
||||
#[derive(Clone, Copy, Debug, PartialEq)]
|
||||
pub enum Feedback {
|
||||
/// The player broke a block.
|
||||
BlockBroken,
|
||||
/// An explosion this far away (blocks) with this power.
|
||||
Explosion { distance: f64, radius: f32 },
|
||||
/// A totem of undying saved the player.
|
||||
Totem,
|
||||
}
|
||||
@@ -9,6 +9,7 @@ pub mod gamepad;
|
||||
pub mod gameplay_guide;
|
||||
pub mod held;
|
||||
pub mod input;
|
||||
pub mod input_source;
|
||||
pub mod interaction_input;
|
||||
pub mod key_names;
|
||||
pub mod keybinds;
|
||||
|
||||
@@ -76,6 +76,10 @@ wgpu = { version = "30.0.1", default-features = false, features = ["gles"] }
|
||||
audio = ["dep:cpal"]
|
||||
# Helpers horizon-client's tests build their fixtures with.
|
||||
test-support = []
|
||||
# horizon-client's `horizon-extras`: asking the device for hardware ray tracing on request
|
||||
# (`gfx/ray_query.rs`, `HORIZON_RAY_TRACING=1`). Without it the device is requested as without
|
||||
# the variable.
|
||||
horizon-extras = []
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
@@ -0,0 +1,158 @@
|
||||
//! Audio occlusion, attenuation and mixing benchmark.
|
||||
//! Run with: `cargo run --profile fast -p horizon-client-render --example audio_bench`
|
||||
use horizon_client_render::{
|
||||
audio::Audio,
|
||||
sound_engine::{MobSound, SoundInstance, Sounds, TickContext},
|
||||
};
|
||||
use std::{path::Path, time::Instant};
|
||||
|
||||
fn main() {
|
||||
println!("=== Horizon Audio Attenuation & Mixing Benchmark ===");
|
||||
|
||||
let mut audio = Audio::silent(Path::new("/nonexistent"));
|
||||
audio.engine.loaded = true;
|
||||
audio.backend_live_for_bench();
|
||||
audio.record_heard = false;
|
||||
|
||||
// Register a sound event with attenuation distance 16
|
||||
audio.engine.registry.add_file(
|
||||
"minecraft",
|
||||
br#"{"bench.loop":{"attenuation_distance":16,"sounds":[{"name":"bench/loop","stream":false}]}}"#,
|
||||
&|_, _| true,
|
||||
);
|
||||
// Insert 1 second of audio into cache (48000 mono samples)
|
||||
let samples: Vec<f32> = (0..48_000)
|
||||
.map(|i| ((i as f32) * 440.0 * 2.0 * std::f32::consts::PI / 48000.0).sin() * 0.5)
|
||||
.collect();
|
||||
audio.insert_cached_sound("minecraft:bench/loop", samples, 48_000, 1);
|
||||
|
||||
// 1. Benchmark set_listener (called every client render frame)
|
||||
let listener_iterations = 200_000;
|
||||
let start = Instant::now();
|
||||
for i in 0..listener_iterations {
|
||||
let angle = (i as f32) * 0.01;
|
||||
audio.set_listener(
|
||||
[
|
||||
100.0 + (angle.cos() as f64) * 5.0,
|
||||
64.0,
|
||||
200.0 + (angle.sin() as f64) * 5.0,
|
||||
],
|
||||
angle,
|
||||
0.0,
|
||||
);
|
||||
}
|
||||
let listener_elapsed = start.elapsed();
|
||||
println!(
|
||||
"1. set_listener moving (render frame): {:?} for {} calls ({:.2} ns/call)",
|
||||
listener_elapsed,
|
||||
listener_iterations,
|
||||
(listener_elapsed.as_nanos() as f64) / (listener_iterations as f64)
|
||||
);
|
||||
|
||||
// 1b. Benchmark set_listener stationary (lock elimination early-out)
|
||||
let stationary_iterations = 200_000;
|
||||
let start = Instant::now();
|
||||
for _ in 0..stationary_iterations {
|
||||
audio.set_listener([100.0, 64.0, 200.0], 0.0, 0.0);
|
||||
}
|
||||
let stationary_elapsed = start.elapsed();
|
||||
println!(
|
||||
"1b. set_listener stationary (lock early-out): {:?} for {} calls ({:.2} ns/call)",
|
||||
stationary_elapsed,
|
||||
stationary_iterations,
|
||||
(stationary_elapsed.as_nanos() as f64) / (stationary_iterations as f64)
|
||||
);
|
||||
|
||||
// 2. Play 128 sounds in the world at various distances from listener at [100.0, 64.0, 200.0]
|
||||
// 64 sounds within attenuation distance (<16 blocks)
|
||||
// 64 sounds outside attenuation distance (>16 blocks)
|
||||
for i in 0..128 {
|
||||
let dist = if i < 64 {
|
||||
(i as f64) * 0.24 // 0 to 15.1 blocks (audible)
|
||||
} else {
|
||||
17.0 + ((i - 64) as f64) * 1.5 // 17 to 111.5 blocks (out of attenuation range)
|
||||
};
|
||||
let pos = [100.0 + dist, 64.0, 200.0];
|
||||
let instance = SoundInstance::new(
|
||||
"minecraft:bench.loop",
|
||||
crate_sound_source(i),
|
||||
1.0,
|
||||
1.0,
|
||||
horizon_core::random::LegacyRandom::new(i as i64),
|
||||
true, // looping
|
||||
0,
|
||||
horizon_client_render::sound_engine::Attenuation::Linear,
|
||||
pos,
|
||||
false,
|
||||
);
|
||||
audio.play_instance(instance, false);
|
||||
}
|
||||
|
||||
// 3. Benchmark mix_buffer (5000 buffers of 1024 stereo frames @ 48kHz = ~106 seconds of audio mixing)
|
||||
let mut buffer = vec![0.0f32; 1024 * 2];
|
||||
let mix_iterations = 5_000;
|
||||
let start = Instant::now();
|
||||
for _ in 0..mix_iterations {
|
||||
audio.mix_buffer(&mut buffer, 2, 48_000);
|
||||
}
|
||||
let mix_elapsed = start.elapsed();
|
||||
println!(
|
||||
"2. mix_buffer (128 active channels, 1024 stereo frames): {:?} for {} buffers ({:.2} µs/buffer)",
|
||||
mix_elapsed,
|
||||
mix_iterations,
|
||||
(mix_elapsed.as_micros() as f64) / (mix_iterations as f64)
|
||||
);
|
||||
|
||||
// 4. Benchmark SoundEngine::tick with ticking mob sounds
|
||||
let mut mobs = Vec::new();
|
||||
for i in 0..64 {
|
||||
mobs.push(MobSound {
|
||||
id: 2000 + i,
|
||||
position: [100.0 + (i as f64) * 0.5, 64.0, 200.0 + (i as f64) * 0.5],
|
||||
speed: 0.25,
|
||||
baby: false,
|
||||
angry: i % 2 == 0,
|
||||
silent: false,
|
||||
attack_scale: 0.5,
|
||||
sniffer_digging: false,
|
||||
});
|
||||
}
|
||||
|
||||
let tick_ctx = TickContext {
|
||||
player_underwater: false,
|
||||
player_removed: false,
|
||||
vehicle: None,
|
||||
carts: Vec::new(),
|
||||
mobs: mobs.clone(),
|
||||
frozen: false,
|
||||
player_position: [100.0, 64.0, 200.0],
|
||||
player_speed_sqr: 0.1,
|
||||
player_fall_flying: false,
|
||||
ridden: None,
|
||||
camera_position: [100.0, 64.0, 200.0],
|
||||
};
|
||||
|
||||
let tick_iterations = 10_000;
|
||||
let start = Instant::now();
|
||||
for _ in 0..tick_iterations {
|
||||
audio.tick(false, &tick_ctx);
|
||||
}
|
||||
let tick_elapsed = start.elapsed();
|
||||
println!(
|
||||
"3. SoundEngine::tick (64 channels + ticking): {:?} for {} ticks ({:.2} µs/tick)",
|
||||
tick_elapsed,
|
||||
tick_iterations,
|
||||
(tick_elapsed.as_micros() as f64) / (tick_iterations as f64)
|
||||
);
|
||||
}
|
||||
|
||||
fn crate_sound_source(i: u32) -> usize {
|
||||
match i % 6 {
|
||||
0 => 0, // master
|
||||
1 => 1, // music
|
||||
2 => 2, // records
|
||||
3 => 3, // weather
|
||||
4 => 4, // blocks
|
||||
_ => 5, // hostile
|
||||
}
|
||||
}
|
||||
@@ -382,8 +382,8 @@ impl RenderAssets {
|
||||
};
|
||||
// After the connected tiles: a tile identical to a block shares its layer, and the
|
||||
// overlays skip shared layers.
|
||||
if draws {
|
||||
emissive = crate::native_emissive::load_optifine(root, &mut sprites);
|
||||
if draws && let Some(suffix) = crate::pack_hooks::formats().emissive_suffix(root) {
|
||||
emissive = crate::native_emissive::load_overlays(root, &suffix, &mut sprites);
|
||||
}
|
||||
sprites.save_disk_cache();
|
||||
if draws {
|
||||
|
||||
@@ -233,11 +233,11 @@ pub fn texture_path(root: &Path, texture: &str, directory: &str) -> PathBuf {
|
||||
}
|
||||
let (namespace, path) = texture.split_once(':').unwrap_or(("minecraft", texture));
|
||||
let rel = format!("assets/{namespace}/{directory}/{path}.png");
|
||||
root.join(if horizon_optifine::paths::valid(&rel) {
|
||||
&rel
|
||||
} else {
|
||||
NOWHERE
|
||||
})
|
||||
// No `.`, `..` or empty segment, and no `\` (a separator on Windows, where `..\..` climbs).
|
||||
let stays = rel
|
||||
.split('/')
|
||||
.all(|segment| !matches!(segment, "" | "." | "..") && !segment.contains('\\'));
|
||||
root.join(if stays { &rel } else { NOWHERE })
|
||||
}
|
||||
|
||||
/// `SpriteSourceList.list`: every sprite id of the atlas and its origin.
|
||||
|
||||
@@ -478,6 +478,7 @@ pub struct Audio {
|
||||
pub record_heard: bool,
|
||||
pub listener: [f64; 3],
|
||||
pub listener_yaw: f32,
|
||||
pub listener_pitch: f32,
|
||||
pub master: f32,
|
||||
/// Seeds of positional plays (the client level random's `nextLong`).
|
||||
random: LegacyRandom,
|
||||
@@ -722,6 +723,29 @@ impl Backend for MixerBackend {
|
||||
fn set_unmuffled(&mut self, channel: ChannelId, unmuffled: bool) {
|
||||
self.with(channel, |c| c.unmuffled = unmuffled);
|
||||
}
|
||||
fn update_channel(&mut self, channel: ChannelId, volume: f32, pitch: f32, position: [f64; 3]) {
|
||||
if let Ok(mut m) = self.mixer.lock()
|
||||
&& let Some(c) = m.channels.get_mut(&channel)
|
||||
{
|
||||
c.gain = volume;
|
||||
c.pitch = pitch;
|
||||
c.at = [position[0] as f32, position[1] as f32, position[2] as f32];
|
||||
}
|
||||
}
|
||||
fn filter_stopped(&mut self, live: &[(u64, ChannelId)], stopped: &mut Vec<u64>) {
|
||||
if let Ok(m) = self.mixer.lock() {
|
||||
for &(h, c) in live {
|
||||
if m.channels
|
||||
.get(&c)
|
||||
.is_none_or(|ch| ch.state == State::Stopped)
|
||||
{
|
||||
stopped.push(h);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
stopped.extend(live.iter().map(|&(h, _)| h));
|
||||
}
|
||||
}
|
||||
/// `getCompleteBuffer` (cached, else decoded on the decoder thread) or
|
||||
/// `getStream` (decoded on a thread of its own), then attach and
|
||||
/// `alSourcePlay`. A sound that cannot load leaves its source initial,
|
||||
@@ -822,18 +846,24 @@ impl Backend for MixerBackend {
|
||||
/// pinned client's) rendered through `ALC_SOFT_loopback` within 1e-5.
|
||||
fn stereo_gains(right: f32, up: f32, forward: f32) -> [f32; 2] {
|
||||
let length = (right * right + up * up + forward * forward).sqrt();
|
||||
stereo_gains_with_length(right, up, forward, length)
|
||||
}
|
||||
#[inline]
|
||||
fn stereo_gains_with_length(right: f32, up: f32, forward: f32, length: f32) -> [f32; 2] {
|
||||
if length <= f32::EPSILON {
|
||||
return stereo_gains(0.0, 0.0, 1.0);
|
||||
return stereo_gains_with_length(0.0, 0.0, 1.0, 1.0);
|
||||
}
|
||||
let elevation = (up / length).clamp(-1.0, 1.0).asin();
|
||||
let u = (up / length).clamp(-1.0, 1.0);
|
||||
let cos_elev = (1.0 - u * u).max(0.0).sqrt();
|
||||
let mut azimuth = right.atan2(forward);
|
||||
if azimuth.abs() < std::f32::consts::FRAC_PI_2 {
|
||||
azimuth = (azimuth.abs() * 1.5)
|
||||
.min(std::f32::consts::FRAC_PI_2)
|
||||
.copysign(azimuth);
|
||||
}
|
||||
let side = azimuth.sin() * elevation.cos();
|
||||
let front = azimuth.cos() * elevation.cos() * 0.095_660_8;
|
||||
let (sin_az, cos_az) = azimuth.sin_cos();
|
||||
let side = sin_az * cos_elev;
|
||||
let front = cos_az * cos_elev * 0.095_660_8;
|
||||
[0.5 - 0.5 * side + front, 0.5 + 0.5 * side + front]
|
||||
}
|
||||
/// The gain OpenAL applies for distance (`AL_LINEAR_DISTANCE` with reference
|
||||
@@ -853,16 +883,10 @@ fn mix(mixer: &mut Mixer, data: &mut [f32], channels: usize, rate: u32) {
|
||||
// and OpenAL's right = forward x up.
|
||||
let basis = |yaw: f32, pitch: f32| {
|
||||
let (yaw, pitch) = (f64::from(yaw.to_radians()), f64::from(pitch.to_radians()));
|
||||
let forward = [
|
||||
-yaw.sin() * pitch.cos(),
|
||||
-pitch.sin(),
|
||||
yaw.cos() * pitch.cos(),
|
||||
];
|
||||
let up = [
|
||||
-yaw.sin() * pitch.sin(),
|
||||
pitch.cos(),
|
||||
yaw.cos() * pitch.sin(),
|
||||
];
|
||||
let (yaw_sin, yaw_cos) = yaw.sin_cos();
|
||||
let (pitch_sin, pitch_cos) = pitch.sin_cos();
|
||||
let forward = [-yaw_sin * pitch_cos, -pitch_sin, yaw_cos * pitch_cos];
|
||||
let up = [-yaw_sin * pitch_sin, pitch_cos, yaw_cos * pitch_sin];
|
||||
let right = [
|
||||
forward[1] * up[2] - forward[2] * up[1],
|
||||
forward[2] * up[0] - forward[0] * up[2],
|
||||
@@ -896,7 +920,7 @@ fn mix(mixer: &mut Mixer, data: &mut [f32], channels: usize, rate: u32) {
|
||||
// Gains and pans per source for this buffer.
|
||||
let mut voices = std::mem::take(&mut mixer.voices);
|
||||
voices.clear();
|
||||
for (id, c) in &mixer.channels {
|
||||
for (id, c) in &mut mixer.channels {
|
||||
let Some((_, source_rate, source_channels)) = &c.samples else {
|
||||
continue;
|
||||
};
|
||||
@@ -907,6 +931,7 @@ fn mix(mixer: &mut Mixer, data: &mut [f32], channels: usize, rate: u32) {
|
||||
if c.state != State::Playing {
|
||||
continue;
|
||||
}
|
||||
|
||||
let at = [f64::from(c.at[0]), f64::from(c.at[1]), f64::from(c.at[2])];
|
||||
let away = |listener: [f64; 3]| {
|
||||
[
|
||||
@@ -915,45 +940,56 @@ fn mix(mixer: &mut Mixer, data: &mut [f32], channels: usize, rate: u32) {
|
||||
at[2] - listener[2],
|
||||
]
|
||||
};
|
||||
let length = |d: [f64; 3]| d[0] * d[0] + d[1] * d[1] + d[2] * d[2];
|
||||
// The nearest camera hears it (one camera but in splitscreen).
|
||||
let camera = mixer
|
||||
.cameras
|
||||
.iter()
|
||||
.filter(|camera| c.relative || camera.2 == c.world)
|
||||
.min_by(|a, b| length(away(a.0)).total_cmp(&length(away(b.0))))
|
||||
.map(|camera| (camera.0, camera.1));
|
||||
// Unheard sources still advance: returning to a world must not resume stale sounds.
|
||||
let length_sq = |d: [f64; 3]| d[0] * d[0] + d[1] * d[1] + d[2] * d[2];
|
||||
let camera = if !shared {
|
||||
let cam = &mixer.cameras[0];
|
||||
if c.relative || cam.2 == c.world {
|
||||
Some((cam.0, cam.1))
|
||||
} else {
|
||||
None
|
||||
}
|
||||
} else {
|
||||
mixer
|
||||
.cameras
|
||||
.iter()
|
||||
.filter(|camera| c.relative || camera.2 == c.world)
|
||||
.min_by(|a, b| length_sq(away(a.0)).total_cmp(&length_sq(away(b.0))))
|
||||
.map(|camera| (camera.0, camera.1))
|
||||
};
|
||||
let (listener, (forward, up, right)) = camera.unwrap_or(([0.0; 3], basis(0.0, 0.0)));
|
||||
let d = if c.relative { at } else { away(listener) };
|
||||
let distance = (d[0] * d[0] + d[1] * d[1] + d[2] * d[2]).sqrt() as f32;
|
||||
let gain = if camera.is_some() {
|
||||
c.gain.clamp(0.0, 1.0)
|
||||
* if direct {
|
||||
1.0
|
||||
} else {
|
||||
distance_gain(c.linear, distance)
|
||||
let d_sqr = length_sq(d);
|
||||
|
||||
let (gain, [left, right]) = if camera.is_none() {
|
||||
(0.0, [0.0, 0.0])
|
||||
} else if direct {
|
||||
let gain = c.gain.clamp(0.0, 1.0);
|
||||
(gain, [gain, gain])
|
||||
} else {
|
||||
let mut zero = false;
|
||||
if let Some(max) = c.linear {
|
||||
let max_d = max as f64;
|
||||
if max <= 0.0 || (!c.relative && d_sqr >= max_d * max_d) {
|
||||
zero = true;
|
||||
}
|
||||
} else {
|
||||
0.0
|
||||
};
|
||||
let [left, right] = if direct {
|
||||
[gain, gain]
|
||||
} else {
|
||||
// Relative sources are already in OpenAL's listener space (-Z ahead).
|
||||
let [mut left, mut right] = if c.relative {
|
||||
stereo_gains(d[0] as f32, d[1] as f32, -d[2] as f32)
|
||||
} else {
|
||||
stereo_gains(dot(d, right), dot(d, up), dot(d, forward))
|
||||
};
|
||||
if shared {
|
||||
// Several players on the speakers: half the stereo width, as left and right are
|
||||
// nobody's in particular.
|
||||
let middle = (left + right) / 2.0;
|
||||
left = middle + (left - middle) / 2.0;
|
||||
right = middle + (right - middle) / 2.0;
|
||||
}
|
||||
[left * gain, right * gain]
|
||||
if zero {
|
||||
(0.0, [0.0, 0.0])
|
||||
} else {
|
||||
let distance = d_sqr.sqrt() as f32;
|
||||
let gain = c.gain.clamp(0.0, 1.0) * distance_gain(c.linear, distance);
|
||||
let [mut left, mut right] = if c.relative {
|
||||
stereo_gains_with_length(d[0] as f32, d[1] as f32, -d[2] as f32, distance)
|
||||
} else {
|
||||
stereo_gains_with_length(dot(d, right), dot(d, up), dot(d, forward), distance)
|
||||
};
|
||||
if shared {
|
||||
let middle = (left + right) * 0.5;
|
||||
left = middle + (left - middle) * 0.5;
|
||||
right = middle + (right - middle) * 0.5;
|
||||
}
|
||||
(gain, [left * gain, right * gain])
|
||||
}
|
||||
};
|
||||
let step = f64::from(*source_rate) / f64::from(rate) * f64::from(c.pitch.max(0.0));
|
||||
voices.push((*id, [left, right, gain], step));
|
||||
@@ -974,6 +1010,40 @@ fn mix(mixer: &mut Mixer, data: &mut [f32], channels: usize, rate: u32) {
|
||||
};
|
||||
let source_channels = source_channels as usize;
|
||||
let frames = samples.len() / source_channels;
|
||||
let inaudible = if channels >= 2 {
|
||||
left == 0.0 && right == 0.0
|
||||
} else {
|
||||
gain == 0.0
|
||||
};
|
||||
if inaudible {
|
||||
let buffer_frames = data.len() / channels;
|
||||
// As the loop below: a sound of one frame or none stops, looping or not.
|
||||
if !c.looping || frames <= 1 {
|
||||
// `frames` may be 0: no `frames - 1` in usize. A step of 0 never
|
||||
// reaches the end, as in the loop below.
|
||||
let needed = frames as f64 - 1.0 - c.position;
|
||||
if needed <= 0.0 {
|
||||
c.state = State::Stopped;
|
||||
} else if step > 0.0 {
|
||||
let steps_to_stop = needed / step;
|
||||
if (buffer_frames as f64) >= steps_to_stop {
|
||||
c.state = State::Stopped;
|
||||
} else {
|
||||
c.position += step * (buffer_frames as f64);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
for _ in 0..buffer_frames {
|
||||
let i = c.position as usize;
|
||||
if i + 1 >= frames {
|
||||
c.position = 0.0;
|
||||
}
|
||||
c.position += step;
|
||||
}
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
||||
let out: &mut [f32] = if muffling && !c.unmuffled {
|
||||
&mut bus
|
||||
} else {
|
||||
@@ -992,8 +1062,8 @@ fn mix(mixer: &mut Mixer, data: &mut [f32], channels: usize, rate: u32) {
|
||||
}
|
||||
let t = (c.position - i as f64) as f32;
|
||||
if source_channels > 1 {
|
||||
let l = samples[i * 2] * (1.0 - t) + samples[(i + 1) * 2] * t;
|
||||
let r = samples[i * 2 + 1] * (1.0 - t) + samples[(i + 1) * 2 + 1] * t;
|
||||
let l = samples[i * 2] + (samples[(i + 1) * 2] - samples[i * 2]) * t;
|
||||
let r = samples[i * 2 + 1] + (samples[(i + 1) * 2 + 1] - samples[i * 2 + 1]) * t;
|
||||
if channels >= 2 {
|
||||
frame[0] += l * left;
|
||||
frame[1] += r * right;
|
||||
@@ -1001,7 +1071,7 @@ fn mix(mixer: &mut Mixer, data: &mut [f32], channels: usize, rate: u32) {
|
||||
frame[0] += (l + r) * 0.5 * gain;
|
||||
}
|
||||
} else {
|
||||
let s = samples[i] * (1.0 - t) + samples[i + 1] * t;
|
||||
let s = samples[i] + (samples[i + 1] - samples[i]) * t;
|
||||
if channels >= 2 {
|
||||
frame[0] += s * left;
|
||||
frame[1] += s * right;
|
||||
@@ -1412,6 +1482,7 @@ impl Audio {
|
||||
record_heard: false,
|
||||
listener: [0.0; 3],
|
||||
listener_yaw: 0.0,
|
||||
listener_pitch: 0.0,
|
||||
master: 1.0,
|
||||
random: crate::random_source::create(),
|
||||
source_override: None,
|
||||
@@ -1535,8 +1606,12 @@ impl Audio {
|
||||
/// `SoundManager.updateSource`: the camera position and rotation
|
||||
/// (`Listener.setTransform` takes its forward and up vectors).
|
||||
pub fn set_listener(&mut self, position: [f64; 3], yaw: f32, pitch: f32) {
|
||||
if self.listener == position && self.listener_yaw == yaw && self.listener_pitch == pitch {
|
||||
return;
|
||||
}
|
||||
self.listener = position;
|
||||
self.listener_yaw = yaw;
|
||||
self.listener_pitch = pitch;
|
||||
if let Ok(mut m) = self.backend.mixer.lock() {
|
||||
if self.backend.owner == 0 {
|
||||
m.listener = position;
|
||||
@@ -1576,6 +1651,7 @@ impl Audio {
|
||||
record_heard: false,
|
||||
listener: [0.0; 3],
|
||||
listener_yaw: 0.0,
|
||||
listener_pitch: 0.0,
|
||||
master: self.master,
|
||||
random: crate::random_source::create(),
|
||||
source_override: None,
|
||||
@@ -2109,6 +2185,25 @@ impl Audio {
|
||||
})
|
||||
.collect()
|
||||
}
|
||||
/// Mixes one buffer of audio into `data` (channels: 1 or 2, rate in Hz).
|
||||
pub fn mix_buffer(&mut self, data: &mut [f32], channels: usize, rate: u32) {
|
||||
if let Ok(mut m) = self.backend.mixer.lock() {
|
||||
mix(&mut m, data, channels, rate);
|
||||
}
|
||||
}
|
||||
#[doc(hidden)]
|
||||
pub fn insert_cached_sound(&mut self, key: &str, samples: Vec<f32>, rate: u32, channels: u16) {
|
||||
if let Ok(mut c) = self.backend.cache.lock() {
|
||||
c.insert(
|
||||
key.to_owned(),
|
||||
Some((std::sync::Arc::new(samples), rate, channels)),
|
||||
);
|
||||
}
|
||||
}
|
||||
#[doc(hidden)]
|
||||
pub fn backend_live_for_bench(&mut self) {
|
||||
self.backend.live = true;
|
||||
}
|
||||
}
|
||||
impl Sounds for Audio {
|
||||
fn engine(&mut self) -> &mut SoundEngine {
|
||||
@@ -2613,6 +2708,25 @@ mod tests {
|
||||
assert_eq!(data, [0.0; 4], "returning must not resume the old one-shot");
|
||||
}
|
||||
|
||||
/// A sound of one frame or none, heard or not, looping or not, stops at its first
|
||||
/// buffer as the mixing loop stops it: none stays playing (and holds its channel).
|
||||
#[test]
|
||||
fn sounds_too_short_to_mix_stop_even_unheard() {
|
||||
for (samples, looping) in [(vec![], false), (vec![1.0], false), (vec![1.0], true)] {
|
||||
let mut mixer = Mixer::default();
|
||||
let mut source = channel(samples.clone(), None, [0.0; 3], looping);
|
||||
source.gain = 0.0;
|
||||
mixer.channels.insert(1, source);
|
||||
let mut data = [0.0; 4];
|
||||
mix(&mut mixer, &mut data, 2, 48_000);
|
||||
assert_eq!(
|
||||
mixer.channels[&1].state,
|
||||
State::Stopped,
|
||||
"{samples:?} {looping}"
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn variants_of_one_sound_are_the_same_sound() {
|
||||
assert_eq!(
|
||||
|
||||
@@ -569,6 +569,25 @@ pub(crate) fn polytone_noise() -> &'static horizon_core::noise::SimplexNoise {
|
||||
}
|
||||
|
||||
impl horizon_polytone::expr::Host for BlockHost<'_> {
|
||||
fn field(
|
||||
&mut self,
|
||||
root: horizon_polytone::expr::Root,
|
||||
field: horizon_polytone::expr::Field,
|
||||
) -> Option<horizon_polytone::expr::Value> {
|
||||
use horizon_polytone::expr::Field as F;
|
||||
if root != horizon_polytone::expr::Root::Object {
|
||||
return None;
|
||||
}
|
||||
Some(horizon_polytone::expr::Value::Num(match field {
|
||||
F::X => f64::from(self.at[0]),
|
||||
F::Y => f64::from(self.at[1]),
|
||||
F::Z => f64::from(self.at[2]),
|
||||
F::Temperature => f64::from(self.biome.temperature),
|
||||
F::Downfall => f64::from(self.biome.downfall),
|
||||
_ => return None,
|
||||
}))
|
||||
}
|
||||
|
||||
fn root(&mut self, root: horizon_polytone::expr::Root) -> horizon_polytone::expr::Value {
|
||||
use horizon_polytone::expr::Root;
|
||||
horizon_polytone::expr::Value::Object(match root {
|
||||
|
||||
@@ -231,8 +231,8 @@ pub struct FogInputs<'a> {
|
||||
/// `GameRenderer.nightVisionScale` while Night Vision is on without
|
||||
/// Darkness, else 0 (`FogRenderer.computeFogColor`'s brightenFactor).
|
||||
pub night_vision: f32,
|
||||
/// The packs' Polytone `environment` fog settings.
|
||||
pub environment: horizon_polytone::colors::Environment,
|
||||
/// The packs' `environment` fog settings (Polytone's).
|
||||
pub environment: crate::pack_palette::Environment,
|
||||
}
|
||||
|
||||
/// `FogRenderer.setupFog` + `computeFogColor`.
|
||||
@@ -581,7 +581,7 @@ mod tests {
|
||||
let tables = FogTables {
|
||||
water_fog_end: vec![1.0],
|
||||
};
|
||||
let environment = horizon_polytone::colors::Environment {
|
||||
let environment = crate::pack_palette::Environment {
|
||||
powder_snow_fog: Some(0xFF0000),
|
||||
blindness_fog_distance: 40.0,
|
||||
water_fog_brightening: 0.0,
|
||||
@@ -613,7 +613,7 @@ mod tests {
|
||||
}
|
||||
fn inputs_with<'a>(
|
||||
input: &FogInputs<'a>,
|
||||
environment: horizon_polytone::colors::Environment,
|
||||
environment: crate::pack_palette::Environment,
|
||||
) -> FogInputs<'a> {
|
||||
FogInputs {
|
||||
environment,
|
||||
|
||||
@@ -239,6 +239,7 @@ mod reuse;
|
||||
mod stars;
|
||||
mod surface_setup;
|
||||
use surface_setup::{AdapterChoice, AdapterFailure, open_adapter, pick_adapter, set_up_surface};
|
||||
mod off_page;
|
||||
pub mod submit;
|
||||
mod sunrise_fan;
|
||||
mod timing;
|
||||
@@ -250,6 +251,7 @@ mod wgsl_prefix;
|
||||
mod world_post;
|
||||
pub mod world_primitives;
|
||||
mod world_warp;
|
||||
use off_page::move_off_page;
|
||||
|
||||
/// A section's instance: its camera-relative origin and, in `w`, the step of
|
||||
/// its fixed-point UVs (`terrain.wgsl`'s `terrain_uv`).
|
||||
@@ -726,62 +728,6 @@ impl Part {
|
||||
}
|
||||
}
|
||||
}
|
||||
/// `Renderer::compact_arena`'s and `shrink_translucent`'s moves: what the meshes
|
||||
/// hold on `page` of `arena` (`part`) goes to its other pages in video memory,
|
||||
/// until the next range would pass `budget` bytes (it keeps what is left; the
|
||||
/// first range moves whatever its size, so none keeps the page closed), the
|
||||
/// copies into `encoder`, the ranges' flat draw ids (`flat`) and, in the
|
||||
/// section arena, GPU culling's records (`records`) along. False when the other
|
||||
/// pages have no room left.
|
||||
fn move_off_page<'a>(
|
||||
arena: &mut arena::Arena,
|
||||
encoder: &mut wgpu::CommandEncoder,
|
||||
mut flat: Option<(&mut flat::Flat, &wgpu::Device, &mut upload::Uploads)>,
|
||||
mut records: Option<&mut gpu_culling::Records>,
|
||||
meshes: impl Iterator<Item = &'a mut SectionGpu>,
|
||||
page: u32,
|
||||
part: Part,
|
||||
budget: &mut u64,
|
||||
) -> bool {
|
||||
debug_assert!(
|
||||
records.is_none() || matches!(part, Part::Section { .. }),
|
||||
"records follow the section arena's ranges"
|
||||
);
|
||||
let mut moved = false;
|
||||
for s in meshes {
|
||||
// Nothing of a mesh here: split, one without solid quads (its (0, 0) is no
|
||||
// range of page 0); in the other arenas, one without translucent quads.
|
||||
let Some((_, start, vertices)) = part.of(s).filter(|r| r.0 == page) else {
|
||||
continue;
|
||||
};
|
||||
let bytes = vertices * arena.stride();
|
||||
if moved && bytes > *budget {
|
||||
break;
|
||||
}
|
||||
let Some(to) = arena.alloc_moved(vertices) else {
|
||||
return false;
|
||||
};
|
||||
arena.copy(encoder, (page, start), to, vertices);
|
||||
arena.release(page, start, vertices);
|
||||
if let (Some((flat, device, uploads)), Some(id)) = (&mut flat, s.flat_id) {
|
||||
let key = match part {
|
||||
Part::Translucent => to.0 + flat::TRANSLUCENT_KEYS,
|
||||
_ => to.0,
|
||||
};
|
||||
flat.place(device, encoder, uploads, id, key, to.1, vertices);
|
||||
}
|
||||
part.set(s, to);
|
||||
// Its solid quads start the range in either layout.
|
||||
if let (Part::Section { .. }, Some(records), Some(id)) =
|
||||
(part, records.as_deref_mut(), s.gpu_id)
|
||||
{
|
||||
records.relocate(id, to.0, u64::from(s.solid_base()));
|
||||
}
|
||||
*budget = budget.saturating_sub(bytes);
|
||||
moved = true;
|
||||
}
|
||||
true
|
||||
}
|
||||
/// Starts moving a page of a large arena far larger than its ranges in use
|
||||
/// (`Arena::oversized`) into a new page of the size they get (`Arena::open_page`),
|
||||
/// for `Renderer::shrink_translucent`: the page closes and `move_off_page` empties
|
||||
@@ -10116,7 +10062,11 @@ impl Renderer {
|
||||
let pack_reads_world = pack_post || native_post;
|
||||
laps.lap("r_uploads");
|
||||
// Phase 2 of occlusion culling draws over the depth, and a shader pack or TAA reads it.
|
||||
// Post effects (a resource pack's chains, `use_depth_buffer`) read the world's depth
|
||||
// after the world pass, as `GameRenderer.render` hands them the main target's.
|
||||
let post_reads_depth = !frame.title && !frame.post_effects.effects.is_empty();
|
||||
let keep_depth = pack_reads_world
|
||||
|| post_reads_depth
|
||||
|| (taa && self.world_post.taa)
|
||||
|| oit_on
|
||||
|| native_render::render_needs().world_depth
|
||||
@@ -13714,6 +13664,7 @@ mod tests {
|
||||
Some(Reported {
|
||||
paper_white: 240,
|
||||
peak: 998,
|
||||
peak_guessed: true,
|
||||
})
|
||||
);
|
||||
assert_eq!(
|
||||
@@ -13721,6 +13672,7 @@ mod tests {
|
||||
Some(Reported {
|
||||
paper_white: 480,
|
||||
peak: 480,
|
||||
peak_guessed: true,
|
||||
})
|
||||
);
|
||||
// White above the calibrated peak (a Samsung QD-OLED's 380, the slider at 456).
|
||||
@@ -13729,6 +13681,7 @@ mod tests {
|
||||
Some(Reported {
|
||||
paper_white: 456,
|
||||
peak: 456,
|
||||
peak_guessed: true,
|
||||
})
|
||||
);
|
||||
assert_eq!(os_reported(&info(Some(1000.0), None)), None);
|
||||
@@ -15419,11 +15372,9 @@ fn log_os_reported(reported: Option<crate::graphics::Reported>) {
|
||||
None => "Horizon renderer: the system doesn't report the display's luminance".into(),
|
||||
});
|
||||
}
|
||||
/// What the OS reports in absolute nits (Windows: DXGI's `MaxLuminance` and the SDR
|
||||
/// white level the brightness slider sets), which is HDR output's scale there: SDR
|
||||
/// white is Paper White, the display's peak is Peak Brightness. Both are kept within
|
||||
/// the settings' ranges. The OS's figures often come from the display's EDID and may
|
||||
/// run optimistic; the player's own value always wins.
|
||||
/// What the OS reports in absolute nits, HDR output's scale (Windows: DXGI's SDR white level,
|
||||
/// the brightness slider's, as Paper White, and its `MaxLuminance`, mostly the display's EDID
|
||||
/// guess, as Peak Brightness), kept within the settings' ranges. The player's values win.
|
||||
fn os_reported(info: &wgpu::DisplayHdrInfo) -> Option<crate::graphics::Reported> {
|
||||
let luminance = info.luminance?;
|
||||
let usable = |n: f32| n.is_finite() && n > 0.0;
|
||||
@@ -15435,6 +15386,7 @@ fn os_reported(info: &wgpu::DisplayHdrInfo) -> Option<crate::graphics::Reported>
|
||||
// Windows' SDR brightness slider can set white above the reported peak (480 against
|
||||
// a calibrated 380): the highlights then stay at white instead of dropping below it.
|
||||
peak: (peak.round() as u32).clamp(200, 10_000).max(paper_white),
|
||||
peak_guessed: true,
|
||||
})
|
||||
}
|
||||
|
||||
@@ -15470,6 +15422,7 @@ fn reported(l: horizon_hdr::wayland::Luminances) -> crate::graphics::Reported {
|
||||
crate::graphics::Reported {
|
||||
paper_white: 203,
|
||||
peak: peak.clamp(200, 10_000),
|
||||
peak_guessed: false,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,59 @@
|
||||
//! `move_off_page`, moved out of `gfx.rs` unchanged.
|
||||
use super::*;
|
||||
|
||||
/// `Renderer::compact_arena`'s and `shrink_translucent`'s moves: what the meshes
|
||||
/// hold on `page` of `arena` (`part`) goes to its other pages in video memory,
|
||||
/// until the next range would pass `budget` bytes (it keeps what is left; the
|
||||
/// first range moves whatever its size, so none keeps the page closed), the
|
||||
/// copies into `encoder`, the ranges' flat draw ids (`flat`) and, in the
|
||||
/// section arena, GPU culling's records (`records`) along. False when the other
|
||||
/// pages have no room left.
|
||||
pub(super) fn move_off_page<'a>(
|
||||
arena: &mut arena::Arena,
|
||||
encoder: &mut wgpu::CommandEncoder,
|
||||
mut flat: Option<(&mut flat::Flat, &wgpu::Device, &mut upload::Uploads)>,
|
||||
mut records: Option<&mut gpu_culling::Records>,
|
||||
meshes: impl Iterator<Item = &'a mut SectionGpu>,
|
||||
page: u32,
|
||||
part: Part,
|
||||
budget: &mut u64,
|
||||
) -> bool {
|
||||
debug_assert!(
|
||||
records.is_none() || matches!(part, Part::Section { .. }),
|
||||
"records follow the section arena's ranges"
|
||||
);
|
||||
let mut moved = false;
|
||||
for s in meshes {
|
||||
// Nothing of a mesh here: split, one without solid quads (its (0, 0) is no
|
||||
// range of page 0); in the other arenas, one without translucent quads.
|
||||
let Some((_, start, vertices)) = part.of(s).filter(|r| r.0 == page) else {
|
||||
continue;
|
||||
};
|
||||
let bytes = vertices * arena.stride();
|
||||
if moved && bytes > *budget {
|
||||
break;
|
||||
}
|
||||
let Some(to) = arena.alloc_moved(vertices) else {
|
||||
return false;
|
||||
};
|
||||
arena.copy(encoder, (page, start), to, vertices);
|
||||
arena.release(page, start, vertices);
|
||||
if let (Some((flat, device, uploads)), Some(id)) = (&mut flat, s.flat_id) {
|
||||
let key = match part {
|
||||
Part::Translucent => to.0 + flat::TRANSLUCENT_KEYS,
|
||||
_ => to.0,
|
||||
};
|
||||
flat.place(device, encoder, uploads, id, key, to.1, vertices);
|
||||
}
|
||||
part.set(s, to);
|
||||
// Its solid quads start the range in either layout.
|
||||
if let (Part::Section { .. }, Some(records), Some(id)) =
|
||||
(part, records.as_deref_mut(), s.gpu_id)
|
||||
{
|
||||
records.relocate(id, to.0, u64::from(s.solid_base()));
|
||||
}
|
||||
*budget = budget.saturating_sub(bytes);
|
||||
moved = true;
|
||||
}
|
||||
true
|
||||
}
|
||||
@@ -300,6 +300,7 @@ pub(crate) mod tests {
|
||||
luminance: Some(Reported {
|
||||
paper_white: 400,
|
||||
peak: 1000,
|
||||
peak_guessed: false,
|
||||
}),
|
||||
hdr: system,
|
||||
},
|
||||
@@ -650,6 +651,7 @@ pub(crate) mod tests {
|
||||
window_reading.luminance = Some(Reported {
|
||||
paper_white: 300,
|
||||
peak: 800,
|
||||
peak_guessed: false,
|
||||
});
|
||||
assert_eq!(window_output(window_reading).nits[..2], [300.0, 800.0]);
|
||||
assert_eq!(
|
||||
|
||||
@@ -549,6 +549,7 @@ mod tests {
|
||||
reading.luminance = Some(Reported {
|
||||
paper_white: 250,
|
||||
peak: 600,
|
||||
peak_guessed: false,
|
||||
});
|
||||
// 150 nits under the reported paper white of 250: 0.6 of it.
|
||||
settings.hdr_ui_nits = 150;
|
||||
@@ -584,6 +585,7 @@ mod tests {
|
||||
reading.luminance = Some(Reported {
|
||||
paper_white,
|
||||
peak: 1000,
|
||||
peak_guessed: false,
|
||||
});
|
||||
let next = candidate(&settings, caps, reading, &published);
|
||||
let again = commit(&mut swapchain, &published, next, caps, &mut rejected);
|
||||
@@ -729,6 +731,7 @@ mod tests {
|
||||
luminance: (hdr == Some(true)).then_some(Reported {
|
||||
paper_white: 300,
|
||||
peak: 800,
|
||||
peak_guessed: false,
|
||||
}),
|
||||
hdr,
|
||||
};
|
||||
|
||||
@@ -0,0 +1,79 @@
|
||||
//! Hardware ray queries, only on request (#13780, after the #1180 spike): `HORIZON_RAY_TRACING=1`
|
||||
//! at startup asks the device for wgpu's `EXPERIMENTAL_RAY_QUERY` when the GPU has it. Nothing
|
||||
//! draws with it yet. Without the variable, and in a build without `horizon-extras` (a Horizon
|
||||
//! extra, docs/layers.md), the device is opened exactly as before.
|
||||
|
||||
/// The ray query feature.
|
||||
const RAY_QUERY: wgpu::Features = wgpu::Features::EXPERIMENTAL_RAY_QUERY;
|
||||
|
||||
/// Whether the player asked for ray tracing (the device needs the feature from its creation).
|
||||
fn requested() -> bool {
|
||||
asked(std::env::var("HORIZON_RAY_TRACING").ok().as_deref())
|
||||
}
|
||||
|
||||
/// Whether `HORIZON_RAY_TRACING` set to `var` asks for ray tracing: only in a `horizon-extras`
|
||||
/// build.
|
||||
fn asked(var: Option<&str>) -> bool {
|
||||
cfg!(feature = "horizon-extras") && var == Some("1")
|
||||
}
|
||||
|
||||
/// The features to request on `adapter`: ray queries, when asked for and offered.
|
||||
pub(super) fn features(adapter: &wgpu::Adapter) -> wgpu::Features {
|
||||
let features = pick(requested(), adapter.features());
|
||||
if requested() {
|
||||
let info = adapter.get_info();
|
||||
if features.is_empty() {
|
||||
log::warn!(
|
||||
"Horizon renderer: ray tracing asked for, but {} on {:?} has no hardware ray \
|
||||
queries; it stays off",
|
||||
info.name,
|
||||
info.backend
|
||||
);
|
||||
} else {
|
||||
log::info!(
|
||||
"Horizon renderer: ray queries on ({} on {:?})",
|
||||
info.name,
|
||||
info.backend
|
||||
);
|
||||
}
|
||||
}
|
||||
features
|
||||
}
|
||||
|
||||
fn pick(requested: bool, offered: wgpu::Features) -> wgpu::Features {
|
||||
if requested {
|
||||
offered & RAY_QUERY
|
||||
} else {
|
||||
wgpu::Features::empty()
|
||||
}
|
||||
}
|
||||
|
||||
/// The device's opt-in to `features`' experimental ones.
|
||||
pub(super) fn experimental(features: wgpu::Features) -> wgpu::ExperimentalFeatures {
|
||||
if features.contains(RAY_QUERY) {
|
||||
horizon_hdr::experimental_features()
|
||||
} else {
|
||||
wgpu::ExperimentalFeatures::disabled()
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
|
||||
#[test]
|
||||
fn only_an_extras_build_asks_for_ray_tracing() {
|
||||
assert_eq!(asked(Some("1")), cfg!(feature = "horizon-extras"));
|
||||
assert!(!asked(None));
|
||||
assert!(!asked(Some("0")));
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn ray_queries_only_when_asked_and_offered() {
|
||||
let all = wgpu::Features::all();
|
||||
assert_eq!(pick(true, all), RAY_QUERY);
|
||||
assert!(pick(false, all).is_empty());
|
||||
assert!(pick(true, all - RAY_QUERY).is_empty());
|
||||
assert!(!experimental(wgpu::Features::empty()).is_enabled());
|
||||
}
|
||||
}
|
||||
@@ -5,6 +5,9 @@ use super::{
|
||||
Renderer, check_layers, cull, describe_adapter, is_software, oit, startup_step, surface_format,
|
||||
timing,
|
||||
};
|
||||
// Ray tracing on request, which the device needs from its creation (gfx.rs may not grow).
|
||||
#[path = "ray_query.rs"]
|
||||
mod ray_query;
|
||||
use std::sync::Arc;
|
||||
use winit::window::Window;
|
||||
|
||||
@@ -134,6 +137,7 @@ pub(super) async fn open_adapter(
|
||||
let features = timing::GpuTimer::features(adapter)
|
||||
| cull::Cull::features(adapter)
|
||||
| oit::features(adapter)
|
||||
| ray_query::features(adapter)
|
||||
| (adapter.features()
|
||||
& (wgpu::Features::INDIRECT_FIRST_INSTANCE
|
||||
| wgpu::Features::MULTI_DRAW_INDIRECT_COUNT
|
||||
@@ -166,6 +170,7 @@ pub(super) async fn open_adapter(
|
||||
// with the larger blocks a few small buffers kept whole blocks the arena's pages had
|
||||
// left, and over half the video memory reserved was unused (1,344 MiB for 500).
|
||||
memory_hints: wgpu::MemoryHints::MemoryUsage,
|
||||
experimental_features: ray_query::experimental(features),
|
||||
..Default::default()
|
||||
};
|
||||
#[cfg(not(target_os = "macos"))]
|
||||
|
||||
@@ -30,6 +30,22 @@ fn marker_driver(text: &str) -> &str {
|
||||
pub struct Reported {
|
||||
pub paper_white: u32,
|
||||
pub peak: u32,
|
||||
/// The peak is the display's own claim (DXGI's `MaxLuminance`, mostly its EDID figure),
|
||||
/// which often runs high: Auto still uses it, but the HDR page asks to calibrate.
|
||||
pub peak_guessed: bool,
|
||||
}
|
||||
|
||||
/// Whether HDR is set up for the display, and whether the player kept the system's setup.
|
||||
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
|
||||
pub enum HdrSetup {
|
||||
/// The system says nothing: the player calibrates.
|
||||
Unknown,
|
||||
/// The system says, but only guesses the peak: the player calibrates.
|
||||
Guessed,
|
||||
/// Peak Brightness and Paper White follow the system.
|
||||
Automatic,
|
||||
/// The system said, and the player changed them anyway.
|
||||
Changed,
|
||||
}
|
||||
|
||||
/// The top of Peak Brightness's scale: `peak_nits_at(PEAK_STEPS)` is PQ's 10 000 nits.
|
||||
@@ -1207,6 +1223,15 @@ impl Graphics {
|
||||
n => n,
|
||||
}
|
||||
}
|
||||
/// How HDR is set up for the display the system `reported`.
|
||||
pub fn hdr_setup(&self, reported: Option<Reported>) -> HdrSetup {
|
||||
match reported {
|
||||
None => HdrSetup::Unknown,
|
||||
Some(_) if self.hdr_peak != 0 || self.hdr_paper_white != 0 => HdrSetup::Changed,
|
||||
Some(r) if r.peak_guessed => HdrSetup::Guessed,
|
||||
Some(_) => HdrSetup::Automatic,
|
||||
}
|
||||
}
|
||||
/// The black level, in nits. Not the system's: files from before saved 0 for that
|
||||
/// (Auto), and a reported black would lift every display's shadows by default.
|
||||
pub fn black_level_nits(&self) -> f32 {
|
||||
@@ -1320,6 +1345,7 @@ mod tests {
|
||||
let reported = Some(Reported {
|
||||
paper_white: 300,
|
||||
peak: 1000,
|
||||
peak_guessed: false,
|
||||
});
|
||||
assert_eq!(g.ui_nits(reported), 300);
|
||||
g.hdr_paper_white = 120;
|
||||
@@ -1328,6 +1354,33 @@ mod tests {
|
||||
assert_eq!((g.ui_nits(None), g.ui_nits(reported)), (400, 400));
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn hdr_setup_asks_to_calibrate_where_the_peak_is_guessed() {
|
||||
let wayland = Reported {
|
||||
paper_white: 203,
|
||||
peak: 1015,
|
||||
peak_guessed: false,
|
||||
};
|
||||
let windows = Reported {
|
||||
paper_white: 400,
|
||||
peak: 1000,
|
||||
peak_guessed: true,
|
||||
};
|
||||
let mut g = Graphics::default();
|
||||
assert_eq!(g.hdr_setup(None), HdrSetup::Unknown);
|
||||
assert_eq!(g.hdr_setup(Some(wayland)), HdrSetup::Automatic);
|
||||
assert_eq!(g.hdr_setup(Some(windows)), HdrSetup::Guessed);
|
||||
// Auto still takes the guess, over the 1000-nit default.
|
||||
assert_eq!(g.peak_nits(Some(windows)), 1000);
|
||||
assert_eq!(g.paper_white_nits(Some(windows)), 400);
|
||||
for (peak, paper_white) in [(800, 0), (0, 240)] {
|
||||
(g.hdr_peak, g.hdr_paper_white) = (peak, paper_white);
|
||||
assert_eq!(g.hdr_setup(Some(windows)), HdrSetup::Changed);
|
||||
assert_eq!(g.hdr_setup(Some(wayland)), HdrSetup::Changed);
|
||||
assert_eq!(g.hdr_setup(None), HdrSetup::Unknown);
|
||||
}
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn hdr_modes_keep_boolean_files_and_round_trip_auto() {
|
||||
assert_eq!(Graphics::parse("").hdr, HdrMode::Off);
|
||||
|
||||
@@ -8,7 +8,8 @@ use crate::{
|
||||
gfx::EffectiveOutput,
|
||||
graphics::{
|
||||
EntityCullingMode, FarDetail, FrameGeneration, GpuCullingMode, GraphicsApi, HdrMode,
|
||||
LeafCullingMode, Overlay, Pacing, ParticleCullingMode, PresentMode, Preset, Upscaling,
|
||||
HdrSetup as Setup, LeafCullingMode, Overlay, Pacing, ParticleCullingMode, PresentMode,
|
||||
Preset, Upscaling,
|
||||
},
|
||||
graphics_style::Cost,
|
||||
lang,
|
||||
@@ -675,28 +676,9 @@ const LOD_STEPS: [u32; 24] = [
|
||||
crate::lod::MAX_CHUNKS,
|
||||
];
|
||||
|
||||
/// Whether the system set HDR up for the display, and whether the player kept it.
|
||||
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
|
||||
enum Setup {
|
||||
/// The system says nothing: the player calibrates.
|
||||
Unknown,
|
||||
/// Peak Brightness and Paper White follow the system.
|
||||
Automatic,
|
||||
/// The system said, and the player changed them anyway.
|
||||
Changed,
|
||||
}
|
||||
/// `out`: the output of the renderer the settings are shown for, with what its display reports.
|
||||
fn setup(s: &Settings, out: &EffectiveOutput) -> Setup {
|
||||
setup_of(&s.horizon, out.reported.is_some())
|
||||
}
|
||||
fn setup_of(g: &crate::graphics::Graphics, reported: bool) -> Setup {
|
||||
if !reported {
|
||||
Setup::Unknown
|
||||
} else if g.hdr_peak == 0 && g.hdr_paper_white == 0 {
|
||||
Setup::Automatic
|
||||
} else {
|
||||
Setup::Changed
|
||||
}
|
||||
s.horizon.hdr_setup(out.reported)
|
||||
}
|
||||
/// What the HDR page says while HDR output is held back on this window's graphics driver
|
||||
/// (`EffectiveOutput::held`): picking a mode tries again (`H::cycle`).
|
||||
@@ -714,13 +696,19 @@ fn description(
|
||||
(Item::Horizon(H::HdrCalibrate), Setup::Unknown) => {
|
||||
"Your display didn't say how bright it gets: calibrate to set it up."
|
||||
}
|
||||
(Item::Horizon(H::HdrCalibrate), Setup::Guessed) => {
|
||||
"Your display's reported peak is often too high: calibrate to set it up."
|
||||
}
|
||||
(Item::Horizon(H::HdrCalibrate), Setup::Automatic) => {
|
||||
"Already set up for your display. Only calibrate if HDR looks wrong."
|
||||
}
|
||||
(Item::Horizon(H::HdrCalibrate), Setup::Changed) => {
|
||||
"Puts Peak Brightness and Paper White back to your display's setup."
|
||||
}
|
||||
(Item::Horizon(H::HdrPeak | H::HdrPaperWhite), Setup::Automatic | Setup::Changed) => {
|
||||
// A guessed peak's Auto is what calibration replaced; paper white is the player's own.
|
||||
(Item::Horizon(h @ (H::HdrPeak | H::HdrPaperWhite)), Setup::Automatic | Setup::Changed)
|
||||
if h == H::HdrPaperWhite || out.reported.is_some_and(|r| !r.peak_guessed) =>
|
||||
{
|
||||
"Set up for your display. Leave on Auto unless it looks wrong."
|
||||
}
|
||||
(Item::Horizon(H::GpuCulling), _) if s.horizon.gpu_culling == GpuCullingMode::Auto => {
|
||||
@@ -944,7 +932,7 @@ impl H {
|
||||
H::FrameGeneration => labelled("Frame Generation", g.frame_generation.label()),
|
||||
H::Hdr => labelled("HDR", g.hdr.label()),
|
||||
H::HdrCalibrate => Text::literal(lang::get(match setup(s, out) {
|
||||
Setup::Unknown => "Calibrate...",
|
||||
Setup::Unknown | Setup::Guessed => "Calibrate...",
|
||||
Setup::Automatic => "Calibrate Anyway...",
|
||||
Setup::Changed => "Use Automatic Setup",
|
||||
})),
|
||||
|
||||
@@ -120,14 +120,86 @@ fn auto_levels_and_setup_read_their_own_renderers_report() {
|
||||
assert_eq!(label(H::HdrCalibrate, &silent), "Calibrate...");
|
||||
}
|
||||
|
||||
/// The setup rows' label and description for each kind of report: none, a compositor's
|
||||
/// (Wayland), and Windows', whose peak is the display's own guess.
|
||||
#[test]
|
||||
fn hdr_setup_follows_what_the_system_reported() {
|
||||
let mut g = crate::graphics::Graphics::default();
|
||||
assert_eq!(setup_of(&g, false), Setup::Unknown);
|
||||
assert_eq!(setup_of(&g, true), Setup::Automatic);
|
||||
g.hdr_paper_white = 80;
|
||||
assert_eq!(setup_of(&g, true), Setup::Changed);
|
||||
assert_eq!(setup_of(&g, false), Setup::Unknown);
|
||||
fn the_setup_rows_ask_to_calibrate_unless_the_system_set_the_display_up() {
|
||||
let trusted = offering(true, Some(true));
|
||||
let mut guessed = trusted;
|
||||
guessed.reported = guessed.reported.map(|r| crate::graphics::Reported {
|
||||
peak_guessed: true,
|
||||
..r
|
||||
});
|
||||
let rows = |s: &Settings, out: &EffectiveOutput| {
|
||||
[H::HdrCalibrate, H::HdrPeak, H::HdrPaperWhite].map(|h| {
|
||||
let item = Item::Horizon(h);
|
||||
(item.label(s, out).plain(), description(item, s, out, "-"))
|
||||
})
|
||||
};
|
||||
let calibrate = "Calibrate...";
|
||||
let set_up = "Set up for your display. Leave on Auto unless it looks wrong.";
|
||||
let mut s = Settings::default();
|
||||
s.horizon.hdr = HdrMode::On;
|
||||
let none = (
|
||||
calibrate.into(),
|
||||
"Your display didn't say how bright it gets: calibrate to set it up.",
|
||||
);
|
||||
assert_eq!(
|
||||
rows(&s, &NONE),
|
||||
[
|
||||
none.clone(),
|
||||
("Peak Brightness: Auto (1000)".into(), "-"),
|
||||
("Paper White: Auto (203)".into(), "-"),
|
||||
]
|
||||
);
|
||||
assert_eq!(
|
||||
rows(&s, &guessed),
|
||||
[
|
||||
(
|
||||
calibrate.into(),
|
||||
"Your display's reported peak is often too high: calibrate to set it up."
|
||||
),
|
||||
("Peak Brightness: Auto (1000)".into(), "-"),
|
||||
("Paper White: Auto (400)".into(), "-"),
|
||||
]
|
||||
);
|
||||
assert_eq!(
|
||||
rows(&s, &trusted),
|
||||
[
|
||||
(
|
||||
"Calibrate Anyway...".into(),
|
||||
"Already set up for your display. Only calibrate if HDR looks wrong."
|
||||
),
|
||||
("Peak Brightness: Auto (1000)".into(), set_up),
|
||||
("Paper White: Auto (400)".into(), set_up),
|
||||
]
|
||||
);
|
||||
// Calibrated or set by hand, either report offers its automatic setup back.
|
||||
s.horizon.hdr_peak = 800;
|
||||
// Peak's Auto stays a guess on Windows: only Paper White is said to be set up there.
|
||||
let changed = |peak| {
|
||||
[
|
||||
(
|
||||
"Use Automatic Setup".into(),
|
||||
"Puts Peak Brightness and Paper White back to your display's setup.",
|
||||
),
|
||||
("Peak Brightness: 800".into(), peak),
|
||||
("Paper White: Auto (400)".into(), set_up),
|
||||
]
|
||||
};
|
||||
assert_eq!(rows(&s, &guessed), changed("-"));
|
||||
assert_eq!(rows(&s, &trusted), changed(set_up));
|
||||
assert_eq!(rows(&s, &NONE)[0], none);
|
||||
let mut ui = ui();
|
||||
ui.screen.output = guessed;
|
||||
let at = |[x, y, ..]: [f32; 4]| (x + 8.0, y + 4.0);
|
||||
let calibrate = row(&mut ui, &s, Item::Horizon(H::HdrCalibrate));
|
||||
assert_eq!(press(&mut ui, &mut s, at(calibrate)), [CLICK, CHANGED]);
|
||||
assert_eq!((s.horizon.hdr_peak, s.horizon.hdr_paper_white), (0, 0));
|
||||
assert_eq!(
|
||||
press(&mut ui, &mut s, at(calibrate)),
|
||||
[CLICK, Output::Push(OptionsPage::HdrCalibration)]
|
||||
);
|
||||
}
|
||||
|
||||
/// UI Brightness reads as Paper White does, in nits apart from it: Auto shows the paper white
|
||||
|
||||
@@ -67,7 +67,6 @@ mod jei_sprites;
|
||||
pub mod jigsaw_block;
|
||||
pub mod keypad;
|
||||
pub mod terrain_model;
|
||||
pub use horizon_polytone::colors as polytone_colors;
|
||||
pub use horizon_polytone::creative_tabs as polytone_creative_tabs;
|
||||
pub use horizon_world::json_folder;
|
||||
pub mod level_loading;
|
||||
|
||||
@@ -2593,8 +2593,7 @@ impl Lod {
|
||||
self.returned_at = std::time::Instant::now();
|
||||
let nodes = &self.plan.nodes;
|
||||
self.mesh_samples.retain(|key| nodes.contains(key));
|
||||
// Queued tiles the view left are not sampled (a running one is
|
||||
// dropped when it finishes, `finish_sample`).
|
||||
// Queued tiles the view left are not sampled; a running one is dropped (`finish_sample`).
|
||||
drop_queued_samples(&self.shared, &mut self.pending, |key| {
|
||||
self.plan.nodes.contains(key)
|
||||
});
|
||||
@@ -2680,6 +2679,7 @@ impl Lod {
|
||||
}
|
||||
if let Some((columns, mask)) = self.kept.take(&key) {
|
||||
self.ready.insert(key, columns);
|
||||
self.sync_sample(key);
|
||||
if let Some(mask) = mask {
|
||||
self.detail_masks.insert(key, mask);
|
||||
}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
//! Optional, texture-matched overlays drawn full bright over their base texture in the same
|
||||
//! terrain fragment: native mods' (`<ns>:emissive/...`) and OptiFine's emissive block textures
|
||||
//! (`block/stone_e.png` beside `block/stone.png`). No extra draw calls or world light changes.
|
||||
//! terrain fragment: native mods' (`<ns>:emissive/...`) and a pack's emissive block textures
|
||||
//! (OptiFine's `block/stone_e.png` beside `block/stone.png`, the suffix from the pack formats,
|
||||
//! [`crate::pack_hooks`]). No extra draw calls or world light changes.
|
||||
use crate::sprites::Sprites;
|
||||
use std::{collections::BTreeMap, path::Path};
|
||||
|
||||
@@ -35,14 +36,12 @@ fn tile_file(name: &str) -> Option<&str> {
|
||||
name.strip_suffix(".png")
|
||||
}
|
||||
|
||||
/// OptiFine's emissive overlays of the block sprites already loaded (what the terrain draws;
|
||||
/// items draw from the HUD atlas): for each
|
||||
/// `<ns>:block/<name>`, or connected-texture tile `assets/<ns>/.../<name>.png`, whose
|
||||
/// `<name><suffix>.png` sits beside it, the overlay is loaded too and paired with it, blocks
|
||||
/// first, then tiles, each by name, at most [`MAX`] - [`NATIVE`] (native mods keep their share of
|
||||
/// the table). A pack without such files adds nothing.
|
||||
pub fn load_optifine(root: &Path, sprites: &mut Sprites) -> Vec<(String, String)> {
|
||||
let suffix = horizon_optifine::emissive::suffix(root);
|
||||
/// A pack's emissive overlays of the block sprites already loaded (what the terrain draws;
|
||||
/// items draw from the HUD atlas): for each `<ns>:block/<name>`, or connected-texture tile
|
||||
/// `assets/<ns>/.../<name>.png`, whose `<name><suffix>.png` sits beside it, the overlay is loaded
|
||||
/// too and paired with it, blocks first, then tiles, each by name, at most [`MAX`] - [`NATIVE`]
|
||||
/// (native mods keep their share of the table). A pack without such files adds nothing.
|
||||
pub fn load_overlays(root: &Path, suffix: &str, sprites: &mut Sprites) -> Vec<(String, String)> {
|
||||
// Blocks with identical pixels share a layer (and the shader pairs by layer): a shared
|
||||
// base would glow on every block that shares it, so it gets no overlay.
|
||||
let mut sharing: BTreeMap<u32, usize> = BTreeMap::new();
|
||||
@@ -56,8 +55,8 @@ pub fn load_optifine(root: &Path, sprites: &mut Sprites) -> Vec<(String, String)
|
||||
sharing[layer] == 1
|
||||
&& (name
|
||||
.split_once(':')
|
||||
.is_some_and(|(_, p)| p.starts_with("block/") && !p.ends_with(&suffix))
|
||||
|| tile_file(name).is_some_and(|stem| !stem.ends_with(&suffix)))
|
||||
.is_some_and(|(_, p)| p.starts_with("block/") && !p.ends_with(suffix))
|
||||
|| tile_file(name).is_some_and(|stem| !stem.ends_with(suffix)))
|
||||
})
|
||||
.map(|(name, _)| name.clone())
|
||||
.collect();
|
||||
@@ -110,7 +109,7 @@ pub fn load_optifine(root: &Path, sprites: &mut Sprites) -> Vec<(String, String)
|
||||
pub const CUTOUT: u32 = 1 << 31;
|
||||
|
||||
/// The frame's overlay table: native mods' pairs (at most [`NATIVE`] requested), then the packs'
|
||||
/// OptiFine pairs flagged [`CUTOUT`] (at most [`MAX`] - [`NATIVE`], as [`load_optifine`] loads),
|
||||
/// OptiFine pairs flagged [`CUTOUT`] (at most [`MAX`] - [`NATIVE`], as [`load_overlays`] loads),
|
||||
/// one per base layer with native mods' first, sorted by base layer for the shader's early exit.
|
||||
pub fn table<'a>(
|
||||
layers: &BTreeMap<String, u32>,
|
||||
@@ -204,7 +203,7 @@ mod tests {
|
||||
// Items draw from the HUD atlas, not the terrain: no pair.
|
||||
sprites.insert(&root, "minecraft:item/stick").unwrap();
|
||||
// glowstone isn't loaded: its overlay pairs with nothing.
|
||||
let pairs = load_optifine(&root, &mut sprites);
|
||||
let pairs = load_overlays(&root, "_e", &mut sprites);
|
||||
assert_eq!(
|
||||
pairs,
|
||||
[(
|
||||
@@ -215,9 +214,6 @@ mod tests {
|
||||
assert!(sprites.layers.contains_key("minecraft:block/stone_e"));
|
||||
assert!(!sprites.layers.contains_key("minecraft:block/granite_e"));
|
||||
// The pack's own suffix.
|
||||
let props = root.join("assets/minecraft/optifine/emissive.properties");
|
||||
std::fs::create_dir_all(props.parent().unwrap()).unwrap();
|
||||
std::fs::write(&props, "suffix.emissive=_glow").unwrap();
|
||||
// Connected-texture tiles pair with the overlay beside them.
|
||||
let tiles = root.join("assets/minecraft/optifine/ctm/lamp");
|
||||
png(&tiles.join("0.png"), 230);
|
||||
@@ -234,7 +230,7 @@ mod tests {
|
||||
.insert_file(&root, &format!("assets/minecraft/optifine/{tile}.png"))
|
||||
.unwrap();
|
||||
}
|
||||
let pairs = load_optifine(&root, &mut sprites);
|
||||
let pairs = load_overlays(&root, "_glow", &mut sprites);
|
||||
assert_eq!(
|
||||
pairs,
|
||||
// Blocks first, then tiles.
|
||||
|
||||
@@ -0,0 +1,67 @@
|
||||
//! Polytone's custom colours (`horizon_polytone::colors`, `colors.json` or `color.properties`)
|
||||
//! as the engine's pack colours ([`crate::pack_palette::PackColors`]).
|
||||
use std::path::Path;
|
||||
|
||||
use horizon_polytone::colors::PackColors;
|
||||
|
||||
use crate::block_entity_render::DYES;
|
||||
use crate::pack_palette::{self, Environment};
|
||||
|
||||
/// The colours of every namespace's file under the pack overlay at `root`.
|
||||
pub fn read(root: &Path) -> pack_palette::PackColors {
|
||||
let colors = PackColors::read(root);
|
||||
let by_dye = |f: &dyn Fn(&str) -> Option<u32>| std::array::from_fn(|i| f(DYES[i].0));
|
||||
let env = colors.env;
|
||||
pack_palette::PackColors {
|
||||
dye_diffuse: by_dye(&|name| colors.dye(name, "diffuse")),
|
||||
dye_text: by_dye(&|name| colors.dye(name, "text")),
|
||||
sheep: by_dye(&|name| colors.sheep(name)),
|
||||
redstone: std::array::from_fn(|i| colors.redstone(i as u8)),
|
||||
effects: colors.effects(),
|
||||
entity_shadows: colors.entity_shadows(),
|
||||
xp_bar: colors.xp_bar(),
|
||||
env: Environment {
|
||||
powder_snow_fog: env.powder_snow_fog,
|
||||
blindness_fog_distance: env.blindness_fog_distance,
|
||||
darkness_fog_distance: env.darkness_fog_distance,
|
||||
boss_fog_distance: env.boss_fog_distance,
|
||||
water_fog_brightening: env.water_fog_brightening,
|
||||
water_fog_brightening_time: env.water_fog_brightening_time,
|
||||
horizon_height: env.horizon_height,
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
use crate::pack_palette::{diffuse, redstone, sheep_wool, text};
|
||||
|
||||
#[test]
|
||||
fn a_pack_recolours_only_what_it_names() {
|
||||
// Dyes no other test draws: the table is process-wide.
|
||||
let dir = std::env::temp_dir().join(format!("pack-dyes-{}", std::process::id()));
|
||||
let polytone = dir.join("assets/obs/polytone");
|
||||
std::fs::create_dir_all(&polytone).unwrap();
|
||||
std::fs::write(
|
||||
polytone.join("colors.json"),
|
||||
r#"{"dye": {"cyan": {"diffuse": "00ff00", "text": "0000ff"}}, "sheep": {"pink": "2040ff"}, "redstone": {"7": "0x123456"}}"#,
|
||||
)
|
||||
.unwrap();
|
||||
crate::pack_palette::set(&read(&dir));
|
||||
let (cyan, pink, purple) = (9, 6, 10);
|
||||
assert_eq!(diffuse(cyan), 0x00ff00);
|
||||
assert_eq!(text(cyan), 0x0000ff);
|
||||
assert_eq!(sheep_wool(pink as u8), 0x2040ff);
|
||||
// Wool reads vanilla's dye, not the pack's diffuse: 75% of 0x169C9C.
|
||||
assert_eq!(sheep_wool(cyan as u8), 0x107575);
|
||||
assert_eq!(diffuse(purple), 0x8932B8);
|
||||
assert_eq!(text(purple), 0xA020F0);
|
||||
assert_eq!((redstone(7), redstone(15)), (Some(0x123456), None));
|
||||
crate::pack_palette::set(&Default::default());
|
||||
assert_eq!(redstone(7), None);
|
||||
assert_eq!(diffuse(cyan), 0x169C9C);
|
||||
assert_eq!(sheep_wool(pink as u8), 0xB6687F);
|
||||
std::fs::remove_dir_all(&dir).ok();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,146 @@
|
||||
//! Polytone's item modifiers' durability bar colours, on the engine's
|
||||
//! [`crate::pack_palette::ItemBars`].
|
||||
use std::path::Path;
|
||||
use std::sync::Arc;
|
||||
|
||||
/// An item modifier's `bar_color` of the `damage` type: a row of colours picked by the stack's
|
||||
/// damage, the first pixel undamaged, the last at full damage (measured on the real mod).
|
||||
struct DamageBar {
|
||||
targets: horizon_polytone::Targets,
|
||||
row: Vec<u32>,
|
||||
}
|
||||
|
||||
/// The packs' damage bars, the last read first.
|
||||
struct Bars(Vec<DamageBar>);
|
||||
|
||||
impl crate::pack_palette::ItemBars for Bars {
|
||||
fn color(&self, item: &str, damage: f32) -> Option<u32> {
|
||||
let bar = self
|
||||
.0
|
||||
.iter()
|
||||
.rev()
|
||||
.find(|b| b.targets.matches(item, |_| false))?;
|
||||
let last = (bar.row.len() - 1) as f32;
|
||||
Some(bar.row[(damage.clamp(0.0, 1.0) * last).round() as usize])
|
||||
}
|
||||
}
|
||||
|
||||
/// Reads the packs' item modifiers' durability bar colours under a pack overlay root: an
|
||||
/// `<item>_bar.png` alone, or a json whose `bar_color` is `damage` with its `<name>_bar.png` (or
|
||||
/// `<name>.png`) beside it. Colormap ids and inline colormaps aren't read. `None` without any.
|
||||
pub fn read(root: &Path) -> Option<Arc<dyn crate::pack_palette::ItemBars>> {
|
||||
let mut bars = Vec::new();
|
||||
for namespace in std::fs::read_dir(root.join("assets"))
|
||||
.into_iter()
|
||||
.flatten()
|
||||
.flatten()
|
||||
{
|
||||
let base = namespace.path().join("polytone/item_modifiers");
|
||||
let mut stack = vec![base.clone()];
|
||||
while let Some(dir) = stack.pop() {
|
||||
for entry in std::fs::read_dir(&dir).into_iter().flatten().flatten() {
|
||||
let path = entry.path();
|
||||
if path.is_dir() {
|
||||
stack.push(path);
|
||||
} else if let Some(bar) = item_bar(root, &base, &path) {
|
||||
bars.push(bar);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
(!bars.is_empty()).then(|| Arc::new(Bars(bars)) as _)
|
||||
}
|
||||
|
||||
fn item_bar(root: &Path, base: &Path, path: &Path) -> Option<DamageBar> {
|
||||
let name = path.file_name()?.to_str()?;
|
||||
let row = |png: &Path| {
|
||||
let (width, _, rgba) = crate::sprites::read_rgba(png).ok()?;
|
||||
let row: Vec<u32> = rgba[..width as usize * 4]
|
||||
.as_chunks::<4>()
|
||||
.0
|
||||
.iter()
|
||||
.map(|p| u32::from(p[0]) << 16 | u32::from(p[1]) << 8 | u32::from(p[2]))
|
||||
.collect();
|
||||
(!row.is_empty()).then_some(row)
|
||||
};
|
||||
if let Some(stem) = name.strip_suffix("_bar.png") {
|
||||
// A json of the same name owns its png.
|
||||
if path.with_file_name(format!("{stem}.json")).exists() {
|
||||
return None;
|
||||
}
|
||||
let relative = path.parent()?.strip_prefix(base).ok()?.join(stem);
|
||||
let namespace = base.parent()?.parent()?.file_name()?.to_str()?;
|
||||
let id = format!("{namespace}:{}", relative.to_str()?.replace('\\', "/"));
|
||||
let targets = horizon_polytone::Targets::parse(None, Some(&id)).ok()?;
|
||||
return Some(DamageBar {
|
||||
targets,
|
||||
row: row(path)?,
|
||||
});
|
||||
}
|
||||
let stem = name.strip_suffix(".json")?;
|
||||
let json: serde_json::Value = horizon_world::json_file::read(path).ok()?;
|
||||
if json.get("bar_color")?.as_str()? != "damage" {
|
||||
return None;
|
||||
}
|
||||
let png = [format!("{stem}_bar.png"), format!("{stem}.png")]
|
||||
.into_iter()
|
||||
.map(|png| path.with_file_name(png))
|
||||
.find(|png| png.exists())?;
|
||||
let relative = path.strip_prefix(root).unwrap_or(path).to_string_lossy();
|
||||
let implicit = horizon_polytone::implicit_id(&relative, "item_modifiers");
|
||||
let targets =
|
||||
horizon_polytone::Targets::parse(json.get("targets"), implicit.as_deref()).ok()?;
|
||||
Some(DamageBar {
|
||||
targets,
|
||||
row: row(&png)?,
|
||||
})
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
|
||||
fn png_row(path: &Path, pixels: &[[u8; 3]]) {
|
||||
std::fs::create_dir_all(path.parent().unwrap()).unwrap();
|
||||
let file = std::fs::File::create(path).unwrap();
|
||||
let mut encoder = png::Encoder::new(file, pixels.len() as u32, 1);
|
||||
encoder.set_color(png::ColorType::Rgba);
|
||||
let data: Vec<u8> = pixels
|
||||
.iter()
|
||||
.flat_map(|p| [p[0], p[1], p[2], 255])
|
||||
.collect();
|
||||
encoder
|
||||
.write_header()
|
||||
.unwrap()
|
||||
.write_image_data(&data)
|
||||
.unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn a_damage_bar_picks_its_pixel_by_the_stacks_damage() {
|
||||
let dir = std::env::temp_dir().join(format!("pack-bars-{}", std::process::id()));
|
||||
let modifiers = dir.join("assets/minecraft/polytone/item_modifiers");
|
||||
let rgby = [[255, 0, 0], [0, 255, 0], [0, 0, 255], [255, 255, 0]];
|
||||
png_row(&modifiers.join("diamond_pickaxe_bar.png"), &rgby);
|
||||
std::fs::write(
|
||||
modifiers.join("tools.json"),
|
||||
r#"{"targets": ["minecraft:iron_axe"], "bar_color": "damage"}"#,
|
||||
)
|
||||
.unwrap();
|
||||
png_row(&modifiers.join("tools_bar.png"), &[[1, 2, 3], [4, 5, 6]]);
|
||||
let bars = read(&dir).unwrap();
|
||||
// The real mod: damage 200 of 1561 shows the first pixel, 1400 the last.
|
||||
assert_eq!(
|
||||
bars.color("minecraft:diamond_pickaxe", 200.0 / 1561.0),
|
||||
Some(0xFF0000)
|
||||
);
|
||||
assert_eq!(
|
||||
bars.color("minecraft:diamond_pickaxe", 1400.0 / 1561.0),
|
||||
Some(0xFFFF00)
|
||||
);
|
||||
assert_eq!(bars.color("minecraft:iron_axe", 0.9), Some(0x040506));
|
||||
assert_eq!(bars.color("minecraft:diamond_shovel", 0.5), None);
|
||||
assert!(read(&dir.join("none")).is_none());
|
||||
std::fs::remove_dir_all(&dir).ok();
|
||||
}
|
||||
}
|
||||
@@ -3,7 +3,9 @@
|
||||
//! crate until the platform's executable installs it: it uses only the crate's public API, so it
|
||||
//! moves to a platform crate unchanged, and nothing else in the crate names it.
|
||||
|
||||
mod colors;
|
||||
mod custom_sky;
|
||||
mod item_bars;
|
||||
|
||||
use std::path::Path;
|
||||
use std::sync::Arc;
|
||||
@@ -14,10 +16,22 @@ use crate::pack_hooks::PackFormats;
|
||||
pub struct Formats;
|
||||
|
||||
impl PackFormats for Formats {
|
||||
fn colors(&self, root: &Path) -> Option<crate::pack_palette::PackColors> {
|
||||
Some(colors::read(root))
|
||||
}
|
||||
|
||||
fn emissive_suffix(&self, root: &Path) -> Option<String> {
|
||||
Some(horizon_optifine::emissive::suffix(root))
|
||||
}
|
||||
|
||||
fn custom_sky(&self, root: &Path) -> Option<Arc<dyn crate::custom_sky::SkyLayers>> {
|
||||
let sky = custom_sky::CustomSky::load(root);
|
||||
(!sky.is_empty()).then(|| Arc::new(sky) as _)
|
||||
}
|
||||
|
||||
fn item_bars(&self, root: &Path) -> Option<Arc<dyn crate::pack_palette::ItemBars>> {
|
||||
item_bars::read(root)
|
||||
}
|
||||
}
|
||||
|
||||
/// Installs these formats ([`crate::pack_hooks::install`]); the game does at startup.
|
||||
|
||||
@@ -10,10 +10,26 @@ use std::sync::{Arc, OnceLock};
|
||||
/// What the pack formats beyond vanilla's add to a pack. Each method reads one overlay of a pack
|
||||
/// (its folder at `root`); the default is "nothing in this format".
|
||||
pub trait PackFormats: Send + Sync {
|
||||
/// The colours the overlay replaces where vanilla hardcodes them.
|
||||
fn colors(&self, _root: &Path) -> Option<crate::pack_palette::PackColors> {
|
||||
None
|
||||
}
|
||||
|
||||
/// The name ending of the overlay's emissive textures (`stone_e.png` beside `stone.png`),
|
||||
/// if its format has them.
|
||||
fn emissive_suffix(&self, _root: &Path) -> Option<String> {
|
||||
None
|
||||
}
|
||||
|
||||
/// The sky layers the overlay draws over the vanilla sky, if it has any.
|
||||
fn custom_sky(&self, _root: &Path) -> Option<Arc<dyn crate::custom_sky::SkyLayers>> {
|
||||
None
|
||||
}
|
||||
|
||||
/// The durability bar colours the overlay sets by item, if any.
|
||||
fn item_bars(&self, _root: &Path) -> Option<Arc<dyn crate::pack_palette::ItemBars>> {
|
||||
None
|
||||
}
|
||||
}
|
||||
|
||||
/// No format beyond vanilla's.
|
||||
|
||||
@@ -1,14 +1,87 @@
|
||||
//! Polytone's dye, sheep and redstone colours (`dye.<name>.diffuse|text`, `sheep.<name>`,
|
||||
//! `redstone.<power>`), for drawing only: the pack recolours collars, tropical fish, banners, wool,
|
||||
//! sign text and redstone wire and dust, while gameplay (crafting, item data, the beacon) keeps
|
||||
//! vanilla's `DyeColor`. Lock-free: the draw paths and the mesher's workers read it per face.
|
||||
//! The colours a pack replaces where vanilla hardcodes them (Polytone's `colors.json`, read by the
|
||||
//! platform's pack formats, [`crate::pack_hooks`]): dye, sheep and redstone colours, for drawing
|
||||
//! only (the pack recolours collars, tropical fish, banners, wool, sign text and redstone wire and
|
||||
//! dust, while gameplay keeps vanilla's `DyeColor`), mob effect colours, the experience number's,
|
||||
//! entity shadows, the effect fogs' settings and durability bar colours. Lock-free: the draw paths
|
||||
//! and the mesher's workers read the dye, sheep and redstone tables per face.
|
||||
use std::path::Path;
|
||||
use std::sync::RwLock;
|
||||
use std::sync::atomic::{AtomicU64, Ordering::Relaxed};
|
||||
use std::sync::{Arc, RwLock};
|
||||
|
||||
use crate::block_entity_render::DYES;
|
||||
use crate::signs::DYE_TEXT;
|
||||
use horizon_polytone::colors::PackColors;
|
||||
|
||||
/// The fog settings vanilla hardcodes, as the packs set them (vanilla's by default).
|
||||
#[derive(Clone, Copy, Debug, PartialEq)]
|
||||
pub struct Environment {
|
||||
/// The fog colour inside powder snow (RGB).
|
||||
pub powder_snow_fog: Option<u32>,
|
||||
/// The fog ends of Blindness (5), Darkness (15) and bosses that add world fog (96).
|
||||
pub blindness_fog_distance: f32,
|
||||
pub darkness_fog_distance: f32,
|
||||
pub boss_fog_distance: f32,
|
||||
/// How much the underwater fog colour washes out (1 vanilla, 0 none).
|
||||
pub water_fog_brightening: f32,
|
||||
/// The ticks under water it takes (vanilla's 600).
|
||||
pub water_fog_brightening_time: f32,
|
||||
/// Below it the sky draws its dark disc (vanilla's 63; flat worlds keep their floor).
|
||||
pub horizon_height: f32,
|
||||
}
|
||||
|
||||
impl Default for Environment {
|
||||
fn default() -> Self {
|
||||
Self {
|
||||
powder_snow_fog: None,
|
||||
blindness_fog_distance: 5.0,
|
||||
darkness_fog_distance: 15.0,
|
||||
boss_fog_distance: 96.0,
|
||||
water_fog_brightening: 1.0,
|
||||
water_fog_brightening_time: 600.0,
|
||||
horizon_height: 63.0,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// The packs' colours; `None` (and the defaults) where they keep vanilla's.
|
||||
#[derive(Clone, Debug, PartialEq)]
|
||||
pub struct PackColors {
|
||||
/// By dye id (`DyeColor` order): `getTextureDiffuseColor`, `getTextColor`, the sheep's wool.
|
||||
pub dye_diffuse: [Option<u32>; 16],
|
||||
pub dye_text: [Option<u32>; 16],
|
||||
pub sheep: [Option<u32>; 16],
|
||||
/// `RedStoneWireBlock.COLORS` by power.
|
||||
pub redstone: [Option<u32>; 16],
|
||||
/// Mob effects' colours, by effect id without vanilla's namespace.
|
||||
pub effects: Vec<(String, u32)>,
|
||||
/// False hides every entity's round shadow, whatever the video option says.
|
||||
pub entity_shadows: bool,
|
||||
/// The experience level number's colour and outline.
|
||||
pub xp_bar: [Option<u32>; 2],
|
||||
/// The effect fogs' settings: the fog reads them every frame.
|
||||
pub env: Environment,
|
||||
}
|
||||
|
||||
impl Default for PackColors {
|
||||
fn default() -> Self {
|
||||
Self {
|
||||
dye_diffuse: [None; 16],
|
||||
dye_text: [None; 16],
|
||||
sheep: [None; 16],
|
||||
redstone: [None; 16],
|
||||
effects: Vec::new(),
|
||||
entity_shadows: true,
|
||||
xp_bar: [None; 2],
|
||||
env: Environment::default(),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl PackColors {
|
||||
/// Whether entities draw their round shadow, as far as the packs say.
|
||||
pub fn entity_shadows(&self) -> bool {
|
||||
self.entity_shadows
|
||||
}
|
||||
}
|
||||
|
||||
/// 0 is unset, else `1 << 32 | rgb`.
|
||||
static DIFFUSE: [AtomicU64; 16] = [const { AtomicU64::new(0) }; 16];
|
||||
@@ -16,6 +89,30 @@ static TEXT: [AtomicU64; 16] = [const { AtomicU64::new(0) }; 16];
|
||||
static SHEEP: [AtomicU64; 16] = [const { AtomicU64::new(0) }; 16];
|
||||
static REDSTONE: [AtomicU64; 16] = [const { AtomicU64::new(0) }; 16];
|
||||
|
||||
/// The colours of the pack overlay at `root`, from the installed pack formats; their dye, sheep
|
||||
/// and redstone colours go to the draw paths' tables ([`set`]).
|
||||
pub fn read(root: &Path) -> PackColors {
|
||||
let formats = crate::pack_hooks::formats();
|
||||
let colors = formats.colors(root).unwrap_or_default();
|
||||
set(&colors);
|
||||
*ITEM_BARS.write().unwrap_or_else(|e| e.into_inner()) = formats.item_bars(root);
|
||||
colors
|
||||
}
|
||||
|
||||
/// The packs' durability bar colours by item (Polytone's item modifiers' `bar_color`).
|
||||
pub trait ItemBars: Send + Sync {
|
||||
/// The bar colour (RGB) of `item` at this damage (0 to 1), when a pack sets one.
|
||||
fn color(&self, item: &str, damage: f32) -> Option<u32>;
|
||||
}
|
||||
|
||||
static ITEM_BARS: RwLock<Option<Arc<dyn ItemBars>>> = RwLock::new(None);
|
||||
|
||||
/// A pack's durability bar colour (RGB) for an item at this damage (0 to 1).
|
||||
pub fn item_bar_color(item: &str, damage: f32) -> Option<u32> {
|
||||
let bars = ITEM_BARS.read().unwrap_or_else(|e| e.into_inner());
|
||||
bars.as_ref()?.color(item, damage)
|
||||
}
|
||||
|
||||
/// Takes the colours of the packs just loaded (vanilla's where they set none).
|
||||
pub fn set(colors: &PackColors) {
|
||||
let store = |table: &[AtomicU64; 16], i: usize, color: Option<u32>| {
|
||||
@@ -24,129 +121,39 @@ pub fn set(colors: &PackColors) {
|
||||
Relaxed,
|
||||
);
|
||||
};
|
||||
for (i, (name, _)) in DYES.iter().enumerate() {
|
||||
store(&DIFFUSE, i, colors.dye(name, "diffuse"));
|
||||
store(&TEXT, i, colors.dye(name, "text"));
|
||||
store(&SHEEP, i, colors.sheep(name));
|
||||
store(&REDSTONE, i, colors.redstone(i as u8));
|
||||
for i in 0..16 {
|
||||
store(&DIFFUSE, i, colors.dye_diffuse[i]);
|
||||
store(&TEXT, i, colors.dye_text[i]);
|
||||
store(&SHEEP, i, colors.sheep[i]);
|
||||
store(&REDSTONE, i, colors.redstone[i]);
|
||||
}
|
||||
}
|
||||
|
||||
/// An item modifier's `bar_color` of the `damage` type: a row of colours picked by the stack's
|
||||
/// damage, the first pixel undamaged, the last at full damage (measured on the real mod).
|
||||
struct DamageBar {
|
||||
targets: horizon_polytone::Targets,
|
||||
row: Vec<u32>,
|
||||
}
|
||||
static ITEM_BARS: RwLock<Vec<DamageBar>> = RwLock::new(Vec::new());
|
||||
|
||||
/// Reads the packs' item modifiers' durability bar colours under a pack overlay root: an
|
||||
/// `<item>_bar.png` alone, or a json whose `bar_color` is `damage` with its `<name>_bar.png` (or
|
||||
/// `<name>.png`) beside it. Colormap ids and inline colormaps aren't read.
|
||||
pub fn set_item_bars(root: &Path) {
|
||||
let mut bars = Vec::new();
|
||||
for namespace in std::fs::read_dir(root.join("assets"))
|
||||
.into_iter()
|
||||
.flatten()
|
||||
.flatten()
|
||||
{
|
||||
let base = namespace.path().join("polytone/item_modifiers");
|
||||
let mut stack = vec![base.clone()];
|
||||
while let Some(dir) = stack.pop() {
|
||||
for entry in std::fs::read_dir(&dir).into_iter().flatten().flatten() {
|
||||
let path = entry.path();
|
||||
if path.is_dir() {
|
||||
stack.push(path);
|
||||
} else if let Some(bar) = item_bar(root, &base, &path) {
|
||||
bars.push(bar);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
*ITEM_BARS.write().unwrap_or_else(|e| e.into_inner()) = bars;
|
||||
}
|
||||
|
||||
fn item_bar(root: &Path, base: &Path, path: &Path) -> Option<DamageBar> {
|
||||
let name = path.file_name()?.to_str()?;
|
||||
let row = |png: &Path| {
|
||||
let (width, _, rgba) = crate::sprites::read_rgba(png).ok()?;
|
||||
let row: Vec<u32> = rgba[..width as usize * 4]
|
||||
.as_chunks::<4>()
|
||||
.0
|
||||
.iter()
|
||||
.map(|p| u32::from(p[0]) << 16 | u32::from(p[1]) << 8 | u32::from(p[2]))
|
||||
.collect();
|
||||
(!row.is_empty()).then_some(row)
|
||||
};
|
||||
if let Some(stem) = name.strip_suffix("_bar.png") {
|
||||
// A json of the same name owns its png.
|
||||
if path.with_file_name(format!("{stem}.json")).exists() {
|
||||
return None;
|
||||
}
|
||||
let relative = path.parent()?.strip_prefix(base).ok()?.join(stem);
|
||||
let namespace = base.parent()?.parent()?.file_name()?.to_str()?;
|
||||
let id = format!("{namespace}:{}", relative.to_str()?.replace('\\', "/"));
|
||||
let targets = horizon_polytone::Targets::parse(None, Some(&id)).ok()?;
|
||||
return Some(DamageBar {
|
||||
targets,
|
||||
row: row(path)?,
|
||||
});
|
||||
}
|
||||
let stem = name.strip_suffix(".json")?;
|
||||
let json: serde_json::Value = horizon_world::json_file::read(path).ok()?;
|
||||
if json.get("bar_color")?.as_str()? != "damage" {
|
||||
return None;
|
||||
}
|
||||
let png = [format!("{stem}_bar.png"), format!("{stem}.png")]
|
||||
.into_iter()
|
||||
.map(|png| path.with_file_name(png))
|
||||
.find(|png| png.exists())?;
|
||||
let relative = path.strip_prefix(root).unwrap_or(path).to_string_lossy();
|
||||
let implicit = horizon_polytone::implicit_id(&relative, "item_modifiers");
|
||||
let targets =
|
||||
horizon_polytone::Targets::parse(json.get("targets"), implicit.as_deref()).ok()?;
|
||||
Some(DamageBar {
|
||||
targets,
|
||||
row: row(&png)?,
|
||||
})
|
||||
}
|
||||
|
||||
/// A pack's durability bar colour (RGB) for an item at this damage (0 to 1).
|
||||
pub fn item_bar_color(item: &str, damage: f32) -> Option<u32> {
|
||||
let bars = ITEM_BARS.read().unwrap_or_else(|e| e.into_inner());
|
||||
let bar = bars
|
||||
.iter()
|
||||
.rev()
|
||||
.find(|b| b.targets.matches(item, |_| false))?;
|
||||
let last = (bar.row.len() - 1) as f32;
|
||||
Some(bar.row[(damage.clamp(0.0, 1.0) * last).round() as usize])
|
||||
}
|
||||
|
||||
fn read(table: &[AtomicU64; 16], i: usize) -> Option<u32> {
|
||||
fn get(table: &[AtomicU64; 16], i: usize) -> Option<u32> {
|
||||
let v = table[i & 15].load(Relaxed);
|
||||
(v != 0).then_some(v as u32)
|
||||
}
|
||||
|
||||
/// `DyeColor.getTextureDiffuseColor` (RGB) as the packs draw it.
|
||||
pub fn diffuse(dye: usize) -> u32 {
|
||||
read(&DIFFUSE, dye).unwrap_or(DYES[dye & 15].1)
|
||||
get(&DIFFUSE, dye).unwrap_or(DYES[dye & 15].1)
|
||||
}
|
||||
|
||||
/// `DyeColor.getTextColor` (RGB) as the packs draw it.
|
||||
pub fn text(dye: usize) -> u32 {
|
||||
read(&TEXT, dye).unwrap_or(DYE_TEXT[dye & 15].1)
|
||||
get(&TEXT, dye).unwrap_or(DYE_TEXT[dye & 15].1)
|
||||
}
|
||||
|
||||
/// A pack's `RedStoneWireBlock.COLORS` entry for this power (RGB), when it sets one.
|
||||
pub fn redstone(power: u8) -> Option<u32> {
|
||||
read(&REDSTONE, usize::from(power))
|
||||
get(&REDSTONE, usize::from(power))
|
||||
}
|
||||
|
||||
/// `ColorLerper.Type.SHEEP` wool colour: a pack's `sheep.<name>`, else white 0xE6E6E6 and the
|
||||
/// others 75% of vanilla's dye (a pack's `dye.*.diffuse` doesn't reach wool).
|
||||
pub fn sheep_wool(dye: u8) -> u32 {
|
||||
let i = usize::from(dye & 15);
|
||||
if let Some(color) = read(&SHEEP, i) {
|
||||
if let Some(color) = get(&SHEEP, i) {
|
||||
return color;
|
||||
}
|
||||
if i == 0 {
|
||||
@@ -156,81 +163,3 @@ pub fn sheep_wool(dye: u8) -> u32 {
|
||||
let f = |c: u32| ((c as f32 * 0.75).floor() as u32).min(255);
|
||||
f(src >> 16 & 255) << 16 | f(src >> 8 & 255) << 8 | f(src & 255)
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
|
||||
#[test]
|
||||
fn a_pack_recolours_only_what_it_names() {
|
||||
// Dyes no other test draws: the table is process-wide.
|
||||
let dir = std::env::temp_dir().join(format!("pack-dyes-{}", std::process::id()));
|
||||
let polytone = dir.join("assets/obs/polytone");
|
||||
std::fs::create_dir_all(&polytone).unwrap();
|
||||
std::fs::write(
|
||||
polytone.join("colors.json"),
|
||||
r#"{"dye": {"cyan": {"diffuse": "00ff00", "text": "0000ff"}}, "sheep": {"pink": "2040ff"}, "redstone": {"7": "0x123456"}}"#,
|
||||
)
|
||||
.unwrap();
|
||||
set(&PackColors::read(&dir));
|
||||
let (cyan, pink, purple) = (9, 6, 10);
|
||||
assert_eq!(diffuse(cyan), 0x00ff00);
|
||||
assert_eq!(text(cyan), 0x0000ff);
|
||||
assert_eq!(sheep_wool(pink as u8), 0x2040ff);
|
||||
// Wool reads vanilla's dye, not the pack's diffuse: 75% of 0x169C9C.
|
||||
assert_eq!(sheep_wool(cyan as u8), 0x107575);
|
||||
assert_eq!(diffuse(purple), 0x8932B8);
|
||||
assert_eq!(text(purple), 0xA020F0);
|
||||
assert_eq!((redstone(7), redstone(15)), (Some(0x123456), None));
|
||||
set(&PackColors::default());
|
||||
assert_eq!(redstone(7), None);
|
||||
assert_eq!(diffuse(cyan), 0x169C9C);
|
||||
assert_eq!(sheep_wool(pink as u8), 0xB6687F);
|
||||
std::fs::remove_dir_all(&dir).ok();
|
||||
}
|
||||
|
||||
fn png_row(path: &Path, pixels: &[[u8; 3]]) {
|
||||
std::fs::create_dir_all(path.parent().unwrap()).unwrap();
|
||||
let file = std::fs::File::create(path).unwrap();
|
||||
let mut encoder = png::Encoder::new(file, pixels.len() as u32, 1);
|
||||
encoder.set_color(png::ColorType::Rgba);
|
||||
let data: Vec<u8> = pixels
|
||||
.iter()
|
||||
.flat_map(|p| [p[0], p[1], p[2], 255])
|
||||
.collect();
|
||||
encoder
|
||||
.write_header()
|
||||
.unwrap()
|
||||
.write_image_data(&data)
|
||||
.unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn a_damage_bar_picks_its_pixel_by_the_stacks_damage() {
|
||||
let dir = std::env::temp_dir().join(format!("pack-bars-{}", std::process::id()));
|
||||
let modifiers = dir.join("assets/minecraft/polytone/item_modifiers");
|
||||
let rgby = [[255, 0, 0], [0, 255, 0], [0, 0, 255], [255, 255, 0]];
|
||||
png_row(&modifiers.join("diamond_pickaxe_bar.png"), &rgby);
|
||||
std::fs::write(
|
||||
modifiers.join("tools.json"),
|
||||
r#"{"targets": ["minecraft:iron_axe"], "bar_color": "damage"}"#,
|
||||
)
|
||||
.unwrap();
|
||||
png_row(&modifiers.join("tools_bar.png"), &[[1, 2, 3], [4, 5, 6]]);
|
||||
set_item_bars(&dir);
|
||||
// The real mod: damage 200 of 1561 shows the first pixel, 1400 the last.
|
||||
assert_eq!(
|
||||
item_bar_color("minecraft:diamond_pickaxe", 200.0 / 1561.0),
|
||||
Some(0xFF0000)
|
||||
);
|
||||
assert_eq!(
|
||||
item_bar_color("minecraft:diamond_pickaxe", 1400.0 / 1561.0),
|
||||
Some(0xFFFF00)
|
||||
);
|
||||
assert_eq!(item_bar_color("minecraft:iron_axe", 0.9), Some(0x040506));
|
||||
assert_eq!(item_bar_color("minecraft:diamond_shovel", 0.5), None);
|
||||
set_item_bars(&dir.join("none"));
|
||||
assert_eq!(item_bar_color("minecraft:diamond_pickaxe", 0.5), None);
|
||||
std::fs::remove_dir_all(&dir).ok();
|
||||
}
|
||||
}
|
||||
@@ -801,6 +801,26 @@ impl Host for Ctx<'_, '_> {
|
||||
_ => Err(format!("{name} is not available here")),
|
||||
}
|
||||
}
|
||||
|
||||
/// A particle's own fields, as `particle_method` answers them.
|
||||
fn field(&mut self, root: Root, field: horizon_polytone::expr::Field) -> Option<V> {
|
||||
use horizon_polytone::expr::Field as F;
|
||||
let Subject::Particle(p) = &self.subject else {
|
||||
return None;
|
||||
};
|
||||
if root != Root::Object {
|
||||
return None;
|
||||
}
|
||||
Some(V::Num(match field {
|
||||
F::Age => f64::from(p.age),
|
||||
F::Life => f64::from(p.lifetime),
|
||||
F::Custom => *self.custom,
|
||||
F::X => p.position[0],
|
||||
F::Y => p.position[1],
|
||||
F::Z => p.position[2],
|
||||
F::Temperature | F::Downfall => return None,
|
||||
}))
|
||||
}
|
||||
}
|
||||
|
||||
fn eval(program: &Program, ctx: &mut Ctx) -> Option<f64> {
|
||||
|
||||
@@ -913,6 +913,20 @@ pub trait Backend {
|
||||
fn unpause(&mut self, channel: ChannelId);
|
||||
/// `Channel.stopped`.
|
||||
fn stopped(&mut self, channel: ChannelId) -> bool;
|
||||
/// Update volume, pitch, and position in a single backend call.
|
||||
fn update_channel(&mut self, channel: ChannelId, volume: f32, pitch: f32, position: [f64; 3]) {
|
||||
self.set_volume(channel, volume);
|
||||
self.set_pitch(channel, pitch);
|
||||
self.set_position(channel, position);
|
||||
}
|
||||
/// Filter which handles have stopped playing in a single pass.
|
||||
fn filter_stopped(&mut self, live: &[(u64, ChannelId)], stopped: &mut Vec<u64>) {
|
||||
for &(h, c) in live {
|
||||
if self.stopped(c) {
|
||||
stopped.push(h);
|
||||
}
|
||||
}
|
||||
}
|
||||
/// Whether the channel plays clearly through a mod's muffle (`Audio::muffle`): its sound
|
||||
/// event is one the mod exempted. A backend without a muffle ignores it.
|
||||
fn set_unmuffled(&mut self, _channel: ChannelId, _unmuffled: bool) {}
|
||||
@@ -1494,13 +1508,14 @@ impl SoundEngine {
|
||||
.iter()
|
||||
.filter_map(|(h, handle)| handle.channel.map(|c| (*h, c))),
|
||||
);
|
||||
for (h, c) in live.drain(..) {
|
||||
if backend.stopped(c) {
|
||||
self.release_handle(h, backend);
|
||||
}
|
||||
let mut stopped = std::mem::take(&mut self.mapped_scratch);
|
||||
stopped.clear();
|
||||
backend.filter_stopped(&live, &mut stopped);
|
||||
for h in stopped.drain(..) {
|
||||
self.release_handle(h, backend);
|
||||
}
|
||||
// Released handles nobody maps any more.
|
||||
let mut mapped = std::mem::take(&mut self.mapped_scratch);
|
||||
let mut mapped = stopped;
|
||||
mapped.clear();
|
||||
mapped.extend(self.instance_to_channel.iter().map(|(_, h)| *h));
|
||||
self.handles
|
||||
@@ -1550,9 +1565,7 @@ impl SoundEngine {
|
||||
h.pitch_edited = pitch_edited;
|
||||
}
|
||||
if let Some(c) = self.handles.get(&handle).and_then(handle_channel) {
|
||||
backend.set_volume(c, volume);
|
||||
backend.set_pitch(c, pitch);
|
||||
backend.set_position(c, position);
|
||||
backend.update_channel(c, volume, pitch, position);
|
||||
}
|
||||
let instance = self.instances.get_mut(&id).expect("present");
|
||||
if instance.looping
|
||||
|
||||
@@ -1251,6 +1251,9 @@ pub struct EditBox {
|
||||
/// `getMessage`: what the narrator calls the box ("<message> edit box:
|
||||
/// <value>").
|
||||
pub message: String,
|
||||
/// `EditBox.setInvertHighlightedTextColor`: a selection draws its text
|
||||
/// inverted (the default) or in the box's own colour (`AnvilScreen`).
|
||||
pub invert_highlighted_text_color: bool,
|
||||
/// Where a borderless box drawn in a frame of its own focuses: a controller's outline goes
|
||||
/// round the frame, not over the text.
|
||||
pub frame: Option<[f32; 4]>,
|
||||
@@ -1543,6 +1546,7 @@ impl EditBox {
|
||||
text_color_uneditable: rgba(112, 112, 112, 255),
|
||||
editable: true,
|
||||
message: String::new(),
|
||||
invert_highlighted_text_color: true,
|
||||
frame: None,
|
||||
}
|
||||
}
|
||||
@@ -1918,7 +1922,11 @@ impl EditBox {
|
||||
let right = self.x + self.width;
|
||||
let (x0, x1) = (cursor_x.min(right), (hx - 1.0).min(right));
|
||||
let (a, b) = (x0.min(x1), x0.max(x1));
|
||||
batch.text_highlight(atlas, (a, ty - 1.0, b - a, 11.0), true);
|
||||
batch.text_highlight(
|
||||
atlas,
|
||||
(a, ty - 1.0, b - a, 11.0),
|
||||
self.invert_highlighted_text_color,
|
||||
);
|
||||
}
|
||||
if show_cursor {
|
||||
if insert {
|
||||
@@ -2628,6 +2636,20 @@ mod tests {
|
||||
);
|
||||
}
|
||||
|
||||
/// `EditBox.setInvertHighlightedTextColor`: a selection inverts its text
|
||||
/// unless the box asks it not to (the anvil's rename box).
|
||||
#[test]
|
||||
fn a_selection_inverts_its_text_unless_the_box_says_not_to() {
|
||||
let mut edit = EditBox::new(0.0, 0.0, 100.0, 20.0);
|
||||
assert!(edit.invert_highlighted_text_color);
|
||||
edit.invert_highlighted_text_color = false;
|
||||
edit.set_value("name");
|
||||
edit.set_cursor(0, false);
|
||||
edit.set_cursor(4, true);
|
||||
assert_eq!(edit.selected_text(), "name");
|
||||
assert!(!edit.invert_highlighted_text_color);
|
||||
}
|
||||
|
||||
/// `EditBox.setEditable(false)`: the box keeps the focus, the caret keys
|
||||
/// and copy, but `charTyped`/paste/Backspace/Delete do nothing, and Cut
|
||||
/// copies without taking the text out. A value and the caret still show,
|
||||
|
||||
@@ -72,6 +72,8 @@ horizon-theme = { path = "../horizon-theme" }
|
||||
# anonymous "I'm playing" ping is the Horizon layer's (`horizon-heartbeat`, in the official executable).
|
||||
horizon-telemetry = { path = "../horizon-telemetry", default-features = false }
|
||||
horizon-bench = { path = "../horizon-bench" }
|
||||
# The machine and process probes (the dedicated server's performance report).
|
||||
horizon-system = { path = "../horizon-system" }
|
||||
crc32fast = "1"
|
||||
zip = { version = "9.1.3", default-features = false, features = ["deflate"] }
|
||||
# Controllers (evdev + libudev on Linux, IOKit on macOS, Windows.Gaming.Input); the `controllers` feature.
|
||||
@@ -119,10 +121,11 @@ audio = ["horizon-client-render/audio", "horizon-client-lib/audio"]
|
||||
controllers = ["horizon-client-lib/controllers", "dep:gilrs", "dep:horizon-dualsense", "horizon-client-input/controllers"]
|
||||
# Horizon's own extras over the vanilla game, for a fork that wants them out (docs/forking.md):
|
||||
# cosmetics and emotes, the "Horizon player" presence, the official server added to
|
||||
# the server list, the Horizon Settings and Mods pages, Discord and Play with Friends. Players always get them; there is no switch. `grep -rn horizon-extras crates/` lists
|
||||
# the server list, the Horizon Settings and Mods pages, Discord and Play with Friends, and ray
|
||||
# tracing on request (`HORIZON_RAY_TRACING=1`). Players always get them; there is no switch. `grep -rn horizon-extras crates/` lists
|
||||
# every place it gates. Without it (`--no-default-features --features audio,controllers`) the
|
||||
# client is best effort: CI builds only the default.
|
||||
horizon-extras = ["horizon-client-lib/horizon-extras", "discord", "friends"]
|
||||
horizon-extras = ["horizon-client-lib/horizon-extras", "horizon-client-render/horizon-extras", "discord", "friends"]
|
||||
# Online extras a server or a port can leave out; the server build has none of them. "Playing Horizon"
|
||||
# on Discord (game/discord.rs).
|
||||
discord = ["horizon-client-lib/discord"]
|
||||
|
||||
@@ -441,6 +441,7 @@
|
||||
"HDR Calibration %s/%s: %s": "HDR Calibration %s/%s: %s",
|
||||
"Sets the three below full screen, one test picture at a time.": "Sets the three below full screen, one test picture at a time.",
|
||||
"Your display didn't say how bright it gets: calibrate to set it up.": "Your display didn't say how bright it gets: calibrate to set it up.",
|
||||
"Your display's reported peak is often too high: calibrate to set it up.": "Your display's reported peak is often too high: calibrate to set it up.",
|
||||
"Already set up for your display. Only calibrate if HDR looks wrong.": "Already set up for your display. Only calibrate if HDR looks wrong.",
|
||||
"Puts Peak Brightness and Paper White back to your display's setup.": "Puts Peak Brightness and Paper White back to your display's setup.",
|
||||
"Set up for your display. Leave on Auto unless it looks wrong.": "Set up for your display. Leave on Auto unless it looks wrong.",
|
||||
|
||||
@@ -21,11 +21,11 @@ pub use horizon_client_render::{
|
||||
mipmap, mod_browser, mod_list, model_library, models, multiline_edit, native_emissive,
|
||||
options_file, options_fixes, options_ui, overlay, pack_browser, pack_formats, pack_hooks,
|
||||
pack_palette, pack_screen, packs, pad_cursor, pad_glyph, par, particles, poi_sections,
|
||||
polytone_colors, polytone_creative_tabs, polytone_post, post_chain, potent_sulfur, preedit,
|
||||
providers, pvp, pvp_hud, random_source, screen_draw, screen_effects, sculk, section_mask,
|
||||
server_terrain, settings, shader_options, shader_pack_list, signs, skins, social, sound_engine,
|
||||
sound_events, sound_preview, spans, split_layout, split_map, split_profiles, sprites,
|
||||
streaming, structure_block, tab_list, terrain_model, test_block, test_instance_block, testgen,
|
||||
polytone_creative_tabs, polytone_post, post_chain, potent_sulfur, preedit, providers, pvp,
|
||||
pvp_hud, random_source, screen_draw, screen_effects, sculk, section_mask, server_terrain,
|
||||
settings, shader_options, shader_pack_list, signs, skins, social, sound_engine, sound_events,
|
||||
sound_preview, spans, split_layout, split_map, split_profiles, sprites, streaming,
|
||||
structure_block, tab_list, terrain_model, test_block, test_instance_block, testgen,
|
||||
title_edition, trims, ui, vault, weather, widgets, world, worldborder, zip,
|
||||
};
|
||||
pub mod attack_strength;
|
||||
@@ -171,6 +171,7 @@ pub use horizon_client_input::gamepad;
|
||||
pub use horizon_client_input::gameplay_guide;
|
||||
pub use horizon_client_input::held;
|
||||
pub use horizon_client_input::input;
|
||||
pub use horizon_client_input::input_source;
|
||||
pub use horizon_client_input::interaction_input;
|
||||
pub use horizon_client_input::key_names;
|
||||
pub use horizon_client_input::keybinds;
|
||||
|
||||
@@ -2666,9 +2666,9 @@ pub fn mob_from_nbt_with_random(
|
||||
m.extra.counter = number(tag.get("still_timeout")).unwrap_or(0) as i32;
|
||||
}
|
||||
if m.species() == crate::mobs::Species::Shulker {
|
||||
m.extra.variant3 = number(tag.get("AttachFace")).unwrap_or(0).clamp(0, 5) as u8;
|
||||
m.extra.counter = number(tag.get("Peek")).unwrap_or(0).clamp(0, 100) as i32;
|
||||
m.extra.color = number(tag.get("Color")).map_or(16, |c| c.clamp(0, 16) as u8);
|
||||
m.extra.variant3 = (number(tag.get("AttachFace")).unwrap_or(0) % 6).unsigned_abs() as u8;
|
||||
m.extra.counter = number(tag.get("Peek")).map_or(0, |v| v as i8 as i32);
|
||||
m.extra.color = number(tag.get("Color")).map_or(16, |v| v as i8 as u8);
|
||||
m.anim.v[0] = m.extra.counter as f32 * 0.01;
|
||||
m.anim.vo[0] = m.anim.v[0];
|
||||
// Shulker.setPos: square on its block.
|
||||
|
||||
@@ -2028,7 +2028,7 @@ pub struct PackResources {
|
||||
/// The packs' Polytone post chains (#11486), when a pack has some.
|
||||
polytone_post: Option<Arc<horizon_client::polytone_post::PolytonePost>>,
|
||||
/// The packs' Polytone custom colours (`polytone/colors.json`).
|
||||
polytone_colors: Arc<horizon_client::polytone_colors::PackColors>,
|
||||
polytone_colors: Arc<horizon_client::pack_palette::PackColors>,
|
||||
}
|
||||
/// A quick craft drag as the screen draws it: each dragged slot's count and
|
||||
/// whether the slot caps it (None: hidden), and what stays in hand.
|
||||
@@ -5026,7 +5026,7 @@ impl Game<'_> {
|
||||
if canceled {
|
||||
return Ok(false);
|
||||
}
|
||||
self.pad_rumble(horizon_client::gamepad::Rumble::BlockBroken);
|
||||
self.input_feedback(horizon_client::input_source::Feedback::BlockBroken);
|
||||
let broken = state;
|
||||
let facts = self.res.facts().get(state).clone();
|
||||
let state = self.crack_mined_pot(pos, state);
|
||||
@@ -5845,7 +5845,7 @@ impl Game<'_> {
|
||||
batch
|
||||
}
|
||||
fn hud_layers(&mut self, size: [u32; 2]) -> HudBatch {
|
||||
self.pad.guide_shown.clear();
|
||||
self.input_hud_begin();
|
||||
let mut batch = HudBatch::new(size);
|
||||
batch.glint_colour = self.settings.extras.pvp.tweaks.glint_texel();
|
||||
// GlobalSettingsUniform's GameTime, for a resource pack's text shader.
|
||||
@@ -6142,7 +6142,7 @@ impl Game<'_> {
|
||||
let atlas = &g.gui.atlas;
|
||||
let width = |s: &str| HudBatch::text_width(atlas, s) as i32;
|
||||
let draws = hud_layout::experience_colored(
|
||||
g.pack.polytone_colors.xp_bar(),
|
||||
g.pack.polytone_colors.xp_bar,
|
||||
wi,
|
||||
hi,
|
||||
g.experience.progress,
|
||||
@@ -6475,18 +6475,6 @@ impl Game<'_> {
|
||||
self.draw_tooltip_lines(batch, &lines, self.cursor.0, self.cursor.1);
|
||||
}
|
||||
}
|
||||
/// `AbstractContainerScreen` keeps `isQuickCrafting` and the drag it
|
||||
/// belongs to on the screen. Horizon keeps both on `Game` (`inv_clicks`,
|
||||
/// `inv_drag`, `last_inv_click`), so they are dropped when the pointer
|
||||
/// changes hands: a screen that opens or closes starts with its own
|
||||
/// state, and a press whose release never reached the screen -- the
|
||||
/// pointer left the window, or the screen closed first -- would
|
||||
/// otherwise leave every later press on every later screen swallowed.
|
||||
pub(super) fn reset_inventory_clicks(&mut self) {
|
||||
self.inv_clicks.cancel_drag();
|
||||
self.inv_drag = None;
|
||||
self.last_inv_click = None;
|
||||
}
|
||||
pub(super) fn close_container(&mut self) {
|
||||
// `Gui.setScreen` clears the old screen's focus before it goes: the
|
||||
// key that closed the container (Tab bound to the inventory) has
|
||||
@@ -6530,20 +6518,6 @@ impl Game<'_> {
|
||||
}
|
||||
self.close_ender_chest();
|
||||
}
|
||||
/// A sound a menu click made the player play (a bundle's insert or
|
||||
/// remove): `Entity.playSound` at the player.
|
||||
pub(super) fn player_menu_sound(&mut self, sound: &str) {
|
||||
let Some(p) = self.player.as_ref() else {
|
||||
return;
|
||||
};
|
||||
let at = [p.position.x, p.position.y, p.position.z];
|
||||
let (volume, pitch) = if sound == horizon_client::bundle::INSERT_FAIL {
|
||||
(1.0, 1.0)
|
||||
} else {
|
||||
(0.8, 0.8 + self.world.random.next_float() * 0.4)
|
||||
};
|
||||
self.audio.play(sound, Some(at), volume, pitch);
|
||||
}
|
||||
/// `Camera.setRotation`: the camera's orientation, turned round in
|
||||
/// third-person front view.
|
||||
pub(super) fn camera_orientation(&self) -> glam::Quat {
|
||||
@@ -10100,7 +10074,7 @@ impl Game<'_> {
|
||||
)
|
||||
)
|
||||
{
|
||||
self.pad.keyboard_took_over = true;
|
||||
self.input_keyboard_used();
|
||||
}
|
||||
if let WindowEvent::KeyboardInput { event, .. } = &event
|
||||
&& event.state == ElementState::Pressed
|
||||
@@ -11473,7 +11447,7 @@ impl Game<'_> {
|
||||
self.extras_frame(elapsed);
|
||||
self.extras_retry()?;
|
||||
self.apply_mouse_look();
|
||||
self.pad_look(elapsed.as_secs_f32());
|
||||
self.input_look(elapsed.as_secs_f32());
|
||||
self.advance_flight();
|
||||
self.tick_world_icon();
|
||||
let ticked = Instant::now();
|
||||
|
||||
@@ -644,7 +644,7 @@ impl Game<'_> {
|
||||
.into());
|
||||
}
|
||||
if arg(2)? != "up" {
|
||||
self.pad.keyboard_took_over = true;
|
||||
self.input_keyboard_used();
|
||||
}
|
||||
// The command confirmation takes the keys; none go past it.
|
||||
if self.command_prompt.is_some() {
|
||||
@@ -800,7 +800,7 @@ impl Game<'_> {
|
||||
// controller still holding one keeps it.
|
||||
let options = [self.settings.toggle_crouch, self.settings.toggle_sprint];
|
||||
for (slot, name) in [(0, "key.sneak"), (1, "key.sprint")] {
|
||||
if !self.pad.holds_action(&self.settings.controller, name) {
|
||||
if !self.input_holds(name) {
|
||||
self.toggles.key(
|
||||
slot,
|
||||
horizon_client::keymapping::KeyAction::Release,
|
||||
|
||||
@@ -9,7 +9,7 @@ impl Game<'_> {
|
||||
pub(super) fn mapped_key_down(&self, mapping: &str) -> bool {
|
||||
keybinds::key_code(self.settings.keys.get(mapping))
|
||||
.is_some_and(|k| self.physical_keys.contains(&k))
|
||||
|| self.pad.holds_action(&self.settings.controller, mapping)
|
||||
|| self.input_holds(mapping)
|
||||
}
|
||||
|
||||
/// `CreativeModeInventoryScreen.selectTab` on the HOTBAR tab: each saved
|
||||
|
||||
@@ -2317,7 +2317,7 @@ impl Game<'_> {
|
||||
a.spawn_velocity = Some(p.velocity);
|
||||
a.spawn_rot = Some((p.pitch, p.yaw));
|
||||
}
|
||||
self.creatures.projectiles.push(p);
|
||||
self.creatures.projectiles.put_back(p);
|
||||
self.native_projectile_launch(player, &name, id, kind);
|
||||
}
|
||||
/// `MushroomCow.shear`'s `sendParticles(EXPLOSION, x, getY(0.5), z, 1, 0, 0, 0, 0)`:
|
||||
@@ -6949,7 +6949,7 @@ impl Game<'_> {
|
||||
{
|
||||
m.heal(25.0);
|
||||
consume = true;
|
||||
sound = Some("entity.iron_golem.repair");
|
||||
eat = Some(("entity.iron_golem.repair", 1.0, m.golem_repair_pitch()));
|
||||
}
|
||||
Species::Creeper if creeper_igniter => {
|
||||
m.extra.flag = true;
|
||||
|
||||
@@ -58,7 +58,7 @@ impl Recording {
|
||||
Self {
|
||||
seconds,
|
||||
started: Instant::now(),
|
||||
cpu_s: horizon_bench::cpu_seconds(std::process::id()),
|
||||
cpu_s: horizon_system::cpu_seconds(std::process::id()),
|
||||
spans_were_on,
|
||||
ticks: Vec::with_capacity(seconds as usize * 20),
|
||||
sampled_ticks: 0,
|
||||
@@ -363,7 +363,7 @@ impl Game<'_> {
|
||||
let costs = tick_profile::take();
|
||||
let mob_samples = costs.iter().map(|c| c.mob_ticks).sum();
|
||||
let jobs = job_stats::take();
|
||||
let cpu = horizon_bench::cpu_seconds(std::process::id())
|
||||
let cpu = horizon_system::cpu_seconds(std::process::id())
|
||||
.zip(r.cpu_s)
|
||||
.map(|(end, start)| round((end - start) / window_s.max(1e-9)));
|
||||
let players = self.lan.as_ref().map_or(0, |h| h.hub.guests.len());
|
||||
@@ -382,7 +382,7 @@ impl Game<'_> {
|
||||
"overhead": overhead(&r, mob_samples, span_ns, mob_ns),
|
||||
"players": players,
|
||||
"levels": self.report_levels(),
|
||||
"memory": { "rss_mb": horizon_bench::rss_bytes(std::process::id()).map(|b| b >> 20) },
|
||||
"memory": { "rss_mb": horizon_system::rss_bytes(std::process::id()).map(|b| b >> 20) },
|
||||
"process": process_limits(),
|
||||
"cpu_cores_used": cpu,
|
||||
"config": {
|
||||
@@ -395,9 +395,12 @@ impl Game<'_> {
|
||||
// The machine's description runs commands: off the tick.
|
||||
std::thread::spawn(move || {
|
||||
let mut report = report;
|
||||
let hw = horizon_bench::Hardware::detect();
|
||||
report["machine"] = json!({
|
||||
"os": hw.os, "arch": hw.arch, "cpu": hw.cpu, "cpu_threads": hw.cpu_threads, "ram_mb": hw.ram_mb,
|
||||
"os": std::env::consts::OS,
|
||||
"arch": std::env::consts::ARCH,
|
||||
"cpu": horizon_system::cpu(),
|
||||
"cpu_threads": std::thread::available_parallelism().ok().map(|n| n.get()),
|
||||
"ram_mb": horizon_system::ram_bytes().map(|b| b >> 20),
|
||||
});
|
||||
match write_report(Path::new("reports"), &report, &text) {
|
||||
Ok(path) => log::info!(
|
||||
|
||||
@@ -1008,7 +1008,10 @@ impl Game<'_> {
|
||||
p.position.z - center[2],
|
||||
];
|
||||
let distance = (d[0] * d[0] + d[1] * d[1] + d[2] * d[2]).sqrt();
|
||||
self.pad_rumble(horizon_client::gamepad::Rumble::Explosion { distance, radius });
|
||||
self.input_feedback(horizon_client::input_source::Feedback::Explosion {
|
||||
distance,
|
||||
radius,
|
||||
});
|
||||
}
|
||||
// Explosion.explode: the blast is heard.
|
||||
let ctx = horizon_client::sculk::Context::default();
|
||||
|
||||
@@ -1820,7 +1820,7 @@ impl Game<'_> {
|
||||
// from carries those, as `save_guest` gives them on leaving. The map
|
||||
// stays their one owner.
|
||||
let live = self.guest_attachments.get(&uuid).cloned();
|
||||
let g = &mut host.hub.guests[i];
|
||||
let g = playerdata::with_warden(&mut host.hub.guests[i], self.warden_tracker_tag());
|
||||
let held = live.map(|a| std::mem::replace(&mut g.attachments, a));
|
||||
playerdata::store(g, &mut self.level, vehicle);
|
||||
if let Some(held) = held {
|
||||
|
||||
@@ -899,4 +899,32 @@ impl Game<'_> {
|
||||
f.input_clicked(world_recipes!(self), before);
|
||||
}
|
||||
}
|
||||
|
||||
/// `AbstractContainerScreen` keeps `isQuickCrafting` and the drag it
|
||||
/// belongs to on the screen. Horizon keeps both on `Game` (`inv_clicks`,
|
||||
/// `inv_drag`, `last_inv_click`), so they are dropped when the pointer
|
||||
/// changes hands: a screen that opens or closes starts with its own
|
||||
/// state, and a press whose release never reached the screen -- the
|
||||
/// pointer left the window, or the screen closed first -- would
|
||||
/// otherwise leave every later press on every later screen swallowed.
|
||||
pub(super) fn reset_inventory_clicks(&mut self) {
|
||||
self.inv_clicks.cancel_drag();
|
||||
self.inv_drag = None;
|
||||
self.last_inv_click = None;
|
||||
}
|
||||
|
||||
/// A sound a menu click made the player play (a bundle's insert or
|
||||
/// remove): `Entity.playSound` at the player.
|
||||
pub(super) fn player_menu_sound(&mut self, sound: &str) {
|
||||
let Some(p) = self.player.as_ref() else {
|
||||
return;
|
||||
};
|
||||
let at = [p.position.x, p.position.y, p.position.z];
|
||||
let (volume, pitch) = if sound == horizon_client::bundle::INSERT_FAIL {
|
||||
(1.0, 1.0)
|
||||
} else {
|
||||
(0.8, 0.8 + self.world.random.next_float() * 0.4)
|
||||
};
|
||||
self.audio.play(sound, Some(at), volume, pitch);
|
||||
}
|
||||
}
|
||||
@@ -28,6 +28,10 @@ use horizon_core::{
|
||||
};
|
||||
use horizon_world::registry::BlockStateId;
|
||||
use std::{collections::HashMap, sync::Arc};
|
||||
mod index;
|
||||
mod nbt;
|
||||
pub(super) use index::CartIndex;
|
||||
use index::cart_at;
|
||||
|
||||
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]
|
||||
pub(super) enum CartKind {
|
||||
@@ -187,102 +191,6 @@ pub(super) const TNT_PRIME_EVENT: i8 = 70;
|
||||
mod display;
|
||||
use display::{cart_render_bounds, display_offset, shown_unless_air};
|
||||
pub(super) use display::{default_display_offset, forget_unreadable_display};
|
||||
/// The carts' and mobs' boxes for one tick's cart pushes (`push_from_cart`,
|
||||
/// `pickup_from_cart`), so a cart reads its neighbours instead of every cart and
|
||||
/// every mob of the level. Both answer in slot order, as the scans did.
|
||||
///
|
||||
/// The cart grid follows each ticked cart ([`CartIndex::moved`]); it is
|
||||
/// rebuilt once the list's length changed (a cart gone or added), and dropped
|
||||
/// after a command, which can move or replace any cart
|
||||
/// ([`CartIndex::forget_carts`]). The mob grid holds until the mob
|
||||
/// list's next write ([`ListStamp`]). A native mod's hook can move either kind
|
||||
/// unseen, so with mods loaded both scans stay.
|
||||
#[derive(Default)]
|
||||
pub(super) struct CartIndex {
|
||||
carts: Option<(SeenGrid, Vec<u32>)>,
|
||||
/// The grid, and the carts a mob rides.
|
||||
mobs: Option<(ListStamp, SeenGrid, FxHashSet<u32>)>,
|
||||
near: Vec<u32>,
|
||||
}
|
||||
impl CartIndex {
|
||||
fn usable() -> bool {
|
||||
horizon_client::mod_api::mods().is_empty()
|
||||
}
|
||||
/// The cart in slot `i` has these bounds now.
|
||||
fn moved(&mut self, i: usize, bounds: Aabb) {
|
||||
if let Some((grid, ids)) = &mut self.carts
|
||||
&& i < ids.len()
|
||||
{
|
||||
grid.update(i, bounds);
|
||||
}
|
||||
}
|
||||
fn forget_carts(&mut self) {
|
||||
self.carts = None;
|
||||
}
|
||||
/// The slots of the carts whose box may meet `area`, for the cart in slot
|
||||
/// `i` (just moved); false: scan them all.
|
||||
fn carts_near(&mut self, carts: &[Minecart], i: usize, area: Aabb, out: &mut Vec<u32>) -> bool {
|
||||
if !Self::usable() {
|
||||
return false;
|
||||
}
|
||||
let fresh = |ids: &[u32]| ids.len() == carts.len() && ids[i] == carts[i].id;
|
||||
if !self.carts.as_ref().is_some_and(|(_, ids)| fresh(ids)) {
|
||||
self.carts = Some((
|
||||
SeenGrid::new(carts.iter().map(Minecart::bounds)),
|
||||
carts.iter().map(|c| c.id).collect(),
|
||||
));
|
||||
}
|
||||
let Some((grid, ids)) = &mut self.carts else {
|
||||
return false;
|
||||
};
|
||||
grid.update(i, carts[i].bounds());
|
||||
if !grid.candidates(area, out) {
|
||||
return false;
|
||||
}
|
||||
if out.iter().any(|&j| ids[j as usize] != carts[j as usize].id) {
|
||||
// A cart was replaced in place: start over next time.
|
||||
self.carts = None;
|
||||
return false;
|
||||
}
|
||||
true
|
||||
}
|
||||
/// The slots of the mobs whose box may meet `area` into `out`, and
|
||||
/// whether a mob rides cart `cart`; None: scan them all.
|
||||
fn mobs_near(
|
||||
&mut self,
|
||||
mobs: &JoinList<Mob>,
|
||||
cart: u32,
|
||||
area: Aabb,
|
||||
out: &mut Vec<u32>,
|
||||
) -> Option<bool> {
|
||||
if !Self::usable() {
|
||||
return None;
|
||||
}
|
||||
if !self
|
||||
.mobs
|
||||
.as_ref()
|
||||
.is_some_and(|(stamp, ..)| *stamp == mobs.stamp())
|
||||
{
|
||||
self.mobs = Some((
|
||||
mobs.stamp(),
|
||||
SeenGrid::new(mobs.iter().map(Mob::bounds)),
|
||||
mobs.iter().filter_map(|m| m.extra.mount).collect(),
|
||||
));
|
||||
}
|
||||
let (_, grid, mounted) = self.mobs.as_ref()?;
|
||||
grid.candidates(area, out).then(|| mounted.contains(&cart))
|
||||
}
|
||||
}
|
||||
/// Where the cart `id` is in `carts`: at `hint` (where it was a moment ago,
|
||||
/// the usual case while carts tick in order) or found by a scan. A world
|
||||
/// with hundreds of mineshaft chest carts asked this of every cart several
|
||||
/// times a tick.
|
||||
fn cart_at(carts: &[Minecart], id: u32, hint: usize) -> Option<usize> {
|
||||
if carts.get(hint).is_some_and(|c| c.id == id) {
|
||||
return Some(hint);
|
||||
}
|
||||
carts.iter().position(|c| c.id == id)
|
||||
}
|
||||
/// `AbstractMinecart.push(entity)` for a non-cart `entity` at `feet`:
|
||||
/// the push the cart loses (the entity gets a quarter of it back).
|
||||
pub(super) fn cart_push_from(feet: Vec3, cart: Vec3) -> Option<(f64, f64)> {
|
||||
@@ -2984,177 +2892,6 @@ impl Game<'_> {
|
||||
.render_state(&scene, state.0, m, light, out);
|
||||
}
|
||||
}
|
||||
/// Saving and loading.
|
||||
impl Minecart {
|
||||
pub fn to_nbt(
|
||||
&self,
|
||||
uuid: [i32; 4],
|
||||
raw: Option<&horizon_world::nbt::Tag>,
|
||||
) -> horizon_world::nbt::Tag {
|
||||
use horizon_world::nbt::{JavaString, Tag};
|
||||
let mut tag = horizon_client::entity_nbt::vehicle_to_nbt(
|
||||
self.kind.id(),
|
||||
self.position,
|
||||
self.velocity,
|
||||
[self.yaw, self.pitch],
|
||||
(self.on_ground, self.fall_distance),
|
||||
uuid,
|
||||
raw,
|
||||
);
|
||||
horizon_client::entity_nbt::write_saved_flags(&mut tag, self.on_ground, self.no_gravity);
|
||||
if let Tag::Compound(map) = &mut tag {
|
||||
// ContainerEntity.addChestVehicleSaveData belongs only to the
|
||||
// container subclasses, never to a plain or specialized cart.
|
||||
if self.kind.slots() == 0 {
|
||||
map.remove(&JavaString::from("Items"));
|
||||
}
|
||||
if self.kind == CartKind::CommandBlock {
|
||||
for key in ["LastOutput", "LastExecution"] {
|
||||
map.remove(&JavaString::from(key));
|
||||
}
|
||||
}
|
||||
map.remove(&JavaString::from("DisplayOffset"));
|
||||
map.remove(&JavaString::from("DisplayState"));
|
||||
let mut put = |k: &str, v: Tag| {
|
||||
map.insert(JavaString::from(k), v);
|
||||
};
|
||||
put("FlippedRotation", Tag::Byte(i8::from(self.flipped)));
|
||||
// AbstractMinecart saves firstTick as HasTicked. A cart never burns:
|
||||
// Entity.move sets -getFireImmuneTicks(), 0 for all but players.
|
||||
put("HasTicked", Tag::Byte(i8::from(self.first_tick)));
|
||||
put("Fire", Tag::Short(0));
|
||||
// addAdditionalSaveData: the offset only off its default, the state only when set.
|
||||
if let Some(offset) = self.custom_offset
|
||||
&& f64::from(offset) != default_display_offset(self.kind)
|
||||
{
|
||||
put("DisplayOffset", Tag::Int(offset));
|
||||
}
|
||||
if let Some(state) = &self.custom_display {
|
||||
put("DisplayState", state.clone());
|
||||
}
|
||||
match self.kind {
|
||||
CartKind::Chest | CartKind::Hopper => {
|
||||
put("Items", horizon_client::save::encode_items(&self.items));
|
||||
if self.kind == CartKind::Hopper {
|
||||
put("Enabled", Tag::Byte(i8::from(self.enabled)));
|
||||
}
|
||||
}
|
||||
CartKind::Furnace => {
|
||||
put("PushX", Tag::Double(self.push.x.to_bits()));
|
||||
put("PushZ", Tag::Double(self.push.z.to_bits()));
|
||||
put("Fuel", Tag::Short(self.fuel as i16));
|
||||
}
|
||||
CartKind::Tnt => put("fuse", Tag::Int(self.fuse)),
|
||||
// BaseCommandBlock.save (its CustomName shares the entity's key).
|
||||
CartKind::CommandBlock => {
|
||||
for (key, value) in self.command.save() {
|
||||
if !matches!(key, "CustomName" | "powered" | "conditionMet" | "auto") {
|
||||
put(key, value);
|
||||
}
|
||||
}
|
||||
}
|
||||
// BaseSpawner.save: the delays, ranges, SpawnData and SpawnPotentials.
|
||||
CartKind::Spawner => {
|
||||
if let Some(spawner) = &self.spawner {
|
||||
for (key, value) in
|
||||
horizon_client::mobs::spawner::SpawnerExt::save(&**spawner)
|
||||
{
|
||||
put(key, value);
|
||||
}
|
||||
}
|
||||
}
|
||||
CartKind::Rideable => {}
|
||||
}
|
||||
// A loaded loot table goes back while the items are still its roll;
|
||||
// otherwise the items replace it, as vanilla's unpackLootTable does.
|
||||
if self.loot.as_ref().is_some_and(|l| l.restore(map)) {
|
||||
if let Some(table) = horizon_client::save::text(map.get(&"LootTable".into()))
|
||||
.and_then(|id| horizon_client_core::identifier::normalize_id(&id))
|
||||
{
|
||||
map.insert("LootTable".into(), Tag::String(table.as_str().into()));
|
||||
}
|
||||
} else {
|
||||
map.remove(&JavaString::from("LootTable"));
|
||||
map.remove(&JavaString::from("LootTableSeed"));
|
||||
}
|
||||
}
|
||||
tag
|
||||
}
|
||||
pub fn from_nbt(tag: &horizon_world::nbt::Tag, id: u32, kind: CartKind) -> Option<Self> {
|
||||
let (position, _, _) = horizon_client::entity_nbt::boat_from_nbt(tag)?;
|
||||
let mut c = Self::new(id, kind, position);
|
||||
c.load(tag)?;
|
||||
Some(c)
|
||||
}
|
||||
/// `Entity.load` on this cart: the saved fields are read over the live
|
||||
/// ones, the rest (riders, lerp, hurt state) stays; its kind never changes.
|
||||
/// `None`, with nothing changed, when the compound has no position.
|
||||
pub fn load(&mut self, tag: &horizon_world::nbt::Tag) -> Option<()> {
|
||||
use horizon_world::nbt::Tag;
|
||||
let (position, velocity, yaw) = horizon_client::entity_nbt::boat_from_nbt(tag)?;
|
||||
let kind = self.kind;
|
||||
let c = self;
|
||||
c.position = position;
|
||||
c.previous = position;
|
||||
c.velocity = velocity;
|
||||
c.yaw = yaw;
|
||||
c.previous_yaw = yaw;
|
||||
c.no_gravity = horizon_client::entity_nbt::flag(tag, "NoGravity");
|
||||
c.on_ground = horizon_client::entity_nbt::flag(tag, "OnGround");
|
||||
c.pitch = horizon_client::entity_nbt::rotation(tag)[1];
|
||||
c.previous_pitch = c.pitch;
|
||||
// ValueInput's numeric getters take any NumericTag: getIntOr is its
|
||||
// intValue, getShortOr the low 16 bits of it, getBooleanOr
|
||||
// `byteValue() != 0` (the low 8), getDoubleOr its doubleValue.
|
||||
let int = |k: &str| {
|
||||
tag.get(k)
|
||||
.and_then(horizon_client_core::nbt_path::int_value)
|
||||
};
|
||||
let flag = |k: &str, default: bool| int(k).map_or(default, |v| v as i8 != 0);
|
||||
let double = |k: &str| match tag.get(k) {
|
||||
Some(Tag::Byte(v)) => f64::from(*v),
|
||||
Some(Tag::Short(v)) => f64::from(*v),
|
||||
Some(Tag::Int(v)) => f64::from(*v),
|
||||
Some(Tag::Long(v)) => *v as f64,
|
||||
Some(Tag::Float(v)) => f64::from(f32::from_bits(*v)),
|
||||
Some(Tag::Double(v)) => f64::from_bits(*v),
|
||||
_ => 0.0,
|
||||
};
|
||||
// Entity.load: OnGround and fall_distance, as saved.
|
||||
(c.on_ground, c.fall_distance) = horizon_client::entity_nbt::ground_from_nbt(tag);
|
||||
c.flipped = flag("FlippedRotation", false);
|
||||
c.first_tick = flag("HasTicked", false);
|
||||
if kind.slots() > 0 {
|
||||
c.items = horizon_client::save::decode_items(tag.get("Items"), kind.slots());
|
||||
}
|
||||
c.enabled = flag("Enabled", true);
|
||||
c.fuel = int("Fuel").map_or(0, |v| i32::from(v as i16));
|
||||
// readAdditionalSaveData: the saved push has no y.
|
||||
c.push = Vec3::new(double("PushX"), 0.0, double("PushZ"));
|
||||
c.fuse = int("fuse").unwrap_or(-1);
|
||||
// readAdditionalSaveData: DisplayState, DisplayOffset (default offset when absent).
|
||||
c.custom_display = tag.get("DisplayState").cloned();
|
||||
c.custom_offset = int("DisplayOffset");
|
||||
if kind == CartKind::CommandBlock {
|
||||
c.command = horizon_client::command_block::CommandBlock::load(tag);
|
||||
// MinecartCommandBlock.readAdditionalSaveData sets the synched command.
|
||||
// A changed value invokes onSyncedDataUpdated -> setCommand, resetting successes.
|
||||
if c.synced_command != c.command.command {
|
||||
c.synced_command.clone_from(&c.command.command);
|
||||
c.command.set_command(&c.synced_command);
|
||||
}
|
||||
c.synced_output = c.command.last_output_string();
|
||||
}
|
||||
// MinecartSpawner.readAdditionalSaveData: BaseSpawner.load.
|
||||
if kind == CartKind::Spawner {
|
||||
c.spawner = Some(Box::new(horizon_client::mobs::spawner::SpawnerExt::load(
|
||||
tag,
|
||||
)));
|
||||
}
|
||||
Some(())
|
||||
}
|
||||
}
|
||||
|
||||
/// `VehicleEntity.hurtServer`'s destroy test: a creative player, damage past
|
||||
/// 40, or (`MinecartTNT.shouldSourceDestroy`) fire or an explosion hitting a
|
||||
/// TNT cart.
|
||||
|
||||
@@ -0,0 +1,105 @@
|
||||
//! The carts' and mobs' boxes for a tick's cart pushes ([`CartIndex`]).
|
||||
use super::*;
|
||||
|
||||
/// The carts' and mobs' boxes for one tick's cart pushes (`push_from_cart`,
|
||||
/// `pickup_from_cart`), so a cart reads its neighbours instead of every cart and
|
||||
/// every mob of the level. Both answer in slot order, as the scans did.
|
||||
///
|
||||
/// The cart grid follows each ticked cart ([`CartIndex::moved`]); it is
|
||||
/// rebuilt once the list's length changed (a cart gone or added), and dropped
|
||||
/// after a command, which can move or replace any cart
|
||||
/// ([`CartIndex::forget_carts`]). The mob grid holds until the mob
|
||||
/// list's next write ([`ListStamp`]). A native mod's hook can move either kind
|
||||
/// unseen, so with mods loaded both scans stay.
|
||||
#[derive(Default)]
|
||||
pub(in crate::game) struct CartIndex {
|
||||
pub(super) carts: Option<(SeenGrid, Vec<u32>)>,
|
||||
/// The grid, and the carts a mob rides.
|
||||
pub(super) mobs: Option<(ListStamp, SeenGrid, FxHashSet<u32>)>,
|
||||
pub(super) near: Vec<u32>,
|
||||
}
|
||||
impl CartIndex {
|
||||
pub(super) fn usable() -> bool {
|
||||
horizon_client::mod_api::mods().is_empty()
|
||||
}
|
||||
/// The cart in slot `i` has these bounds now.
|
||||
pub(super) fn moved(&mut self, i: usize, bounds: Aabb) {
|
||||
if let Some((grid, ids)) = &mut self.carts
|
||||
&& i < ids.len()
|
||||
{
|
||||
grid.update(i, bounds);
|
||||
}
|
||||
}
|
||||
pub(super) fn forget_carts(&mut self) {
|
||||
self.carts = None;
|
||||
}
|
||||
/// The slots of the carts whose box may meet `area`, for the cart in slot
|
||||
/// `i` (just moved); false: scan them all.
|
||||
pub(super) fn carts_near(
|
||||
&mut self,
|
||||
carts: &[Minecart],
|
||||
i: usize,
|
||||
area: Aabb,
|
||||
out: &mut Vec<u32>,
|
||||
) -> bool {
|
||||
if !Self::usable() {
|
||||
return false;
|
||||
}
|
||||
let fresh = |ids: &[u32]| ids.len() == carts.len() && ids[i] == carts[i].id;
|
||||
if !self.carts.as_ref().is_some_and(|(_, ids)| fresh(ids)) {
|
||||
self.carts = Some((
|
||||
SeenGrid::new(carts.iter().map(Minecart::bounds)),
|
||||
carts.iter().map(|c| c.id).collect(),
|
||||
));
|
||||
}
|
||||
let Some((grid, ids)) = &mut self.carts else {
|
||||
return false;
|
||||
};
|
||||
grid.update(i, carts[i].bounds());
|
||||
if !grid.candidates(area, out) {
|
||||
return false;
|
||||
}
|
||||
if out.iter().any(|&j| ids[j as usize] != carts[j as usize].id) {
|
||||
// A cart was replaced in place: start over next time.
|
||||
self.carts = None;
|
||||
return false;
|
||||
}
|
||||
true
|
||||
}
|
||||
/// The slots of the mobs whose box may meet `area` into `out`, and
|
||||
/// whether a mob rides cart `cart`; None: scan them all.
|
||||
pub(super) fn mobs_near(
|
||||
&mut self,
|
||||
mobs: &JoinList<Mob>,
|
||||
cart: u32,
|
||||
area: Aabb,
|
||||
out: &mut Vec<u32>,
|
||||
) -> Option<bool> {
|
||||
if !Self::usable() {
|
||||
return None;
|
||||
}
|
||||
if !self
|
||||
.mobs
|
||||
.as_ref()
|
||||
.is_some_and(|(stamp, ..)| *stamp == mobs.stamp())
|
||||
{
|
||||
self.mobs = Some((
|
||||
mobs.stamp(),
|
||||
SeenGrid::new(mobs.iter().map(Mob::bounds)),
|
||||
mobs.iter().filter_map(|m| m.extra.mount).collect(),
|
||||
));
|
||||
}
|
||||
let (_, grid, mounted) = self.mobs.as_ref()?;
|
||||
grid.candidates(area, out).then(|| mounted.contains(&cart))
|
||||
}
|
||||
}
|
||||
/// Where the cart `id` is in `carts`: at `hint` (where it was a moment ago,
|
||||
/// the usual case while carts tick in order) or found by a scan. A world
|
||||
/// with hundreds of mineshaft chest carts asked this of every cart several
|
||||
/// times a tick.
|
||||
pub(super) fn cart_at(carts: &[Minecart], id: u32, hint: usize) -> Option<usize> {
|
||||
if carts.get(hint).is_some_and(|c| c.id == id) {
|
||||
return Some(hint);
|
||||
}
|
||||
carts.iter().position(|c| c.id == id)
|
||||
}
|
||||
@@ -0,0 +1,173 @@
|
||||
//! Saving and loading a minecart.
|
||||
use super::*;
|
||||
|
||||
/// Saving and loading.
|
||||
impl Minecart {
|
||||
pub fn to_nbt(
|
||||
&self,
|
||||
uuid: [i32; 4],
|
||||
raw: Option<&horizon_world::nbt::Tag>,
|
||||
) -> horizon_world::nbt::Tag {
|
||||
use horizon_world::nbt::{JavaString, Tag};
|
||||
let mut tag = horizon_client::entity_nbt::vehicle_to_nbt(
|
||||
self.kind.id(),
|
||||
self.position,
|
||||
self.velocity,
|
||||
[self.yaw, self.pitch],
|
||||
(self.on_ground, self.fall_distance),
|
||||
uuid,
|
||||
raw,
|
||||
);
|
||||
horizon_client::entity_nbt::write_saved_flags(&mut tag, self.on_ground, self.no_gravity);
|
||||
if let Tag::Compound(map) = &mut tag {
|
||||
// ContainerEntity.addChestVehicleSaveData belongs only to the
|
||||
// container subclasses, never to a plain or specialized cart.
|
||||
if self.kind.slots() == 0 {
|
||||
map.remove(&JavaString::from("Items"));
|
||||
}
|
||||
if self.kind == CartKind::CommandBlock {
|
||||
for key in ["LastOutput", "LastExecution"] {
|
||||
map.remove(&JavaString::from(key));
|
||||
}
|
||||
}
|
||||
map.remove(&JavaString::from("DisplayOffset"));
|
||||
map.remove(&JavaString::from("DisplayState"));
|
||||
let mut put = |k: &str, v: Tag| {
|
||||
map.insert(JavaString::from(k), v);
|
||||
};
|
||||
put("FlippedRotation", Tag::Byte(i8::from(self.flipped)));
|
||||
// AbstractMinecart saves firstTick as HasTicked. A cart never burns:
|
||||
// Entity.move sets -getFireImmuneTicks(), 0 for all but players.
|
||||
put("HasTicked", Tag::Byte(i8::from(self.first_tick)));
|
||||
put("Fire", Tag::Short(0));
|
||||
// addAdditionalSaveData: the offset only off its default, the state only when set.
|
||||
if let Some(offset) = self.custom_offset
|
||||
&& f64::from(offset) != default_display_offset(self.kind)
|
||||
{
|
||||
put("DisplayOffset", Tag::Int(offset));
|
||||
}
|
||||
if let Some(state) = &self.custom_display {
|
||||
put("DisplayState", state.clone());
|
||||
}
|
||||
match self.kind {
|
||||
CartKind::Chest | CartKind::Hopper => {
|
||||
put("Items", horizon_client::save::encode_items(&self.items));
|
||||
if self.kind == CartKind::Hopper {
|
||||
put("Enabled", Tag::Byte(i8::from(self.enabled)));
|
||||
}
|
||||
}
|
||||
CartKind::Furnace => {
|
||||
put("PushX", Tag::Double(self.push.x.to_bits()));
|
||||
put("PushZ", Tag::Double(self.push.z.to_bits()));
|
||||
put("Fuel", Tag::Short(self.fuel as i16));
|
||||
}
|
||||
CartKind::Tnt => put("fuse", Tag::Int(self.fuse)),
|
||||
// BaseCommandBlock.save (its CustomName shares the entity's key).
|
||||
CartKind::CommandBlock => {
|
||||
for (key, value) in self.command.save() {
|
||||
if !matches!(key, "CustomName" | "powered" | "conditionMet" | "auto") {
|
||||
put(key, value);
|
||||
}
|
||||
}
|
||||
}
|
||||
// BaseSpawner.save: the delays, ranges, SpawnData and SpawnPotentials.
|
||||
CartKind::Spawner => {
|
||||
if let Some(spawner) = &self.spawner {
|
||||
for (key, value) in
|
||||
horizon_client::mobs::spawner::SpawnerExt::save(&**spawner)
|
||||
{
|
||||
put(key, value);
|
||||
}
|
||||
}
|
||||
}
|
||||
CartKind::Rideable => {}
|
||||
}
|
||||
// A loaded loot table goes back while the items are still its roll;
|
||||
// otherwise the items replace it, as vanilla's unpackLootTable does.
|
||||
if self.loot.as_ref().is_some_and(|l| l.restore(map)) {
|
||||
if let Some(table) = horizon_client::save::text(map.get(&"LootTable".into()))
|
||||
.and_then(|id| horizon_client_core::identifier::normalize_id(&id))
|
||||
{
|
||||
map.insert("LootTable".into(), Tag::String(table.as_str().into()));
|
||||
}
|
||||
} else {
|
||||
map.remove(&JavaString::from("LootTable"));
|
||||
map.remove(&JavaString::from("LootTableSeed"));
|
||||
}
|
||||
}
|
||||
tag
|
||||
}
|
||||
pub fn from_nbt(tag: &horizon_world::nbt::Tag, id: u32, kind: CartKind) -> Option<Self> {
|
||||
let (position, _, _) = horizon_client::entity_nbt::boat_from_nbt(tag)?;
|
||||
let mut c = Self::new(id, kind, position);
|
||||
c.load(tag)?;
|
||||
Some(c)
|
||||
}
|
||||
/// `Entity.load` on this cart: the saved fields are read over the live
|
||||
/// ones, the rest (riders, lerp, hurt state) stays; its kind never changes.
|
||||
/// `None`, with nothing changed, when the compound has no position.
|
||||
pub fn load(&mut self, tag: &horizon_world::nbt::Tag) -> Option<()> {
|
||||
use horizon_world::nbt::Tag;
|
||||
let (position, velocity, yaw) = horizon_client::entity_nbt::boat_from_nbt(tag)?;
|
||||
let kind = self.kind;
|
||||
let c = self;
|
||||
c.position = position;
|
||||
c.previous = position;
|
||||
c.velocity = velocity;
|
||||
c.yaw = yaw;
|
||||
c.previous_yaw = yaw;
|
||||
c.no_gravity = horizon_client::entity_nbt::flag(tag, "NoGravity");
|
||||
c.on_ground = horizon_client::entity_nbt::flag(tag, "OnGround");
|
||||
c.pitch = horizon_client::entity_nbt::rotation(tag)[1];
|
||||
c.previous_pitch = c.pitch;
|
||||
// ValueInput's numeric getters take any NumericTag: getIntOr is its
|
||||
// intValue, getShortOr the low 16 bits of it, getBooleanOr
|
||||
// `byteValue() != 0` (the low 8), getDoubleOr its doubleValue.
|
||||
let int = |k: &str| {
|
||||
tag.get(k)
|
||||
.and_then(horizon_client_core::nbt_path::int_value)
|
||||
};
|
||||
let flag = |k: &str, default: bool| int(k).map_or(default, |v| v as i8 != 0);
|
||||
let double = |k: &str| match tag.get(k) {
|
||||
Some(Tag::Byte(v)) => f64::from(*v),
|
||||
Some(Tag::Short(v)) => f64::from(*v),
|
||||
Some(Tag::Int(v)) => f64::from(*v),
|
||||
Some(Tag::Long(v)) => *v as f64,
|
||||
Some(Tag::Float(v)) => f64::from(f32::from_bits(*v)),
|
||||
Some(Tag::Double(v)) => f64::from_bits(*v),
|
||||
_ => 0.0,
|
||||
};
|
||||
// Entity.load: OnGround and fall_distance, as saved.
|
||||
(c.on_ground, c.fall_distance) = horizon_client::entity_nbt::ground_from_nbt(tag);
|
||||
c.flipped = flag("FlippedRotation", false);
|
||||
c.first_tick = flag("HasTicked", false);
|
||||
if kind.slots() > 0 {
|
||||
c.items = horizon_client::save::decode_items(tag.get("Items"), kind.slots());
|
||||
}
|
||||
c.enabled = flag("Enabled", true);
|
||||
c.fuel = int("Fuel").map_or(0, |v| i32::from(v as i16));
|
||||
// readAdditionalSaveData: the saved push has no y.
|
||||
c.push = Vec3::new(double("PushX"), 0.0, double("PushZ"));
|
||||
c.fuse = int("fuse").unwrap_or(-1);
|
||||
// readAdditionalSaveData: DisplayState, DisplayOffset (default offset when absent).
|
||||
c.custom_display = tag.get("DisplayState").cloned();
|
||||
c.custom_offset = int("DisplayOffset");
|
||||
if kind == CartKind::CommandBlock {
|
||||
c.command = horizon_client::command_block::CommandBlock::load(tag);
|
||||
// MinecartCommandBlock.readAdditionalSaveData sets the synched command.
|
||||
// A changed value invokes onSyncedDataUpdated -> setCommand, resetting successes.
|
||||
if c.synced_command != c.command.command {
|
||||
c.synced_command.clone_from(&c.command.command);
|
||||
c.command.set_command(&c.synced_command);
|
||||
}
|
||||
c.synced_output = c.command.last_output_string();
|
||||
}
|
||||
// MinecartSpawner.readAdditionalSaveData: BaseSpawner.load.
|
||||
if kind == CartKind::Spawner {
|
||||
c.spawner = Some(Box::new(horizon_client::mobs::spawner::SpawnerExt::load(
|
||||
tag,
|
||||
)));
|
||||
}
|
||||
Some(())
|
||||
}
|
||||
}
|
||||
@@ -61,46 +61,49 @@ impl Game<'_> {
|
||||
/// that are gone, and read what the instances follow.
|
||||
pub(super) fn start_mob_sounds(&mut self) -> Vec<MobSound> {
|
||||
let game_time = self.world.game_time;
|
||||
let mobs: Vec<MobSound> = self
|
||||
.mobs
|
||||
.iter()
|
||||
.filter(|m| {
|
||||
!m.removed
|
||||
&& matches!(
|
||||
m.species(),
|
||||
Species::Bee
|
||||
| Species::Guardian
|
||||
| Species::ElderGuardian
|
||||
| Species::Sniffer
|
||||
)
|
||||
})
|
||||
.map(|m| MobSound {
|
||||
let mut mobs = Vec::new();
|
||||
let mut bee_indices = Vec::new();
|
||||
|
||||
for m in &self.mobs {
|
||||
if m.removed {
|
||||
continue;
|
||||
}
|
||||
let species = m.species();
|
||||
if !matches!(
|
||||
species,
|
||||
Species::Bee | Species::Guardian | Species::ElderGuardian | Species::Sniffer
|
||||
) {
|
||||
continue;
|
||||
}
|
||||
let is_bee = species == Species::Bee;
|
||||
let sound = MobSound {
|
||||
id: m.id,
|
||||
position: [m.position.x, m.position.y, m.position.z],
|
||||
// Vec3.horizontalDistance.
|
||||
speed: m.velocity.x.hypot(m.velocity.z),
|
||||
baby: m.is_baby(),
|
||||
// NeutralMob.isAngry: the anger end time is ahead.
|
||||
angry: m.species() == Species::Bee
|
||||
angry: is_bee
|
||||
&& bee::get(m).is_some_and(|b| b.anger_end > 0 && b.anger_end - game_time > 0),
|
||||
silent: m.silent,
|
||||
attack_scale: guardian::attack_scale(m),
|
||||
// SnifferSoundInstance.tick.
|
||||
sniffer_digging: m.species() == Species::Sniffer
|
||||
sniffer_digging: species == Species::Sniffer
|
||||
&& m.ai.target.is_none()
|
||||
&& sniffer::can_play_digging_sound(m),
|
||||
})
|
||||
.collect();
|
||||
};
|
||||
if is_bee {
|
||||
bee_indices.push(mobs.len());
|
||||
}
|
||||
mobs.push(sound);
|
||||
}
|
||||
self.guardian_sounds
|
||||
.retain(|id| mobs.iter().any(|m| m.id == *id));
|
||||
self.bee_sounds
|
||||
.retain(|id, _| mobs.iter().any(|m| m.id == *id));
|
||||
for sound in &mobs {
|
||||
let is_bee = self
|
||||
.mobs
|
||||
.iter()
|
||||
.any(|m| m.id == sound.id && m.species() == Species::Bee);
|
||||
if is_bee && self.bee_sounds.get(&sound.id) != Some(&sound.angry) {
|
||||
for &idx in &bee_indices {
|
||||
let sound = &mobs[idx];
|
||||
if self.bee_sounds.get(&sound.id) != Some(&sound.angry) {
|
||||
self.bee_sounds.insert(sound.id, sound.angry);
|
||||
let instance = SoundInstance::bee(sound, sound.angry, random_source::create());
|
||||
self.audio.play_instance(instance, false);
|
||||
|
||||
@@ -679,26 +679,6 @@ impl Game<'_> {
|
||||
gamepad::move_vector(self.pad.state.left, settings.move_deadzone)
|
||||
}
|
||||
|
||||
/// Whether `key` is held, a movement key by the left stick too: as the keys the stick holds
|
||||
/// (`eight_direction_keys`), whatever moves the player. For readers of the keys that aren't
|
||||
/// the movement itself.
|
||||
pub(super) fn movement_key_held(&self, key: KeyCode) -> bool {
|
||||
if self.keys.raw(&key) {
|
||||
return true;
|
||||
}
|
||||
let Some(stick) = self.pad_move() else {
|
||||
return false;
|
||||
};
|
||||
let [forward, backward, left, right] = gamepad::eight_direction_keys(stick);
|
||||
match key {
|
||||
KeyCode::KeyW => forward,
|
||||
KeyCode::KeyS => backward,
|
||||
KeyCode::KeyA => left,
|
||||
KeyCode::KeyD => right,
|
||||
_ => false,
|
||||
}
|
||||
}
|
||||
|
||||
/// The right stick turns the view, once per frame (`Entity.turn`).
|
||||
pub(super) fn pad_look(&mut self, seconds: f32) {
|
||||
let settings = &self.settings.controller;
|
||||
|
||||
@@ -101,7 +101,7 @@ impl Game<'_> {
|
||||
};
|
||||
// A controller's stick click acts as the key without setting the modifier: it is held
|
||||
// while the pad holds it (or its release waits for a tick), not when the keyboard says.
|
||||
let pad = self.pad.holds_action(&self.settings.controller, mapping);
|
||||
let pad = self.input_holds(mapping);
|
||||
if !held && !pad {
|
||||
self.toggles.0[slot].set_down(false, needs_toggle);
|
||||
self.sync_toggle(slot);
|
||||
@@ -352,9 +352,7 @@ impl Game<'_> {
|
||||
_ => return false,
|
||||
};
|
||||
match source {
|
||||
Source::Keyboard | Source::Agent => {
|
||||
self.pad.holds_action(&self.settings.controller, mapping)
|
||||
}
|
||||
Source::Keyboard | Source::Agent => self.input_holds(mapping),
|
||||
Source::Pad => {
|
||||
let keys = &self.settings.keys;
|
||||
self.physical_buttons
|
||||
@@ -450,6 +448,79 @@ impl Game<'_> {
|
||||
}
|
||||
}
|
||||
|
||||
/// The input source (docs/layers.md, "Controllers, splitscreen, replays and UI pages"): what
|
||||
/// gameplay asks of a device beyond the keyboard and mouse, and tells it. Gameplay calls these,
|
||||
/// never the controller modules; today `pad` answers.
|
||||
impl Game<'_> {
|
||||
/// The analog move vector (`[left, forward]`, -1..1) while a device moves the player.
|
||||
pub(super) fn input_move(&self) -> Option<[f32; 2]> {
|
||||
self.pad_move()
|
||||
}
|
||||
|
||||
/// Whether a device holds the key mapping named `mapping` (`key.use`).
|
||||
pub(super) fn input_holds(&self, mapping: &str) -> bool {
|
||||
self.pad.holds_action(&self.settings.controller, mapping)
|
||||
}
|
||||
|
||||
/// Turns the view by what the devices give this frame (`Entity.turn`).
|
||||
pub(super) fn input_look(&mut self, seconds: f32) {
|
||||
self.pad_look(seconds);
|
||||
}
|
||||
|
||||
/// The keyboard or mouse acted in play (a key or button pressed): it has control again, though
|
||||
/// only moving the mouse takes a pad out of use.
|
||||
pub(super) fn input_keyboard_used(&mut self) {
|
||||
self.pad.keyboard_took_over = true;
|
||||
}
|
||||
|
||||
/// Whether the pointer event being handled is one a device made (a pad's menu cursor
|
||||
/// clicking), not the mouse's.
|
||||
pub(super) fn input_made_pointer_event(&self) -> bool {
|
||||
self.pad.menu.synthetic
|
||||
}
|
||||
|
||||
/// A new player entity took over (spawn, respawn, a server joined, a dimension change).
|
||||
pub(super) fn input_player_replaced(&mut self) {
|
||||
self.pad.player_replaced();
|
||||
}
|
||||
|
||||
/// Whether the drop about to happen is a device's whole-stack drop (it has no Control key to
|
||||
/// hold). Asking answers once.
|
||||
pub(super) fn input_takes_stack_drop(&mut self) -> bool {
|
||||
std::mem::take(&mut self.pad.drop_stack)
|
||||
}
|
||||
|
||||
/// The HUD starts a frame: what a device drew on the last one is gone.
|
||||
pub(super) fn input_hud_begin(&mut self) {
|
||||
self.pad.guide_shown.clear();
|
||||
}
|
||||
|
||||
/// Something happened to the player that a device may let them feel.
|
||||
pub(super) fn input_feedback(&mut self, event: horizon_client::input_source::Feedback) {
|
||||
self.pad_rumble(event.into());
|
||||
}
|
||||
|
||||
/// Whether `key` is held, a movement key by the analog move vector too: as the keys it holds
|
||||
/// (`eight_direction_keys`), whatever moves the player. For readers of the keys that aren't
|
||||
/// the movement itself.
|
||||
pub(super) fn movement_key_held(&self, key: KeyCode) -> bool {
|
||||
if self.keys.raw(&key) {
|
||||
return true;
|
||||
}
|
||||
let Some(stick) = self.input_move() else {
|
||||
return false;
|
||||
};
|
||||
let [forward, backward, left, right] = horizon_client::gamepad::eight_direction_keys(stick);
|
||||
match key {
|
||||
KeyCode::KeyW => forward,
|
||||
KeyCode::KeyS => backward,
|
||||
KeyCode::KeyA => left,
|
||||
KeyCode::KeyD => right,
|
||||
_ => false,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::{studio_freecam_movement_key, studio_replay_shortcut};
|
||||
|
||||
@@ -279,8 +279,7 @@ impl Game<'_> {
|
||||
KeyCode::KeyQ if self.screen == Screen::Playing => {
|
||||
// handleKeybinds: the number keys select before key.drop.
|
||||
self.select_queued_hotbar();
|
||||
let all =
|
||||
drop_whole_stack(self.modifiers) || std::mem::take(&mut self.pad.drop_stack);
|
||||
let all = drop_whole_stack(self.modifiers) || self.input_takes_stack_drop();
|
||||
self.drop_held(all);
|
||||
}
|
||||
KeyCode::Digit1
|
||||
|
||||
@@ -111,7 +111,7 @@ impl Game<'_> {
|
||||
self.stop_sounds_for_new_level();
|
||||
}
|
||||
self.player = Some(player);
|
||||
self.pad.player_replaced();
|
||||
self.input_player_replaced();
|
||||
self.sway = Default::default();
|
||||
self.apply_equipment();
|
||||
self.eye = 1.62;
|
||||
|
||||
@@ -6176,7 +6176,7 @@ impl Game<'_> {
|
||||
player.spectator = self.spectator();
|
||||
player.velocity = delta;
|
||||
self.player = Some(player);
|
||||
self.pad.player_replaced();
|
||||
self.input_player_replaced();
|
||||
self.sway = Default::default();
|
||||
self.eye = 1.62;
|
||||
self.previous_eye = 1.62;
|
||||
@@ -6441,7 +6441,7 @@ impl Game<'_> {
|
||||
}
|
||||
return Ok(());
|
||||
}
|
||||
let stick = self.pad_move();
|
||||
let stick = self.input_move();
|
||||
if self.player.is_none() {
|
||||
return Ok(());
|
||||
}
|
||||
@@ -9525,7 +9525,7 @@ impl Game<'_> {
|
||||
KeyCode::KeyQ if !self.spectator() => {
|
||||
// Minecraft.hasControlDown: the physical keys, so a toggled
|
||||
// sprint on Left Control does not make Q drop the stack.
|
||||
let all = self.has_control_down() || std::mem::take(&mut self.pad.drop_stack);
|
||||
let all = self.has_control_down() || self.input_takes_stack_drop();
|
||||
self.remote_drop(all);
|
||||
}
|
||||
KeyCode::KeyE
|
||||
|
||||
@@ -20,7 +20,7 @@ use super::input_trace::{InputOrigin, TraceEvent, TraceKind};
|
||||
use super::{Game, Screen};
|
||||
use horizon_client::{Result, gamepad::Button, keybinds, text::Text, title::world_management};
|
||||
use horizon_core::geometry::Vec3;
|
||||
use horizon_telemetry::scrub::Scrubber;
|
||||
use horizon_system::scrub::Scrubber;
|
||||
use serde::Deserialize;
|
||||
use serde_json::{Value, json};
|
||||
use std::{
|
||||
|
||||
@@ -292,10 +292,8 @@ fn pack_particles(
|
||||
}
|
||||
|
||||
/// The packs' custom colours; their dye and sheep colours go to the draw paths' table.
|
||||
fn read_colors(root: &std::path::Path) -> horizon_client::polytone_colors::PackColors {
|
||||
let colors = horizon_client::polytone_colors::PackColors::read(root);
|
||||
horizon_client::pack_palette::set(&colors);
|
||||
horizon_client::pack_palette::set_item_bars(root);
|
||||
horizon_client::brewing::set_pack_colors(colors.effects());
|
||||
fn read_colors(root: &std::path::Path) -> horizon_client::pack_palette::PackColors {
|
||||
let colors = horizon_client::pack_palette::read(root);
|
||||
horizon_client::brewing::set_pack_colors(colors.effects.clone());
|
||||
colors
|
||||
}
|
||||
@@ -359,12 +359,19 @@ impl Game<'_> {
|
||||
self.sculk.tracker = WardenSpawnTracker::from_nbt(tag);
|
||||
}
|
||||
}
|
||||
/// Write the tracker into the player data being saved.
|
||||
/// The tracker as saved, once it has been loaded.
|
||||
pub(super) fn warden_tracker_tag(&self) -> Option<horizon_world::nbt::Tag> {
|
||||
self.sculk
|
||||
.tracker_loaded
|
||||
.then(|| self.sculk.tracker.to_nbt())
|
||||
}
|
||||
/// Write the tracker into the player data being saved. With a LAN owner,
|
||||
/// `store_owner` rewrites that from the owner's guest, so it puts the
|
||||
/// tracker there as well (`playerdata::with_warden`).
|
||||
pub(super) fn save_warden_tracker(&mut self) {
|
||||
if !self.sculk.tracker_loaded {
|
||||
let Some(tag) = self.warden_tracker_tag() else {
|
||||
return;
|
||||
}
|
||||
let tag = self.sculk.tracker.to_nbt();
|
||||
};
|
||||
let extra = self
|
||||
.level
|
||||
.player_extra
|
||||
|
||||
@@ -15,6 +15,8 @@ pub(super) fn rename_box() -> horizon_client::ui::EditBox {
|
||||
edit.text_color = u32::MAX;
|
||||
// AnvilScreen also sets `setTextColorUneditable(-1)`: white either way.
|
||||
edit.text_color_uneditable = u32::MAX;
|
||||
// AnvilScreen sets `setInvertHighlightedTextColor(false)`.
|
||||
edit.invert_highlighted_text_color = false;
|
||||
edit.focused = true;
|
||||
edit.editable = false;
|
||||
edit
|
||||
@@ -40,6 +42,7 @@ mod tests {
|
||||
// AnvilScreen.init: no input yet, so the box is read-only but focused.
|
||||
let station_box = rename_box();
|
||||
assert!(station_box.focused && !station_box.editable);
|
||||
assert!(!station_box.invert_highlighted_text_color);
|
||||
|
||||
// slotChanged with an item: editable, and it shows the item's name.
|
||||
let mut station = Station::new_kind(Kind::Anvil, [0; 3]);
|
||||
|
||||
@@ -149,7 +149,7 @@ impl Game<'_> {
|
||||
self.audio
|
||||
.play_unshared("minecraft:item.totem.use", Some(body.bounds.feet), 1.0, 1.0);
|
||||
if target == TrackingTarget::LocalPlayer {
|
||||
self.pad_rumble(horizon_client::gamepad::Rumble::Totem);
|
||||
self.input_feedback(horizon_client::input_source::Feedback::Totem);
|
||||
// findTotem, then LocalPlayer.displayItemActivation. The offsets
|
||||
// come from the player's own random in vanilla, not the level's:
|
||||
// the client-only particle random stands in for it. The server
|
||||
|
||||
@@ -298,7 +298,7 @@ impl super::Game<'_> {
|
||||
.into_iter()
|
||||
.any(|action| self.keys.held(action))
|
||||
|| self
|
||||
.pad_move()
|
||||
.input_move()
|
||||
.is_some_and(|[left, forward]| left.abs() > 0.3 || forward.abs() > 0.3))
|
||||
{
|
||||
self.tutorial.input();
|
||||
|
||||
@@ -107,9 +107,9 @@ impl Game<'_> {
|
||||
state: ElementState::Pressed,
|
||||
..
|
||||
}
|
||||
) && !self.pad.menu.synthetic
|
||||
) && !self.input_made_pointer_event()
|
||||
{
|
||||
self.pad.keyboard_took_over = true;
|
||||
self.input_keyboard_used();
|
||||
}
|
||||
if let WindowEvent::MouseInput { state, button, .. } = &event {
|
||||
if *state == ElementState::Pressed {
|
||||
|
||||
@@ -165,6 +165,22 @@ impl<T: Joined> JoinList<T> {
|
||||
self.push(entity);
|
||||
}
|
||||
}
|
||||
/// An entity that never left its level keeps its place in
|
||||
/// `EntityTickList`: one a pass took out and puts back (an arrow bouncing
|
||||
/// off) goes back before the first entity that joined after it. One that
|
||||
/// has not joined yet is appended and numbered, as by `push`.
|
||||
pub fn put_back(&mut self, entity: T) {
|
||||
let seq = entity.join_seq();
|
||||
let at = if seq.is_joined() {
|
||||
self.list
|
||||
.iter()
|
||||
.position(|q| q.join_seq() > seq)
|
||||
.unwrap_or(self.list.len())
|
||||
} else {
|
||||
self.list.len()
|
||||
};
|
||||
self.insert(at, entity);
|
||||
}
|
||||
}
|
||||
|
||||
impl<'a, T> IntoIterator for &'a JoinList<T> {
|
||||
@@ -193,6 +209,33 @@ impl<T> IntoIterator for JoinList<T> {
|
||||
mod tests {
|
||||
use super::*;
|
||||
|
||||
#[derive(Debug)]
|
||||
struct E {
|
||||
join: JoinSeq,
|
||||
}
|
||||
crate::impl_joined!(E);
|
||||
|
||||
/// A numbered entity put back lands by its join number; a new one goes last.
|
||||
#[test]
|
||||
fn put_back_keeps_the_join_order() {
|
||||
let mut list = JoinList::default();
|
||||
for _ in 0..3 {
|
||||
list.push(E {
|
||||
join: JoinSeq::UNJOINED,
|
||||
});
|
||||
}
|
||||
let first = list.remove(0);
|
||||
let first_seq = first.join;
|
||||
list.put_back(first);
|
||||
assert_eq!(list[0].join, first_seq, "back before the later joins");
|
||||
list.put_back(E {
|
||||
join: JoinSeq::UNJOINED,
|
||||
});
|
||||
let seqs: Vec<_> = list.iter().map(|e| e.join).collect();
|
||||
assert!(seqs.windows(2).all(|w| w[0] < w[1]), "{seqs:?}");
|
||||
assert_eq!(seqs.len(), 4);
|
||||
}
|
||||
|
||||
/// Whatever can change a list changes its stamp; only reading leaves it.
|
||||
#[test]
|
||||
fn a_stamp_holds_until_the_list_can_have_changed() {
|
||||
|
||||
@@ -53,6 +53,27 @@ pub fn exists(world: &Path, uuid: u128) -> bool {
|
||||
path(world, uuid).is_file()
|
||||
}
|
||||
|
||||
/// The key `ServerPlayer.addAdditionalSaveData` stores the `WardenSpawnTracker` under.
|
||||
pub const WARDEN_TRACKER_KEY: &str = "warden_spawn_tracker";
|
||||
|
||||
/// Put a player's `warden_spawn_tracker` into the compound `store` writes from
|
||||
/// (`guest.saved`), so a save keeps it rather than the older one loaded with
|
||||
/// the file (the LAN owner's tracker lives in `Game`, `save_warden_tracker`).
|
||||
/// Other saved keys are left as they are; no tracker (not loaded yet) changes
|
||||
/// nothing.
|
||||
pub fn with_warden(guest: &mut Guest, tracker: Option<Tag>) -> &mut Guest {
|
||||
let Some(tracker) = tracker else {
|
||||
return guest;
|
||||
};
|
||||
let saved = guest
|
||||
.saved
|
||||
.get_or_insert_with(|| Tag::Compound(Default::default()));
|
||||
if let Tag::Compound(map) = saved {
|
||||
map.insert(WARDEN_TRACKER_KEY.into(), tracker);
|
||||
}
|
||||
guest
|
||||
}
|
||||
|
||||
/// `PlayerDataStorage.load`: a guest's saved state, if they have been here
|
||||
/// before. The player's file, else its `.dat_old` (what a save cut off
|
||||
/// between its two renames leaves, `write_dat`).
|
||||
@@ -651,6 +672,42 @@ mod tests {
|
||||
)
|
||||
}
|
||||
|
||||
/// #9965: the owner's warden warning level and cooldown reach the file on
|
||||
/// a save, instead of the ones the file was loaded with.
|
||||
#[test]
|
||||
fn a_stored_warden_tracker_replaces_the_loaded_one() {
|
||||
let mut g = guest();
|
||||
g.saved = Some(Tag::compound(vec![
|
||||
(
|
||||
"warden_spawn_tracker",
|
||||
Tag::compound(vec![
|
||||
("warning_level", Tag::Int(2)),
|
||||
("cooldown_ticks", Tag::Int(77)),
|
||||
("ticks_since_last_warning", Tag::Int(5)),
|
||||
]),
|
||||
),
|
||||
("unrelated_key", Tag::Int(9)),
|
||||
]));
|
||||
let tracker = crate::sculk::WardenSpawnTracker {
|
||||
ticks_since_last_warning: 0,
|
||||
warning_level: 3,
|
||||
cooldown_ticks: 200,
|
||||
};
|
||||
with_warden(&mut g, Some(tracker.to_nbt()));
|
||||
let (tag, _) = round_trip(&g);
|
||||
let mut back = guest();
|
||||
let mut level = Level::default();
|
||||
level.read_player(&tag);
|
||||
level.player_extra = Some(tag);
|
||||
apply(&mut back, &level);
|
||||
let saved = back.saved.as_ref().unwrap();
|
||||
let read =
|
||||
crate::sculk::WardenSpawnTracker::from_nbt(saved.get("warden_spawn_tracker").unwrap());
|
||||
assert_eq!((read.warning_level, read.cooldown_ticks), (3, 200));
|
||||
assert_eq!(read.ticks_since_last_warning, 0);
|
||||
assert!(matches!(saved.get("unrelated_key"), Some(Tag::Int(9))));
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn a_new_player_faces_the_world_spawn_angle() {
|
||||
let mut g = guest();
|
||||
|
||||
@@ -246,7 +246,9 @@ impl Goal for DefendVillage {
|
||||
// wider, as the box test is strict).
|
||||
let near = b.inflate(Vec3::new(1.0, 1.0, 1.0));
|
||||
// Villager.getPlayerReputation of the player this golem sees: the
|
||||
// villager's gossips about that player's own UUID.
|
||||
// villager's gossips about that player's own UUID. The villagers come
|
||||
// through the same `attackTargeting` (`forCombat().range(64)`), so the
|
||||
// golem must see them too.
|
||||
let bad = cx.w.others_near(near).any(|s| {
|
||||
s.species == Species::Villager
|
||||
&& s.alive
|
||||
@@ -255,6 +257,7 @@ impl Goal for DefendVillage {
|
||||
.is_some_and(|v| v.gossips.reputation(p.uuid) <= -100)
|
||||
&& b.contains(s.position)
|
||||
&& s.position.distance_squared(m.position) <= 64.0 * 64.0
|
||||
&& m.sees(cx.w, Who::Mob(s.id))
|
||||
});
|
||||
bad && m.sees(cx.w, Who::Player)
|
||||
}
|
||||
@@ -322,6 +325,39 @@ impl Goal for MoveTowardsTarget {
|
||||
m.nav_stop();
|
||||
}
|
||||
}
|
||||
impl Mob {
|
||||
/// `IronGolem.mobInteract`: the repair sound's pitch comes from the
|
||||
/// golem's own random, not the level's.
|
||||
pub fn golem_repair_pitch(&mut self) -> f32 {
|
||||
1.0 + (self.random.next_float() - self.random.next_float()) * 0.2
|
||||
}
|
||||
}
|
||||
/// `Level.isBrightOutside`: a fixed-time dimension (the End) is never bright.
|
||||
fn bright_outside(w: &MobWorld) -> bool {
|
||||
w.daylight && !w.dimension_type.has_fixed_time
|
||||
}
|
||||
/// `OfferFlowerGoal.getNearestEntity`: the nearest of
|
||||
/// #candidate_for_iron_golem_gift (villagers and copper golems) in the golem's
|
||||
/// box inflated by (6, 2, 6) that passes `forNonCombat().range(6.0)`: within
|
||||
/// six blocks and in sight.
|
||||
fn gift_candidate(m: &mut Mob, w: &MobWorld) -> Option<u32> {
|
||||
let area = m.bounds().inflate(Vec3::new(6.0, 2.0, 6.0));
|
||||
let mut best: Option<(f64, u32)> = None;
|
||||
for s in w.others_near(area) {
|
||||
if !matches!(s.species, Species::Villager | Species::CopperGolem)
|
||||
|| !s.alive
|
||||
|| !area.intersects(s.bounds)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
let d = s.position.distance_squared(m.position);
|
||||
if d > 36.0 || best.is_some_and(|(b, _)| d >= b) || !m.sees(w, Who::Mob(s.id)) {
|
||||
continue;
|
||||
}
|
||||
best = Some((d, s.id));
|
||||
}
|
||||
best.map(|(_, id)| id)
|
||||
}
|
||||
/// `OfferFlowerGoal`: by day, now and then, hold out a poppy to a villager.
|
||||
#[derive(Clone, Debug)]
|
||||
struct OfferFlower {
|
||||
@@ -334,16 +370,10 @@ impl Goal for OfferFlower {
|
||||
MOVE | LOOK
|
||||
}
|
||||
fn can_use(&mut self, m: &mut Mob, cx: &mut Cx) -> bool {
|
||||
if !cx.w.daylight || m.random.next_int_bound(8000).unwrap_or(1) != 0 {
|
||||
if !bright_outside(cx.w) || m.random.next_int_bound(8000).unwrap_or(1) != 0 {
|
||||
return false;
|
||||
}
|
||||
// The nearest of #candidate_for_iron_golem_gift: villagers and copper golems.
|
||||
self.villager =
|
||||
cx.w.nearby(m.position, 6.0, |s| {
|
||||
matches!(s.species, Species::Villager | Species::CopperGolem) && s.alive
|
||||
})
|
||||
.map(|s| s.id)
|
||||
.next();
|
||||
self.villager = gift_candidate(m, cx.w);
|
||||
self.villager.is_some()
|
||||
}
|
||||
fn can_continue(&mut self, _: &mut Mob, _: &mut Cx) -> bool {
|
||||
@@ -612,6 +642,78 @@ mod tests {
|
||||
Mob::new(id, Arc::new(kind), at, 0.0)
|
||||
}
|
||||
|
||||
fn villager_at(id: u32, at: Vec3) -> crate::mobs::Seen {
|
||||
mob(id, Species::Villager, at).seen(None)
|
||||
}
|
||||
|
||||
fn pick(w: &MobWorld) -> Option<u32> {
|
||||
let mut golem = mob(1, Species::IronGolem, Vec3::new(0.5, 64.0, 0.5));
|
||||
gift_candidate(&mut golem, w)
|
||||
}
|
||||
|
||||
fn with_chunks(world: &mut crate::world::World, _: &horizon_world::registry::BlockRegistry) {
|
||||
for cx in -2..2 {
|
||||
for cz in -2..2 {
|
||||
world.chunks.insert(
|
||||
(cx, cz),
|
||||
std::sync::Arc::new(crate::chunk::Chunk::empty(cx, cz)),
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// `OfferFlowerGoal`: the search box is the golem's box inflated by
|
||||
/// (6, 2, 6) and the candidate must be within six blocks (Euclidean).
|
||||
#[test]
|
||||
fn the_poppy_goes_to_a_villager_in_the_box_within_six_blocks() {
|
||||
let cases = [
|
||||
(Vec3::new(4.5, 64.0, 0.5), true),
|
||||
// 6.5 blocks on one axis: outside the range.
|
||||
(Vec3::new(7.0, 64.0, 0.5), false),
|
||||
// About 8.5 blocks away, inside the per-axis box of six.
|
||||
(Vec3::new(6.0, 64.0, 6.0), false),
|
||||
// Five blocks above: outside the box's two-block rise.
|
||||
(Vec3::new(0.5, 69.0, 0.5), false),
|
||||
];
|
||||
for (at, offered) in cases {
|
||||
let villager = villager_at(2, at);
|
||||
crate::mobs::world::with_built_test_world(&[villager], with_chunks, |w, _| {
|
||||
assert_eq!(pick(w).is_some(), offered, "villager at {at:?}");
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
/// The candidate must also be in sight, and a fixed-time dimension is
|
||||
/// never bright outside.
|
||||
#[test]
|
||||
fn the_poppy_needs_sight_and_a_dimension_with_a_day() {
|
||||
let villager = villager_at(2, Vec3::new(4.5, 64.0, 0.5));
|
||||
let wall = |world: &mut crate::world::World, r: &horizon_world::registry::BlockRegistry| {
|
||||
with_chunks(world, r);
|
||||
let stone = r.default_state("minecraft:stone").unwrap();
|
||||
for y in 62..70 {
|
||||
for z in -6..8 {
|
||||
world.set(2, y, z, stone).unwrap();
|
||||
}
|
||||
}
|
||||
};
|
||||
crate::mobs::world::with_built_test_world(std::slice::from_ref(&villager), wall, |w, _| {
|
||||
assert_eq!(pick(w), None, "a villager behind a wall");
|
||||
});
|
||||
crate::mobs::world::with_built_test_world(&[villager], with_chunks, |w, _| {
|
||||
assert!(bright_outside(w));
|
||||
assert_eq!(pick(w), Some(2));
|
||||
let mut end = w.clone();
|
||||
end.dimension_type =
|
||||
horizon_world::dimension_type::DimensionFacts::vanilla("minecraft:the_end")
|
||||
.unwrap();
|
||||
assert!(!bright_outside(&end));
|
||||
let mut night = w.clone();
|
||||
night.daylight = false;
|
||||
assert!(!bright_outside(&night));
|
||||
});
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn snow_trail_posts_block_place_with_golem_and_snow_state() {
|
||||
let ran = crate::mobs::world::with_built_test_world(
|
||||
|
||||
@@ -855,9 +855,11 @@ pub fn texture(m: &Mob) -> String {
|
||||
"red",
|
||||
"black",
|
||||
];
|
||||
match COLORS.get(m.extra.color as usize) {
|
||||
Some(c) => format!("entity/shulker/shulker_{c}"),
|
||||
None => "entity/shulker/shulker".into(),
|
||||
// Shulker.getColor: the saved byte is signed; 16 and above are undyed, and
|
||||
// DyeColor.byId sends a negative id to white (OutOfBoundsStrategy.ZERO).
|
||||
match m.extra.color as i8 {
|
||||
16.. => "entity/shulker/shulker".into(),
|
||||
c => format!("entity/shulker/shulker_{}", COLORS[c.max(0) as usize]),
|
||||
}
|
||||
}
|
||||
/// `attachFace.getOpposite().getRotation()` by attach face: the open
|
||||
@@ -1144,3 +1146,46 @@ mod tests {
|
||||
assert!((h - 1.0).abs() < 1e-9, "{h}");
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod saved_bytes_tests {
|
||||
use super::*;
|
||||
|
||||
/// `Shulker.readAdditionalSaveData`: `AttachFace` is
|
||||
/// `Direction.LEGACY_ID_CODEC` (`from3DDataValue` wraps the id through
|
||||
/// `abs(id % 6)`), while `Peek` and `Color` are raw `getByteOr` bytes. The
|
||||
/// load clamped all three to their setters' ranges instead.
|
||||
#[test]
|
||||
fn a_shulker_reads_its_face_and_lid_bytes_like_vanilla() {
|
||||
use crate::entity_nbt::mob_from_nbt;
|
||||
use horizon_world::nbt::Tag;
|
||||
let mut kind = crate::mobs::sensor_scan_tests::kind();
|
||||
let k = std::sync::Arc::make_mut(&mut kind);
|
||||
k.id = "minecraft:shulker".into();
|
||||
k.species = Species::Shulker;
|
||||
let types = [("minecraft:shulker".into(), kind)].into();
|
||||
let tag = Tag::compound([
|
||||
("id", Tag::String("minecraft:shulker".into())),
|
||||
(
|
||||
"Pos",
|
||||
Tag::List(vec![
|
||||
Tag::Double(0.0f64.to_bits()),
|
||||
Tag::Double(64.0f64.to_bits()),
|
||||
Tag::Double(0.0f64.to_bits()),
|
||||
]),
|
||||
),
|
||||
("AttachFace", Tag::Byte(7)),
|
||||
("Peek", Tag::Byte(-1)),
|
||||
("Color", Tag::Byte(-1)),
|
||||
]);
|
||||
let m = mob_from_nbt(&tag, &types, 1, None).unwrap();
|
||||
assert_eq!(m.extra.variant3, 1, "abs(7 % 6) is up");
|
||||
assert_eq!(m.extra.counter, -1, "the peek byte is kept");
|
||||
assert_eq!(m.extra.color, 255, "the color byte is kept");
|
||||
assert_eq!(
|
||||
texture(&m),
|
||||
"entity/shulker/shulker_white",
|
||||
"DyeColor.byId(-1)"
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -2148,18 +2148,16 @@ impl MotionWorld<'_, '_, '_> {
|
||||
let gravity = living_motion::effective_gravity(self)?;
|
||||
self.player.velocity = fall_flying_movement(v, self.player.pitch, self.player.yaw, gravity);
|
||||
let movement = self.player.velocity;
|
||||
let before = self.player.position;
|
||||
self.move_self(movement)?;
|
||||
// LivingEntity.handleFallFlyingCollisions: the fall-damage sound plays
|
||||
// on both sides (a glider's own travel is client-side, and the sound
|
||||
// must reach its own ears, #8906), only the server hurts, and it
|
||||
// compares the delta before the move with the one after it, which
|
||||
// `Entity.move` leaves as the movement it resolved. `move_entity` does
|
||||
// not write that back, so the distance actually travelled stands in.
|
||||
// compares the horizontal speed before `updateFallFlyingMovement`
|
||||
// with the delta `Entity.move` leaves (the collided axes zeroed).
|
||||
if self.player.collision.horizontal {
|
||||
let travelled = self.player.position.subtract(before);
|
||||
let new_h = (travelled.x * travelled.x + travelled.z * travelled.z).sqrt();
|
||||
let dmg = fly_into_wall_damage(move_h, new_h);
|
||||
let v = self.player.velocity;
|
||||
let after_h = (v.x * v.x + v.z * v.z).sqrt();
|
||||
let dmg = fly_into_wall_damage(move_h, after_h);
|
||||
if dmg > 0.0 {
|
||||
let first = self.player.events.len();
|
||||
// getFallDamageSound((int) dmg)
|
||||
@@ -3148,6 +3146,7 @@ mod tests {
|
||||
assert_eq!(fly_into_wall_damage(0.3, 0.0), 0.0);
|
||||
assert!((fly_into_wall_damage(0.5, 0.1) - 1.0).abs() < 1e-5);
|
||||
assert!((fly_into_wall_damage(1.2, 0.0) - 9.0).abs() < 1e-5);
|
||||
assert!(fly_into_wall_damage(0.01, 0.0) < 0.0);
|
||||
}
|
||||
|
||||
use super::*;
|
||||
@@ -4195,17 +4194,16 @@ mod tests {
|
||||
health: &resources.health,
|
||||
};
|
||||
w.travel_fall_flying().unwrap();
|
||||
assert!(
|
||||
w.player.events.iter().any(|e| matches!(
|
||||
let is_fall = |e: &_| {
|
||||
matches!(
|
||||
e,
|
||||
MotionEvent::Fall(crate::landing::FallEvent::Sound {
|
||||
sound: crate::landing::SceneSound::SmallFall,
|
||||
..
|
||||
})
|
||||
)),
|
||||
"{:?}",
|
||||
w.player.events
|
||||
);
|
||||
MotionEvent::Fall(crate::landing::FallEvent::Sound { .. })
|
||||
)
|
||||
};
|
||||
assert_eq!(w.player.events.iter().filter(|e| is_fall(e)).count(), 1);
|
||||
// The sound must play only once on impact, not repeat on subsequent ticks (#12304):
|
||||
w.travel_fall_flying().unwrap();
|
||||
assert_eq!(w.player.events.iter().filter(|e| is_fall(e)).count(), 1);
|
||||
assert!(
|
||||
!w.player
|
||||
.hurt_log
|
||||
|
||||
@@ -852,14 +852,24 @@ fn parse_recipe_sources<'a>(
|
||||
"minecraft:stonecutting" => {
|
||||
// A result count outside 1..=99 fails vanilla's codec: no recipe.
|
||||
if let Some(count) = crate::crafting::template_count(&v["result"]) {
|
||||
stonecutting.push(Stonecutting {
|
||||
id,
|
||||
input: ingredient(&v["ingredient"], items),
|
||||
result: ItemStack::new(
|
||||
let result = if v["result"].get("components").is_some() {
|
||||
match SmithingResult::parse(&v["result"], defaults)
|
||||
.and_then(|result| result.create())
|
||||
{
|
||||
Some(result) => result,
|
||||
None => continue,
|
||||
}
|
||||
} else {
|
||||
ItemStack::new(
|
||||
horizon_world::loot::recipe_result_id(&v["result"])
|
||||
.unwrap_or("minecraft:air"),
|
||||
count,
|
||||
),
|
||||
)
|
||||
};
|
||||
stonecutting.push(Stonecutting {
|
||||
id,
|
||||
input: ingredient(&v["ingredient"], items),
|
||||
result,
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -2216,6 +2226,27 @@ mod tests {
|
||||
vec!["minecraft:diamond_sword", "minecraft:diamond_axe"]
|
||||
);
|
||||
}
|
||||
#[test]
|
||||
fn stonecutter_result_keeps_its_components() {
|
||||
let root = std::env::temp_dir().join(format!(
|
||||
"horizon-stonecutter-components-{}",
|
||||
std::process::id()
|
||||
));
|
||||
let dir = root.join("data/minecraft/recipe");
|
||||
fs::create_dir_all(&dir).unwrap();
|
||||
fs::write(root.join("items.json"), r#"{"minecraft:stone":{}}"#).unwrap();
|
||||
fs::write(
|
||||
dir.join("cut.json"),
|
||||
r#"{"type":"minecraft:stonecutting","ingredient":"minecraft:stone","result":{"id":"minecraft:stone","components":{"minecraft:custom_name":"Cut Stone"}}}"#,
|
||||
)
|
||||
.unwrap();
|
||||
let recipes = StationRecipes::load(&root, &sample_items(), &PackOverlay::NONE);
|
||||
let _ = fs::remove_dir_all(&root);
|
||||
let listed = recipes.stonecutter(&ItemStack::new("minecraft:stone", 1));
|
||||
assert_eq!(listed.len(), 1);
|
||||
assert_eq!(listed[0].result.custom_name().as_deref(), Some("Cut Stone"));
|
||||
}
|
||||
|
||||
/// A world pack's stonecutting recipe takes its place in registration
|
||||
/// order (path, then namespace), not a place after the game's own.
|
||||
#[test]
|
||||
|
||||
@@ -47,6 +47,15 @@ pub fn open_vulkan_device(
|
||||
Some(unsafe { adapter.create_device_from_hal(open, desc) })
|
||||
}
|
||||
|
||||
/// wgpu's opt-in to its `EXPERIMENTAL_*` features, which the crates that forbid unsafe code
|
||||
/// can't give: hardware ray queries, asked for only when the player turns ray tracing on
|
||||
/// (`gfx/ray_query.rs` in horizon-client-render).
|
||||
pub fn experimental_features() -> wgpu::ExperimentalFeatures {
|
||||
// Safety: wgpu warns that its experimental features may have bugs that reach undefined
|
||||
// behaviour through safe calls. Horizon accepts that only on request, for ray queries.
|
||||
unsafe { wgpu::ExperimentalFeatures::enabled() }
|
||||
}
|
||||
|
||||
/// Tells the compositor, through `VK_EXT_hdr_metadata`, that the swapchain's
|
||||
/// content is BT.709, peaks at `peak` nits and is no darker than `black`. Needs a
|
||||
/// device from `open_vulkan_device` and a configured surface; does nothing otherwise.
|
||||
|
||||
@@ -13,7 +13,7 @@ regex = { version = "1", default-features = false, features = ["std", "unicode-p
|
||||
|
||||
[dev-dependencies]
|
||||
# `cpu_seconds` for cem_expr_bench.
|
||||
horizon-bench = { path = "../horizon-bench" }
|
||||
horizon-system = { path = "../horizon-system" }
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
@@ -101,7 +101,7 @@ fn main() {
|
||||
let mut slots = vec![0.0f32; NAMES.len()];
|
||||
let frames = 2_000_000u32;
|
||||
let pid = std::process::id();
|
||||
let cpu = horizon_bench::cpu_seconds(pid);
|
||||
let cpu = horizon_system::cpu_seconds(pid);
|
||||
let start = Instant::now();
|
||||
for frame in 0..frames {
|
||||
// An entity walking in and out of water.
|
||||
@@ -125,7 +125,7 @@ fn main() {
|
||||
evals / elapsed / 1e6,
|
||||
elapsed * 1e6 / f64::from(frames),
|
||||
);
|
||||
match cpu.zip(horizon_bench::cpu_seconds(pid)) {
|
||||
match cpu.zip(horizon_system::cpu_seconds(pid)) {
|
||||
Some((before, after)) => println!(
|
||||
" cpu time {:.1} ns per expression, {:.2} us per entity frame",
|
||||
(after - before) * 1e9 / evals,
|
||||
|
||||
@@ -0,0 +1,267 @@
|
||||
//! The numeric fast path: a program of one expression whose every part is a number (constants,
|
||||
//! arithmetic, comparisons of numbers, math functions, ternaries and `root.method(...)` calls) is
|
||||
//! compiled again into a tree of `f64`s, which runs without the interpreter's `Value`s and
|
||||
//! `Result`s. It answers exactly what the interpreter would: anything that could tell them apart
|
||||
//! (strings, objects, `==` on a method's value, locals, game functions) keeps the interpreter.
|
||||
|
||||
use super::parse::{BinOp, Expr, Stmt};
|
||||
use super::{Field, Host, MathFn, Root, Value};
|
||||
use std::sync::Arc;
|
||||
|
||||
/// What a node gives: always a number, always a boolean, or whatever a host method answers.
|
||||
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
|
||||
enum Kind {
|
||||
Num,
|
||||
Bool,
|
||||
Unknown,
|
||||
}
|
||||
|
||||
/// A method argument, handed to the host as the interpreter would: a constant of any kind
|
||||
/// (`o.custom('glow')`), another method's own value, or a number or boolean.
|
||||
#[derive(Debug)]
|
||||
pub(super) enum Arg {
|
||||
Value(Value),
|
||||
Method(Num),
|
||||
Num(Num, bool),
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
pub(super) enum Num {
|
||||
Const(f64),
|
||||
Neg(Box<Num>),
|
||||
Not(Box<Num>),
|
||||
Bin(BinOp, Box<Num>, Box<Num>),
|
||||
And(Box<Num>, Box<Num>),
|
||||
Or(Box<Num>, Box<Num>),
|
||||
Cond(Box<Num>, Box<Num>, Box<Num>),
|
||||
Call(MathFn, Vec<Num>),
|
||||
Method(Root, Arc<str>, Vec<Arg>),
|
||||
/// A method without arguments the host may answer by [`Field`] (its name otherwise).
|
||||
Field(Root, Field, Arc<str>),
|
||||
}
|
||||
|
||||
/// The fast form of a whole program, with the kind of value it gives.
|
||||
#[derive(Debug)]
|
||||
pub(super) struct Fast {
|
||||
root: Num,
|
||||
kind: Kind,
|
||||
}
|
||||
|
||||
impl Fast {
|
||||
/// The fast form of a program, when it is one expression the fast path covers.
|
||||
pub(super) fn of(body: &[Stmt], locals: usize) -> Option<Self> {
|
||||
let [Stmt::Expr(e)] = body else {
|
||||
return None;
|
||||
};
|
||||
if locals != 0 {
|
||||
return None;
|
||||
}
|
||||
let root = Num::of(e)?;
|
||||
let kind = root.kind();
|
||||
// A method at the top hands back its own value; elsewhere the kind must be known.
|
||||
(kind != Kind::Unknown || matches!(root, Num::Method(..) | Num::Field(..)))
|
||||
.then_some(Self { root, kind })
|
||||
}
|
||||
|
||||
pub(super) fn eval(&self, host: &mut dyn Host) -> Result<Value, String> {
|
||||
match &self.root {
|
||||
Num::Method(root, name, args) => return call(host, *root, name, args),
|
||||
Num::Field(root, field, name) => return field_value(host, *root, *field, name),
|
||||
_ => {}
|
||||
}
|
||||
let n = self.root.eval(host)?;
|
||||
Ok(match self.kind {
|
||||
Kind::Bool => Value::Bool(n != 0.0),
|
||||
_ => Value::Num(n),
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
fn field_value(host: &mut dyn Host, root: Root, field: Field, name: &str) -> Result<Value, String> {
|
||||
match host.field(root, field) {
|
||||
Some(value) => Ok(value),
|
||||
None => call(host, root, name, &[]),
|
||||
}
|
||||
}
|
||||
|
||||
fn call(host: &mut dyn Host, root: Root, name: &str, args: &[Arg]) -> Result<Value, String> {
|
||||
const FEW: usize = 4;
|
||||
let target = host.root(root);
|
||||
if args.is_empty() {
|
||||
return host.method(&target, name, &[]);
|
||||
}
|
||||
let mut values: [Value; FEW] = std::array::from_fn(|_| Value::Null);
|
||||
if args.len() > FEW {
|
||||
let all = args
|
||||
.iter()
|
||||
.map(|a| a.value(host))
|
||||
.collect::<Result<Vec<_>, _>>()?;
|
||||
return host.method(&target, name, &all);
|
||||
}
|
||||
for (slot, arg) in values.iter_mut().zip(args) {
|
||||
*slot = arg.value(host)?;
|
||||
}
|
||||
host.method(&target, name, &values[..args.len()])
|
||||
}
|
||||
|
||||
impl Arg {
|
||||
fn value(&self, host: &mut dyn Host) -> Result<Value, String> {
|
||||
Ok(match self {
|
||||
Self::Value(v) => v.clone(),
|
||||
Self::Method(Num::Method(root, name, args)) => call(host, *root, name, args)?,
|
||||
Self::Method(Num::Field(root, field, name)) => field_value(host, *root, *field, name)?,
|
||||
Self::Method(n) | Self::Num(n, false) => Value::Num(n.eval(host)?),
|
||||
Self::Num(n, true) => Value::Bool(n.eval(host)? != 0.0),
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
/// Whether a subtree calls the host, whose answer may be no number.
|
||||
fn has_method(e: &Expr) -> bool {
|
||||
match e {
|
||||
Expr::Method(..) => true,
|
||||
Expr::Neg(a) | Expr::Not(a) => has_method(a),
|
||||
Expr::Binary(_, a, b) | Expr::And(a, b) | Expr::Or(a, b) => has_method(a) || has_method(b),
|
||||
Expr::Cond(c, a, b) => has_method(c) || has_method(a) || has_method(b),
|
||||
Expr::Call(_, args) | Expr::Host(_, args) => args.iter().any(has_method),
|
||||
_ => false,
|
||||
}
|
||||
}
|
||||
|
||||
impl Num {
|
||||
fn of(e: &Expr) -> Option<Self> {
|
||||
let boxed = |e: &Expr| Self::of(e).map(Box::new);
|
||||
Some(match e {
|
||||
Expr::Const(Value::Num(n)) => Self::Const(*n),
|
||||
Expr::Const(_) | Expr::Local(_) | Expr::Root(_) | Expr::Host(..) => return None,
|
||||
Expr::Neg(a) => Self::Neg(boxed(a)?),
|
||||
Expr::Not(a) => Self::Not(boxed(a)?),
|
||||
Expr::Binary(op, a, b) => {
|
||||
// `==` and `!=` also compare strings and objects: only between plain numbers.
|
||||
if matches!(op, BinOp::Eq | BinOp::Ne) && (has_method(a) || has_method(b)) {
|
||||
return None;
|
||||
}
|
||||
Self::Bin(*op, boxed(a)?, boxed(b)?)
|
||||
}
|
||||
Expr::And(a, b) => Self::And(boxed(a)?, boxed(b)?),
|
||||
Expr::Or(a, b) => Self::Or(boxed(a)?, boxed(b)?),
|
||||
Expr::Cond(c, a, b) => Self::Cond(boxed(c)?, boxed(a)?, boxed(b)?),
|
||||
Expr::Call(f, args) => {
|
||||
Self::Call(*f, args.iter().map(Self::of).collect::<Option<_>>()?)
|
||||
}
|
||||
Expr::Method(target, name, args) => {
|
||||
let Expr::Root(root) = **target else {
|
||||
return None;
|
||||
};
|
||||
if let (true, Some(field)) = (args.is_empty(), Field::of(name)) {
|
||||
return Some(Self::Field(root, field, name.clone()));
|
||||
}
|
||||
let args = args
|
||||
.iter()
|
||||
.map(|a| match a {
|
||||
Expr::Const(v) => Some(Arg::Value(v.clone())),
|
||||
other => {
|
||||
let n = Self::of(other)?;
|
||||
match n.kind() {
|
||||
Kind::Unknown
|
||||
if matches!(n, Self::Method(..) | Self::Field(..)) =>
|
||||
{
|
||||
Some(Arg::Method(n))
|
||||
}
|
||||
// A ternary between method values: the interpreter's own value.
|
||||
Kind::Unknown => None,
|
||||
kind => Some(Arg::Num(n, kind == Kind::Bool)),
|
||||
}
|
||||
}
|
||||
})
|
||||
.collect::<Option<_>>()?;
|
||||
Self::Method(root, name.clone(), args)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
fn kind(&self) -> Kind {
|
||||
match self {
|
||||
Self::Const(_) | Self::Neg(_) | Self::Call(..) => Kind::Num,
|
||||
Self::Bin(op, ..) => match op {
|
||||
BinOp::Eq | BinOp::Ne | BinOp::Lt | BinOp::Le | BinOp::Gt | BinOp::Ge => Kind::Bool,
|
||||
_ => Kind::Num,
|
||||
},
|
||||
Self::Not(_) | Self::And(..) | Self::Or(..) => Kind::Bool,
|
||||
Self::Cond(_, a, b) => match (a.kind(), b.kind()) {
|
||||
(x, y) if x == y => x,
|
||||
_ => Kind::Unknown,
|
||||
},
|
||||
Self::Method(..) | Self::Field(..) => Kind::Unknown,
|
||||
}
|
||||
}
|
||||
|
||||
/// The value as a number, as the interpreter's `Value::num` reads it.
|
||||
fn eval(&self, host: &mut dyn Host) -> Result<f64, String> {
|
||||
Ok(match self {
|
||||
Self::Const(n) => *n,
|
||||
Self::Neg(a) => -a.eval(host)?,
|
||||
Self::Not(a) => f64::from(u8::from(!a.truthy(host)?)),
|
||||
Self::Bin(op, a, b) => {
|
||||
let (x, y) = (a.eval(host)?, b.eval(host)?);
|
||||
let t = |b: bool| f64::from(u8::from(b));
|
||||
match op {
|
||||
BinOp::Add => x + y,
|
||||
BinOp::Sub => x - y,
|
||||
BinOp::Mul => x * y,
|
||||
BinOp::Div => x / y,
|
||||
BinOp::Rem => x % y,
|
||||
BinOp::Pow => x.powf(y),
|
||||
BinOp::Eq => t(x == y),
|
||||
BinOp::Ne => t(x != y),
|
||||
BinOp::Lt => t(x < y),
|
||||
BinOp::Le => t(x <= y),
|
||||
BinOp::Gt => t(x > y),
|
||||
BinOp::Ge => t(x >= y),
|
||||
}
|
||||
}
|
||||
Self::And(a, b) => f64::from(u8::from(a.truthy(host)? && b.truthy(host)?)),
|
||||
Self::Or(a, b) => f64::from(u8::from(a.truthy(host)? || b.truthy(host)?)),
|
||||
Self::Cond(c, a, b) => {
|
||||
if c.truthy(host)? {
|
||||
a.eval(host)?
|
||||
} else {
|
||||
b.eval(host)?
|
||||
}
|
||||
}
|
||||
Self::Call(f, args) if args.len() <= 4 => {
|
||||
let mut nums = [0.0; 4];
|
||||
for (slot, arg) in nums.iter_mut().zip(args) {
|
||||
*slot = arg.eval(host)?;
|
||||
}
|
||||
f(&nums[..args.len()])
|
||||
}
|
||||
Self::Call(f, args) => {
|
||||
let nums = args
|
||||
.iter()
|
||||
.map(|a| a.eval(host))
|
||||
.collect::<Result<Vec<_>, _>>()?;
|
||||
f(&nums)
|
||||
}
|
||||
Self::Method(root, name, args) => call(host, *root, name, args)?.num(),
|
||||
Self::Field(root, field, name) => field_value(host, *root, *field, name)?.num(),
|
||||
})
|
||||
}
|
||||
|
||||
/// The value's truth, as the interpreter's `Value::truthy` reads it: a method's own answer
|
||||
/// (a string or an object is true), else whether the number isn't 0.
|
||||
fn truthy(&self, host: &mut dyn Host) -> Result<bool, String> {
|
||||
match self {
|
||||
Self::Method(root, name, args) => Ok(call(host, *root, name, args)?.truthy()),
|
||||
Self::Field(root, field, name) => Ok(field_value(host, *root, *field, name)?.truthy()),
|
||||
Self::Cond(c, a, b) => {
|
||||
if c.truthy(host)? {
|
||||
a.truthy(host)
|
||||
} else {
|
||||
b.truthy(host)
|
||||
}
|
||||
}
|
||||
other => Ok(other.eval(host)? != 0.0),
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -3,6 +3,7 @@
|
||||
//! loads, with every name resolved, and then evaluated against a [`Host`], the game side that
|
||||
//! answers context objects (`o`, `p`, `g`...) and their methods.
|
||||
mod colors;
|
||||
mod fast;
|
||||
mod legacy;
|
||||
mod lex;
|
||||
mod parse;
|
||||
@@ -68,6 +69,36 @@ impl Root {
|
||||
}
|
||||
}
|
||||
|
||||
/// A method without arguments that expressions read most, resolved when the program compiles so
|
||||
/// a host can answer it without comparing names ([`Host::field`]).
|
||||
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
|
||||
pub enum Field {
|
||||
Age,
|
||||
Life,
|
||||
Custom,
|
||||
X,
|
||||
Y,
|
||||
Z,
|
||||
Temperature,
|
||||
Downfall,
|
||||
}
|
||||
|
||||
impl Field {
|
||||
pub(crate) fn of(name: &str) -> Option<Self> {
|
||||
Some(match name {
|
||||
"age" => Self::Age,
|
||||
"life" => Self::Life,
|
||||
"custom" => Self::Custom,
|
||||
"x" => Self::X,
|
||||
"y" => Self::Y,
|
||||
"z" => Self::Z,
|
||||
"temperature" => Self::Temperature,
|
||||
"downfall" => Self::Downfall,
|
||||
_ => return None,
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
/// What the game answers while an expression runs.
|
||||
pub trait Host {
|
||||
fn root(&mut self, root: Root) -> Value;
|
||||
@@ -76,6 +107,12 @@ pub trait Host {
|
||||
fn method(&mut self, target: &Value, name: &str, args: &[Value]) -> Result<Value, String>;
|
||||
/// A global function of the game's (`config`, `colormap`, `modOn`, `date*`).
|
||||
fn function(&mut self, name: &str, args: &[Value]) -> Result<Value, String>;
|
||||
/// `root.field()` answered without its name, or `None` to answer it through [`Self::method`]:
|
||||
/// a host that answers must give what `method` would.
|
||||
fn field(&mut self, root: Root, field: Field) -> Option<Value> {
|
||||
let _ = (root, field);
|
||||
None
|
||||
}
|
||||
}
|
||||
|
||||
type MathFn = fn(&[f64]) -> f64;
|
||||
@@ -139,13 +176,16 @@ pub(crate) const MATH: &[(&str, usize, usize, MathFn)] = &[
|
||||
pub struct Program {
|
||||
body: Vec<Stmt>,
|
||||
locals: usize,
|
||||
/// The same program on the numeric fast path, when it is one (`fast.rs`).
|
||||
fast: Option<fast::Fast>,
|
||||
}
|
||||
|
||||
impl Program {
|
||||
/// Parses `src`; a syntax error or an unknown name fails here.
|
||||
pub fn compile(src: &str) -> Result<Self, String> {
|
||||
let (body, locals) = parse::parse(src)?;
|
||||
Ok(Self { body, locals })
|
||||
let fast = fast::Fast::of(&body, locals);
|
||||
Ok(Self { body, locals, fast })
|
||||
}
|
||||
|
||||
/// Whether the program reads nothing of its context but the `root.name()` methods `allowed`
|
||||
@@ -185,6 +225,15 @@ impl Program {
|
||||
/// Runs the statements; the result is the last statement's value (an assignment's is the
|
||||
/// value it stored).
|
||||
pub fn eval(&self, host: &mut dyn Host) -> Result<Value, String> {
|
||||
if let Some(fast) = &self.fast {
|
||||
return fast.eval(host);
|
||||
}
|
||||
self.interpret(host)
|
||||
}
|
||||
|
||||
/// Runs the statements through the interpreter (what [`Self::eval`] does for a program the
|
||||
/// fast path doesn't cover).
|
||||
fn interpret(&self, host: &mut dyn Host) -> Result<Value, String> {
|
||||
let mut run = Run {
|
||||
host,
|
||||
locals: vec![Value::Null; self.locals],
|
||||
|
||||
@@ -231,3 +231,114 @@ fn reads_only_names_what_a_program_may_read() {
|
||||
assert!(!ok("r.noise(o.y, 0)"));
|
||||
assert!(!ok("config('pack:option')"));
|
||||
}
|
||||
|
||||
/// A host whose methods answer every kind of value, and record the arguments they get.
|
||||
struct Kinds {
|
||||
age: f64,
|
||||
seen: Vec<String>,
|
||||
/// Answers `o.age` and `o.life` by field too, as the particles' host does.
|
||||
fields: bool,
|
||||
}
|
||||
impl Host for Kinds {
|
||||
fn root(&mut self, root: Root) -> Value {
|
||||
match root {
|
||||
Root::Object => Value::Object(1),
|
||||
Root::Random => Value::Object(2),
|
||||
_ => Value::Object(3),
|
||||
}
|
||||
}
|
||||
fn method(&mut self, _: &Value, name: &str, args: &[Value]) -> Result<Value, String> {
|
||||
self.seen.push(format!("{name}{args:?}"));
|
||||
Ok(match name {
|
||||
"age" => Value::Num(self.age),
|
||||
"life" => Value::Num(140.0),
|
||||
"custom" => Value::Num(if args.is_empty() { 0.3 } else { 2.0 }),
|
||||
"inWater" => Value::Bool(self.age > 50.0),
|
||||
"biome" => Value::Str("minecraft:plains".into()),
|
||||
"empty" => Value::Str("".into()),
|
||||
"me" => Value::Object(7),
|
||||
"noise" => Value::Num(args.iter().map(Value::num).sum::<f64>().sin()),
|
||||
"fail" => return Err("no such thing".into()),
|
||||
_ => Value::Null,
|
||||
})
|
||||
}
|
||||
fn function(&mut self, _: &str, _: &[Value]) -> Result<Value, String> {
|
||||
Ok(Value::Null)
|
||||
}
|
||||
fn field(&mut self, root: Root, field: Field) -> Option<Value> {
|
||||
if !self.fields || root != Root::Object {
|
||||
return None;
|
||||
}
|
||||
match field {
|
||||
Field::Age => Some(Value::Num(self.age)),
|
||||
Field::Life => Some(Value::Num(140.0)),
|
||||
_ => None,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn the_fast_path_answers_what_the_interpreter_does() {
|
||||
let corpus = [
|
||||
"(0.7 + 0.3*sin(o.age*0.18 + o.custom*13000)) * min(o.age/(o.life*0.15),1)",
|
||||
"0.5+(r.noise(o.age/60,5+o.age/60)*0.55)",
|
||||
"o.age > 40",
|
||||
"o.age >= 40 && o.age < 90",
|
||||
"!(o.age > 3)",
|
||||
"o.age > 10 || o.fail",
|
||||
"o.age > 70 ? 1 : 0.25",
|
||||
"o.age > 70 ? o.age : o.life",
|
||||
"o.age > 70 ? o.biome : o.life",
|
||||
"o.inWater",
|
||||
"o.inWater ? 2 : 3",
|
||||
"!o.inWater",
|
||||
"o.biome ? 1 : 0",
|
||||
"o.empty ? 1 : 0",
|
||||
"o.me ? 1 : 0",
|
||||
"o.biome + 1",
|
||||
"-o.inWater",
|
||||
"o.custom('glow') + 1",
|
||||
"o.custom(o.age > 3)",
|
||||
"r.noise(o.inWater, 2)",
|
||||
"o.fail + 1",
|
||||
"o.age % 7 - 2 ^ 3",
|
||||
"clamp(o.age, 10, 20) / 0",
|
||||
"o.age == 3",
|
||||
"2 == 2",
|
||||
"1 != 2 ? o.age : 0",
|
||||
"max(o.age, o.life) - min(o.age, 1)",
|
||||
"o.age > 3 ? o.age > 5 : o.inWater",
|
||||
];
|
||||
for src in corpus {
|
||||
let program = Program::compile(src).unwrap();
|
||||
let cases = [0.0, 3.0, 45.0, 75.0, 139.0]
|
||||
.into_iter()
|
||||
.flat_map(|a| [(a, false), (a, true)]);
|
||||
for (age, fields) in cases {
|
||||
let mut fast_host = Kinds {
|
||||
age,
|
||||
seen: Vec::new(),
|
||||
fields,
|
||||
};
|
||||
let mut slow_host = Kinds {
|
||||
age,
|
||||
seen: Vec::new(),
|
||||
fields,
|
||||
};
|
||||
let fast = program.eval(&mut fast_host);
|
||||
let slow = program.interpret(&mut slow_host);
|
||||
let same = match (&fast, &slow) {
|
||||
(Ok(Value::Num(a)), Ok(Value::Num(b))) => a.to_bits() == b.to_bits(),
|
||||
(a, b) => a == b,
|
||||
};
|
||||
assert!(same, "{src} at {age}: fast {fast:?}, interpreter {slow:?}");
|
||||
// A field the host answers skips its call; the interpreter makes it by name.
|
||||
if !fields {
|
||||
assert_eq!(fast_host.seen, slow_host.seen, "{src} at {age}: the calls");
|
||||
}
|
||||
}
|
||||
}
|
||||
// The fast path covers the particles' and colormaps' plain arithmetic.
|
||||
assert!(Program::compile(corpus[0]).unwrap().fast.is_some());
|
||||
assert!(Program::compile(corpus[1]).unwrap().fast.is_some());
|
||||
}
|
||||
@@ -5,10 +5,13 @@
|
||||
//! Horizon layer (docs/layers.md#engine).
|
||||
//!
|
||||
//! Only what explains performance: no serial number, host name, user name or path is read. The
|
||||
//! slower probes (a command to run) are read once per process.
|
||||
//! slower probes (a command to run) are read once per process. [`scrub`] reads the user name only
|
||||
//! to take it out of text that leaves the machine (a telemetry item, a bug report's bundle).
|
||||
use std::path::Path;
|
||||
use std::sync::OnceLock;
|
||||
|
||||
pub mod scrub;
|
||||
|
||||
/// What `program args` prints, trimmed, when it succeeds and prints something. On Windows the
|
||||
/// program opens no console window: a GUI launcher or a game started without one would flash a
|
||||
/// terminal for every probe.
|
||||
@@ -229,7 +232,8 @@ fn os_version() -> Option<String> {
|
||||
}
|
||||
}
|
||||
|
||||
fn cpu() -> Option<String> {
|
||||
/// The CPU's name (`Apple M4 Pro`, `AMD Ryzen 7 7700X 8-Core Processor`).
|
||||
pub fn cpu() -> Option<String> {
|
||||
if cfg!(target_os = "linux") {
|
||||
read("/proc/cpuinfo").and_then(|t| linux_cpu_name(&t))
|
||||
} else if cfg!(target_os = "macos") {
|
||||
@@ -281,7 +285,8 @@ fn processor_name_from_reg_query(query: &str) -> Option<String> {
|
||||
})
|
||||
}
|
||||
|
||||
fn ram_bytes() -> Option<u64> {
|
||||
/// Installed memory, in bytes.
|
||||
pub fn ram_bytes() -> Option<u64> {
|
||||
if cfg!(target_os = "linux") {
|
||||
let kib = read("/proc/meminfo").and_then(|t| field(&t, "MemTotal"))?;
|
||||
kib.split_whitespace()
|
||||
@@ -740,6 +745,64 @@ impl Machine {
|
||||
}
|
||||
}
|
||||
|
||||
/// The one-minute load average: above about the number of threads the machine was busy.
|
||||
pub fn load_average() -> Option<f64> {
|
||||
if cfg!(target_os = "macos") {
|
||||
// "{ 1.23 1.10 1.00 }"
|
||||
command_output("sysctl", &["-n", "vm.loadavg"])?
|
||||
.trim_start_matches('{')
|
||||
.split_whitespace()
|
||||
.next()?
|
||||
.parse()
|
||||
.ok()
|
||||
} else {
|
||||
std::fs::read_to_string("/proc/loadavg")
|
||||
.ok()?
|
||||
.split_whitespace()
|
||||
.next()?
|
||||
.parse()
|
||||
.ok()
|
||||
}
|
||||
}
|
||||
|
||||
/// Resident memory of a process, in bytes (macOS, Linux).
|
||||
pub fn rss_bytes(pid: u32) -> Option<u64> {
|
||||
if cfg!(target_os = "macos") {
|
||||
return command_output("ps", &["-o", "rss=", "-p", &pid.to_string()])?
|
||||
.parse::<u64>()
|
||||
.ok()
|
||||
.map(|kb| kb * 1024);
|
||||
}
|
||||
let status = std::fs::read_to_string(format!("/proc/{pid}/status")).ok()?;
|
||||
let line = status.lines().find(|l| l.starts_with("VmRSS:"))?;
|
||||
line.split_whitespace()
|
||||
.nth(1)?
|
||||
.parse::<u64>()
|
||||
.ok()
|
||||
.map(|kb| kb * 1024)
|
||||
}
|
||||
|
||||
/// CPU time a process has used, user and system, in seconds (macOS, Linux).
|
||||
pub fn cpu_seconds(pid: u32) -> Option<f64> {
|
||||
if cfg!(target_os = "macos") {
|
||||
// "[[dd-]hh:]mm:ss.cc"
|
||||
let time = command_output("ps", &["-o", "time=", "-p", &pid.to_string()])?;
|
||||
let (rest, days) = match time.split_once('-') {
|
||||
Some((d, rest)) => (rest.to_owned(), d.parse::<f64>().ok()?),
|
||||
None => (time, 0.0),
|
||||
};
|
||||
let seconds = rest.split(':').try_fold(0.0, |acc, part| {
|
||||
part.parse::<f64>().ok().map(|v| acc * 60.0 + v)
|
||||
})?;
|
||||
return Some(days * 86_400.0 + seconds);
|
||||
}
|
||||
// utime and stime, fields 14 and 15, in clock ticks (100 per second on Linux).
|
||||
let stat = std::fs::read_to_string(format!("/proc/{pid}/stat")).ok()?;
|
||||
let fields: Vec<&str> = stat.rsplit_once(')')?.1.split_whitespace().collect();
|
||||
let ticks: f64 = fields.get(11)?.parse::<f64>().ok()? + fields.get(12)?.parse::<f64>().ok()?;
|
||||
Some(ticks / 100.0)
|
||||
}
|
||||
|
||||
/// The GPU's maker from its name and the vendor ID wgpu reports (0: none, as on Metal).
|
||||
pub fn gpu_vendor(name: &str, vendor_id: u32) -> &'static str {
|
||||
match vendor_id {
|
||||
@@ -1005,4 +1068,13 @@ mod tests {
|
||||
let dir = std::env::temp_dir();
|
||||
assert!(["", "nvme", "ssd", "hdd"].contains(&Machine::detect_in(Some(&dir)).storage));
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn this_process_is_measured() {
|
||||
if cfg!(any(target_os = "macos", target_os = "linux")) {
|
||||
assert!(load_average().is_some());
|
||||
assert!(rss_bytes(std::process::id()).unwrap() > 1 << 20);
|
||||
assert!(cpu_seconds(std::process::id()).unwrap() >= 0.0);
|
||||
}
|
||||
}
|
||||
}
|
||||
File renamed without changes.
@@ -18,11 +18,13 @@ pub mod consent;
|
||||
pub mod live;
|
||||
pub mod outbox;
|
||||
pub mod payload;
|
||||
pub mod scrub;
|
||||
pub mod server_status;
|
||||
/// The machine's probes, from the platform (`horizon-system`). Kept at this path for the
|
||||
/// launcher and the benchmark.
|
||||
pub use horizon_platform::system;
|
||||
/// Takes private text out before it leaves (`horizon_system::scrub`). Kept at this path for the
|
||||
/// launcher.
|
||||
pub use horizon_platform::system::scrub;
|
||||
#[cfg(feature = "upload")]
|
||||
pub mod upload;
|
||||
|
||||
|
||||
+1
-1
@@ -45,7 +45,7 @@ Every setting applies at once, except worker threads, the graphics API and trans
|
||||
|
||||
**Translucent batching** (Advanced, after Graphics API; on by default, `batchTranslucent` in `horizon-graphics.txt`, a new key so that the `translucentBatching:false` earlier builds saved for everyone doesn't keep it off; it applies at the next start or resource reload, and is no part of a preset) gives water, glass, ice and other translucent quads a vertex buffer of their own, with pages up to 2 GiB, and their sorted indices the same: the back-to-front list then stays in one page and goes out in a few draw calls instead of switching pages every few sections. The picture is the same and frames come faster, most over water and at high render distances (RTX 4090 at 1080p: 4 to 16% more FPS at render distance 32; over the ocean at 64, 354 draw calls a frame instead of 3,832 and 43% more FPS); it costs a little video memory, as solid and translucent quads no longer share free space (terrain meshes take 1 to 15% more at render distance 32, 5 to 10% more at 64). The large pages shrink once the view has settled (a second after terrain stops arriving): one much larger than what it holds, as after a teleport or a lower render distance, moves into a page of the right size, about 32 MiB a frame. It needs indirect multi-draw that isn't OpenGL's (which loops over the entries on the CPU), and devices whose vanilla frames draw flat (Metal, Intel Gen11 and Gen12 on Vulkan) don't offer it: there the switch is greyed out and reads Off, and macOS doesn't show it. A `shaders/` pack's terrain and shadow passes, and the `[shadow]` pass of one of Horizon's own packs, draw flat where the device can, reading translucent quads beside their section's solid ones: while such a pack runs they go back there. Such a pack picked at the start has the world laid out for it from the first; switching to or from one later meshes the world again.
|
||||
|
||||
**HDR** has its own page and three choices: **Off** (the default) keeps SDR; **On** uses HDR wherever the display path offers it; **Auto** uses HDR only while the system reports HDR active for the window's display and an HDR output is offered, otherwise SDR. On is unavailable where no HDR output is offered; Auto stays selectable before the system is queried, including on an SDR display. The controls below work only while HDR is active. The existing `hdr` key in `horizon-graphics.txt` saves On as `true`, Off as `false`, and Auto as `auto`; old boolean files keep their meaning, and older builds ignore `auto` and keep their Off default. It presents to an HDR10 swapchain (`Rgb10a2Unorm`, BT.2020 with the PQ curve) or, where only that is offered, an scRGB one (`Rgba16Float`, extended linear sRGB), on displays and compositors that offer either; `HORIZON_HDR_OUTPUT=pq` or `scrgb` allows only one, and offers it to an `--offscreen` run, which has no display to ask: there HDR is drawn and screenshotted (the `-hdr.png` below) but not presented, and automatic brightness takes 203 and 1000 nits, so HDR can be checked without an HDR display. The frame is drawn exactly as in SDR, in vanilla's gamma space (into a 16-bit target (`Rgba16Unorm`, which clips at white after every pass as the 8-bit one does) when HDR is on as the renderer is made, at the start or a resource reload, with **Smooth Gradients** on (the default, `hdrSmoothGradients`; off, the 8-bit frame) and where the device can draw into it, else an 8-bit one; HDR switched off after that keeps the 16-bit frame and copies it to the 8-bit swapchain, without frame generation, until the next start; with `HORIZON_HDR_FRAME=float` the frame follows HDR, Smooth Gradients and the picked pack unless it was refused, is missing or its owner mod is off (the renderer is made again on the same device before the next frame, and the world meshed again), and with no shader pack or a 0.2 one, where the device can keep the HUD on a layer of its own, a float one (`Rgba16Float`) takes the 16-bit one's place whatever Smooth Gradients is: the world's shaders write light past white into it themselves, and it holds no marks (below)), and a last pass (`hdr.wgsl`) decodes it to linear light at the **Paper White** and lifts light sources (blocks that emit light, lava, the sun and the moon) towards the **Peak Brightness**; everything else stays as in SDR. The mesher puts the light a block's face emits in its vertex colour's alpha (`EMISSION_BITS`), the frame's alpha carries the mark, and only pixels that still show the world before the hand and HUD are lifted. On Vulkan, `horizon-hdr` sends HDR metadata (MaxCLL and mastering luminance at the peak, MaxFALL as 0, unknown, since a frame's average isn't known ahead of it), which wgpu doesn't: without it a compositor may clip everything above SDR white. Paper White and Peak Brightness are **Auto** by default: they follow what the system reports for the display. Set by hand, on the slider and in calibration alike, Paper White runs from 10 to 480 nits by 10, and Peak Brightness from 200 to 2000 nits by 50, where most displays' peaks are, then by 500 up to PQ's 10 000, for displays that are brighter or tone-map the signal themselves; `hdrPeak` keeps any value from 200 to 10 000. On Wayland that's the compositor's preferred image description of the window (`wp_color_management_v1`, in `horizon-hdr`'s `wayland.rs`), watched while HDR is On or Auto (Off does not ask the system); the preferred target peak above reference white reports HDR headroom, so a move to another output or a recalibrated desktop applies at once. KWin maps the content's reference white (203 nits) onto the desktop's SDR white, so Auto puts Paper White at 203 and Peak Brightness at the display's peak over that ratio; Hyprland (0.57) doesn't: it reports the standard 203 as reference white, so Auto puts Paper White at 203, and it shows HDR windows below its own SDR white (`sdr_max_luminance`, which it doesn't report): in a test, a white browser page was brighter than both the game's white and a 1000-nit patch in mpv. Other compositors are unchecked. On Windows Auto takes what wgpu reads from the OS (`Surface::display_hdr_info`: DXGI's `MaxLuminance` and the SDR white level of Windows' SDR content brightness slider, both absolute nits), read again every 2 seconds since no event says they changed; the same reading's current output colour-space state drives Auto (an offered Direct3D 12 HDR10 swapchain alone does not). macOS reports potential EDR headroom, fixed for a display rather than following desktop brightness: Auto uses it above 1, or stays SDR if it is missing or invalid. macOS reports no absolute nits or separate HDR-mode flag. X11, OpenGL, other paths without a report and offscreen runs keep Auto in SDR. Windows' luminance readings often come from the display's EDID and may run optimistic, and this is untested so far. **Calibrate...** (`hdr_calibration.rs`) sets Black Level, Peak Line truncated
|
||||
**HDR** has its own page and three choices: **Off** (the default) keeps SDR; **On** uses HDR wherever the display path offers it; **Auto** uses HDR only while the system reports HDR active for the window's display and an HDR output is offered, otherwise SDR. On is unavailable where no HDR output is offered; Auto stays selectable before the system is queried, including on an SDR display. The controls below work only while HDR is active. The existing `hdr` key in `horizon-graphics.txt` saves On as `true`, Off as `false`, and Auto as `auto`; old boolean files keep their meaning, and older builds ignore `auto` and keep their Off default. It presents to an HDR10 swapchain (`Rgb10a2Unorm`, BT.2020 with the PQ curve) or, where only that is offered, an scRGB one (`Rgba16Float`, extended linear sRGB), on displays and compositors that offer either; `HORIZON_HDR_OUTPUT=pq` or `scrgb` allows only one, and offers it to an `--offscreen` run, which has no display to ask: there HDR is drawn and screenshotted (the `-hdr.png` below) but not presented, and automatic brightness takes 203 and 1000 nits, so HDR can be checked without an HDR display. The frame is drawn exactly as in SDR, in vanilla's gamma space (into a 16-bit target (`Rgba16Unorm`, which clips at white after every pass as the 8-bit one does) when HDR is on as the renderer is made, at the start or a resource reload, with **Smooth Gradients** on (the default, `hdrSmoothGradients`; off, the 8-bit frame) and where the device can draw into it, else an 8-bit one; HDR switched off after that keeps the 16-bit frame and copies it to the 8-bit swapchain, without frame generation, until the next start; with `HORIZON_HDR_FRAME=float` the frame follows HDR, Smooth Gradients and the picked pack unless it was refused, is missing or its owner mod is off (the renderer is made again on the same device before the next frame, and the world meshed again), and with no shader pack or a 0.2 one, where the device can keep the HUD on a layer of its own, a float one (`Rgba16Float`) takes the 16-bit one's place whatever Smooth Gradients is: the world's shaders write light past white into it themselves, and it holds no marks (below)), and a last pass (`hdr.wgsl`) decodes it to linear light at the **Paper White** and lifts light sources (blocks that emit light, lava, the sun and the moon) towards the **Peak Brightness**; everything else stays as in SDR. The mesher puts the light a block's face emits in its vertex colour's alpha (`EMISSION_BITS`), the frame's alpha carries the mark, and only pixels that still show the world before the hand and HUD are lifted. On Vulkan, `horizon-hdr` sends HDR metadata (MaxCLL and mastering luminance at the peak, MaxFALL as 0, unknown, since a frame's average isn't known ahead of it), which wgpu doesn't: without it a compositor may clip everything above SDR white. Paper White and Peak Brightness are **Auto** by default: they follow what the system reports for the display. Set by hand, on the slider and in calibration alike, Paper White runs from 10 to 480 nits by 10, and Peak Brightness from 200 to 2000 nits by 50, where most displays' peaks are, then by 500 up to PQ's 10 000, for displays that are brighter or tone-map the signal themselves; `hdrPeak` keeps any value from 200 to 10 000. On Wayland that's the compositor's preferred image description of the window (`wp_color_management_v1`, in `horizon-hdr`'s `wayland.rs`), watched while HDR is On or Auto (Off does not ask the system); the preferred target peak above reference white reports HDR headroom, so a move to another output or a recalibrated desktop applies at once. KWin maps the content's reference white (203 nits) onto the desktop's SDR white, so Auto puts Paper White at 203 and Peak Brightness at the display's peak over that ratio; Hyprland (0.57) doesn't: it reports the standard 203 as reference white, so Auto puts Paper White at 203, and it shows HDR windows below its own SDR white (`sdr_max_luminance`, which it doesn't report): in a test, a white browser page was brighter than both the game's white and a 1000-nit patch in mpv. Other compositors are unchecked. On Windows Auto takes what wgpu reads from the OS (`Surface::display_hdr_info`: DXGI's `MaxLuminance` and the SDR white level of Windows' SDR content brightness slider, both absolute nits), read again every 2 seconds since no event says they changed; the same reading's current output colour-space state drives Auto (an offered Direct3D 12 HDR10 swapchain alone does not). macOS reports potential EDR headroom, fixed for a display rather than following desktop brightness: Auto uses it above 1, or stays SDR if it is missing or invalid. macOS reports no absolute nits or separate HDR-mode flag. X11, OpenGL, other paths without a report and offscreen runs keep Auto in SDR. Windows' SDR white is the player's own slider, but its peak is mostly the display's EDID figure, which often runs high: Auto still uses it, over the 1000-nit default, but the HDR Line truncated
|
||||
|
||||
With `HORIZON_HDR_FRAME=float`, HDR on and no shader pack or a 0.2 one, devices with independent blending draw the frame in layers ([hdr-linear-light.md](design/hdr-linear-light.md), The HUD and menus). The world's shaders write their own light into the frame instead of a mark (`hdr_written`, `hdr_light.wgsl`), a whole frame at a time, so glass, water, clouds and particles each lay their own light over the light behind them. Improved Transparency's layers write their own light too, before they are weighted and composited. No float frame holds marks: under a 0.2 pack Horizon's own draws keep their colour, alpha 1 where opaque and coverage where blended, HDR output lifts nothing, and the pack's `[tonemap]` takes the tone curve's place below (one or the other runs, never both); without the HUD layer (HDR off, or a device without independent blending) its float frame finishes on the swapchain's 8 bits before the camera overlays, which then draw with the HUD as in SDR, and HDR output stays off. The camera overlays (vignette, pumpkin, powder snow, portal, nausea), post effects and entity outlines draw on light. After the post effects and before the camera overlays, the tone curve eases that light into the peak (`Hdr::tonemap`) in place of HDR lighting's own easing and the light sources' cap at the peak: up to 60% of the peak light stays as it is, and above it ITU-R BT.2390's EETF in PQ rolls it off, on its brightest channel so it keeps its hue. The HUD and menus then draw on an 8-bit target of their own, the world clipped to white, as they found the frame before (each draw clips at white as there), and write how much of the world they hide into an R8 coverage target. The last pass lays the HUD over the world's light by that coverage, in gamma as the HUD blends: light behind see-through HUD shows as vanilla weights the HUD over it, and none shows through what covers it. The menu blur blurs that picture, light above white included, and the menu draws over the result. UI Brightness scales the HUD's own part, not the world under it. A screenshot maps the world's light into SDR, unchanged up to 0.6 of paper white in linear light and smoothly rolled towards white above it, with one scale for all RGB channels to keep their hue (where Horizon lifts nothing, with HDR Lighting off or under a 0.2 pack, the world is clipped at white as SDR draws it); the HUD's own part stays as drawn, whatever UI Brightness is, over the mapped world by its coverage. The world's icon uses the same mapping without the HUD; the `-hdr.png` beside a screenshot keeps the whole HDR picture. `HORIZON_HDR_DEBUG=coverage` tints the coverage magenta for inspection.
|
||||
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@ plan are in [server.md](server.md).
|
||||
takes the account's UUID when someone owns that name, as vanilla does, and that player is then refused.
|
||||
- **An offline server** (`online_mode = false`) never checks accounts: anyone who reaches it can join under
|
||||
any name. Keep it on your LAN or a tailnet (Tailscale, ZeroTier), or share it only with friends you trust.
|
||||
A Horizon player under an offline name can join only such a server.
|
||||
A Horizon game started without a session (no network at Play) can join only such a server.
|
||||
- **Secure chat** works as on vanilla's server: in online mode, vanilla clients and Horizon's (Nightly
|
||||
2026-11-01 and newer) sign their chat, and with `enforce-secure-profile=true` (the default) unsigned chat is
|
||||
refused. On an offline server, or for a player without a chat session, chat stays unsigned and shows as not
|
||||
|
||||
@@ -188,7 +188,7 @@ MCP: `account_sign_out`, needs `confirm: true`.
|
||||
|
||||
## `horizon-launcher account select`
|
||||
|
||||
Play as this account, or as one of your offline names.
|
||||
Play as this account.
|
||||
|
||||
horizon-launcher account select <WHO>
|
||||
|
||||
@@ -196,41 +196,6 @@ Play as this account, or as one of your offline names.
|
||||
|
||||
MCP: `account_select`.
|
||||
|
||||
## `horizon-launcher account offline`
|
||||
|
||||
Play offline (LAN, offline-mode servers) beside a signed-in account that owns the game: as NAME (kept to switch back to; 3 to 16 letters, digits or _), or as the name the game made up.
|
||||
|
||||
horizon-launcher account offline [NAME]
|
||||
|
||||
- `NAME`
|
||||
|
||||
MCP: `account_offline`.
|
||||
|
||||
## `horizon-launcher account forget-offline`
|
||||
|
||||
Forget one of your offline names; its skin and cape go with it.
|
||||
|
||||
horizon-launcher account forget-offline <NAME>
|
||||
|
||||
- `NAME`
|
||||
|
||||
MCP: `account_forget_offline`.
|
||||
|
||||
## `horizon-launcher account skin`
|
||||
|
||||
Show or set an offline name's skin and cape: a 64x64 (or 64x32) skin PNG, a 64x32 cape PNG, the model. Kept by the launcher and given to the game when that name plays.
|
||||
|
||||
horizon-launcher account skin <NAME> [FILE]
|
||||
|
||||
- `NAME`
|
||||
- `FILE`: The skin's PNG
|
||||
- `--model`: classic or slim arms
|
||||
- `--cape`: The cape's PNG
|
||||
- `--no-skin`: Back to the default skin
|
||||
- `--no-cape`: Take the cape off
|
||||
|
||||
MCP: `account_skin`.
|
||||
|
||||
## `horizon-launcher settings`
|
||||
|
||||
Show the launcher's settings, or set one (the Settings page): selected-version TAG, game-architecture auto|x64|arm64, minecraft-dir PATH, server-dir PATH ("default" resets a folder), install-new-versions on|off, prune-old-versions on|off (delete old versions after an install, keeping the selected one, the ones instances use and the newest few), keep-versions N (how many of the newest to keep; "default" is 2), opening-animation on|off, proxy http://host:port|socks5://host:port ("default" removes it), while-playing stay|minimize|hide (what the window does while the game runs), language system|en|fr|ru|de|zh|es|uk|pl (the window's language; system follows the computer's), accent violet|blue|teal|green|amber|red|pink|#rrggbb|DEGREES (a named accent, any colour, or any hue), background PATH (a picture behind Home; "default" shows Horizon's landscape), native-cache-gib N (combined native compilation cache limit in GiB, default 30; 0 disables automatic cleanup), native-profile performance|dev|release (the profile native mods build with: performance is incremental, dev rebuilds a mod quickest for a slow game, release is slowest to build and slightly faster to play).
|
||||
|
||||
@@ -423,6 +423,78 @@ pub trait Layer: Sync {
|
||||
- Sprites, items and the player's state come with their platform API (M6). They are not in this first
|
||||
version.
|
||||
|
||||
### Look (`horizon_platform::look`)
|
||||
|
||||
What the engine draws differently for a crate above, as plain data: PvP & HUD's knobs today (#14217).
|
||||
|
||||
```rust
|
||||
pub struct Look { // #[non_exhaustive]; Default is vanilla's
|
||||
pub legacy_pose: bool, pub hide_attack_indicator: bool,
|
||||
pub mute_attack_sounds: bool, pub hide_attack_particles: bool,
|
||||
pub frame: Frame, // outline, hurt overlay and glint colours
|
||||
pub shield_size: u8, pub totem_scale: f32, pub fire_lower: f32,
|
||||
pub clear_lava: bool, pub clear_water: bool, pub chat: Chat,
|
||||
pub hide_effect_icons: bool, pub time_of_day: Option<i64>, pub weather: Option<(f32, f32)>,
|
||||
}
|
||||
pub fn update(change: impl FnOnce(&mut Look)); // the player whose turn it is (`seat()`)
|
||||
```
|
||||
|
||||
- Pushed, not asked: a crate changes its own fields when its settings load or change (several crates share the
|
||||
look, each keeping to its fields), and the engine reads it where it draws (`game/look.rs`, the only reader).
|
||||
Nothing is called per frame, and a seat nothing changed sees vanilla's.
|
||||
- A knob is named by what it changes in the picture or the sound, never by the feature that uses it. A new knob
|
||||
is a field added with vanilla's value as its default.
|
||||
|
||||
### Container screens (`horizon_platform::containers`)
|
||||
|
||||
Input and drawing on an open container screen (the inventory, chests, furnaces, crafting tables...), for the
|
||||
extras that act on one: Mouse Tweaks and sorting (M5).
|
||||
|
||||
```rust
|
||||
/// The open screen's menu, for the length of one call. The engine implements it.
|
||||
pub trait Container {
|
||||
fn menu(&self) -> &str; // "inventory", "minecraft:generic_9x3", "minecraft:furnace"...
|
||||
fn slots(&self) -> Vec<Slot>; // every slot drawn, in the screen's order
|
||||
fn stack(&mut self, slot: SlotId) -> Option<Stack>;
|
||||
fn carried(&self) -> Option<Stack>; // the stack on the cursor
|
||||
fn takes_one(&mut self, slot: SlotId, of: &Stack) -> bool; // the menu's rules: mayPlace, the slot's limit
|
||||
fn landing(&mut self, slot: SlotId) -> Vec<SlotId>; // where quickMoveStack would put its items
|
||||
fn click(&mut self, slot: SlotId, click: Click) -> bool; // one ordinary click, as vanilla sends it
|
||||
fn spread(&self) -> usize; // the slots vanilla's quick craft drag covers now
|
||||
fn cursor(&self) -> (f32, f32); // GUI pixels, from the panel's corner
|
||||
fn shift(&self) -> bool;
|
||||
fn order(&mut self, slot: SlotId) -> (u32, String); // the creative tabs' order and the shown name
|
||||
}
|
||||
pub struct SlotId(pub u32); // opaque, stable while the screen is open
|
||||
pub struct Slot { pub id: SlotId, pub role: Role, pub x: f32, pub y: f32 } // top left, from the panel's corner
|
||||
pub enum Role { Hotbar, Inventory, Storage, Input, Result, Equipment, Other } // a crafting grid is Input
|
||||
pub struct Stack { pub item: String, pub count: u32, pub max: u32, pub kind: u64 } // kind: equal for the same item and components
|
||||
pub enum Click { Pick { right: bool }, QuickMove, Put { one: bool } } // Put: a one-slot QUICK_CRAFT drag
|
||||
|
||||
// In `Hooks`, each `false` (or nothing) by default, so vanilla's handling runs:
|
||||
fn container_press(&self, c: &mut dyn Container, slot: Option<SlotId>, right: bool) -> bool;
|
||||
fn container_drag(&self, c: &mut dyn Container, slot: Option<SlotId>) -> bool; // the cursor moved, a button held
|
||||
fn container_release(&self, c: &mut dyn Container);
|
||||
fn container_wheel(&self, c: &mut dyn Container, slot: Option<SlotId>, steps: f32) -> bool;
|
||||
fn container_key(&self, c: &mut dyn Container, slot: Option<SlotId>, key: &str) -> bool; // `key.keyboard.r`, `key.mouse.middle`
|
||||
fn container_draw(&self, c: &dyn Container, canvas: &mut dyn hud::Canvas); // over the panel, from its corner
|
||||
```
|
||||
|
||||
- `true` means the hook took the input: vanilla's press, drag or wheel doesn't run, and a press or drag taken
|
||||
ends vanilla's quick craft drag, as Mouse Tweaks' right-drag replaces it. Every hook hears `release`. The
|
||||
first hook that returns `true` wins.
|
||||
- Each `click` is an ordinary slot click: the menu engine's on the player's own world, a `ContainerClick` on a
|
||||
server. So an extra built on it works wherever vanilla's clicks do, and anticheats see vanilla's packets.
|
||||
- The engine offers every menu screen's slots; the crate decides which menus it acts in, by `menu()` (Mouse
|
||||
Tweaks stays out of those whose slots cost or trigger something: anvils, enchanting, merchants, beacons,
|
||||
crafters). Creative's tabs are no container screen.
|
||||
- The reads that ask the menu's rules take `&mut self`, as the engine's do; drawing gets `&dyn Container`,
|
||||
so it reads the rest only.
|
||||
- The engine builds a `Container` only when a hook is registered and a container screen gets input or draws.
|
||||
Without one there is no cost, and vanilla's handling is unchanged.
|
||||
- `order` is the only text: Sorting ranks by it. The rest is ids and numbers, so the API names no engine type
|
||||
(`ItemStack` stays in the engine).
|
||||
|
||||
## Extras that may leave the game
|
||||
|
||||
Horizon's extras are Horizon-layer code. Each one is a candidate to become an optional native mod that players add
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
|
||||
Horizon signs players in with their Microsoft account in the launcher and joins online-mode
|
||||
(authenticated) servers like vanilla 26.3 does. The launcher plays only with an account that owns
|
||||
Minecraft: Java Edition ([the owner gate](#the-owner-gate)); offline names, LAN and offline-mode
|
||||
servers play behind it. This note is the design, the status of each part and what Ludovic has to
|
||||
register.
|
||||
Minecraft: Java Edition ([the owner gate](#the-owner-gate)), as that account, on LAN and
|
||||
offline-mode servers too. There are no offline names. This note is the design, the status of each
|
||||
part and what Ludovic has to register.
|
||||
|
||||
## What Ludovic registers (needs his accounts)
|
||||
|
||||
@@ -87,7 +87,7 @@ possible; the launcher just doesn't offer it on its own.
|
||||
says "Sign in with a Microsoft account that owns Minecraft: Java Edition to play", with Sign in.
|
||||
- **The window says it once.** A player without an owner (one who played offline until now) sees
|
||||
the gate's screen once when the launcher opens: why Horizon needs the account ("like other
|
||||
launchers"), that worlds, offline names and settings stay where they are, and Sign in, which shows
|
||||
launchers"), and Sign in, which shows
|
||||
the device code on the same screen. It comes back whenever Play is refused; Not now closes it,
|
||||
and Home keeps a Sign in row (`launcher/src/owner_page.rs`).
|
||||
- **The answer lives with the tokens.** Each account's keychain item keeps the last answer
|
||||
@@ -96,8 +96,13 @@ possible; the launcher just doesn't offer it on its own.
|
||||
`secret-tool` or Keychain Access. With no network (or a sign-in that can't be renewed) the
|
||||
last answer stands: being offline never blocks a player who passed before, and the game starts
|
||||
without a session, offline. An answer of "doesn't own" (or no profile) blocks at once.
|
||||
- **Offline names play behind an owner.** They can be added and played only while an owning
|
||||
account is signed in. Signing the last one out keeps them, and they play again once one is back.
|
||||
- **The account that plays owns the game.** The game plays as the selected account (else the
|
||||
first), which must own the game itself: another account's ownership doesn't let it play
|
||||
(`account::launch_for_game`). The project decided on 2026-11-09 that Horizon plays only with a
|
||||
Microsoft account that owns Minecraft: Java Edition: the offline names, their skins and capes,
|
||||
and 0.2.58's hidden developer option are gone. Files from older launchers still load; the next
|
||||
save drops them (`offline`, `offline_selected`, `looks` and `skins/` in accounts.json's folder,
|
||||
`dev_offline` in settings.json).
|
||||
- **Who isn't affected:** the game binary itself (`horizon-client`, `horizon-ctl launch`, the
|
||||
harnesses, CI), the dedicated server and `horizon-server`, the website. There is no bypass flag:
|
||||
the launcher's tests use accounts in a memory store (`MemoryStore`, and `HORIZON_NO_KEYCHAIN`
|
||||
@@ -230,7 +235,7 @@ Progress is public metadata and does not expose credentials through the UI or MC
|
||||
name the expected player. Signing in to a different account is rejected before storing its
|
||||
credentials or adding/selecting that identity. Retry keeps the same target; Cancel leaves the
|
||||
saved account alone. Successful re-sign-in restores that account without changing the player
|
||||
or offline name currently selected for Play. Adding a new account remains a separate action.
|
||||
currently selected for Play. Adding a new account remains a separate action.
|
||||
|
||||
## Handing the session to the game
|
||||
|
||||
@@ -287,7 +292,8 @@ Code: `horizon-protocol` (`rsa.rs`, `crypto::server_hash`), `horizon-client` (`a
|
||||
|
||||
Horizon's dedicated server verifies players when `online-mode=true`. A LAN or Play with Friends world
|
||||
verifies its guests when the host is signed in, as vanilla's `IntegratedServer` does
|
||||
(`OnlineMode::lan`); under an offline name it stays offline-mode. The host's own player joins through
|
||||
(`OnlineMode::lan`); started without a session (the services couldn't be reached at Play) it
|
||||
stays offline-mode. The host's own player joins through
|
||||
memory and is never asked to authenticate.
|
||||
|
||||
`HORIZON_API_DISCOVERY` overrides the discovery URL, the counterpart of authlib's
|
||||
|
||||
@@ -115,8 +115,8 @@ run at once there, and each must finish within 10 seconds however slowly its byt
|
||||
|
||||
Like LAN, and like vanilla's `IntegratedServer`: a host signed in with a Microsoft account runs the world
|
||||
in online mode, so each guest signs in through Mojang's session servers and arrives with their own
|
||||
UUID, skin and cape. A host playing under an offline name runs it in offline mode, where a guest joins
|
||||
with the name their game uses. Either way the host's own profile is reserved. Every tunnelled guest
|
||||
UUID, skin and cape. A host playing without a session (the services couldn't be reached at Play) runs it in
|
||||
offline mode, where a guest joins with the name their game uses. Either way the host's own profile is reserved. Every tunnelled guest
|
||||
reaches the integrated server from `127.0.0.1`.
|
||||
|
||||
## Relays (optional)
|
||||
|
||||
+7
-19
@@ -160,15 +160,11 @@ The opening, then Play ([clip](docs/opening.webm)):
|
||||
(`horizon_launcher::shortcut`). **Remove shortcut** moves it to the trash; it is found by the
|
||||
instance id inside it, so a rename doesn't lose it. `horizon-launcher instance shortcut
|
||||
[instance] [--remove]`; `HORIZON_LAUNCHER_DESKTOP` points it at another folder.
|
||||
- **Accounts and quick switch**: the top bar's account chip opens a menu of everyone who can play:
|
||||
each signed-in Microsoft account, the offline names the player keeps, and the name the game
|
||||
made up (`horizon-player.txt`). Picking one plays as it from the next Play. Offline names play
|
||||
only while an account that owns the game is signed in ([Microsoft accounts](#microsoft-accounts));
|
||||
signing the last one out keeps them, unplayable until one is back. Settings > Account
|
||||
adds offline names (3 to 16 letters, digits or `_`; the game gets `--name`) and forgets them,
|
||||
skin and cape files included, and rolls the game's made-up name for a new one; the Console's
|
||||
Share log takes the names out of the log too. `horizon-launcher account offline
|
||||
[NAME]`, `account select <name>` (an account or an offline name), `account forget-offline
|
||||
- **Accounts and quick switch**: the top bar's account chip opens a menu of the signed-in
|
||||
Microsoft accounts. Picking one plays as it from the next Play; that account must own the game
|
||||
([Microsoft accounts](#microsoft-accounts)). There are no offline names: the project decided
|
||||
that Horizon plays only with a Microsoft account that owns Minecraft: Java Edition. The
|
||||
Console's Share log takes the account names out of the log. `horizon-launcher account select
|
||||
<name>`.
|
||||
- **Accent and Home background**: on top of Dark, Light or System, Settings > Launcher picks an
|
||||
accent (Horizon's violet, blue, teal, green, amber, red or pink, any hue, or any colour typed as
|
||||
@@ -185,13 +181,6 @@ The opening, then Play ([clip](docs/opening.webm)):
|
||||
`launcher/lang/<code>.json`, English text to its translation, Horizon's own; a test fails when
|
||||
the code asks `tr("…")` for a string a table lacks, or a table keeps one the code dropped.
|
||||
`horizon-launcher settings language system|en|fr|ru|de|zh|es|uk|pl`.
|
||||
- **Skin and cape**: each offline name's **Skin…** in Settings > Account shows the front of its
|
||||
skin and cape, takes a skin PNG (64×64, or the older 64×32) and a cape PNG (64×32), and picks
|
||||
classic or slim arms. The launcher keeps copies in its `skins/` folder and gives the game
|
||||
`HORIZON_OFFLINE_SKIN`, `HORIZON_OFFLINE_SKIN_MODEL` and `HORIZON_OFFLINE_CAPE` when that name
|
||||
plays; the game draws the default skins until it reads them. A Microsoft account's skin and
|
||||
cape: coming soon, with sign-in. `horizon-launcher account skin <name> [FILE] [--model
|
||||
classic|slim] [--cape FILE] [--no-skin] [--no-cape]`.
|
||||
- **Console**: Home's Console shows the game's output of this run as it comes: a search (every
|
||||
word, any case), Follow to keep the newest line in view, Copy, and Open logs folder. Warnings
|
||||
and errors stand out. **Share log…** uploads the log to [mclo.gs](https://mclo.gs), a paste
|
||||
@@ -399,7 +388,6 @@ and don't set `%ERRORLEVEL%` / `$LASTEXITCODE`. Scripts that need the exit code
|
||||
horizon-launcher account sign-in sign in in your browser with a code
|
||||
horizon-launcher account sign-out <name>
|
||||
horizon-launcher account select <name> play as this account
|
||||
horizon-launcher account offline play without an account
|
||||
horizon-launcher instance [list] the instances and their game folders (* = Play starts it)
|
||||
horizon-launcher instance create <name> [--copy <instance>] empty, or a copy of one's worlds, options and packs
|
||||
horizon-launcher instance create <name> --minecraft <1.21.4|latest|latest-snapshot> a Minecraft: Java Edition instance
|
||||
@@ -492,8 +480,8 @@ MCP's `play`) says "Sign in with a Microsoft account that owns Minecraft: Java E
|
||||
and starts nothing. Settings → Accounts signs in: the launcher shows a code, you enter it at
|
||||
microsoft.com/link, and the launcher checks that the account owns the game. It asks again at every
|
||||
Play, with the token renewal; with no network the last answer stands, and a "doesn't own" blocks
|
||||
at once. The account also plays online-mode servers under your own name and skin; offline names
|
||||
play LAN and offline-mode servers beside it. The game binary started directly (`horizon-client`,
|
||||
at once. The account that plays must own the game itself, and it plays online-mode servers under
|
||||
your own name and skin, LAN and offline-mode servers too. The game binary started directly (`horizon-client`,
|
||||
`horizon-ctl launch`), the harnesses and the servers don't go through this check. Tokens live in the system keychain (Keychain,
|
||||
Credential Manager, or the Secret Service on Linux), never in a log or the command line;
|
||||
`accounts.json` in the data folder keeps only names and UUIDs. On Linux without a keychain they go
|
||||
|
||||
@@ -37,7 +37,6 @@
|
||||
"Building {name}'s post-build step": "Bou van {name} se na-bou-stap",
|
||||
"In use": "In gebruik",
|
||||
"Prepare": "Berei voor",
|
||||
"Developer options": "Ontwikkelaar opsies",
|
||||
"{online} of {max} players": "{online} van {max} spelers",
|
||||
"Minecraft {version} (Java Edition). Play downloads it from Mojang for your account the first time, with the Java it needs.": "Minecraft {version} (Java-uitgawe). Play laai dit die eerste keer van Mojang af vir jou rekening, met die Java wat dit nodig het.",
|
||||
"Close": "Maak toe",
|
||||
@@ -98,7 +97,6 @@
|
||||
"From my install": "Van my installasie",
|
||||
"the update failed: {error}": "die opdatering het misluk: {error}",
|
||||
"Mesa's DRI_PRIME=1, so Vulkan picks the other card.": "Mesa se DRI_PRIME=1, so Vulkan kies die ander kaart.",
|
||||
"New name": "Nuwe naam",
|
||||
"Dark": "Donker",
|
||||
"Not now": "Nie nou nie",
|
||||
"Use an access token…": "Gebruik 'n toegangtoken...",
|
||||
@@ -115,7 +113,6 @@
|
||||
"Partly": "Gedeeltelik",
|
||||
"All": "Almal",
|
||||
"Instance": "Instansie",
|
||||
"Classic arms": "Klassieke arms",
|
||||
"Versions": "Weergawes",
|
||||
"Release build: slower to build, slightly faster game": "Vrystelling bou: stadiger om te bou, effens vinniger spel",
|
||||
"Performance build": "Prestasiebou",
|
||||
@@ -172,7 +169,6 @@
|
||||
"about a minute left": "omtrent 'n minuut oor",
|
||||
"Cancel": "Kanselleer",
|
||||
"Add to {client}": "Voeg by {client}",
|
||||
"Skin…": "Vel…",
|
||||
"Environment": "Omgewing",
|
||||
"They often still work together. If the build fails, install versions made for the same Nightly.": "Hulle werk dikwels nog saam. As die bou misluk, installeer weergawes wat vir dieselfde Nightly gemaak is.",
|
||||
"Import an instance folder…": "Voer 'n instansievouer in …",
|
||||
@@ -184,7 +180,6 @@
|
||||
"newest stable version": "nuutste stabiele weergawe",
|
||||
"Choose image…": "Kies prent …",
|
||||
"No worlds yet: they appear here once you play one.": "Nog geen wêrelde nie: hulle verskyn hier sodra jy een speel.",
|
||||
"Offline names play without a Microsoft account that owns the game. Minecraft still comes from your own install.": "Vanlyn name speel sonder 'n Microsoft-rekening wat die speletjie besit. Minecraft kom steeds van jou eie installasie af.",
|
||||
"crash reports beside it": "ineenstortingsverslae langsaan",
|
||||
"Install all": "Installeer alles",
|
||||
"No group": "Geen groep nie",
|
||||
@@ -202,7 +197,6 @@
|
||||
"My instance": "My voorbeeld",
|
||||
"Snapshot": "Momentopname",
|
||||
"Gallery": "Galery",
|
||||
"Offline name": "Vanlyn naam",
|
||||
"Home": "Tuis",
|
||||
"Stopping": "Besig om te stop",
|
||||
"MSPT · tick time": "MSPT · tiktyd",
|
||||
@@ -304,8 +298,6 @@
|
||||
"Patch notes": "Patch notas",
|
||||
"Your Minecraft server, {online}.": "Jou Minecraft-bediener, {online}.",
|
||||
"Crash reports": "Ineenstortingsverslae",
|
||||
"Offline name · the game's own · plays": "Vanlyn naam · die speletjie se eie · speel",
|
||||
"Slim arms": "Skraal arms",
|
||||
"Asking GitHub about {owner}/{repo}…": "Vra GitHub oor {owner}/{repo}...",
|
||||
"Downloading Minecraft {version} from Mojang · {done} of {total} files": "Laai tans Minecraft {version} af vanaf Mojang · {done} van {total} lêers",
|
||||
"Could not save your choice: {error}": "Kon nie jou keuse stoor nie: {error}",
|
||||
@@ -354,7 +346,6 @@
|
||||
"Horizon's landscape. Pick a PNG, JPEG or WebP picture of your own.": "Horizon se landskap. Kies 'n eie PNG-, JPEG- of WebP-prent.",
|
||||
"Not needed": "Nie nodig nie",
|
||||
"This build of the launcher has no Microsoft sign-in (HORIZON_MSA_CLIENT_ID), so it can't start the game.": "Hierdie bou van die lanseerder het geen Microsoft-aanmelding nie (HORIZON_MSA_CLIENT_ID), so dit kan nie die speletjie begin nie.",
|
||||
"Offline name · plays": "Vanlyn naam · speel",
|
||||
"Run the game through": "Begin die speletjie deur",
|
||||
"needed by another pack": "benodig deur 'n ander pakkie",
|
||||
"Older →": "Ouer →",
|
||||
@@ -365,13 +356,10 @@
|
||||
"Could not run {program}: {error}": "Kon nie {program}: {error} laat loop nie",
|
||||
"Restart": "Herbegin",
|
||||
"Copied to the clipboard.": "Gekopieer na die knipbord.",
|
||||
"Your worlds, offline names and settings stay where they are.": "Jou wêrelde, vanlyn name en instellings bly waar hulle is.",
|
||||
"Send nothing": "Stuur niks",
|
||||
"Move to Trash": "Skuif na asblik",
|
||||
"Start from": "Begin vanaf",
|
||||
"Asking Mojang for its versions…": "Vra Mojang vir sy weergawes ...",
|
||||
"A 64×64 (or 64×32) skin PNG and a 64×32 cape PNG, kept by the launcher and given to the game when this name plays. The game draws the default skins for now; it uses these once it can. A Microsoft account's skin and cape: coming soon.": "'n 64×64 (of 64×32) vel PNG en 'n 64×32 cape PNG, gehou deur die lanseerder en aan die speletjie gegee wanneer hierdie naam speel. Die speletjie teken die verstekvelle vir nou; dit gebruik dit sodra dit kan. 'n Microsoft-rekening se vel en mantel: binnekort.",
|
||||
"Play offline under another name, and switch from the top bar. Online servers don't take offline names.": "Speel vanlyn onder 'n ander naam, en skakel van die boonste balk af. Aanlyn bedieners neem nie vanlyn name nie.",
|
||||
"Report on Discord": "Verslag oor Discord",
|
||||
"Export": "Uitvoer",
|
||||
"Server": "Bediener",
|
||||
@@ -384,7 +372,6 @@
|
||||
"No version installed yet.": "Nog geen weergawe geïnstalleer nie.",
|
||||
"Release": "Vrystelling",
|
||||
"Verified": "Geverifieer",
|
||||
"Choose a skin…": "Kies 'n vel...",
|
||||
"{instance} doesn't play its native mods yet: build the game with them.": "{instance} speel nog nie sy oorspronklike mods nie: bou die speletjie daarmee.",
|
||||
"Use jars from my instance…": "Gebruik potte uit my instansie...",
|
||||
"Applications menu": "Toepassings-kieslys",
|
||||
@@ -408,7 +395,6 @@
|
||||
"Open backups": "Maak rugsteun oop",
|
||||
"The game is running: change packs in its own menus, or here once it is closed.": "Die speletjie is aan die gang: verander pakke in sy eie spyskaarte, of hier sodra dit gesluit is.",
|
||||
"Check now": "Kyk nou",
|
||||
"Choose a cape…": "Kies 'n kaap...",
|
||||
"Save": "Stoor",
|
||||
"Folder": "Vouer",
|
||||
"Searching…": "Soek tans …",
|
||||
@@ -422,7 +408,6 @@
|
||||
"MangoHud": "MangoHud",
|
||||
"Sign out": "Meld af",
|
||||
"When it starts": "Wanneer dit begin",
|
||||
"{name}'s skin": "{name} se vel",
|
||||
"Start": "Begin",
|
||||
"No Minecraft install needed: Horizon downloads it from Mojang for your account.": "Geen Minecraft-installasie nodig nie: Horizon laai dit van Mojang af vir jou rekening.",
|
||||
"Logs": "Logs",
|
||||
@@ -446,7 +431,6 @@
|
||||
"The wordmark, while the release list loads.": "Die woordmerk, terwyl die vrystellinglys laai.",
|
||||
"Playing offline": "Speel tans vanlyn",
|
||||
"Sign in to Tailscale": "Meld aan by Tailscale",
|
||||
"Offline names without an account": "Vanlyn name sonder 'n rekening",
|
||||
"Help make Horizon faster and steadier?": "Help om Horizon vinniger en bestendiger te maak?",
|
||||
"Sign in to play": "Meld aan om te speel",
|
||||
"Ported": "Geplaas",
|
||||
@@ -488,14 +472,12 @@
|
||||
"Update this launcher with your package manager.": "Dateer hierdie lanseerder op met jou pakketbestuurder.",
|
||||
"Close this launcher, move it to {folder}, and open it there to enable updates.": "Maak hierdie lanseerder toe, skuif dit na {folder} en maak dit daar oop om opdaterings te aktiveer.",
|
||||
"Any MCP client": "Enige MCP-kliënt",
|
||||
"{name}'s cape is kept.": "{name} se kaap word gehou.",
|
||||
"Not reviewed by the Horizon registry": "Nie hersien deur die Horizon-register nie",
|
||||
"Proxy": "Volmag",
|
||||
"Checking": "Kontroleer",
|
||||
"Updates": "Opdaterings",
|
||||
"Asking Microsoft…": "Vra Microsoft …",
|
||||
"Prepared for Minecraft {version}, without its sounds: the game will be silent. Prepare again to copy them from your Minecraft install.": "Voorbereid vir Minecraft {version}, sonder sy klanke: die speletjie sal stil wees. Berei weer voor om dit vanaf jou Minecraft-installasie te kopieer.",
|
||||
"Forget": "Vergeet",
|
||||
"Import a modpack…": "Voer 'n modpack in...",
|
||||
"Search versions": "Soek weergawes",
|
||||
"failed": "misluk",
|
||||
@@ -504,7 +486,6 @@
|
||||
"Left off: {line}.": "Opgehou: {line}.",
|
||||
"Resource packs": "Hulpbronpakke",
|
||||
"yesterday": "gister",
|
||||
"No cape": "Geen mantel nie",
|
||||
"After each session: frame-time percentiles and a 14-bucket histogram, tick times, peak memory and startup times, with your machine (OS, CPU and its cores and clocks, memory size, GPU, its memory and driver, drive type, screen size and refresh rate, laptop or desktop, on battery or not) and the settings that change performance.": "Na elke sessie: raam-tyd persentiele en 'n 14-emmer histogram, regmerkie tye, piek geheue en opstart tye, met jou masjien (OS, SVE en sy kerns en horlosies, geheue grootte, GPU, sy geheue en drywer, tipe skyf, skerm grootte en herlaaitempo, skootrekenaar of rekenaar, op battery of nie) en die instellings wat werkverrigting verander.",
|
||||
"Make a token": "Maak 'n teken",
|
||||
"Added {names}: the game turns it on when the world opens.": "Bygevoeg {names}: die speletjie skakel dit aan wanneer die wêreld oopgaan.",
|
||||
@@ -557,7 +538,6 @@
|
||||
"Shared: {url}": "Gedeel: {url}",
|
||||
"Friends on the same Wi-Fi: Multiplayer, Add Server, then paste this address.": "Vriende op dieselfde Wi-Fi: Multiplayer, Voeg bediener by, plak dan hierdie adres.",
|
||||
"None yet: drop a .hshader or a shader pack .zip here.": "Nog geen: gooi 'n .hshader- of 'n shader-pak .zip hier.",
|
||||
"Offline name · the game's own": "Vanlyn naam · die speletjie se eie",
|
||||
"Native mods aren't sandboxed: they run with full access to your computer, like any program. Install only mods whose authors you trust. To play with one, build the game on the Mods page; the first build downloads Rust and takes 20 to 30 minutes.": "Inheemse mods is nie sandboxed nie: hulle loop met volle toegang tot jou rekenaar, soos enige program. Installeer slegs mods wie se skrywers jy vertrou. Om met een te speel, bou die speletjie op die Mods-bladsy; die eerste bou laai Rust af en neem 20 tot 30 minute.",
|
||||
"Your selected version only changes if you were playing the newest one.": "Jou gekose weergawe verander net as jy die nuutste een gespeel het.",
|
||||
"Multiplayer": "Multispeler",
|
||||
@@ -587,7 +567,6 @@
|
||||
"the port": "die hawe",
|
||||
"The source of {source}. Its release ships {file}, a content mod: installing those from GitHub is not supported yet.": "Die bron van {source}. Die vrystelling daarvan stuur {file}, 'n inhoudmodi: installering van dié vanaf GitHub word nog nie ondersteun nie.",
|
||||
"Build anyway": "Bou in elk geval",
|
||||
"A name, 3 to 16 letters": "'n Naam, 3 tot 16 letters",
|
||||
"Installed {mods} from GitHub ({source}). Build it on the Mods page.": "Geïnstalleer {mods} vanaf GitHub ({source}). Bou dit op die Mods-bladsy.",
|
||||
"Settings, Keys, Generate access token. It's kept in this computer's keychain and only sent to Tailscale.": "Instellings, Sleutels, Genereer toegangtoken. Dit word in hierdie rekenaar se sleutelhouer gehou en net na Tailscale gestuur.",
|
||||
"{id} is up to date.": "{id} is op datum.",
|
||||
@@ -602,7 +581,6 @@
|
||||
"I read it and trust it: install": "Ek lees dit en vertrou dit: installeer",
|
||||
"Close export": "Maak uitvoer toe",
|
||||
"Playing needs a prepared Horizon version (Play page).": "Speel benodig 'n voorbereide Horizon-weergawe (Speelbladsy).",
|
||||
"Offline, the game's name": "Vanlyn, die speletjie se naam",
|
||||
"From Horizon's registry": "Van Horizon se register",
|
||||
"Sounds": "Klanke",
|
||||
"Edit…": "Wysig …",
|
||||
@@ -635,12 +613,10 @@
|
||||
"up to date": "op datum",
|
||||
"← Newer": "← Nuwer",
|
||||
"Downloading from Mojang · {done} of {total} files": "Laai tans af vanaf Mojang · {done} van {total} lêers",
|
||||
"{name}'s skin is kept.": "{name} se vel word behou.",
|
||||
"Edit instance": "Wysig instansie",
|
||||
"Remove shortcut": "Verwyder kortpad",
|
||||
"{program} is not installed here (or not on the PATH): copy the config instead.": "{program} is nie hier geïnstalleer nie (of nie op die PATH): kopieer eerder die konfigurasie.",
|
||||
"No worlds to put in.": "Geen wêrelde om in te plaas nie.",
|
||||
"Default skin": "Standaard vel",
|
||||
"A link to a repository (its latest release), a release, a branch or tag, or a commit. The launcher installs one exact release file or commit, never a branch that moves.": "'n Skakel na 'n bewaarplek (die jongste vrystelling daarvan), 'n vrystelling, 'n tak of merker, of 'n commit. Die lanseerder installeer een presiese vrystellinglêer of commit, nooit 'n tak wat beweeg nie.",
|
||||
"Sign in with GitHub to rate": "Meld aan met GitHub om te gradeer",
|
||||
"Star on GitHub": "Gee 'n ster op GitHub",
|
||||
@@ -1053,10 +1029,6 @@
|
||||
"played by {names}": "gespeel deur {names}",
|
||||
"{day}, {time} UTC": "{day}, {time} UTC",
|
||||
"Microsoft account · online servers too": "Microsoft-rekening · ook aanlyn bedieners",
|
||||
"Offline · single player and LAN worlds": "Vanlyn · enkelspeler- en LAN-wêrelde",
|
||||
"Offline names": "Vanlyn name",
|
||||
"Add a name": "Voeg 'n naam by",
|
||||
"3 to 16 letters, numbers or underscores. Switch names from the top bar too. Online servers don't take offline names.": "3 tot 16 letters, syfers of onderstrepe. Verander ook name vanaf die boonste balk. Aanlyn bedieners neem nie vanlyn name nie.",
|
||||
"Play online with your Microsoft account": "Speel aanlyn met jou Microsoft-rekening",
|
||||
"Sign in with the account that owns Minecraft: Java Edition. Your name and skin come along to online servers, like in other launchers.": "Meld aan met die rekening wat Minecraft: Java Edition besit. Jou naam en vel kom saam na aanlyn bedieners, soos in ander lanseerders.",
|
||||
"Microsoft's own page opens in your browser. Horizon never sees your password.": "Microsoft se eie bladsy maak in jou blaaier oop. Horizon sien nooit jou wagwoord nie.",
|
||||
|
||||
@@ -37,7 +37,6 @@
|
||||
"Building {name}'s post-build step": "خطوة ما بعد البناء لـ {name}",
|
||||
"In use": "قيد الاستخدام",
|
||||
"Prepare": "تحضير",
|
||||
"Developer options": "خيارات المطور",
|
||||
"{online} of {max} players": "{online} من {max} لاعبين",
|
||||
"Minecraft {version} (Java Edition). Play downloads it from Mojang for your account the first time, with the Java it needs.": "ماين كرافت {version} (إصدار جافا). يقوم الزر \"تشغيل\" بتنزيلها من موجانج لحسابك في المرة الأولى، مع إصدار جافا الذي تحتاجه.",
|
||||
"Close": "إغلاق",
|
||||
@@ -98,7 +97,6 @@
|
||||
"From my install": "من تثبيتي الخاص",
|
||||
"the update failed: {error}": "فشل التحديث: {error}",
|
||||
"Mesa's DRI_PRIME=1, so Vulkan picks the other card.": "خاصية DRI_PRIME=1 في Mesa، لكي يختار Vulkan البطاقة الأخرى.",
|
||||
"New name": "اسم جديد",
|
||||
"Dark": "داكن",
|
||||
"Not now": "ليس الآن",
|
||||
"Use an access token…": "استخدام رمز وصول…",
|
||||
@@ -115,7 +113,6 @@
|
||||
"Partly": "جزئيًا",
|
||||
"All": "الكل",
|
||||
"Instance": "نسخة (Instance)",
|
||||
"Classic arms": "أذرع كلاسيكية",
|
||||
"Versions": "الإصدارات",
|
||||
"Release build: slower to build, slightly faster game": "إصدار رسمي: أبطأ في البناء، وأسرع قليلاً في اللعبة",
|
||||
"Performance build": "إصدار الأداء",
|
||||
@@ -172,7 +169,6 @@
|
||||
"about a minute left": "متبقي حوالي دقيقة",
|
||||
"Cancel": "إلغاء",
|
||||
"Add to {client}": "إضافة إلى {client}",
|
||||
"Skin…": "المظهر (Skin)…",
|
||||
"Environment": "البيئة",
|
||||
"They often still work together. If the build fails, install versions made for the same Nightly.": "غالبًا ما تستمر في العمل معًا. إذا فشل البناء، قم بتثبيت الإصدارات المصنوعة لنفس نسخة Nightly.",
|
||||
"Import an instance folder…": "استيراد مجلد نسخة…",
|
||||
@@ -184,7 +180,6 @@
|
||||
"newest stable version": "أحدث إصدار مستقر",
|
||||
"Choose image…": "اختر صورة…",
|
||||
"No worlds yet: they appear here once you play one.": "لا توجد عوالم حتى الآن: ستظهر هنا بمجرد لعب أحدها.",
|
||||
"Offline names play without a Microsoft account that owns the game. Minecraft still comes from your own install.": "تتيح الأسماء غير المتصلة اللعب بدون حساب مايكروسوفت يمتلك اللعبة. لا تزال ماين كرافت تأتي من تثبيتك الخاص.",
|
||||
"crash reports beside it": "تقارير الأعطال بجانبها",
|
||||
"Install all": "تثبيت الكل",
|
||||
"No group": "بدون مجموعة",
|
||||
@@ -202,7 +197,6 @@
|
||||
"My instance": "نسختي",
|
||||
"Snapshot": "نسخة تجريبية",
|
||||
"Gallery": "المعرض",
|
||||
"Offline name": "اسم غير متصل",
|
||||
"Home": "الرئيسية",
|
||||
"Stopping": "جاري الإيقاف",
|
||||
"MSPT · tick time": "MSPT · وقت التكتكة",
|
||||
@@ -305,8 +299,6 @@
|
||||
"Patch notes": "ملاحظات الإصدار",
|
||||
"Your Minecraft server, {online}.": "خادم ماين كرافت الخاص بك، {online}.",
|
||||
"Crash reports": "تقارير الأعطال",
|
||||
"Offline name · the game's own · plays": "اسم غير متصل · الخاص باللعبة · يلعب",
|
||||
"Slim arms": "أذرع نحيفة",
|
||||
"Asking GitHub about {owner}/{repo}…": "جاري الاستعلام من جيت هاب عن {owner}/{repo}…",
|
||||
"Downloading Minecraft {version} from Mojang · {done} of {total} files": "جاري تنزيل ماين كرافت {version} من موجانج · {done} من {total} ملفات",
|
||||
"Could not save your choice: {error}": "تعذر حفظ اختيارك: {error}",
|
||||
@@ -355,7 +347,6 @@
|
||||
"Horizon's landscape. Pick a PNG, JPEG or WebP picture of your own.": "خلفية هورايزون الأفقية. اختر صورة بصيغة PNG أو JPEG أو WebP خاصة بك.",
|
||||
"Not needed": "غير مطلوب",
|
||||
"This build of the launcher has no Microsoft sign-in (HORIZON_MSA_CLIENT_ID), so it can't start the game.": "هذا الإصدار من المشغل لا يحتوي على ميزة تسجيل دخول مايكروسوفت (HORIZON_MSA_CLIENT_ID)، لذا لا يمكنه بدء اللعبة.",
|
||||
"Offline name · plays": "اسم غير متصل · يلعب",
|
||||
"Run the game through": "تشغيل اللعبة عبر",
|
||||
"needed by another pack": "مطلوب بواسطة حزمة أخرى",
|
||||
"Older →": "الأقدم ←",
|
||||
@@ -366,13 +357,10 @@
|
||||
"Could not run {program}: {error}": "تعذر تشغيل {program}: {error}",
|
||||
"Restart": "إعادة التشغيل",
|
||||
"Copied to the clipboard.": "تم النسخ إلى الحافظة.",
|
||||
"Your worlds, offline names and settings stay where they are.": "عوالمك وأسماؤك غير المتصلة وإعداداتك تبقى كما هي.",
|
||||
"Send nothing": "لا تقم بإرسال أي شيء",
|
||||
"Move to Trash": "نقل إلى سلة المهملات",
|
||||
"Start from": "البدء من",
|
||||
"Asking Mojang for its versions…": "جاري طلب الإصدارات من موجانج…",
|
||||
"A 64×64 (or 64×32) skin PNG and a 64×32 cape PNG, kept by the launcher and given to the game when this name plays. The game draws the default skins for now; it uses these once it can. A Microsoft account's skin and cape: coming soon.": "صورة مظهر (Skin) بصيغة PNG بدقة 64×64 (أو 64×32) وصورة رداء (Cape) بدقة 64×32، يتم الاحتفاظ بهما بواسطة المشغل وتمريرهما للعبة عند اللعب بهذا الاسم. ترسم اللعبة المظاهر الافتراضية في الوقت الحالي؛ وستستخدم هذه المظاهر فور إمكانية ذلك. مظهر ورداء حساب مايكروسوفت: قريباً.",
|
||||
"Play offline under another name, and switch from the top bar. Online servers don't take offline names.": "العب بلا اتصال تحت اسم آخر، وقم بالتبديل من الشريط العلوي. لا تقبل خوادم الإنترنت الأسماء غير المتصلة.",
|
||||
"Report on Discord": "الإبلاغ على ديسكورد",
|
||||
"Export": "تصدير",
|
||||
"Server": "خادم",
|
||||
@@ -385,7 +373,6 @@
|
||||
"No version installed yet.": "لم يتم تثبيت أي إصدار بعد.",
|
||||
"Release": "إصدار رسمي",
|
||||
"Verified": "مُتحقق منه",
|
||||
"Choose a skin…": "اختر مظهراً (Skin)…",
|
||||
"{instance} doesn't play its native mods yet: build the game with them.": "{instance} لا يشغل تعديلاته الأصلية بعد: قم ببناء اللعبة معها.",
|
||||
"Use jars from my instance…": "استخدام ملفات Jars من نسختي…",
|
||||
"Applications menu": "قائمة التطبيقات",
|
||||
@@ -409,7 +396,6 @@
|
||||
"Open backups": "فتح النسخ الاحتياطية",
|
||||
"The game is running: change packs in its own menus, or here once it is closed.": "اللعبة قيد التشغيل: قم بتغيير الحزم من قوائمها الداخلية، أو هنا بمجرد إغلاقها.",
|
||||
"Check now": "تحقق الآن",
|
||||
"Choose a cape…": "اختر رداءً (Cape)…",
|
||||
"Save": "حفظ",
|
||||
"Folder": "المجلد",
|
||||
"Searching…": "جاري البحث…",
|
||||
@@ -423,7 +409,6 @@
|
||||
"MangoHud": "MangoHud",
|
||||
"Sign out": "تسجيل الخروج",
|
||||
"When it starts": "عند البدء",
|
||||
"{name}'s skin": "مظهر {name}",
|
||||
"Start": "بدء",
|
||||
"No Minecraft install needed: Horizon downloads it from Mojang for your account.": "لا حاجة لتثبيت ماين كرافت: يقوم هورايزون بتنزيلها من موجانج لحسابك.",
|
||||
"Logs": "السجلات",
|
||||
@@ -447,7 +432,6 @@
|
||||
"The wordmark, while the release list loads.": "شعار الاسم أثناء تحميل قائمة الإصدارات.",
|
||||
"Playing offline": "اللعب بدون اتصال",
|
||||
"Sign in to Tailscale": "تسجيل الدخول إلى Tailscale",
|
||||
"Offline names without an account": "أسماء غير متصلة بدون حساب",
|
||||
"Help make Horizon faster and steadier?": "هل تريد المساعدة في جعل هورايزون أسرع وأكثر استقرارًا؟",
|
||||
"Sign in to play": "تسجيل الدخول للعب",
|
||||
"Ported": "منقولة",
|
||||
@@ -490,14 +474,12 @@
|
||||
"Update this launcher with your package manager.": "حدّث هذا المشغّل باستخدام مدير الحزم.",
|
||||
"Close this launcher, move it to {folder}, and open it there to enable updates.": "أغلق هذا المشغّل، وانقله إلى {folder}، ثم افتحه من هناك لتمكين التحديثات.",
|
||||
"Any MCP client": "أي عميل MCP",
|
||||
"{name}'s cape is kept.": "تم الاحتفاظ برداء {name}.",
|
||||
"Not reviewed by the Horizon registry": "لم يتم مراجعته من قِبل سجل هورايزون",
|
||||
"Proxy": "الوكيل (Proxy)",
|
||||
"Checking": "جاري التحقق",
|
||||
"Updates": "التحديثات",
|
||||
"Asking Microsoft…": "جاري السؤال مايكروسوفت…",
|
||||
"Prepared for Minecraft {version}, without its sounds: the game will be silent. Prepare again to copy them from your Minecraft install.": "تم التجهيز لماين كرافت {version} بدون أصوات: ستكون اللعبة صامتة. قم بالتجهيز مرة أخرى لنسخها من تثبيت ماين كرافت الخاص بك.",
|
||||
"Forget": "نسيان",
|
||||
"Import a modpack…": "استيراد حزمة تعديلات…",
|
||||
"Search versions": "البحث في الإصدارات",
|
||||
"failed": "فشل",
|
||||
@@ -506,7 +488,6 @@
|
||||
"Left off: {line}.": "التوقف عند السطر: {line}.",
|
||||
"Resource packs": "حزم الموارد",
|
||||
"yesterday": "أمس",
|
||||
"No cape": "بدون رداء",
|
||||
"After each session: frame-time percentiles and a 14-bucket histogram, tick times, peak memory and startup times, with your machine (OS, CPU and its cores and clocks, memory size, GPU, its memory and driver, drive type, screen size and refresh rate, laptop or desktop, on battery or not) and the settings that change performance.": "بعد كل جلسة: النسب المئوية لأوقات الإطارات ومخطط بياني بـ 14 فئة، وأوقات التكتكة، وذروة الذاكرة وأوقات البدء، مع مواصفات جهازك (نظام التشغيل، المعالج وأنويته وسرعاته، حجم الذاكرة، بطاقة الرسوميات وذاكرتها وتعريفها، نوع القرص، حجم الشاشة ومعدل التحديث، ما إذا كان لابتوب أو جهاز مكتبياً، ويعمل على البطارية أم لا) والإعدادات التي تغير الأداء.",
|
||||
"Make a token": "إنشاء رمز وصول (Token)",
|
||||
"Added {names}: the game turns it on when the world opens.": "تمت إضافة {names}: تفعل اللعبة ذلك تلقائيًا عند فتح العالم.",
|
||||
@@ -559,7 +540,6 @@
|
||||
"Shared: {url}": "تمت المشاركة: {url}",
|
||||
"Friends on the same Wi-Fi: Multiplayer, Add Server, then paste this address.": "الأصدقاء على نفس شبكة الواي فاي: اللعب الجماعي > إضافة خادم، ثم الصق هذا العنوان.",
|
||||
"None yet: drop a .hshader or a shader pack .zip here.": "لا شيء بعد: اسحب ملف .hshader أو حزمة تظليل بصيغة .zip وأفلتها هنا.",
|
||||
"Offline name · the game's own": "اسم غير متصل · الخاص باللعبة",
|
||||
"Native mods aren't sandboxed: they run with full access to your computer, like any program. Install only mods whose authors you trust. To play with one, build the game on the Mods page; the first build downloads Rust and takes 20 to 30 minutes.": "التعديلات الأصلية ليست معزولة في بيئة آمنة (Sandboxed): فهي تعمل بصلاحيات كاملة على جهازك، مثل أي برنامج. ثبت فقط التعديلات التي تثق بمؤلفيها. للعب بها، قم ببناء اللعبة من صفحة التعديلات؛ يتطلب البناء الأول تنزيل لغة Rust ويستغرق من 20 إلى 30 دقيقة.",
|
||||
"Your selected version only changes if you were playing the newest one.": "يتغير إصدارك المحدد فقط إذا كنت تلعب بالأحدث.",
|
||||
"Multiplayer": "اللعب الجماعي",
|
||||
@@ -589,7 +569,6 @@
|
||||
"the port": "المنفذ",
|
||||
"The source of {source}. Its release ships {file}, a content mod: installing those from GitHub is not supported yet.": "مصدر {source}. يحتوي إصداره على {file}، وهو تعديل محتوى: تثبيت هذه التعديلات من جيت هاب غير مدعوم بعد.",
|
||||
"Build anyway": "البناء على أي حال",
|
||||
"A name, 3 to 16 letters": "اسم، من 3 إلى 16 حرفًا",
|
||||
"Installed {mods} from GitHub ({source}). Build it on the Mods page.": "تم تثبيت {mods} من جيت هاب ({source}). قم ببنائه في صفحة التعديلات.",
|
||||
"Settings, Keys, Generate access token. It's kept in this computer's keychain and only sent to Tailscale.": "الإعدادات (Settings) > المفاتيح (Keys) > إنشاء رمز وصول (Generate access token). يتم الاحتفاظ به في سلسلة مفاتيح هذا الكمبيوتر وإرساله إلى Tailscale فقط.",
|
||||
"{id} is up to date.": "{id} محدث لأحدث نسخة.",
|
||||
@@ -604,7 +583,6 @@
|
||||
"I read it and trust it: install": "لقد قرأته وأثق به: تثبيت",
|
||||
"Close export": "إغلاق التصدير",
|
||||
"Playing needs a prepared Horizon version (Play page).": "يتطلب اللعب وجود إصدار مجهز من هورايزون (صفحة اللعب).",
|
||||
"Offline, the game's name": "غير متصل، اسم اللعبة",
|
||||
"From Horizon's registry": "من سجل هورايزون الخاص",
|
||||
"Sounds": "الأصوات",
|
||||
"Edit…": "تعديل…",
|
||||
@@ -637,12 +615,10 @@
|
||||
"up to date": "محدث",
|
||||
"← Newer": "← الأحدث",
|
||||
"Downloading from Mojang · {done} of {total} files": "جاري التنزيل من موجانج · {done} من {total} ملفات",
|
||||
"{name}'s skin is kept.": "تم الاحتفاظ بمظهر {name}.",
|
||||
"Edit instance": "تعديل النسخة",
|
||||
"Remove shortcut": "إزالة الاختصار",
|
||||
"{program} is not installed here (or not on the PATH): copy the config instead.": "{program} غير مثبت هنا (أو غير مدرج في المسار PATH): انسخ ملف التكوين بدلاً من ذلك.",
|
||||
"No worlds to put in.": "لا توجد عوالم لإضافتها.",
|
||||
"Default skin": "المظهر الافتراضي",
|
||||
"A link to a repository (its latest release), a release, a branch or tag, or a commit. The launcher installs one exact release file or commit, never a branch that moves.": "رابط إلى مستودع (أحدث إصدار له)، أو إصدار، أو فرع (Branch)، أو علامة (Tag)، أو التزام (Commit). يقوم المشغل بتثبيت ملف إصدار أو التزام محدد تمامًا، ولا يثبت فرعًا متغيرًا.",
|
||||
"Sign in with GitHub to rate": "سجل الدخول بواسطة جيت هاب للتقييم",
|
||||
"Star on GitHub": "أضف نجمة على GitHub",
|
||||
@@ -1055,10 +1031,6 @@
|
||||
"played by {names}": "يلعبه {names}",
|
||||
"{day}, {time} UTC": "{day}، {time} UTC",
|
||||
"Microsoft account · online servers too": "حساب Microsoft · الخوادم عبر الإنترنت أيضًا",
|
||||
"Offline · single player and LAN worlds": "دون اتصال · اللعب الفردي وعوالم الشبكة المحلية",
|
||||
"Offline names": "أسماء دون اتصال",
|
||||
"Add a name": "أضف اسمًا",
|
||||
"3 to 16 letters, numbers or underscores. Switch names from the top bar too. Online servers don't take offline names.": "من 3 إلى 16 حرفًا أو رقمًا أو شرطة سفلية. يمكنك تبديل الأسماء من الشريط العلوي أيضًا. الخوادم عبر الإنترنت لا تقبل الأسماء دون اتصال.",
|
||||
"Play online with your Microsoft account": "العب عبر الإنترنت بحساب Microsoft",
|
||||
"Sign in with the account that owns Minecraft: Java Edition. Your name and skin come along to online servers, like in other launchers.": "سجّل الدخول بالحساب الذي يملك Minecraft: Java Edition. يرافقك اسمك ومظهرك إلى الخوادم عبر الإنترنت، كما في المشغلات الأخرى.",
|
||||
"Microsoft's own page opens in your browser. Horizon never sees your password.": "تُفتح صفحة Microsoft نفسها في متصفحك. لا يرى Horizon كلمة مرورك أبدًا.",
|
||||
|
||||
@@ -37,7 +37,6 @@
|
||||
"Building {name}'s post-build step": "{name}-nin tikintidən sonrakı addımının qurulması",
|
||||
"In use": "İstifadədədir",
|
||||
"Prepare": "Hazırlayın",
|
||||
"Developer options": "Tərtibatçı seçimləri",
|
||||
"{online} of {max} players": "{max} oyunçudan {online}",
|
||||
"Minecraft {version} (Java Edition). Play downloads it from Mojang for your account the first time, with the Java it needs.": "Minecraft {version} (Java Edition). Play ehtiyac duyduğu Java ilə ilk dəfə hesabınız üçün onu Mojang-dan endirir.",
|
||||
"Close": "Bağlayın",
|
||||
@@ -98,7 +97,6 @@
|
||||
"From my install": "Quraşdırdığımdan",
|
||||
"the update failed: {error}": "yeniləmə uğursuz oldu: {error}",
|
||||
"Mesa's DRI_PRIME=1, so Vulkan picks the other card.": "Mesanın DRI_PRIME=1, ona görə də Vulkan digər kartı seçir.",
|
||||
"New name": "Yeni ad",
|
||||
"Dark": "Qaranlıq",
|
||||
"Not now": "İndi yox",
|
||||
"Use an access token…": "Giriş nişanından istifadə edin...",
|
||||
@@ -115,7 +113,6 @@
|
||||
"Partly": "Qismən",
|
||||
"All": "Hamısı",
|
||||
"Instance": "Nüsxə",
|
||||
"Classic arms": "Klassik qollar",
|
||||
"Versions": "Versiyalar",
|
||||
"Release build: slower to build, slightly faster game": "Buraxılış quruluşu: qurmaq daha yavaş, bir az daha sürətli oyun",
|
||||
"Performance build": "Performans qurmaq",
|
||||
@@ -172,7 +169,6 @@
|
||||
"about a minute left": "təxminən bir dəqiqə qaldı",
|
||||
"Cancel": "Ləğv et",
|
||||
"Add to {client}": "Əlavə et {client}",
|
||||
"Skin…": "Dəri…",
|
||||
"Environment": "Ətraf mühit",
|
||||
"They often still work together. If the build fails, install versions made for the same Nightly.": "Çox vaxt hələ də birlikdə işləyirlər. Quraşdırma uğursuz olarsa, eyni Nightly üçün hazırlanmış versiyaları quraşdırın.",
|
||||
"Import an instance folder…": "Nümunə qovluğunu idxal edin...",
|
||||
@@ -184,7 +180,6 @@
|
||||
"newest stable version": "ən yeni stabil versiya",
|
||||
"Choose image…": "Şəkil seçin...",
|
||||
"No worlds yet: they appear here once you play one.": "Hələ dünya yoxdur: siz birini oynadığınız zaman onlar burada görünür.",
|
||||
"Offline names play without a Microsoft account that owns the game. Minecraft still comes from your own install.": "Oflayn adlar oyunun sahibi olan Microsoft hesabı olmadan oynayır. Minecraft hələ də öz quraşdırmanızdan gəlir.",
|
||||
"crash reports beside it": "yanında çökmə hesabatları",
|
||||
"Install all": "Hamısını quraşdırın",
|
||||
"No group": "Qrup yoxdur",
|
||||
@@ -202,7 +197,6 @@
|
||||
"My instance": "Mənim nümunəm",
|
||||
"Snapshot": "Ani görüntü",
|
||||
"Gallery": "Qalereya",
|
||||
"Offline name": "Oflayn ad",
|
||||
"Home": "Ev",
|
||||
"Stopping": "Dayanır",
|
||||
"MSPT · tick time": "MSPT · tik vaxtı",
|
||||
@@ -304,8 +298,6 @@
|
||||
"Patch notes": "Yamaq qeydləri",
|
||||
"Your Minecraft server, {online}.": "Minecraft serveriniz, {online}.",
|
||||
"Crash reports": "Çökmə hesabatları",
|
||||
"Offline name · the game's own · plays": "Oflayn ad · oyunun öz · oynayır",
|
||||
"Slim arms": "İncə qollar",
|
||||
"Asking GitHub about {owner}/{repo}…": "GitHub-dan {owner}/{repo}... haqqında soruşulur",
|
||||
"Downloading Minecraft {version} from Mojang · {done} of {total} files": "Mojang-dan Minecraft {version} endirilir · {done} fayldan {total} fayl",
|
||||
"Could not save your choice: {error}": "Seçiminizi saxlamaq mümkün olmadı: {error}",
|
||||
@@ -354,7 +346,6 @@
|
||||
"Horizon's landscape. Pick a PNG, JPEG or WebP picture of your own.": "Horizon mənzərəsi. Özünüzə məxsus PNG, JPEG və ya WebP şəklini seçin.",
|
||||
"Not needed": "Lazım deyil",
|
||||
"This build of the launcher has no Microsoft sign-in (HORIZON_MSA_CLIENT_ID), so it can't start the game.": "Başlatıcının bu quruluşunda Microsoft girişi yoxdur (HORIZON_MSA_CLIENT_ID), ona görə də o, oyunu başlata bilmir.",
|
||||
"Offline name · plays": "Oflayn ad · oynayır",
|
||||
"Run the game through": "Oyunu keçin",
|
||||
"needed by another pack": "başqa paketə lazımdır",
|
||||
"Older →": "Köhnə →",
|
||||
@@ -365,13 +356,10 @@
|
||||
"Could not run {program}: {error}": "Çalıştırmaq mümkün olmadı {program}: {error}",
|
||||
"Restart": "Yenidən başladın",
|
||||
"Copied to the clipboard.": "Buferə kopyalandı.",
|
||||
"Your worlds, offline names and settings stay where they are.": "Dünyalarınız, oflayn adlarınız və parametrləriniz olduğu yerdə qalır.",
|
||||
"Send nothing": "Heç nə göndərmə",
|
||||
"Move to Trash": "Zibil qutusuna köçürün",
|
||||
"Start from": "-dən başlayın",
|
||||
"Asking Mojang for its versions…": "Mojangdan versiyaları soruşulur...",
|
||||
"A 64×64 (or 64×32) skin PNG and a 64×32 cape PNG, kept by the launcher and given to the game when this name plays. The game draws the default skins for now; it uses these once it can. A Microsoft account's skin and cape: coming soon.": "Başlatıcı tərəfindən saxlanılan və bu ad oynanılan zaman oyuna verilən 64×64 (və ya 64×32) dəri PNG və 64×32 baş PNG. Oyun hazırda standart dəriləri çəkir; bir dəfə bunlardan istifadə edir. Microsoft hesabının dərisi və örtüyü: tezliklə.",
|
||||
"Play offline under another name, and switch from the top bar. Online servers don't take offline names.": "Başqa ad altında oflayn oynayın və yuxarı paneldən keçin. Onlayn serverlər oflayn adlar götürmür.",
|
||||
"Report on Discord": "Discord haqqında hesabat",
|
||||
"Export": "İxrac",
|
||||
"Server": "Server",
|
||||
@@ -384,7 +372,6 @@
|
||||
"No version installed yet.": "Hələ heç bir versiya quraşdırılmayıb.",
|
||||
"Release": "Buraxılış",
|
||||
"Verified": "Doğrulanıb",
|
||||
"Choose a skin…": "Dəri seçin...",
|
||||
"{instance} doesn't play its native mods yet: build the game with them.": "{instance} hələ öz doğma modlarını oynamır: onlarla oyunu qurun.",
|
||||
"Use jars from my instance…": "Mənim nümunəmdəki bankalardan istifadə edin...",
|
||||
"Applications menu": "Proqramlar menyusu",
|
||||
@@ -408,7 +395,6 @@
|
||||
"Open backups": "Yedəkləri açın",
|
||||
"The game is running: change packs in its own menus, or here once it is closed.": "Oyun işləyir: paketləri öz menyularında və ya burada bağlandıqdan sonra dəyişdirin.",
|
||||
"Check now": "İndi yoxlayın",
|
||||
"Choose a cape…": "Başlıq seçin...",
|
||||
"Save": "Saxla",
|
||||
"Folder": "Qovluq",
|
||||
"Searching…": "Axtarılır...",
|
||||
@@ -422,7 +408,6 @@
|
||||
"MangoHud": "MangoHud",
|
||||
"Sign out": "Çıxın",
|
||||
"When it starts": "Başlayanda",
|
||||
"{name}'s skin": "{name} dərisi",
|
||||
"Start": "Başlayın",
|
||||
"No Minecraft install needed: Horizon downloads it from Mojang for your account.": "Minecraft quraşdırmasına ehtiyac yoxdur: Horizon onu hesabınız üçün Mojang-dan endirir.",
|
||||
"Logs": "Qeydlər",
|
||||
@@ -446,7 +431,6 @@
|
||||
"The wordmark, while the release list loads.": "Buraxılış siyahısı yüklənərkən söz nişanı.",
|
||||
"Playing offline": "Oflayn oynayır",
|
||||
"Sign in to Tailscale": "Tailscale-ə daxil olun",
|
||||
"Offline names without an account": "Hesab olmadan oflayn adlar",
|
||||
"Help make Horizon faster and steadier?": "Horizon daha sürətli və sabit olmağa kömək edin?",
|
||||
"Sign in to play": "Oynamaq üçün daxil olun",
|
||||
"Ported": "Köçürülüb",
|
||||
@@ -488,14 +472,12 @@
|
||||
"Update this launcher with your package manager.": "Bu başlatıcını paket menecerinizlə yeniləyin.",
|
||||
"Close this launcher, move it to {folder}, and open it there to enable updates.": "Bu başlatıcını bağlayın, onu {folder} ünvanına köçürün və yeniləmələri aktivləşdirmək üçün orada açın.",
|
||||
"Any MCP client": "İstənilən MCP müştəri",
|
||||
"{name}'s cape is kept.": "{name} nin papağı saxlanılır.",
|
||||
"Not reviewed by the Horizon registry": "Horizon reyestr tərəfindən nəzərdən keçirilməyib",
|
||||
"Proxy": "Proksi",
|
||||
"Checking": "Yoxlanılır",
|
||||
"Updates": "Yeniləmələr",
|
||||
"Asking Microsoft…": "Microsoft soruşulur...",
|
||||
"Prepared for Minecraft {version}, without its sounds: the game will be silent. Prepare again to copy them from your Minecraft install.": "Minecraft {version} üçün hazırlanmışdır, onun səsləri olmadan: oyun səssiz olacaq. Onları Minecraft quraşdırmanızdan köçürmək üçün yenidən hazırlayın.",
|
||||
"Forget": "Unut",
|
||||
"Import a modpack…": "Mod paketini idxal edin...",
|
||||
"Search versions": "Versiyaları axtarın",
|
||||
"failed": "uğursuz oldu",
|
||||
@@ -504,7 +486,6 @@
|
||||
"Left off: {line}.": "Qaldı: {line}.",
|
||||
"Resource packs": "Resurs paketləri",
|
||||
"yesterday": "dünən",
|
||||
"No cape": "Plaş yoxdur",
|
||||
"After each session: frame-time percentiles and a 14-bucket histogram, tick times, peak memory and startup times, with your machine (OS, CPU and its cores and clocks, memory size, GPU, its memory and driver, drive type, screen size and refresh rate, laptop or desktop, on battery or not) and the settings that change performance.": "Hər seansdan sonra: kadr vaxtı faizləri və 14 kova histoqramı, işarələmə vaxtları, pik yaddaş və işə başlama vaxtları, maşınınız (ƏS, CPU və onun nüvələri və saatları, yaddaş ölçüsü, GPU, onun yaddaşı və sürücüsü, sürücünün növü, ekran ölçüsü və yeniləmə sürəti, noutbuk və ya iş masası, batareyada olub-olmaması) və performansı dəyişən parametrlər.",
|
||||
"Make a token": "Bir nişan hazırlayın",
|
||||
"Added {names}: the game turns it on when the world opens.": "{names} əlavə edildi: dünya açılanda oyun onu işə salır.",
|
||||
@@ -557,7 +538,6 @@
|
||||
"Shared: {url}": "Paylaşıldı: {url}",
|
||||
"Friends on the same Wi-Fi: Multiplayer, Add Server, then paste this address.": "Eyni Wi-Fi-da olan dostlar: Multiplayer, Server əlavə edin, sonra bu ünvanı yapışdırın.",
|
||||
"None yet: drop a .hshader or a shader pack .zip here.": "Hələ heç biri: bura .hshader və ya shader paketini .zip buraxın.",
|
||||
"Offline name · the game's own": "Oflayn ad · oyunun özünə məxsusdur",
|
||||
"Native mods aren't sandboxed: they run with full access to your computer, like any program. Install only mods whose authors you trust. To play with one, build the game on the Mods page; the first build downloads Rust and takes 20 to 30 minutes.": "Native mods sandboxed deyil: onlar hər hansı bir proqram kimi kompüterinizə tam giriş imkanı ilə işləyirlər. Yalnız müəlliflərinə etibar etdiyiniz modları quraşdırın. Biri ilə oynamaq üçün oyunu Modlar səhifəsində qurun; ilk quruluş Rust-u yükləyir və 20-30 dəqiqə çəkir.",
|
||||
"Your selected version only changes if you were playing the newest one.": "Seçdiyiniz versiya yalnız ən yenisini ifa etsəniz dəyişir.",
|
||||
"Multiplayer": "Multiplayer",
|
||||
@@ -587,7 +567,6 @@
|
||||
"the port": "liman",
|
||||
"The source of {source}. Its release ships {file}, a content mod: installing those from GitHub is not supported yet.": "Mənbə {source}. Onun buraxılışı məzmun modu olan {file} göndərilir: GitHub-dan bunları quraşdırmaq hələ dəstəklənmir.",
|
||||
"Build anyway": "Hər halda tikin",
|
||||
"A name, 3 to 16 letters": "Ad, 3 ilə 16 hərf",
|
||||
"Installed {mods} from GitHub ({source}). Build it on the Mods page.": "GitHub-dan {mods} quraşdırılıb ({source}). Onu Modlar səhifəsində qurun.",
|
||||
"Settings, Keys, Generate access token. It's kept in this computer's keychain and only sent to Tailscale.": "Parametrlər, Açarlar, Giriş nişanı yaradın. O, bu kompüterin brelokunda saxlanılır və yalnız Tailscale-ə göndərilir.",
|
||||
"{id} is up to date.": "{id} güncəldir.",
|
||||
@@ -602,7 +581,6 @@
|
||||
"I read it and trust it: install": "Mən onu oxudum və inanıram: quraşdırın",
|
||||
"Close export": "İxracatı bağlayın",
|
||||
"Playing needs a prepared Horizon version (Play page).": "Oynamaq üçün hazırlanmış Horizon versiya lazımdır (Oynatma səhifəsi).",
|
||||
"Offline, the game's name": "Oflayn, oyunun adı",
|
||||
"From Horizon's registry": "Horizon reyestrindən",
|
||||
"Sounds": "Səslər",
|
||||
"Edit…": "Redaktə et...",
|
||||
@@ -635,12 +613,10 @@
|
||||
"up to date": "bu günə qədər",
|
||||
"← Newer": "← Daha yeni",
|
||||
"Downloading from Mojang · {done} of {total} files": "Mojang-dan endirilir · {total} fayldan {done} fayl",
|
||||
"{name}'s skin is kept.": "{name} dərisi saxlanılır.",
|
||||
"Edit instance": "Nümunəni redaktə edin",
|
||||
"Remove shortcut": "Qısayolu silin",
|
||||
"{program} is not installed here (or not on the PATH): copy the config instead.": "{program} burada quraşdırılmayıb (və ya PATH-də deyil): yerinə konfiqurasiyanı kopyalayın.",
|
||||
"No worlds to put in.": "Yerləşdirməyə dünyalar yoxdur.",
|
||||
"Default skin": "Defolt dəri",
|
||||
"A link to a repository (its latest release), a release, a branch or tag, or a commit. The launcher installs one exact release file or commit, never a branch that moves.": "Repozitoriyaya keçid (onun ən son buraxılışı), buraxılış, filial və ya etiket və ya öhdəlik. Başlatıcı bir dəqiq buraxılış faylı və ya öhdəliyi quraşdırır, heç vaxt hərəkət edən bir filial yoxdur.",
|
||||
"Sign in with GitHub to rate": "Qiymətləndirmək üçün GitHub ilə daxil olun",
|
||||
"Star on GitHub": "GitHub-da ulduz ver",
|
||||
@@ -1053,10 +1029,6 @@
|
||||
"played by {names}": "ifa etdi {names}",
|
||||
"{day}, {time} UTC": "{day}, {time} UTC",
|
||||
"Microsoft account · online servers too": "Microsoft hesabı · onlayn serverlər də",
|
||||
"Offline · single player and LAN worlds": "Oflayn · tək oyunçu və LAN dünyaları",
|
||||
"Offline names": "Offline adlar",
|
||||
"Add a name": "Ad əlavə edin",
|
||||
"3 to 16 letters, numbers or underscores. Switch names from the top bar too. Online servers don't take offline names.": "3-dən 16-a qədər hərf, rəqəm və ya alt xətt. Üst paneldən də adları dəyişin. Onlayn serverlər oflayn adlar götürmür.",
|
||||
"Play online with your Microsoft account": "Microsoft hesabınızla onlayn oynayın",
|
||||
"Sign in with the account that owns Minecraft: Java Edition. Your name and skin come along to online servers, like in other launchers.": "Minecraft: Java Edition-a sahib olan hesabla daxil olun. Adınız və dəriniz digər işəsalanlar kimi onlayn serverlərə gəlir.",
|
||||
"Microsoft's own page opens in your browser. Horizon never sees your password.": "Brauzerinizdə Microsoftun öz səhifəsi açılır. Horizon parolunuzu heç vaxt görmür.",
|
||||
|
||||
@@ -37,7 +37,6 @@
|
||||
"Building {name}'s post-build step": "Бина {name} төҙөүҙән һуңғы аҙым",
|
||||
"In use": "Ҡулланыуҙа",
|
||||
"Prepare": "Әҙерләү .",
|
||||
"Developer options": "Төҙөүсе варианттары",
|
||||
"{online} of {max} players": "{max} уйынсыларҙан {online}",
|
||||
"Minecraft {version} (Java Edition). Play downloads it from Mojang for your account the first time, with the Java it needs.": "Minecraft {version} (Java Баҫма). Play скачивает уны Mojang һеҙҙең иҫәп яҙмаһы өсөн беренсе тапҡыр, Java менән ул кәрәк.",
|
||||
"Close": "Ябыҡ",
|
||||
@@ -98,7 +97,6 @@
|
||||
"From my install": "Минең ҡуйыуҙан",
|
||||
"the update failed: {error}": "Яңыртыу уңышһыҙлыҡҡа осраны: {error}",
|
||||
"Mesa's DRI_PRIME=1, so Vulkan picks the other card.": "Месаның DRI_PRIME=1, шуға күрә Vulkan икенсе картаны һайлай.",
|
||||
"New name": "Яңы исем .",
|
||||
"Dark": "Ҡараңғы",
|
||||
"Not now": "Хәҙер түгел .",
|
||||
"Use an access token…": "Ҡулланыу маркеры рөхсәт...",
|
||||
@@ -115,7 +113,6 @@
|
||||
"Partly": "Өлөшләтә",
|
||||
"All": "Барыһы ла",
|
||||
"Instance": "Инстанция",
|
||||
"Classic arms": "Классик ҡоралдар",
|
||||
"Versions": "Версиялары",
|
||||
"Release build: slower to build, slightly faster game": "Релиз төҙөү: яйыраҡ төҙөү, бер аҙ тиҙерәк уйын",
|
||||
"Performance build": "Һөҙөмтәлелек төҙөү",
|
||||
@@ -172,7 +169,6 @@
|
||||
"about a minute left": "бер минут самаһы ҡалды .",
|
||||
"Cancel": "Юҡҡа сығарыу",
|
||||
"Add to {client}": "{client} тиклем өҫтәргә",
|
||||
"Skin…": "Скин…",
|
||||
"Environment": "Тирә-яҡ мөхит",
|
||||
"They often still work together. If the build fails, install versions made for the same Nightly.": "Йыш ҡына әле лә бергә эшләйҙәр. Әгәр ҙә төҙөү уңышһыҙлыҡҡа осраһа, шул уҡ Nightly өсөн эшләнгән версияларҙы ҡуйығыҙ.",
|
||||
"Import an instance folder…": "Импортлау экземпляр папкаһы...",
|
||||
@@ -184,7 +180,6 @@
|
||||
"newest stable version": "иң яңы тотороҡло версия",
|
||||
"Choose image…": "Һүрәтте һайлағыҙ...",
|
||||
"No worlds yet: they appear here once you play one.": "Әлегә донъялар юҡ: улар бында бер тапҡыр уйнаһаң күренә.",
|
||||
"Offline names play without a Microsoft account that owns the game. Minecraft still comes from your own install.": "Офлайн исемдәр уйнай Microsoft иҫәп яҙмаһы булмаған, тип уйын хужаһы. Minecraft һаман да үҙ ҡуйыуҙан килә.",
|
||||
"crash reports beside it": "авария тураһында хәбәрҙәр уның эргәһендә",
|
||||
"Install all": "Барыһын да ҡуйырға",
|
||||
"No group": "Төркөм юҡ",
|
||||
@@ -202,7 +197,6 @@
|
||||
"My instance": "Минең миҫалым",
|
||||
"Snapshot": "Снапшот",
|
||||
"Gallery": "Галерея",
|
||||
"Offline name": "Офлайн исем",
|
||||
"Home": "Төп Төп",
|
||||
"Stopping": "Туҡтау",
|
||||
"MSPT · tick time": "MSPT · тик ваҡыты",
|
||||
@@ -304,8 +298,6 @@
|
||||
"Patch notes": "Патч иҫкәрмәләре",
|
||||
"Your Minecraft server, {online}.": "Һеҙҙең Minecraft серверығыҙ, {online}.",
|
||||
"Crash reports": "Авария тураһында хәбәрҙәр",
|
||||
"Offline name · the game's own · plays": "Офлайн исем · уйындың үҙ · уйнай",
|
||||
"Slim arms": "Нәҙек ҡулдар .",
|
||||
"Asking GitHub about {owner}/{repo}…": "Һорау GitHub тураһында {owner}/{repo}...",
|
||||
"Downloading Minecraft {version} from Mojang · {done} of {total} files": "Minecraft {version} Mojang · {done} {total} файлдарынан",
|
||||
"Could not save your choice: {error}": "Һеҙҙең һайлауҙы һаҡлай алманы: {error}",
|
||||
@@ -354,7 +346,6 @@
|
||||
"Horizon's landscape. Pick a PNG, JPEG or WebP picture of your own.": "Horizon-ның пейзажы. Һайлап алыу PNG, JPEG йәки WebP һүрәте үҙ.",
|
||||
"Not needed": "Кәрәкмәй",
|
||||
"This build of the launcher has no Microsoft sign-in (HORIZON_MSA_CLIENT_ID), so it can't start the game.": "Был ҡоролма стартер Microsoft логин юҡ (HORIZON_MSA_CLIENT_ID), шуға күрә ул уйынды башлай алмай.",
|
||||
"Offline name · plays": "Офлайн исем · уйнай",
|
||||
"Run the game through": "Уйынды үткәреү",
|
||||
"needed by another pack": "икенсе пакетҡа кәрәк",
|
||||
"Older →": "Өлкәнерәк →",
|
||||
@@ -365,13 +356,10 @@
|
||||
"Could not run {program}: {error}": "Йүгерә алманы {program}: {error}",
|
||||
"Restart": "Перестарт",
|
||||
"Copied to the clipboard.": "Буферға күсерелгән.",
|
||||
"Your worlds, offline names and settings stay where they are.": "Һеҙҙең донъялар, офлайн исемдәр һәм параметрҙар улар ҡайҙа ҡала.",
|
||||
"Send nothing": "Бер нәмә лә ебәрмәгеҙ",
|
||||
"Move to Trash": "Сүплеккә күсерергә",
|
||||
"Start from": "2012 йылдан башлай.",
|
||||
"Asking Mojang for its versions…": "Һорау Mojang уның версиялары өсөн...",
|
||||
"A 64×64 (or 64×32) skin PNG and a 64×32 cape PNG, kept by the launcher and given to the game when this name plays. The game draws the default skins for now; it uses these once it can. A Microsoft account's skin and cape: coming soon.": "64×64 (йәки 64×32) тире PNG һәм 64×32 плащ PNG, пускатель һаҡлай һәм был исем уйнағанда уйынға бирелә. Уйын әлегә тиреләрҙе ғәҙәттәгесә тарта; ул был ҡуллана бер тапҡыр мөмкин. А Microsoft иҫәп яҙмаһының тиреһе һәм плащ: тиҙҙән.",
|
||||
"Play offline under another name, and switch from the top bar. Online servers don't take offline names.": "Икенсе исем аҫтында офлайн уйнау, һәм өҫкө панелдән күсеү. Онлайн серверҙар офлайн исемдәрҙе алмай.",
|
||||
"Report on Discord": "Discord буйынса отчет",
|
||||
"Export": "Экспорт",
|
||||
"Server": "Сервер",
|
||||
@@ -384,7 +372,6 @@
|
||||
"No version installed yet.": "Әлегә бер ниндәй ҙә версия ҡуйылмаған.",
|
||||
"Release": "Релиз",
|
||||
"Verified": "Тикшерелгән",
|
||||
"Choose a skin…": "Тире һайлағыҙ...",
|
||||
"{instance} doesn't play its native mods yet: build the game with them.": "{instance} әлегә үҙенең туған модтарын уйнамай: улар менән уйын төҙөгөҙ.",
|
||||
"Use jars from my instance…": "Минең миҫалдан банкалар ҡулланығыҙ...",
|
||||
"Applications menu": "Ҡушымталар менюһы",
|
||||
@@ -408,7 +395,6 @@
|
||||
"Open backups": "Резерв копияларын асыу",
|
||||
"The game is running: change packs in its own menus, or here once it is closed.": "Уйын эшләй: үҙ менюларында пакеттарҙы алмаштырыу, йәки бында бер тапҡыр ул ябыла.",
|
||||
"Check now": "Хәҙер тикшерегеҙ",
|
||||
"Choose a cape…": "Һайлағыҙ плащ...",
|
||||
"Save": "Һаҡлау",
|
||||
"Folder": "Папка",
|
||||
"Searching…": "Эҙләү...",
|
||||
@@ -422,7 +408,6 @@
|
||||
"MangoHud": "МангоХуд",
|
||||
"Sign out": "Сығыу",
|
||||
"When it starts": "Ҡасан башлана .",
|
||||
"{name}'s skin": "{name} тиреһе",
|
||||
"Start": "Башланғыс",
|
||||
"No Minecraft install needed: Horizon downloads it from Mojang for your account.": "Minecraft ҡуйыу кәрәкмәй: Horizon уны Mojang-нан һеҙҙең иҫәп яҙмаһына скачивает.",
|
||||
"Logs": "Журналдар",
|
||||
@@ -446,7 +431,6 @@
|
||||
"The wordmark, while the release list loads.": "Һүҙ билдәһе, шул уҡ ваҡытта релиз исемлеге йөкләнә.",
|
||||
"Playing offline": "Офлайн уйнау",
|
||||
"Sign in to Tailscale": "Tailscale сайтына инергә",
|
||||
"Offline names without an account": "Иҫәп яҙмаһы булмаған офлайн исемдәр",
|
||||
"Help make Horizon faster and steadier?": "Horizon тиҙерәк һәм тотороҡлораҡ эшләргә ярҙам итегеҙме?",
|
||||
"Sign in to play": "Уйнар өсөн инергә",
|
||||
"Ported": "Портланған",
|
||||
@@ -488,14 +472,12 @@
|
||||
"Update this launcher with your package manager.": "Был лаунчерҙы пакет менеджерығыҙ менән яңыртығыҙ.",
|
||||
"Close this launcher, move it to {folder}, and open it there to enable updates.": "Был лаунчерҙы ябығыҙ, уны {folder} папкаһына күсерегеҙ һәм яңыртыуҙарҙы ҡабыҙыу өсөн шунда асығыҙ.",
|
||||
"Any MCP client": "Теләһә ниндәй MCP клиенты",
|
||||
"{name}'s cape is kept.": "{name}-ның пласы һаҡлана.",
|
||||
"Not reviewed by the Horizon registry": "Horizon реестры тарафынан тикшерелмәгән",
|
||||
"Proxy": "Прокси",
|
||||
"Checking": "Тикшереү",
|
||||
"Updates": "Яңыртыуҙар",
|
||||
"Asking Microsoft…": "Һорау Microsoft...",
|
||||
"Prepared for Minecraft {version}, without its sounds: the game will be silent. Prepare again to copy them from your Minecraft install.": "Minecraft {version} өсөн әҙерләнгән, уның тауыштары булмаған: уйын тын буласаҡ. Яңынан әҙерләнергә, уларҙы күсерергә һеҙҙең Minecraft ҡуйыу.",
|
||||
"Forget": "Онот .",
|
||||
"Import a modpack…": "Модпакты импортлағыҙ...",
|
||||
"Search versions": "Эҙләү версиялары",
|
||||
"failed": "уңышһыҙлыҡҡа осраны",
|
||||
@@ -504,7 +486,6 @@
|
||||
"Left off: {line}.": "Ҡалды: {line}.",
|
||||
"Resource packs": "Ресурс пакеттары",
|
||||
"yesterday": "кисә",
|
||||
"No cape": "Плащ юҡ",
|
||||
"After each session: frame-time percentiles and a 14-bucket histogram, tick times, peak memory and startup times, with your machine (OS, CPU and its cores and clocks, memory size, GPU, its memory and driver, drive type, screen size and refresh rate, laptop or desktop, on battery or not) and the settings that change performance.": "Һәр сессиянан һуң: кадр-ваҡыт процентилдәр һәм 14-биҙрә гистограмма, галочкой ваҡыт, пик хәтер һәм старт ваҡыт, һеҙҙең машина менән (ОС, процессор һәм уның ядролары һәм сәғәттәр, хәтер күләме, GPU, уның хәтере һәм драйверы, диск тибы, экран күләме һәм яңыртыу тиҙлеге, батарея йәки өҫтәл notttting, тип етештереүсәнлеге.",
|
||||
"Make a token": "Жетон эшләү .",
|
||||
"Added {names}: the game turns it on when the world opens.": "Өҫтәлде {names}: уйын донъя асылғанда уны ҡабыҙа.",
|
||||
@@ -557,7 +538,6 @@
|
||||
"Shared: {url}": "{url}",
|
||||
"Friends on the same Wi-Fi: Multiplayer, Add Server, then paste this address.": "Дуҫтар бер үк Wi-Fi: Мультиплеер, Сервер өҫтәү, һуңынан был адресты йәбештереү.",
|
||||
"None yet: drop a .hshader or a shader pack .zip here.": "Әлегә бер ниндәй ҙә: бында .hshader йәки .zip шейдер пакетын ташлағыҙ.",
|
||||
"Offline name · the game's own": "Офлайн исем · уйындың үҙ",
|
||||
"Native mods aren't sandboxed: they run with full access to your computer, like any program. Install only mods whose authors you trust. To play with one, build the game on the Mods page; the first build downloads Rust and takes 20 to 30 minutes.": "Туған модтар ҡом йәшниктәре түгел: улар һеҙҙең компьютерға тулы рөхсәт менән эшләй, теләһә ниндәй программа кеүек. Авторҙарына ышанған модтарҙы ғына ҡуйығыҙ. Бер уйнау өсөн, уйын төҙөү Mods битендә; беренсе төҙөү скачивает Rust һәм 20 30 минут ала.",
|
||||
"Your selected version only changes if you were playing the newest one.": "Һеҙ һайлаған версия ғына үҙгәрә, әгәр һеҙ уйнаған иң яңы.",
|
||||
"Multiplayer": "Күп уйынсылар",
|
||||
@@ -587,7 +567,6 @@
|
||||
"the port": "порт",
|
||||
"The source of {source}. Its release ships {file}, a content mod: installing those from GitHub is not supported yet.": "{source} сығанағы. Уның релиз суднолар {file}, контент мод: ҡуйыу, уларҙы GitHub әлегә ярҙам итмәй.",
|
||||
"Build anyway": "Барыбер төҙөү",
|
||||
"A name, 3 to 16 letters": "Исем, 3-тән 16 хәрефкә тиклем",
|
||||
"Installed {mods} from GitHub ({source}). Build it on the Mods page.": "GitHub-нан {mods} ҡуйылған ({source}). Уны Модтар битендә төҙөгөҙ.",
|
||||
"Settings, Keys, Generate access token. It's kept in this computer's keychain and only sent to Tailscale.": "Көйләүҙәр, Асҡыстар, Генерациялау инеү маркеры. Ул был компьютерҙағы брелокта һаҡлана һәм Tailscale һанына ғына ебәрелә.",
|
||||
"{id} is up to date.": "{id} заманса.",
|
||||
@@ -602,7 +581,6 @@
|
||||
"I read it and trust it: install": "Мин уны уҡыным һәм ышанам: ҡуйырға",
|
||||
"Close export": "Ябыҡ экспорт",
|
||||
"Playing needs a prepared Horizon version (Play page).": "Уйнау өсөн әҙерләнгән Horizon версияһы кәрәк (Уйнау бите).",
|
||||
"Offline, the game's name": "Офлайн, уйындың исеме",
|
||||
"From Horizon's registry": "Horizon реестрынан",
|
||||
"Sounds": "Тауыштар .",
|
||||
"Edit…": "Мөхәррирләргә...",
|
||||
@@ -635,12 +613,10 @@
|
||||
"up to date": "заманса",
|
||||
"← Newer": "← Яңыраҡ",
|
||||
"Downloading from Mojang · {done} of {total} files": "Mojang · {done} {total} файлдарынан күсереп алыу",
|
||||
"{name}'s skin is kept.": "{name} тиреһе һаҡлана.",
|
||||
"Edit instance": "Данаһын мөхәррирләү",
|
||||
"Remove shortcut": "Ярлыҡты алып ташлау",
|
||||
"{program} is not installed here (or not on the PATH): copy the config instead.": "{program} бында ҡуйылмаған (йәки PATH-та юҡ): уның урынына конфигты күсерергә.",
|
||||
"No worlds to put in.": "Ҡуйырға донъялар юҡ.",
|
||||
"Default skin": "Ғәҙәттәгесә тире",
|
||||
"A link to a repository (its latest release), a release, a branch or tag, or a commit. The launcher installs one exact release file or commit, never a branch that moves.": "Һылтанма һаҡлағысҡа (уның һуңғы релизы), релизға, тармаҡҡа йәки тегҡа йәки коммитҡа. Запускчик бер теүәл релиз файлы йәки коммит ҡуя, бер ҡасан да тармаҡ, тип күсә.",
|
||||
"Sign in with GitHub to rate": "Баһа ҡуйыу өсөн GitHub менән инергә",
|
||||
"Star on GitHub": "GitHub-та йондоҙ ҡуй",
|
||||
@@ -1053,10 +1029,6 @@
|
||||
"played by {names}": "{names} уйнай",
|
||||
"{day}, {time} UTC": "{day}, {time} UTC",
|
||||
"Microsoft account · online servers too": "Microsoft иҫәп яҙмаһы · онлайн-серверҙар ҙа",
|
||||
"Offline · single player and LAN worlds": "Офлайн · бер уйынсы һәм LAN донъялары",
|
||||
"Offline names": "Офлайн исемдәр",
|
||||
"Add a name": "Исем өҫтәү .",
|
||||
"3 to 16 letters, numbers or underscores. Switch names from the top bar too. Online servers don't take offline names.": "3-тән 16-ға тиклем хәреф, һан йәки аҫтына һыҙыҡ. Өҫкө панелдән дә исемдәрҙе алмаштырығыҙ. Онлайн серверҙар офлайн исемдәрҙе алмай.",
|
||||
"Play online with your Microsoft account": "Microsoft иҫәбегеҙ менән онлайн уйнағыҙ",
|
||||
"Sign in with the account that owns Minecraft: Java Edition. Your name and skin come along to online servers, like in other launchers.": "Minecraft: Java Баҫмаға эйә булған иҫәп яҙмаһы менән инергә. Һеҙҙең исем һәм тире менән бергә килә онлайн-серверҙар, башҡа стартерҙар кеүек.",
|
||||
"Microsoft's own page opens in your browser. Horizon never sees your password.": "Браузерығыҙҙа Microsoft үҙ бите асыла. Horizon бер ҡасан да һеҙҙең паролде күрмәй.",
|
||||
|
||||
@@ -37,7 +37,6 @@
|
||||
"Building {name}'s post-build step": "Выкананне этапу пасля зборкі для {name}",
|
||||
"In use": "Ва ўжытку",
|
||||
"Prepare": "Падрыхтаваць",
|
||||
"Developer options": "Параметры распрацоўніка",
|
||||
"{online} of {max} players": "{online} з {max} гульцоў",
|
||||
"Minecraft {version} (Java Edition). Play downloads it from Mojang for your account the first time, with the Java it needs.": "Minecraft {version} (выданне Java). Play спампоўвае яго з Mojang для вашага ўліковага запісу ў першы раз, з патрэбнай Java.",
|
||||
"Close": "Закрыць",
|
||||
@@ -98,7 +97,6 @@
|
||||
"From my install": "З маёй устаноўкі",
|
||||
"the update failed: {error}": "абнаўленне не атрымалася: {error}",
|
||||
"Mesa's DRI_PRIME=1, so Vulkan picks the other card.": "DRI_PRIME=1 у Mesa, таму Vulkan выбірае іншую відэакарту.",
|
||||
"New name": "Новая назва",
|
||||
"Dark": "Цёмны",
|
||||
"Not now": "Не цяпер",
|
||||
"Use an access token…": "Выкарыстоўвайце маркер доступу…",
|
||||
@@ -115,7 +113,6 @@
|
||||
"Partly": "Часткова",
|
||||
"All": "Усе",
|
||||
"Instance": "Экземпляр",
|
||||
"Classic arms": "Класічныя рукі",
|
||||
"Versions": "Версіі",
|
||||
"Release build: slower to build, slightly faster game": "Рэлізная зборка: збіраецца даўжэй, гульня працуе крыху хутчэй",
|
||||
"Performance build": "Зборка для прадукцыйнасці",
|
||||
@@ -172,7 +169,6 @@
|
||||
"about a minute left": "засталося каля хвіліны",
|
||||
"Cancel": "Адмяніць",
|
||||
"Add to {client}": "Дадаць у {client}",
|
||||
"Skin…": "Скін…",
|
||||
"Environment": "Асяроддзе",
|
||||
"They often still work together. If the build fails, install versions made for the same Nightly.": "Яны часта ўсё яшчэ працуюць разам. Калі зборка не атрымаецца, усталюйце версіі, зробленыя для таго ж Nightly.",
|
||||
"Import an instance folder…": "Імпартаваць тэчку экземпляра…",
|
||||
@@ -184,7 +180,6 @@
|
||||
"newest stable version": "апошняя стабільная версія",
|
||||
"Choose image…": "Выберыце малюнак…",
|
||||
"No worlds yet: they appear here once you play one.": "Светаў пакуль няма: яны з'яўляюцца тут, як толькі вы згуляеце ў адзін.",
|
||||
"Offline names play without a Microsoft account that owns the game. Minecraft still comes from your own install.": "З афлайн-імёнамі можна гуляць без уліковага запісу Microsoft, якому належыць гульня. Minecraft усё роўна бярэцца з вашай уласнай усталёўкі.",
|
||||
"crash reports beside it": "справаздачы аб збоях побач",
|
||||
"Install all": "Усталяваць усе",
|
||||
"No group": "Няма групы",
|
||||
@@ -202,7 +197,6 @@
|
||||
"My instance": "Мой экземпляр",
|
||||
"Snapshot": "Здымак",
|
||||
"Gallery": "Галерэя",
|
||||
"Offline name": "Пазасеткавае імя",
|
||||
"Home": "Галоўная",
|
||||
"Stopping": "Спыняецца",
|
||||
"MSPT · tick time": "MSPT · час ціку",
|
||||
@@ -304,8 +298,6 @@
|
||||
"Patch notes": "Нататкі аб выпраўленнях",
|
||||
"Your Minecraft server, {online}.": "Ваш сервер Minecraft, {online}.",
|
||||
"Crash reports": "Справаздачы аб збоях",
|
||||
"Offline name · the game's own · plays": "Афлайн-імя · уласнае імя ў гульні · гуляе",
|
||||
"Slim arms": "Тонкія рукі",
|
||||
"Asking GitHub about {owner}/{repo}…": "Запыт да GitHub пра {owner}/{repo}…",
|
||||
"Downloading Minecraft {version} from Mojang · {done} of {total} files": "Спампоўка Minecraft {version} з Mojang · {done} з {total} файлаў",
|
||||
"Could not save your choice: {error}": "Немагчыма захаваць ваш выбар: {error}",
|
||||
@@ -354,7 +346,6 @@
|
||||
"Horizon's landscape. Pick a PNG, JPEG or WebP picture of your own.": "Пейзаж Horizon. Выберыце ўласную выяву ў фармаце PNG, JPEG або WebP.",
|
||||
"Not needed": "Не трэба",
|
||||
"This build of the launcher has no Microsoft sign-in (HORIZON_MSA_CLIENT_ID), so it can't start the game.": "У гэтай зборцы праграмы запуску няма ўваходу ў Microsoft (HORIZON_MSA_CLIENT_ID), таму яна не можа запусціць гульню.",
|
||||
"Offline name · plays": "Пазасеткавае імя · гуляе",
|
||||
"Run the game through": "Запускаць гульню праз",
|
||||
"needed by another pack": "патрэбны іншы пакет",
|
||||
"Older →": "Старэйшыя →",
|
||||
@@ -365,13 +356,10 @@
|
||||
"Could not run {program}: {error}": "Не атрымалася запусціць {program}: {error}",
|
||||
"Restart": "Перазапуск",
|
||||
"Copied to the clipboard.": "Скапіравана ў буфер абмену.",
|
||||
"Your worlds, offline names and settings stay where they are.": "Вашы светы, імёны ў аўтаномным рэжыме і налады застаюцца на месцы.",
|
||||
"Send nothing": "Нічога не адпраўляць",
|
||||
"Move to Trash": "Перамясціць у сметніцу",
|
||||
"Start from": "Пачаць з",
|
||||
"Asking Mojang for its versions…": "Запыт у Mojang аб яго версіях...",
|
||||
"A 64×64 (or 64×32) skin PNG and a 64×32 cape PNG, kept by the launcher and given to the game when this name plays. The game draws the default skins for now; it uses these once it can. A Microsoft account's skin and cape: coming soon.": "PNG скіна 64×64 (або 64×32) і PNG плашча 64×32, якія захоўваюцца ў праграме запуску і перадаюцца гульні, калі пад гэтым імем гуляюць. На дадзены момант гульня малюе скіны па змаўчанні; яна будзе выкарыстоўваць іх, як толькі зможа. Скін і плашч уліковага запісу Microsoft: хутка.",
|
||||
"Play offline under another name, and switch from the top bar. Online servers don't take offline names.": "Гуляйце ў аўтаномным рэжыме пад іншым імем і пераключайцеся з верхняй панэлі. Інтэрнэт-серверы не прымаюць афлайн-імёны.",
|
||||
"Report on Discord": "Паведаміць у Discord",
|
||||
"Export": "Экспарт",
|
||||
"Server": "Сервер",
|
||||
@@ -384,7 +372,6 @@
|
||||
"No version installed yet.": "Версія яшчэ не ўсталявана.",
|
||||
"Release": "Рэліз",
|
||||
"Verified": "Праверана",
|
||||
"Choose a skin…": "Выберыце скін…",
|
||||
"{instance} doesn't play its native mods yet: build the game with them.": "Экземпляр {instance} яшчэ не выкарыстоўвае свае натыўныя моды: збярыце гульню разам з імі.",
|
||||
"Use jars from my instance…": "Выкарыстаць jar-файлы з майго экземпляра…",
|
||||
"Applications menu": "Меню прыкладанняў",
|
||||
@@ -408,7 +395,6 @@
|
||||
"Open backups": "Адкрыць рэзервовыя копіі",
|
||||
"The game is running: change packs in its own menus, or here once it is closed.": "Гульня працуе: мяняйце пакеты ва ўласным меню або тут, калі яна закрыта.",
|
||||
"Check now": "Праверце зараз",
|
||||
"Choose a cape…": "Выберыце плашч…",
|
||||
"Save": "Захаваць",
|
||||
"Folder": "Тэчка",
|
||||
"Searching…": "Пошук...",
|
||||
@@ -422,7 +408,6 @@
|
||||
"MangoHud": "MangoHud",
|
||||
"Sign out": "Выйсці",
|
||||
"When it starts": "Калі пачнецца",
|
||||
"{name}'s skin": "Скін {name}",
|
||||
"Start": "Пачаць",
|
||||
"No Minecraft install needed: Horizon downloads it from Mojang for your account.": "Minecraft не патрабуецца ўсталёўваць: Horizon спампоўвае яго з Mojang для вашага ўліковага запісу.",
|
||||
"Logs": "Лагі",
|
||||
@@ -446,7 +431,6 @@
|
||||
"The wordmark, while the release list loads.": "Лагатып, пакуль загружаецца спіс рэлізаў.",
|
||||
"Playing offline": "Гульня ў аўтаномным рэжыме",
|
||||
"Sign in to Tailscale": "Увайдзіце ў Tailscale",
|
||||
"Offline names without an account": "Аўтаномныя імёны без уліковага запісу",
|
||||
"Help make Horizon faster and steadier?": "Дапамажыце зрабіць Horizon больш хуткім і стабільным?",
|
||||
"Sign in to play": "Увайдзіце, каб гуляць",
|
||||
"Ported": "Партаваны",
|
||||
@@ -488,14 +472,12 @@
|
||||
"Update this launcher with your package manager.": "Абнавіце гэты лаўнчар праз свой пакетны менеджар.",
|
||||
"Close this launcher, move it to {folder}, and open it there to enable updates.": "Закрыйце гэты лаўнчар, перамясціце яго ў {folder} і запусціце адтуль, каб уключыць абнаўленні.",
|
||||
"Any MCP client": "Любы кліент MCP",
|
||||
"{name}'s cape is kept.": "Захоўваецца плашч {name}.",
|
||||
"Not reviewed by the Horizon registry": "Не разглядаецца рэестрам Horizon",
|
||||
"Proxy": "Проксі",
|
||||
"Checking": "Праверка",
|
||||
"Updates": "Абнаўленні",
|
||||
"Asking Microsoft…": "Запыт да Microsoft…",
|
||||
"Prepared for Minecraft {version}, without its sounds: the game will be silent. Prepare again to copy them from your Minecraft install.": "Падрыхтавана для Minecraft {version}, без яго гукаў: гульня будзе бясшумнай. Падрыхтуйцеся зноў скапіяваць іх з усталяванай Minecraft.",
|
||||
"Forget": "Забыць",
|
||||
"Import a modpack…": "Імпартаваць пакет модаў…",
|
||||
"Search versions": "Пошук версій",
|
||||
"failed": "не атрымалася",
|
||||
@@ -504,7 +486,6 @@
|
||||
"Left off: {line}.": "Пакінуты: {line}.",
|
||||
"Resource packs": "Пакі рэсурсаў",
|
||||
"yesterday": "учора",
|
||||
"No cape": "Без плашча",
|
||||
"After each session: frame-time percentiles and a 14-bucket histogram, tick times, peak memory and startup times, with your machine (OS, CPU and its cores and clocks, memory size, GPU, its memory and driver, drive type, screen size and refresh rate, laptop or desktop, on battery or not) and the settings that change performance.": "Пасля кожнага сеансу: працэнты часу кадраў і гістаграма з 14 інтэрваламі, час цікаў, пік памяці і час запуску з вашай машынай (АС, працэсар і яе ядра і тактавыя частоты, памер памяці, графічны працэсар, яго памяць і драйвер, тып дыска, памер экрана і частата абнаўлення, ноўтбук або настольны камп'ютар, працуе ад батарэі ці не) і налады, якія змяняюць прадукцыйнасць.",
|
||||
"Make a token": "Стварыць токен",
|
||||
"Added {names}: the game turns it on when the world opens.": "Дададзена {names}: гульня падключыць гэта пры адкрыцці свету.",
|
||||
@@ -557,7 +538,6 @@
|
||||
"Shared: {url}": "Абагулены: {url}",
|
||||
"Friends on the same Wi-Fi: Multiplayer, Add Server, then paste this address.": "Сябры ў адной Wi-Fi: шматкарыстальніцкая гульня, дадаць сервер, затым устаўце гэты адрас.",
|
||||
"None yet: drop a .hshader or a shader pack .zip here.": "Пакуль няма: перанясіце .hshader або пакет шэйдараў .zip сюды.",
|
||||
"Offline name · the game's own": "Афлайн-імя · уласнае ў гульні",
|
||||
"Native mods aren't sandboxed: they run with full access to your computer, like any program. Install only mods whose authors you trust. To play with one, build the game on the Mods page; the first build downloads Rust and takes 20 to 30 minutes.": "Натыўныя моды не знаходзяцца ў «пясочніцы»: яны маюць поўны доступ да вашага камп'ютара, як і любая праграма. Усталёўвайце моды толькі ад правераных аўтараў. Каб гуляць з імі, збярыце гульню на старонцы «Моды»; першая зборка спампуе Rust і зойме ад 20 да 30 хвілін.",
|
||||
"Your selected version only changes if you were playing the newest one.": "Выбраная вамі версія змяняецца толькі ў тым выпадку, калі вы гулялі ў самую новую.",
|
||||
"Multiplayer": "Мультыплэер",
|
||||
@@ -587,7 +567,6 @@
|
||||
"the port": "порт",
|
||||
"The source of {source}. Its release ships {file}, a content mod: installing those from GitHub is not supported yet.": "Крыніца {source}. Яго рэліз пастаўляецца {file}, мод кантэнту: усталяванне з GitHub пакуль не падтрымліваецца.",
|
||||
"Build anyway": "Усё роўна сабраць",
|
||||
"A name, 3 to 16 letters": "Імя, ад 3 да 16 літар",
|
||||
"Installed {mods} from GitHub ({source}). Build it on the Mods page.": "Усталяваны {mods} з GitHub ({source}). Стварыце яго на старонцы Mods.",
|
||||
"Settings, Keys, Generate access token. It's kept in this computer's keychain and only sent to Tailscale.": "Налады, ключы, стварэнне маркера доступу. Ён захоўваецца ў бірульцы гэтага камп'ютара і адпраўляецца толькі ў Tailscale.",
|
||||
"{id} is up to date.": "{id} актуальны.",
|
||||
@@ -602,7 +581,6 @@
|
||||
"I read it and trust it: install": "Я прачытаў і давяраю: усталяваць",
|
||||
"Close export": "Закрыць экспарт",
|
||||
"Playing needs a prepared Horizon version (Play page).": "Для гульні патрэбна падрыхтаваная версія Horizon (старонка прайгравання).",
|
||||
"Offline, the game's name": "Offline, назва гульні",
|
||||
"From Horizon's registry": "З рэестра Horizon",
|
||||
"Sounds": "Гукі",
|
||||
"Edit…": "Рэдагаваць...",
|
||||
@@ -635,12 +613,10 @@
|
||||
"up to date": "у актуальным стане",
|
||||
"← Newer": "← Навей",
|
||||
"Downloading from Mojang · {done} of {total} files": "Спампоўка з Mojang · {done} з {total} файлаў",
|
||||
"{name}'s skin is kept.": "Скін {name} захоўваецца.",
|
||||
"Edit instance": "Рэдагаваць экземпляр",
|
||||
"Remove shortcut": "Выдаліць ярлык",
|
||||
"{program} is not installed here (or not on the PATH): copy the config instead.": "{program} не ўсталяваны тут (або не ў PATH): замест гэтага скапіруйце канфігурацыю.",
|
||||
"No worlds to put in.": "Няма светаў, каб змясціць.",
|
||||
"Default skin": "Скін па змаўчанні",
|
||||
"A link to a repository (its latest release), a release, a branch or tag, or a commit. The launcher installs one exact release file or commit, never a branch that moves.": "Спасылка на рэпазітар (яго апошнюю версію), рэліз, галінку або тэг, або фіксацыю. Праграма запуску ўсталёўвае адзін дакладны файл выпуску або фіксацыю, а не галінку, якая рухаецца.",
|
||||
"Sign in with GitHub to rate": "Увайдзіце праз GitHub, каб ацаніць",
|
||||
"Star on GitHub": "Пазначыць зоркай на GitHub",
|
||||
@@ -1053,10 +1029,6 @@
|
||||
"played by {names}": "гуляў {names}",
|
||||
"{day}, {time} UTC": "{day}, {time} UTC",
|
||||
"Microsoft account · online servers too": "Уліковы запіс Microsoft · Інтэрнэт-серверы таксама",
|
||||
"Offline · single player and LAN worlds": "Пазасеткавы · светы для аднаго гульца і лакальнай сеткі",
|
||||
"Offline names": "Афлайн імёны",
|
||||
"Add a name": "Дадайце імя",
|
||||
"3 to 16 letters, numbers or underscores. Switch names from the top bar too. Online servers don't take offline names.": "Ад 3 да 16 літар, лічбаў або знакаў падкрэслівання. Таксама пераключайце імёны з верхняй панэлі. Інтэрнэт-серверы не прымаюць афлайн-імёны.",
|
||||
"Play online with your Microsoft account": "Гуляйце ў інтэрнэце са сваім уліковым запісам Microsoft",
|
||||
"Sign in with the account that owns Minecraft: Java Edition. Your name and skin come along to online servers, like in other launchers.": "Увайдзіце з уліковым запісам, які валодае Minecraft: Java Edition. Ваша імя і скін прыходзяць на анлайн-серверы, як і ў іншых праграмах запуску.",
|
||||
"Microsoft's own page opens in your browser. Horizon never sees your password.": "У вашым браўзеры адкрыецца ўласная старонка Microsoft. Horizon ніколі не бачыць ваш пароль.",
|
||||
|
||||
@@ -37,7 +37,6 @@
|
||||
"Building {name}'s post-build step": "Изграждане на стъпка след изграждането на {name}",
|
||||
"In use": "В употреба",
|
||||
"Prepare": "Подгответе се",
|
||||
"Developer options": "Опции за разработчици",
|
||||
"{online} of {max} players": "{online} от {max} играчи",
|
||||
"Minecraft {version} (Java Edition). Play downloads it from Mojang for your account the first time, with the Java it needs.": "Minecraft {version} (Java Edition). Play го изтегля от Mojang за вашия акаунт за първи път, с Java, от която се нуждае.",
|
||||
"Close": "затвори",
|
||||
@@ -98,7 +97,6 @@
|
||||
"From my install": "От моята инсталация",
|
||||
"the update failed: {error}": "актуализацията е неуспешна: {error}",
|
||||
"Mesa's DRI_PRIME=1, so Vulkan picks the other card.": "DRI_PRIME=1 на Mesa, така че Vulkan избира другата карта.",
|
||||
"New name": "Ново име",
|
||||
"Dark": "Тъмно",
|
||||
"Not now": "Не сега",
|
||||
"Use an access token…": "Използвайте токен за достъп...",
|
||||
@@ -115,7 +113,6 @@
|
||||
"Partly": "частично",
|
||||
"All": "Всички",
|
||||
"Instance": "Инстанция",
|
||||
"Classic arms": "Класически оръжия",
|
||||
"Versions": "Версии",
|
||||
"Release build: slower to build, slightly faster game": "Изграждане на версията: по-бавна за изграждане, малко по-бърза игра",
|
||||
"Performance build": "Изграждане на производителност",
|
||||
@@ -172,7 +169,6 @@
|
||||
"about a minute left": "остава около минута",
|
||||
"Cancel": "Отказ",
|
||||
"Add to {client}": "Добавяне към {client}",
|
||||
"Skin…": "кожа...",
|
||||
"Environment": "Околна среда",
|
||||
"They often still work together. If the build fails, install versions made for the same Nightly.": "Те често все още работят заедно. Ако изграждането е неуспешно, инсталирайте версии, направени за същия Nightly.",
|
||||
"Import an instance folder…": "Импортиране на папка с екземпляр...",
|
||||
@@ -184,7 +180,6 @@
|
||||
"newest stable version": "най-новата стабилна версия",
|
||||
"Choose image…": "Изберете изображение...",
|
||||
"No worlds yet: they appear here once you play one.": "Все още няма светове: те се появяват тук, след като изиграете един.",
|
||||
"Offline names play without a Microsoft account that owns the game. Minecraft still comes from your own install.": "Офлайн имена играят без акаунт в Microsoft, който притежава играта. Minecraft все още идва от вашата собствена инсталация.",
|
||||
"crash reports beside it": "доклади за сривове до него",
|
||||
"Install all": "Инсталирайте всички",
|
||||
"No group": "Няма група",
|
||||
@@ -202,7 +197,6 @@
|
||||
"My instance": "Моят пример",
|
||||
"Snapshot": "Моментна снимка",
|
||||
"Gallery": "Галерия",
|
||||
"Offline name": "Офлайн име",
|
||||
"Home": "Начало",
|
||||
"Stopping": "Спиране",
|
||||
"MSPT · tick time": "MSPT · тик време",
|
||||
@@ -305,8 +299,6 @@
|
||||
"Patch notes": "Бележки за кръпка",
|
||||
"Your Minecraft server, {online}.": "Вашият Minecraft сървър, {online}.",
|
||||
"Crash reports": "Доклади за сривове",
|
||||
"Offline name · the game's own · plays": "Офлайн име · собствена игра · играе",
|
||||
"Slim arms": "Тънки ръце",
|
||||
"Asking GitHub about {owner}/{repo}…": "Питане на GitHub за {owner}/{repo}…",
|
||||
"Downloading Minecraft {version} from Mojang · {done} of {total} files": "Изтегляне на Minecraft {version} от Mojang · {done} от {total} файла",
|
||||
"Could not save your choice: {error}": "Вашият избор не можа да бъде запазен: {error}",
|
||||
@@ -355,7 +347,6 @@
|
||||
"Horizon's landscape. Pick a PNG, JPEG or WebP picture of your own.": "Пейзажът на Horizon. Изберете своя снимка във формат PNG, JPEG или WebP.",
|
||||
"Not needed": "Не е необходимо",
|
||||
"This build of the launcher has no Microsoft sign-in (HORIZON_MSA_CLIENT_ID), so it can't start the game.": "Тази компилация на стартовия панел няма влизане в Microsoft (HORIZON_MSA_CLIENT_ID), така че не може да стартира играта.",
|
||||
"Offline name · plays": "Офлайн име · играе",
|
||||
"Run the game through": "Прокарайте играта",
|
||||
"needed by another pack": "необходими за друг пакет",
|
||||
"Older →": "По-стари →",
|
||||
@@ -366,13 +357,10 @@
|
||||
"Could not run {program}: {error}": "Не можа да се изпълни {program}: {error}",
|
||||
"Restart": "Рестартирайте",
|
||||
"Copied to the clipboard.": "Копирано в клипборда.",
|
||||
"Your worlds, offline names and settings stay where they are.": "Вашите светове, офлайн имена и настройки остават там, където са.",
|
||||
"Send nothing": "Не изпращайте нищо",
|
||||
"Move to Trash": "Преместване в кошчето",
|
||||
"Start from": "Започнете от",
|
||||
"Asking Mojang for its versions…": "Питане на Mojang за неговите версии...",
|
||||
"A 64×64 (or 64×32) skin PNG and a 64×32 cape PNG, kept by the launcher and given to the game when this name plays. The game draws the default skins for now; it uses these once it can. A Microsoft account's skin and cape: coming soon.": "64×64 (или 64×32) PNG с кожа и 64×32 PNG с наметка, които се съхраняват от стартовия панел и се дават на играта, когато това име се играе. Играта рисува скинове по подразбиране за сега; използва ги, когато може. Кожа и наметка на акаунт в Microsoft: очаквайте скоро.",
|
||||
"Play offline under another name, and switch from the top bar. Online servers don't take offline names.": "Играйте офлайн под друго име и превключете от горната лента. Онлайн сървърите не приемат офлайн имена.",
|
||||
"Report on Discord": "Докладвайте за Discord",
|
||||
"Export": "Експортиране",
|
||||
"Server": "сървър",
|
||||
@@ -385,7 +373,6 @@
|
||||
"No version installed yet.": "Все още няма инсталирана версия.",
|
||||
"Release": "Освобождаване",
|
||||
"Verified": "Проверен",
|
||||
"Choose a skin…": "Изберете кожа...",
|
||||
"{instance} doesn't play its native mods yet: build the game with them.": "{instance} все още не играе собствените си модове: изградете играта с тях.",
|
||||
"Use jars from my instance…": "Използвайте буркани от моя екземпляр...",
|
||||
"Applications menu": "Меню с приложения",
|
||||
@@ -409,7 +396,6 @@
|
||||
"Open backups": "Отворете резервни копия",
|
||||
"The game is running: change packs in its own menus, or here once it is closed.": "Играта работи: сменете пакетите в нейните собствени менюта или тук, след като бъде затворена.",
|
||||
"Check now": "Проверете сега",
|
||||
"Choose a cape…": "Изберете пелерина...",
|
||||
"Save": "Запазване",
|
||||
"Folder": "Папка",
|
||||
"Searching…": "Търсене...",
|
||||
@@ -423,7 +409,6 @@
|
||||
"MangoHud": "MangoHud",
|
||||
"Sign out": "Излезте",
|
||||
"When it starts": "Когато започне",
|
||||
"{name}'s skin": "Кожата на {name}",
|
||||
"Start": "Започнете",
|
||||
"No Minecraft install needed: Horizon downloads it from Mojang for your account.": "Не е необходима инсталация на Minecraft: Horizon го изтегля от Mojang за вашия акаунт.",
|
||||
"Logs": "трупи",
|
||||
@@ -447,7 +432,6 @@
|
||||
"The wordmark, while the release list loads.": "Думната марка, докато списъкът с версии се зарежда.",
|
||||
"Playing offline": "Игра офлайн",
|
||||
"Sign in to Tailscale": "Влезте в Tailscale",
|
||||
"Offline names without an account": "Офлайн имена без акаунт",
|
||||
"Help make Horizon faster and steadier?": "Помогнете да направим Horizon по-бърз и по-стабилен?",
|
||||
"Sign in to play": "Влезте, за да играете",
|
||||
"Ported": "Пренесено",
|
||||
@@ -490,14 +474,12 @@
|
||||
"Update this launcher with your package manager.": "Актуализирайте този стартер с вашия мениджър на пакети.",
|
||||
"Close this launcher, move it to {folder}, and open it there to enable updates.": "Затворете този стартер, преместете го в {folder} и го отворете там, за да включите актуализациите.",
|
||||
"Any MCP client": "Всеки MCP клиент",
|
||||
"{name}'s cape is kept.": "Пелерината на {name} е запазена.",
|
||||
"Not reviewed by the Horizon registry": "Не е прегледан от регистъра на Horizon",
|
||||
"Proxy": "Прокси",
|
||||
"Checking": "Проверка",
|
||||
"Updates": "Актуализации",
|
||||
"Asking Microsoft…": "Питане на Microsoft...",
|
||||
"Prepared for Minecraft {version}, without its sounds: the game will be silent. Prepare again to copy them from your Minecraft install.": "Подготвен за Minecraft {version}, без неговите звуци: играта ще бъде безшумна. Подгответе се отново да ги копирате от вашата инсталация на Minecraft.",
|
||||
"Forget": "Забравете",
|
||||
"Import a modpack…": "Импортиране на модпакет...",
|
||||
"Search versions": "Търсене на версии",
|
||||
"failed": "неуспешно",
|
||||
@@ -506,7 +488,6 @@
|
||||
"Left off: {line}.": "Прекъснато: {line}.",
|
||||
"Resource packs": "Пакети с ресурси",
|
||||
"yesterday": "вчера",
|
||||
"No cape": "Без наметало",
|
||||
"After each session: frame-time percentiles and a 14-bucket histogram, tick times, peak memory and startup times, with your machine (OS, CPU and its cores and clocks, memory size, GPU, its memory and driver, drive type, screen size and refresh rate, laptop or desktop, on battery or not) and the settings that change performance.": "След всяка сесия: процентили за време на кадрите и 14-кофова хистограма, времена на отметка, пикова памет и времена за стартиране, с вашата машина (ОС, процесор и неговите ядра и часовници, размер на паметта, графичен процесор, неговата памет и драйвер, тип устройство, размер на екрана и честота на опресняване, лаптоп или настолен компютър, на батерия или не) и настройките, които променят производителността.",
|
||||
"Make a token": "Направете жетон",
|
||||
"Added {names}: the game turns it on when the world opens.": "Добавено {names}: играта го включва, когато светът се отвори.",
|
||||
@@ -559,7 +540,6 @@
|
||||
"Shared: {url}": "Споделено: {url}",
|
||||
"Friends on the same Wi-Fi: Multiplayer, Add Server, then paste this address.": "Приятели в една и съща Wi-Fi: Групова игра, Добавяне на сървър, след което поставете този адрес.",
|
||||
"None yet: drop a .hshader or a shader pack .zip here.": "Все още няма: пуснете .hshader или .zip пакет от шейдъри тук.",
|
||||
"Offline name · the game's own": "Офлайн име · собствено на играта",
|
||||
"Native mods aren't sandboxed: they run with full access to your computer, like any program. Install only mods whose authors you trust. To play with one, build the game on the Mods page; the first build downloads Rust and takes 20 to 30 minutes.": "Родните модове не са затворени: те работят с пълен достъп до вашия компютър, като всяка програма. Инсталирайте само модове, на чиито автори имате доверие. За да играете с такъв, създайте играта на страницата Mods; първата компилация изтегля Rust и отнема 20 до 30 минути.",
|
||||
"Your selected version only changes if you were playing the newest one.": "Избраната от вас версия се променя само ако сте играли най-новата.",
|
||||
"Multiplayer": "Мултиплейър",
|
||||
@@ -589,7 +569,6 @@
|
||||
"the port": "пристанището",
|
||||
"The source of {source}. Its release ships {file}, a content mod: installing those from GitHub is not supported yet.": "Източникът на {source}. Изданието му доставя {file}, модифициране на съдържание: инсталирането на тези от GitHub все още не се поддържа.",
|
||||
"Build anyway": "Изградете все пак",
|
||||
"A name, 3 to 16 letters": "Име, от 3 до 16 букви",
|
||||
"Installed {mods} from GitHub ({source}). Build it on the Mods page.": "Инсталирано {mods} от GitHub ({source}). Изградете го на страницата Mods.",
|
||||
"Settings, Keys, Generate access token. It's kept in this computer's keychain and only sent to Tailscale.": "Настройки, ключове, генериране на маркер за достъп. Съхранява се в ключодържателя на този компютър и се изпраща само до Tailscale.",
|
||||
"{id} is up to date.": "{id} е актуален.",
|
||||
@@ -604,7 +583,6 @@
|
||||
"I read it and trust it: install": "Прочетох го и му вярвам: инсталирай",
|
||||
"Close export": "Затворете експорта",
|
||||
"Playing needs a prepared Horizon version (Play page).": "Играта изисква подготвена версия на Horizon (страница за възпроизвеждане).",
|
||||
"Offline, the game's name": "Офлайн, името на играта",
|
||||
"From Horizon's registry": "От регистъра на Horizon",
|
||||
"Sounds": "Звуци",
|
||||
"Edit…": "Редактиране...",
|
||||
@@ -637,12 +615,10 @@
|
||||
"up to date": "актуален",
|
||||
"← Newer": "← По-нови",
|
||||
"Downloading from Mojang · {done} of {total} files": "Изтегляне от Mojang · {done} от {total} файла",
|
||||
"{name}'s skin is kept.": "Кожата на {name} се запазва.",
|
||||
"Edit instance": "Редактиране на екземпляр",
|
||||
"Remove shortcut": "Премахване на пряк път",
|
||||
"{program} is not installed here (or not on the PATH): copy the config instead.": "{program} не е инсталиран тук (или не е в PATH): вместо това копирайте конфигурацията.",
|
||||
"No worlds to put in.": "Няма светове за поставяне.",
|
||||
"Default skin": "Кожа по подразбиране",
|
||||
"A link to a repository (its latest release), a release, a branch or tag, or a commit. The launcher installs one exact release file or commit, never a branch that moves.": "Връзка към хранилище (последната му версия), издание, разклонение или етикет или ангажимент. Стартерът инсталира един точен файл за освобождаване или ангажимент, никога клон, който се движи.",
|
||||
"Sign in with GitHub to rate": "Влезте с GitHub, за да оцените",
|
||||
"Star on GitHub": "Дай звезда в GitHub",
|
||||
@@ -1055,10 +1031,6 @@
|
||||
"played by {names}": "изигран от {names}",
|
||||
"{day}, {time} UTC": "{day}, {time} часа UTC",
|
||||
"Microsoft account · online servers too": "Акаунт в Microsoft · и онлайн сървъри",
|
||||
"Offline · single player and LAN worlds": "Офлайн · игра за един играч и LAN светове",
|
||||
"Offline names": "Офлайн имена",
|
||||
"Add a name": "Добавяне на име",
|
||||
"3 to 16 letters, numbers or underscores. Switch names from the top bar too. Online servers don't take offline names.": "От 3 до 16 букви, цифри или долни черти. Можете да сменяте името и от горната лента. Онлайн сървърите не приемат офлайн имена.",
|
||||
"Play online with your Microsoft account": "Играйте онлайн с акаунта си в Microsoft",
|
||||
"Sign in with the account that owns Minecraft: Java Edition. Your name and skin come along to online servers, like in other launchers.": "Влезте с акаунта, който притежава Minecraft: Java Edition. Името и скинът ви остават с вас и в онлайн сървърите, както в другите лаунчери.",
|
||||
"Microsoft's own page opens in your browser. Horizon never sees your password.": "Собствената страница на Microsoft се отваря в браузъра ви. Horizon никога не вижда паролата ви.",
|
||||
|
||||
@@ -37,7 +37,6 @@
|
||||
"Building {name}'s post-build step": "Pazenn goude sevel ar savadur {name}",
|
||||
"In use": "En implij",
|
||||
"Prepare": "Prientiñ",
|
||||
"Developer options": "Dibarzhioù an diorroer",
|
||||
"{online} of {max} players": "{online} eus {max} c'hoarierien",
|
||||
"Minecraft {version} (Java Edition). Play downloads it from Mojang for your account the first time, with the Java it needs.": "Minecraft {version} (Java Embannadur). Play a bellgarg anezhañ eus Mojang evit ho kont ar wech kentañ, gant ar Java en deus ezhomm.",
|
||||
"Close": "Serriñ",
|
||||
@@ -98,7 +97,6 @@
|
||||
"From my install": "Diwar ma staliadur",
|
||||
"the update failed: {error}": "c'hwitet en deus an hizivadenn : {error}",
|
||||
"Mesa's DRI_PRIME=1, so Vulkan picks the other card.": "DRI_PRIME=1 eo Mesa, setu Vulkan a zibab ar gartenn all.",
|
||||
"New name": "Anv nevez",
|
||||
"Dark": "Teñval",
|
||||
"Not now": "N'eo ket bremañ",
|
||||
"Use an access token…": "Implijit un arouezenn mont e-barzh...",
|
||||
@@ -115,7 +113,6 @@
|
||||
"Partly": "Evit ul lodenn",
|
||||
"All": "An holl",
|
||||
"Instance": "Staliadur",
|
||||
"Classic arms": "Divrec'h klasel",
|
||||
"Versions": "Stummoù",
|
||||
"Release build: slower to build, slightly faster game": "Sevel embannadur : gorrekoc'h da sevel, c'hoari un tamm buanoc'h",
|
||||
"Performance build": "Savadur ar perzhded",
|
||||
@@ -172,7 +169,6 @@
|
||||
"about a minute left": "ur vunutenn bennak a chom",
|
||||
"Cancel": "Nullañ",
|
||||
"Add to {client}": "Ouzhpennañ da {client}",
|
||||
"Skin…": "Kroc'hen...",
|
||||
"Environment": "Endro",
|
||||
"They often still work together. If the build fails, install versions made for the same Nightly.": "Alies e labouront asambles c'hoazh. Ma c'hwit ar sevel, staliañ stummoù savet evit an hevelep Nightly.",
|
||||
"Import an instance folder…": "Enporzhiañ un teuliad skouerennoù...",
|
||||
@@ -184,7 +180,6 @@
|
||||
"newest stable version": "stumm stabil nevesañ",
|
||||
"Choose image…": "Dibabit ar skeudenn...",
|
||||
"No worlds yet: they appear here once you play one.": "Bed ebet c'hoazh : dont a reont war wel amañ ur wech c'hoariet unan.",
|
||||
"Offline names play without a Microsoft account that owns the game. Minecraft still comes from your own install.": "C'hoari a ra an anvioù ezlinenn hep ur gont Microsoft a zo perc'henn war ar c'hoari. Minecraft a zeu c'hoazh eus ho staliadur hoc'h-unan.",
|
||||
"crash reports beside it": "danevelloù sac'hadenn e-kichen",
|
||||
"Install all": "Staliañ an holl",
|
||||
"No group": "Strollad ebet",
|
||||
@@ -202,7 +197,6 @@
|
||||
"My instance": "Ma skouer",
|
||||
"Snapshot": "Stumm arnod",
|
||||
"Gallery": "Palier",
|
||||
"Offline name": "Anv ezlinenn",
|
||||
"Home": "Ti",
|
||||
"Stopping": "O serriñ",
|
||||
"MSPT · tick time": "MSPT · amzer tik",
|
||||
@@ -304,8 +298,6 @@
|
||||
"Patch notes": "Notennoù patch",
|
||||
"Your Minecraft server, {online}.": "Ho servijer Minecraft, {online}.",
|
||||
"Crash reports": "Danevelloù sac'hadenn",
|
||||
"Offline name · the game's own · plays": "Anv ezlinenn · hini ar c'hoari · c'hoari",
|
||||
"Slim arms": "Divrec'h moan",
|
||||
"Asking GitHub about {owner}/{repo}…": "Goulenn GitHub diwar-benn {owner}/{repo}…",
|
||||
"Downloading Minecraft {version} from Mojang · {done} of {total} files": "Pellgargañ Minecraft {version} diwar Mojang · {done} eus {total} restroù",
|
||||
"Could not save your choice: {error}": "N'haller ket enrollañ ho tibab : {error}",
|
||||
@@ -354,7 +346,6 @@
|
||||
"Horizon's landscape. Pick a PNG, JPEG or WebP picture of your own.": "gweledva Horizon. Dibabit ur skeudenn PNG, JPEG pe WebP deoc'h-c'hwi.",
|
||||
"Not needed": "N'eus ket ezhomm",
|
||||
"This build of the launcher has no Microsoft sign-in (HORIZON_MSA_CLIENT_ID), so it can't start the game.": "N'eus Microsoft kennaskañ ebet gant ar stumm-mañ eus al lañser (HORIZON_MSA_CLIENT_ID), neuze ne c'hell ket kregiñ gant ar c'hoari.",
|
||||
"Offline name · plays": "Anv ezlinenn · c'hoari",
|
||||
"Run the game through": "Lakaat ar c'hoari da vont en-dro",
|
||||
"needed by another pack": "ezhomm gant ur pakad all",
|
||||
"Older →": "Koshoc'h →",
|
||||
@@ -365,13 +356,10 @@
|
||||
"Could not run {program}: {error}": "N'haller ket mont en-dro {program} : {error}",
|
||||
"Restart": "Adloc'hañ",
|
||||
"Copied to the clipboard.": "Eilet war ar c'hlipbord.",
|
||||
"Your worlds, offline names and settings stay where they are.": "Chom a ra ho bedoù, ho anvioù ezlinenn hag ho arventennoù e-lec'h m'emaint.",
|
||||
"Send nothing": "Ne gas netra",
|
||||
"Move to Trash": "Dilec'hiañ d'al lastez",
|
||||
"Start from": "Kregiñ gant",
|
||||
"Asking Mojang for its versions…": "Goulenn Mojang evit e stummoù...",
|
||||
"A 64×64 (or 64×32) skin PNG and a 64×32 cape PNG, kept by the launcher and given to the game when this name plays. The game draws the default skins for now; it uses these once it can. A Microsoft account's skin and cape: coming soon.": "Ur skin PNG 64×64 (pe 64×32) hag ur PNG cape 64×32, miret gant al lañser ha roet d'ar c'hoari pa vez c'hoariet an anv-se. Ar c'hoari a denn ar skinoù dre ziouer evit ar mare ; implijout a ra anezho ur wech ma c'hell. Ur gont Microsoft kroc'hen ha vantell : a-benn nebeut.",
|
||||
"Play offline under another name, and switch from the top bar. Online servers don't take offline names.": "C'hoari ezlinenn dindan un anv all, ha tremen eus ar varrenn uhelañ. Ar servijerioù enlinenn ne gemeront ket anvioù ezlinenn.",
|
||||
"Report on Discord": "Danevell war Discord",
|
||||
"Export": "Ezporzhiañ",
|
||||
"Server": "Dafariad",
|
||||
@@ -384,7 +372,6 @@
|
||||
"No version installed yet.": "Stumm ebet staliet c'hoazh.",
|
||||
"Release": "Embann",
|
||||
"Verified": "Gwiriekaet",
|
||||
"Choose a skin…": "Dibabit ur c'hroc'hen...",
|
||||
"{instance} doesn't play its native mods yet: build the game with them.": "{instance} ne c'hoari ket e modoù orin c'hoazh : sevel ar c'hoari ganto.",
|
||||
"Use jars from my instance…": "Implijit podoù eus ma skouer...",
|
||||
"Applications menu": "Lañser arloadoù",
|
||||
@@ -408,7 +395,6 @@
|
||||
"Open backups": "Digeriñ an enrolladennoù",
|
||||
"The game is running: change packs in its own menus, or here once it is closed.": "Emañ ar c'hoari o vont en-dro : cheñch pakadoù en e rolloù e-unan, pe amañ ur wech serret.",
|
||||
"Check now": "Gwiriit bremañ",
|
||||
"Choose a cape…": "Dibabit ur vantell...",
|
||||
"Save": "Enrollañ",
|
||||
"Folder": "Teuliad",
|
||||
"Searching…": "O klask…",
|
||||
@@ -422,7 +408,6 @@
|
||||
"MangoHud": "MangoHud",
|
||||
"Sign out": "Dilemel",
|
||||
"When it starts": "Pa grogo",
|
||||
"{name}'s skin": "kroc'hen {name}",
|
||||
"Start": "Kregiñ",
|
||||
"No Minecraft install needed: Horizon downloads it from Mojang for your account.": "N'eus ket ezhomm da staliañ Minecraft : Horizon a bellgarg anezhañ eus Mojang evit ho kont.",
|
||||
"Logs": "Marilhoù",
|
||||
@@ -446,7 +431,6 @@
|
||||
"The wordmark, while the release list loads.": "Ar merk-gerioù, e-keit ma vez karget ar roll embannadurioù.",
|
||||
"Playing offline": "C'hoari ezlinenn",
|
||||
"Sign in to Tailscale": "Kevreañ ouzh Tailscale",
|
||||
"Offline names without an account": "Anvioù ezlinenn hep kont",
|
||||
"Help make Horizon faster and steadier?": "Sikour da lakaat Horizon da vezañ buanoc'h ha stabiloc'h ?",
|
||||
"Sign in to play": "Kevreañ evit c'hoari",
|
||||
"Ported": "Portet",
|
||||
@@ -488,14 +472,12 @@
|
||||
"Update this launcher with your package manager.": "Hizivait al lañser-mañ gant ho merour pakadoù.",
|
||||
"Close this launcher, move it to {folder}, and open it there to enable updates.": "Serrit al lañser-mañ, dilec'hit anezhañ da {folder}, ha digorit anezhañ eno evit gweredekaat an hizivadennoù.",
|
||||
"Any MCP client": "Ne vern peseurt kliant MCP",
|
||||
"{name}'s cape is kept.": "{name} a zo miret.",
|
||||
"Not reviewed by the Horizon registry": "N'eo ket bet adwelet gant ar marilh Horizon",
|
||||
"Proxy": "Proksi",
|
||||
"Checking": "O gwiriañ",
|
||||
"Updates": "Hizivadennoù",
|
||||
"Asking Microsoft…": "Goulenn Microsoft…",
|
||||
"Prepared for Minecraft {version}, without its sounds: the game will be silent. Prepare again to copy them from your Minecraft install.": "Prest evit Minecraft {version}, hep e sonioù : sioul e vo ar c’hoari. Prientit en-dro da eilañ anezho diwar ho staliadur Minecraft.",
|
||||
"Forget": "Ankounac'haat",
|
||||
"Import a modpack…": "Enporzhiañ ur pakad mod...",
|
||||
"Search versions": "Klask stummoù",
|
||||
"failed": "c'hwitet",
|
||||
@@ -504,7 +486,6 @@
|
||||
"Left off: {line}.": "Dilezet : {line}.",
|
||||
"Resource packs": "Pakadoù danvezioù",
|
||||
"yesterday": "dec'h",
|
||||
"No cape": "Kab ebet",
|
||||
"After each session: frame-time percentiles and a 14-bucket histogram, tick times, peak memory and startup times, with your machine (OS, CPU and its cores and clocks, memory size, GPU, its memory and driver, drive type, screen size and refresh rate, laptop or desktop, on battery or not) and the settings that change performance.": "Goude pep dalc'h : dregantadoù amzer-framm hag un histogramm 14-bucket, amzerioù tikedenn, amzerioù memor uhelañ ha loc'hañ, gant ho urzhiataer (OR, CPU hag e greizennoù hag e horolajoù, ment ar memor, GPU, e vemor hag e sturier, seurt lenner, ment ar skramm hag ar feur freskaat, urzhiataer pe burev, gant pilenn pe get) hag an arventennoù a cheñch ar perzhioù.",
|
||||
"Make a token": "Ober un token",
|
||||
"Added {names}: the game turns it on when the world opens.": "Ouzhpennet {names} : ar c'hoari a laka anezhañ da vont en-dro pa zigor ar bed.",
|
||||
@@ -557,7 +538,6 @@
|
||||
"Shared: {url}": "Rannet : {url}",
|
||||
"Friends on the same Wi-Fi: Multiplayer, Add Server, then paste this address.": "Mignoned war ar memes Wi-Fi : Liesc'hoarier, Ouzhpennañ ur servijer, ha goude-se pegañ ar chomlec'h-mañ.",
|
||||
"None yet: drop a .hshader or a shader pack .zip here.": "Hini ebet c'hoazh : lakait ur .hshader pe ur pakad skeudenner .zip amañ.",
|
||||
"Offline name · the game's own": "Anv ezlinenn · hini ar c'hoari",
|
||||
"Native mods aren't sandboxed: they run with full access to your computer, like any program. Install only mods whose authors you trust. To play with one, build the game on the Mods page; the first build downloads Rust and takes 20 to 30 minutes.": "N'eo ket sandboxed ar modoù orin : mont a reont en-dro gant mont e darempred gant hoc'h urzhiataer, evel kement programm all. Staliañ ar c'hemmoù a fiziit en o aozerien hepken. Evit c'hoari gant unan, sevel ar c'hoari war ar bajenn Mods ; ar sevel kentañ a bellgarg Rust hag a bad 20 pe 30 munutenn.",
|
||||
"Your selected version only changes if you were playing the newest one.": "Ne cheñcho ar stumm diuzet nemet ma oac'h o c'hoari gant an hini nevesañ.",
|
||||
"Multiplayer": "Liesc'hoarier",
|
||||
@@ -587,7 +567,6 @@
|
||||
"the port": "ar porzh |",
|
||||
"The source of {source}. Its release ships {file}, a content mod: installing those from GitHub is not supported yet.": "Mammenn {source}. E embannadur a gas {file}, ur mod endalc'had : n'eo ket skoret staliañ ar re eus GitHub c'hoazh.",
|
||||
"Build anyway": "Sevel koulskoude",
|
||||
"A name, 3 to 16 letters": "Un anv, 3 da 16 lizherenn",
|
||||
"Installed {mods} from GitHub ({source}). Build it on the Mods page.": "Staliet {mods} adalek GitHub ({source}). Sevel anezhañ war ar bajenn Mods.",
|
||||
"Settings, Keys, Generate access token. It's kept in this computer's keychain and only sent to Tailscale.": "Arventennoù, Alc'hwezioù, Krouiñ token mont e-barzh. Miret e vez e-barzh alc'hwezioù an urzhiataer-mañ ha kaset eo da Tailscale hepken.",
|
||||
"{id} is up to date.": "{id} a zo hizivaet.",
|
||||
@@ -602,7 +581,6 @@
|
||||
"I read it and trust it: install": "Lennet em eus anezhañ ha fiziañs am eus ennañ : staliañ",
|
||||
"Close export": "Serriñ an ezporzhiañ",
|
||||
"Playing needs a prepared Horizon version (Play page).": "Evit c'hoari e ranker kaout ur stumm Horizon prientet (Pajenn c'hoari).",
|
||||
"Offline, the game's name": "Ezlinenn, anv ar c'hoari",
|
||||
"From Horizon's registry": "Eus marilh Horizon",
|
||||
"Sounds": "Sonioù",
|
||||
"Edit…": "Kemmañ...",
|
||||
@@ -635,12 +613,10 @@
|
||||
"up to date": "hizivaet",
|
||||
"← Newer": "← Nevesoc'h",
|
||||
"Downloading from Mojang · {done} of {total} files": "O pellgargañ diwar Mojang · {done} eus {total} restroù",
|
||||
"{name}'s skin is kept.": "Miret eo kroc'hen {name}.",
|
||||
"Edit instance": "Kemmañ skouer",
|
||||
"Remove shortcut": "Dilemel ar berradennoù",
|
||||
"{program} is not installed here (or not on the PATH): copy the config instead.": "{program} n'eo ket staliet amañ (pe n'eo ket war an HENT) : eilañ ar c'hefluniadur kentoc'h.",
|
||||
"No worlds to put in.": "Bed ebet da lakaat e-barzh.",
|
||||
"Default skin": "Kroc'hen dre ziouer",
|
||||
"A link to a repository (its latest release), a release, a branch or tag, or a commit. The launcher installs one exact release file or commit, never a branch that moves.": "Ul liamm war-du un diaz (e embannadur diwezhañ), un embannadur, ur skourr pe un dikedenn, pe un emglev. Staliañ a ra al lañser ur restr embann pe un emglev rik, biskoazh ur skourr a zilec'h.",
|
||||
"Sign in with GitHub to rate": "En em lugañ gant GitHub evit priziañ",
|
||||
"Star on GitHub": "Reiñ ur steredenn war GitHub",
|
||||
@@ -1053,10 +1029,6 @@
|
||||
"played by {names}": "c'hoariet gant {names}",
|
||||
"{day}, {time} UTC": "{day}, {time} UTC",
|
||||
"Microsoft account · online servers too": "Microsoft gont · servijerioù enlinenn ivez",
|
||||
"Offline · single player and LAN worlds": "Ezlinenn · c'hoarier unvan ha bedoù LAN",
|
||||
"Offline names": "Anvioù ezlinenn",
|
||||
"Add a name": "Ouzhpennañ un anv",
|
||||
"3 to 16 letters, numbers or underscores. Switch names from the top bar too. Online servers don't take offline names.": "3 da 16 lizherenn, sifroù pe islinennoù. Cheñch anvioù adalek ar varrenn uhelañ ivez. Ar servijerioù enlinenn ne gemeront ket anvioù ezlinenn.",
|
||||
"Play online with your Microsoft account": "C'hoari enlinenn gant ho kont Microsoft",
|
||||
"Sign in with the account that owns Minecraft: Java Edition. Your name and skin come along to online servers, like in other launchers.": "En em lugañ gant ar gont a zo perc'henn war Minecraft: Java Embannadur. Hoc'h anv hag ho kroc'hen a zeu war servijerioù enlinenn, evel e lañserioù all.",
|
||||
"Microsoft's own page opens in your browser. Horizon never sees your password.": "Pajenn Microsoft e-unan a zigor en ho merdeer. Horizon ne wel ket ho ker-tremen morse.",
|
||||
|
||||
@@ -37,7 +37,6 @@
|
||||
"Building {name}'s post-build step": "Korak izgradnje {name} nakon izgradnje",
|
||||
"In use": "U upotrebi",
|
||||
"Prepare": "Pripremite se",
|
||||
"Developer options": "Opcije za programere",
|
||||
"{online} of {max} players": "{online} od {max} igrača",
|
||||
"Minecraft {version} (Java Edition). Play downloads it from Mojang for your account the first time, with the Java it needs.": "Minecraft {version} (Java izdanje). Play ga preuzima sa Mojang-a za vaš nalog prvi put, sa Javom koja joj je potrebna.",
|
||||
"Close": "Zatvori",
|
||||
@@ -98,7 +97,6 @@
|
||||
"From my install": "Iz moje instalacije",
|
||||
"the update failed: {error}": "ažuriranje nije uspjelo: {error}",
|
||||
"Mesa's DRI_PRIME=1, so Vulkan picks the other card.": "Mesin DRI_PRIME=1, tako da Vulkan bira drugu kartu.",
|
||||
"New name": "Novo ime",
|
||||
"Dark": "Tamno",
|
||||
"Not now": "Ne sada",
|
||||
"Use an access token…": "Koristite token za pristup…",
|
||||
@@ -115,7 +113,6 @@
|
||||
"Partly": "Djelomično",
|
||||
"All": "Sve",
|
||||
"Instance": "Instanca",
|
||||
"Classic arms": "Klasične ruke",
|
||||
"Versions": "Verzije",
|
||||
"Release build: slower to build, slightly faster game": "Izrada izdanja: sporija za izgradnju, malo brža igra",
|
||||
"Performance build": "Izgradnja performansi",
|
||||
@@ -172,7 +169,6 @@
|
||||
"about a minute left": "još otprilike minut",
|
||||
"Cancel": "Otkaži",
|
||||
"Add to {client}": "Dodaj u {client}",
|
||||
"Skin…": "Koža…",
|
||||
"Environment": "Životna sredina",
|
||||
"They often still work together. If the build fails, install versions made for the same Nightly.": "Često i dalje rade zajedno. Ako izgradnja ne uspije, instalirajte verzije napravljene za isti Nightly.",
|
||||
"Import an instance folder…": "Uvezite folder instance…",
|
||||
@@ -184,7 +180,6 @@
|
||||
"newest stable version": "najnovija stabilna verzija",
|
||||
"Choose image…": "Odaberite sliku…",
|
||||
"No worlds yet: they appear here once you play one.": "Još uvijek nema svjetova: pojavljuju se ovdje kada igrate jedan.",
|
||||
"Offline names play without a Microsoft account that owns the game. Minecraft still comes from your own install.": "Offline imena igraju se bez Microsoft naloga koji je vlasnik igre. Minecraft i dalje dolazi iz vaše vlastite instalacije.",
|
||||
"crash reports beside it": "izveštaji o padovima pored njega",
|
||||
"Install all": "Instalirajte sve",
|
||||
"No group": "Nema grupe",
|
||||
@@ -202,7 +197,6 @@
|
||||
"My instance": "Moj primer",
|
||||
"Snapshot": "Snapshot verzija",
|
||||
"Gallery": "Galerija",
|
||||
"Offline name": "Ime van mreže",
|
||||
"Home": "Dom",
|
||||
"Stopping": "Zaustavljanje",
|
||||
"MSPT · tick time": "MSPT · vrijeme tika",
|
||||
@@ -304,8 +298,6 @@
|
||||
"Patch notes": "Bilješke o zakrpama",
|
||||
"Your Minecraft server, {online}.": "Vaš Minecraft server, {online}.",
|
||||
"Crash reports": "Izvještaji o padu",
|
||||
"Offline name · the game's own · plays": "Offline ime · igra vlastito · igra",
|
||||
"Slim arms": "Tanke ruke",
|
||||
"Asking GitHub about {owner}/{repo}…": "Pitam GitHub o {owner}/{repo}…",
|
||||
"Downloading Minecraft {version} from Mojang · {done} of {total} files": "Preuzimanje Minecrafta {version} iz Mojanga · {done} od {total} fajlova",
|
||||
"Could not save your choice: {error}": "Nije moguće sačuvati vaš izbor: {error}",
|
||||
@@ -354,7 +346,6 @@
|
||||
"Horizon's landscape. Pick a PNG, JPEG or WebP picture of your own.": "pejzaž Horizon. Odaberite svoju sliku u PNG, JPEG ili WebP formatu.",
|
||||
"Not needed": "Nije potrebno",
|
||||
"This build of the launcher has no Microsoft sign-in (HORIZON_MSA_CLIENT_ID), so it can't start the game.": "Ova verzija pokretača nema Microsoft prijavu (HORIZON_MSA_CLIENT_ID), tako da ne može pokrenuti igru.",
|
||||
"Offline name · plays": "Vanmrežno ime · reprod",
|
||||
"Run the game through": "Provedite igru",
|
||||
"needed by another pack": "potreban drugom paketu",
|
||||
"Older →": "Stariji →",
|
||||
@@ -365,13 +356,10 @@
|
||||
"Could not run {program}: {error}": "Nije moguće pokrenuti {program}: {error}",
|
||||
"Restart": "Ponovo pokreni",
|
||||
"Copied to the clipboard.": "Kopirano u međuspremnik.",
|
||||
"Your worlds, offline names and settings stay where they are.": "Vaši svjetovi, vanmrežna imena i postavke ostaju tamo gdje jesu.",
|
||||
"Send nothing": "Ne šalji ništa",
|
||||
"Move to Trash": "Premjesti u Otpad",
|
||||
"Start from": "Počni od",
|
||||
"Asking Mojang for its versions…": "Pitajući Mojang za njegove verzije…",
|
||||
"A 64×64 (or 64×32) skin PNG and a 64×32 cape PNG, kept by the launcher and given to the game when this name plays. The game draws the default skins for now; it uses these once it can. A Microsoft account's skin and cape: coming soon.": "64×64 (ili 64×32) skin PNG i 64×32 ogrtač PNG, koje čuva pokretač i daje igri kada se ovo ime igra. Igra za sada crta zadane skinove; koristi ih kad god može. Koža i ogrtač Microsoft naloga: uskoro.",
|
||||
"Play offline under another name, and switch from the top bar. Online servers don't take offline names.": "Igrajte van mreže pod drugim imenom i prebacite se s gornje trake. Online serveri ne preuzimaju offline imena.",
|
||||
"Report on Discord": "Izvještaj o Discordu",
|
||||
"Export": "Izvoz",
|
||||
"Server": "Server",
|
||||
@@ -384,7 +372,6 @@
|
||||
"No version installed yet.": "Još nije instalirana verzija.",
|
||||
"Release": "Izdanje",
|
||||
"Verified": "Provjereno",
|
||||
"Choose a skin…": "Odaberite kožu…",
|
||||
"{instance} doesn't play its native mods yet: build the game with them.": "{instance} još ne igra svoje izvorne modove: izgradite igru s njima.",
|
||||
"Use jars from my instance…": "Koristite tegle iz mog primjera…",
|
||||
"Applications menu": "Meni aplikacija",
|
||||
@@ -408,7 +395,6 @@
|
||||
"Open backups": "Otvorite sigurnosne kopije",
|
||||
"The game is running: change packs in its own menus, or here once it is closed.": "Igra je pokrenuta: promijenite pakete u vlastitim menijima ili ovdje kada se zatvori.",
|
||||
"Check now": "Provjerite sada",
|
||||
"Choose a cape…": "Odaberite ogrtač…",
|
||||
"Save": "Sačuvaj",
|
||||
"Folder": "Folder",
|
||||
"Searching…": "Pretraživanje…",
|
||||
@@ -422,7 +408,6 @@
|
||||
"MangoHud": "MangoHud",
|
||||
"Sign out": "Odjavi se",
|
||||
"When it starts": "Kada počne",
|
||||
"{name}'s skin": "skin {name}",
|
||||
"Start": "Počni",
|
||||
"No Minecraft install needed: Horizon downloads it from Mojang for your account.": "Minecraft instalacija nije potrebna: Horizon preuzima ga sa Mojanga za vaš nalog.",
|
||||
"Logs": "Dnevnici",
|
||||
@@ -446,7 +431,6 @@
|
||||
"The wordmark, while the release list loads.": "Riječni znak, dok se lista izdanja učitava.",
|
||||
"Playing offline": "Igranje van mreže",
|
||||
"Sign in to Tailscale": "Prijavite se na Tailscale",
|
||||
"Offline names without an account": "Offline imena bez naloga",
|
||||
"Help make Horizon faster and steadier?": "Pomozite da Horizon bude brži i stabilniji?",
|
||||
"Sign in to play": "Prijavite se da igrate",
|
||||
"Ported": "Preneseno",
|
||||
@@ -488,14 +472,12 @@
|
||||
"Update this launcher with your package manager.": "Ažurirajte ovaj pokretač pomoću svog upravitelja paketa.",
|
||||
"Close this launcher, move it to {folder}, and open it there to enable updates.": "Zatvorite ovaj pokretač, premjestite ga u {folder} i otvorite ga tamo da biste omogućili ažuriranja.",
|
||||
"Any MCP client": "Bilo koji MCP klijent",
|
||||
"{name}'s cape is kept.": "{name} ogrtač je zadržan.",
|
||||
"Not reviewed by the Horizon registry": "Nije pregledan od strane Horizon registra",
|
||||
"Proxy": "Proxy",
|
||||
"Checking": "Provjeravam",
|
||||
"Updates": "Ažuriranja",
|
||||
"Asking Microsoft…": "Pitam Microsoft…",
|
||||
"Prepared for Minecraft {version}, without its sounds: the game will be silent. Prepare again to copy them from your Minecraft install.": "Pripremljeno za Minecraft {version}, bez zvukova: igra će biti tiha. Pripremite se ponovo da ih kopirate iz svoje Minecraft instalacije.",
|
||||
"Forget": "Zaboravi",
|
||||
"Import a modpack…": "Uvezite modpack…",
|
||||
"Search versions": "Pretražite verzije",
|
||||
"failed": "nije uspjelo",
|
||||
@@ -504,7 +486,6 @@
|
||||
"Left off: {line}.": "Zaustavljeno: {line}.",
|
||||
"Resource packs": "Paketi resursa",
|
||||
"yesterday": "juče",
|
||||
"No cape": "Bez ogrtača",
|
||||
"After each session: frame-time percentiles and a 14-bucket histogram, tick times, peak memory and startup times, with your machine (OS, CPU and its cores and clocks, memory size, GPU, its memory and driver, drive type, screen size and refresh rate, laptop or desktop, on battery or not) and the settings that change performance.": "Nakon svake sesije: procentili vremena kadra i histogram od 14 kantica, vremena otkucaja, vršna memorija i vremena pokretanja, sa vašom mašinom (OS, CPU i njegove jezgre i taktovi, veličina memorije, GPU, njegova memorija i drajver, tip pogona, veličina ekrana i brzina osvježavanja, laptop ili desktop, na bateriji ili ne) i postavkama koje mijenjaju performanse.",
|
||||
"Make a token": "Napravite žeton",
|
||||
"Added {names}: the game turns it on when the world opens.": "Dodano {names}: igra se uključuje kada se svijet otvori.",
|
||||
@@ -557,7 +538,6 @@
|
||||
"Shared: {url}": "Podijeljeno: {url}",
|
||||
"Friends on the same Wi-Fi: Multiplayer, Add Server, then paste this address.": "Prijatelji na istoj Wi-Fi mreži: Multiplayer, Add Server, a zatim zalijepite ovu adresu.",
|
||||
"None yet: drop a .hshader or a shader pack .zip here.": "Još ništa: ovdje ispustite .hshader ili paket shadera .zip.",
|
||||
"Offline name · the game's own": "Offline naziv · igra je vlastita",
|
||||
"Native mods aren't sandboxed: they run with full access to your computer, like any program. Install only mods whose authors you trust. To play with one, build the game on the Mods page; the first build downloads Rust and takes 20 to 30 minutes.": "Izvorni modovi nisu zaštićeni: oni rade sa punim pristupom vašem računaru, kao i svaki program. Instalirajte samo modove čijim autorima vjerujete. Da biste igrali s jednim, napravite igru na stranici Mods; prva verzija preuzima Rust i traje 20 do 30 minuta.",
|
||||
"Your selected version only changes if you were playing the newest one.": "Vaša odabrana verzija se mijenja samo ako ste igrali najnoviju.",
|
||||
"Multiplayer": "Više igrača",
|
||||
@@ -587,7 +567,6 @@
|
||||
"the port": "luka",
|
||||
"The source of {source}. Its release ships {file}, a content mod: installing those from GitHub is not supported yet.": "Izvor {source}. Njegovo izdanje isporučuje {file}, mod za sadržaj: instaliranje onih sa GitHub-a još nije podržano.",
|
||||
"Build anyway": "Ipak izgradite",
|
||||
"A name, 3 to 16 letters": "Ime, od 3 do 16 slova",
|
||||
"Installed {mods} from GitHub ({source}). Build it on the Mods page.": "Instalirano {mods} sa GitHub-a ({source}). Napravite ga na stranici Mods.",
|
||||
"Settings, Keys, Generate access token. It's kept in this computer's keychain and only sent to Tailscale.": "Postavke, Ključevi, Generiraj pristupni token. Čuva se u privjesku za ključeve ovog računara i šalje se samo u Tailscale.",
|
||||
"{id} is up to date.": "{id} je ažuriran.",
|
||||
@@ -602,7 +581,6 @@
|
||||
"I read it and trust it: install": "Pročitao sam ga i vjerujem mu: instalirajte",
|
||||
"Close export": "Zatvori izvoz",
|
||||
"Playing needs a prepared Horizon version (Play page).": "Za igranje je potrebna pripremljena Horizon verzija (stranica za igranje).",
|
||||
"Offline, the game's name": "Offline, ime igre",
|
||||
"From Horizon's registry": "Iz registra Horizon",
|
||||
"Sounds": "Zvuci",
|
||||
"Edit…": "Uredi…",
|
||||
@@ -635,12 +613,10 @@
|
||||
"up to date": "ažurno",
|
||||
"← Newer": "← Novije",
|
||||
"Downloading from Mojang · {done} of {total} files": "Preuzimanje sa Mojanga · {done} od {total} fajlova",
|
||||
"{name}'s skin is kept.": "Koža {name} je zadržana.",
|
||||
"Edit instance": "Uredi instancu",
|
||||
"Remove shortcut": "Uklonite prečicu",
|
||||
"{program} is not installed here (or not on the PATH): copy the config instead.": "{program} nije instaliran ovdje (ili nije na PATH): umjesto toga kopirajte konfiguraciju.",
|
||||
"No worlds to put in.": "Nema svjetova za ubacivanje.",
|
||||
"Default skin": "Podrazumijevana koža",
|
||||
"A link to a repository (its latest release), a release, a branch or tag, or a commit. The launcher installs one exact release file or commit, never a branch that moves.": "Veza na spremište (njegovo najnovije izdanje), izdanje, granu ili oznaku ili urezivanje. Pokretač instalira jednu tačnu datoteku izdanja ili urezivanje, nikada granu koja se pomiče.",
|
||||
"Sign in with GitHub to rate": "Prijavite se na GitHub da biste ocijenili",
|
||||
"Star on GitHub": "Daj zvjezdicu na GitHubu",
|
||||
@@ -1053,10 +1029,6 @@
|
||||
"played by {names}": "igra {names}",
|
||||
"{day}, {time} UTC": "{day}, {time} UTC",
|
||||
"Microsoft account · online servers too": "Microsoft nalog · i serveri na mreži",
|
||||
"Offline · single player and LAN worlds": "Offline · Svijet za jednog igrača i LAN",
|
||||
"Offline names": "Offline imena",
|
||||
"Add a name": "Dodajte ime",
|
||||
"3 to 16 letters, numbers or underscores. Switch names from the top bar too. Online servers don't take offline names.": "3 do 16 slova, brojeva ili donjih crta. Promijenite imena također sa gornje trake. Online serveri ne preuzimaju offline imena.",
|
||||
"Play online with your Microsoft account": "Igrajte na mreži sa svojim Microsoft nalogom",
|
||||
"Sign in with the account that owns Minecraft: Java Edition. Your name and skin come along to online servers, like in other launchers.": "Prijavite se sa nalogom koji poseduje Minecraft: Java Edition. Vaše ime i koža dolaze na mrežne servere, kao u drugim lanserima.",
|
||||
"Microsoft's own page opens in your browser. Horizon never sees your password.": "Microsoftova vlastita stranica se otvara u vašem pretraživaču. Horizon nikada ne vidi vašu lozinku.",
|
||||
|
||||
@@ -37,7 +37,6 @@
|
||||
"Building {name}'s post-build step": "Creació del pas posterior a la creació de {name}",
|
||||
"In use": "En ús",
|
||||
"Prepare": "Prepara't",
|
||||
"Developer options": "Opcions de desenvolupador",
|
||||
"{online} of {max} players": "{online} de {max} jugadors",
|
||||
"Minecraft {version} (Java Edition). Play downloads it from Mojang for your account the first time, with the Java it needs.": "Minecraft {version} (edició Java). Play el descarrega de Mojang per al teu compte la primera vegada, amb el Java que necessita.",
|
||||
"Close": "Tancar",
|
||||
@@ -98,7 +97,6 @@
|
||||
"From my install": "De la meva instal·lació",
|
||||
"the update failed: {error}": "l'actualització ha fallat: {error}",
|
||||
"Mesa's DRI_PRIME=1, so Vulkan picks the other card.": "DRI_PRIME=1 de Mesa, de manera que Vulkan tria l'altra carta.",
|
||||
"New name": "Nou nom",
|
||||
"Dark": "Fosc",
|
||||
"Not now": "Ara no",
|
||||
"Use an access token…": "Utilitza un testimoni d'accés...",
|
||||
@@ -115,7 +113,6 @@
|
||||
"Partly": "En part",
|
||||
"All": "Tots",
|
||||
"Instance": "Instància",
|
||||
"Classic arms": "Braços clàssics",
|
||||
"Versions": "Versions",
|
||||
"Release build: slower to build, slightly faster game": "Construcció de llançament: joc més lent de construcció i una mica més ràpid",
|
||||
"Performance build": "Construcció de rendiment",
|
||||
@@ -172,7 +169,6 @@
|
||||
"about a minute left": "queda aproximadament un minut",
|
||||
"Cancel": "Cancel·la",
|
||||
"Add to {client}": "Afegeix a {client}",
|
||||
"Skin…": "Pell…",
|
||||
"Environment": "Medi ambient",
|
||||
"They often still work together. If the build fails, install versions made for the same Nightly.": "Sovint encara treballen junts. Si la compilació falla, instal·leu versions fetes per al mateix Nightly.",
|
||||
"Import an instance folder…": "Importa una carpeta d'instància...",
|
||||
@@ -184,7 +180,6 @@
|
||||
"newest stable version": "versió estable més recent",
|
||||
"Choose image…": "Tria la imatge...",
|
||||
"No worlds yet: they appear here once you play one.": "Encara no hi ha mons: apareixen aquí quan en jugueu un.",
|
||||
"Offline names play without a Microsoft account that owns the game. Minecraft still comes from your own install.": "Els noms fora de línia juguen sense un compte de Microsoft propietari del joc. Minecraft encara prové de la teva pròpia instal·lació.",
|
||||
"crash reports beside it": "informes de fallades al costat",
|
||||
"Install all": "Instal·leu-ho tot",
|
||||
"No group": "Cap grup",
|
||||
@@ -202,7 +197,6 @@
|
||||
"My instance": "La meva instància",
|
||||
"Snapshot": "Instantània",
|
||||
"Gallery": "Galeria",
|
||||
"Offline name": "Nom fora de línia",
|
||||
"Home": "a casa",
|
||||
"Stopping": "Aturant",
|
||||
"MSPT · tick time": "MSPT · temps per tick",
|
||||
@@ -304,8 +298,6 @@
|
||||
"Patch notes": "Notes del pedaç",
|
||||
"Your Minecraft server, {online}.": "El teu servidor de Minecraft, {online}.",
|
||||
"Crash reports": "Informes de fallades",
|
||||
"Offline name · the game's own · plays": "Nom fora de línia · jugades pròpies del joc",
|
||||
"Slim arms": "Braços prims",
|
||||
"Asking GitHub about {owner}/{repo}…": "Preguntant a GitHub sobre {owner}/{repo}...",
|
||||
"Downloading Minecraft {version} from Mojang · {done} of {total} files": "Baixant Minecraft {version} de Mojang · {done} de {total} fitxers",
|
||||
"Could not save your choice: {error}": "No s'ha pogut desar la teva elecció: {error}",
|
||||
@@ -354,7 +346,6 @@
|
||||
"Horizon's landscape. Pick a PNG, JPEG or WebP picture of your own.": "El paisatge d'Horizon. Tria una imatge PNG, JPEG o WebP pròpia.",
|
||||
"Not needed": "No cal",
|
||||
"This build of the launcher has no Microsoft sign-in (HORIZON_MSA_CLIENT_ID), so it can't start the game.": "Aquesta versió del llançador no té cap inici de sessió de Microsoft (HORIZON_MSA_CLIENT_ID), de manera que no pot iniciar el joc.",
|
||||
"Offline name · plays": "Nom fora de línia · juga",
|
||||
"Run the game through": "Executeu el joc",
|
||||
"needed by another pack": "necessari per un altre paquet",
|
||||
"Older →": "Més vell →",
|
||||
@@ -365,13 +356,10 @@
|
||||
"Could not run {program}: {error}": "No s'ha pogut executar {program}: {error}",
|
||||
"Restart": "Reinicieu",
|
||||
"Copied to the clipboard.": "S'ha copiat al porta-retalls.",
|
||||
"Your worlds, offline names and settings stay where they are.": "Els vostres mons, noms fora de línia i configuració es mantenen on són.",
|
||||
"Send nothing": "No envieu res",
|
||||
"Move to Trash": "Mou a la paperera",
|
||||
"Start from": "Comença des de",
|
||||
"Asking Mojang for its versions…": "Demanant a Mojang les seves versions...",
|
||||
"A 64×64 (or 64×32) skin PNG and a 64×32 cape PNG, kept by the launcher and given to the game when this name plays. The game draws the default skins for now; it uses these once it can. A Microsoft account's skin and cape: coming soon.": "Una pell PNG de 64×64 (o 64×32) i una capa PNG de 64×32, conservada pel llançador i donada al joc quan es juga aquest nom. El joc dibuixa els aspectes predeterminats de moment; els fa servir una vegada que pot. La pell i la capa d'un compte de Microsoft: properament.",
|
||||
"Play offline under another name, and switch from the top bar. Online servers don't take offline names.": "Juga fora de línia amb un altre nom i canvia des de la barra superior. Els servidors en línia no prenen noms fora de línia.",
|
||||
"Report on Discord": "Informe sobre Discord",
|
||||
"Export": "Exporta",
|
||||
"Server": "Servidor",
|
||||
@@ -384,7 +372,6 @@
|
||||
"No version installed yet.": "Encara no hi ha cap versió instal·lada.",
|
||||
"Release": "Versió estable",
|
||||
"Verified": "Verificat",
|
||||
"Choose a skin…": "Tria una pell...",
|
||||
"{instance} doesn't play its native mods yet: build the game with them.": "{instance} encara no juga als seus mods natius: crea el joc amb ells.",
|
||||
"Use jars from my instance…": "Utilitzeu pots de la meva instància...",
|
||||
"Applications menu": "Menú d'aplicacions",
|
||||
@@ -408,7 +395,6 @@
|
||||
"Open backups": "Obre còpies de seguretat",
|
||||
"The game is running: change packs in its own menus, or here once it is closed.": "El joc s'està executant: canvieu els paquets als seus propis menús, o aquí un cop estigui tancat.",
|
||||
"Check now": "Comproveu ara",
|
||||
"Choose a cape…": "Tria una capa...",
|
||||
"Save": "Desa",
|
||||
"Folder": "Carpeta",
|
||||
"Searching…": "S'està cercant…",
|
||||
@@ -422,7 +408,6 @@
|
||||
"MangoHud": "MangoHud",
|
||||
"Sign out": "Tanca la sessió",
|
||||
"When it starts": "Quan comença",
|
||||
"{name}'s skin": "la pell de {name}",
|
||||
"Start": "Comença",
|
||||
"No Minecraft install needed: Horizon downloads it from Mojang for your account.": "No cal instal·lar Minecraft: Horizon el descarrega des de Mojang per al vostre compte.",
|
||||
"Logs": "Registres",
|
||||
@@ -446,7 +431,6 @@
|
||||
"The wordmark, while the release list loads.": "La paraula marca, mentre es carrega la llista de llançaments.",
|
||||
"Playing offline": "Jugant fora de línia",
|
||||
"Sign in to Tailscale": "Inicieu la sessió a Tailscale",
|
||||
"Offline names without an account": "Noms fora de línia sense un compte",
|
||||
"Help make Horizon faster and steadier?": "Ajudeu a fer que Horizon sigui més ràpid i estable?",
|
||||
"Sign in to play": "Inicia sessió per jugar",
|
||||
"Ported": "Portat",
|
||||
@@ -488,14 +472,12 @@
|
||||
"Update this launcher with your package manager.": "Actualitza aquest llançador amb el teu gestor de paquets.",
|
||||
"Close this launcher, move it to {folder}, and open it there to enable updates.": "Tanca aquest llançador, mou-lo a {folder} i obre'l allà per habilitar les actualitzacions.",
|
||||
"Any MCP client": "Qualsevol client MCP",
|
||||
"{name}'s cape is kept.": "Es manté la capa de {name}.",
|
||||
"Not reviewed by the Horizon registry": "No revisat pel registre d'Horizon",
|
||||
"Proxy": "Proxy",
|
||||
"Checking": "Comprovació",
|
||||
"Updates": "Actualitzacions",
|
||||
"Asking Microsoft…": "Preguntant a Microsoft...",
|
||||
"Prepared for Minecraft {version}, without its sounds: the game will be silent. Prepare again to copy them from your Minecraft install.": "Preparat per a Minecraft {version}, sense els seus sons: el joc estarà en silenci. Prepareu-vos de nou per copiar-los de la vostra instal·lació de Minecraft.",
|
||||
"Forget": "Oblida't",
|
||||
"Import a modpack…": "Importa un modpack...",
|
||||
"Search versions": "Cerca versions",
|
||||
"failed": "fracassat",
|
||||
@@ -504,7 +486,6 @@
|
||||
"Left off: {line}.": "S'ha deixat: {line}.",
|
||||
"Resource packs": "Paquets de recursos",
|
||||
"yesterday": "ahir",
|
||||
"No cape": "Sense capa",
|
||||
"After each session: frame-time percentiles and a 14-bucket histogram, tick times, peak memory and startup times, with your machine (OS, CPU and its cores and clocks, memory size, GPU, its memory and driver, drive type, screen size and refresh rate, laptop or desktop, on battery or not) and the settings that change performance.": "Després de cada sessió: percentils de temps de fotograma i un histograma de 14 dipòsits, temps de tick, memòria màxima i temps d'inici, amb la vostra màquina (SO, CPU i els seus nuclis i rellotges, mida de memòria, GPU, la seva memòria i controlador, tipus de unitat, mida de pantalla i freqüència d'actualització, portàtil o escriptori, amb bateria o no) i la configuració que canvia el rendiment.",
|
||||
"Make a token": "Fes un testimoni",
|
||||
"Added {names}: the game turns it on when the world opens.": "S'ha afegit {names}: el joc l'encén quan s'obre el món.",
|
||||
@@ -557,7 +538,6 @@
|
||||
"Shared: {url}": "Compartit: {url}",
|
||||
"Friends on the same Wi-Fi: Multiplayer, Add Server, then paste this address.": "Amics a la mateixa xarxa Wi-Fi: Multijugador, Afegeix servidor i enganxeu aquesta adreça.",
|
||||
"None yet: drop a .hshader or a shader pack .zip here.": "Cap encara: deixeu anar un .hshader o un paquet de shader .zip aquí.",
|
||||
"Offline name · the game's own": "Nom fora de línia · el propi del joc",
|
||||
"Native mods aren't sandboxed: they run with full access to your computer, like any program. Install only mods whose authors you trust. To play with one, build the game on the Mods page; the first build downloads Rust and takes 20 to 30 minutes.": "Les modificacions natives no són sandbox: s'executen amb accés complet al vostre ordinador, com qualsevol programa. Instal·leu només modificacions en els autors dels quals confieu. Per jugar amb un, crea el joc a la pàgina Mods; la primera versió descarrega Rust i triga entre 20 i 30 minuts.",
|
||||
"Your selected version only changes if you were playing the newest one.": "La versió seleccionada només canvia si estàveu jugant a la més nova.",
|
||||
"Multiplayer": "Multijugador",
|
||||
@@ -587,7 +567,6 @@
|
||||
"the port": "el port",
|
||||
"The source of {source}. Its release ships {file}, a content mod: installing those from GitHub is not supported yet.": "La font de {source}. El seu llançament inclou {file}, un mod de contingut: la instal·lació de GitHub encara no és compatible.",
|
||||
"Build anyway": "Construeix de totes maneres",
|
||||
"A name, 3 to 16 letters": "Un nom, de 3 a 16 lletres",
|
||||
"Installed {mods} from GitHub ({source}). Build it on the Mods page.": "S'ha instal·lat {mods} des de GitHub ({source}). Creeu-lo a la pàgina de modificacions.",
|
||||
"Settings, Keys, Generate access token. It's kept in this computer's keychain and only sent to Tailscale.": "Configuració, claus, generar testimoni d'accés. Es guarda al clauer d'aquest ordinador i només s'envia a Tailscale.",
|
||||
"{id} is up to date.": "{id} està actualitzat.",
|
||||
@@ -602,7 +581,6 @@
|
||||
"I read it and trust it: install": "Ho llegeixo i hi confio: instal·lar",
|
||||
"Close export": "Tanca l'exportació",
|
||||
"Playing needs a prepared Horizon version (Play page).": "Per jugar necessita una versió d'Horizon preparada (pàgina de reproducció).",
|
||||
"Offline, the game's name": "Fora de línia, el nom del joc",
|
||||
"From Horizon's registry": "Del registre d'Horizon",
|
||||
"Sounds": "Sons",
|
||||
"Edit…": "Edita...",
|
||||
@@ -635,12 +613,10 @@
|
||||
"up to date": "al dia",
|
||||
"← Newer": "← Més recent",
|
||||
"Downloading from Mojang · {done} of {total} files": "Descàrrega de Mojang · {done} de {total} fitxers",
|
||||
"{name}'s skin is kept.": "La pell de {name} es manté.",
|
||||
"Edit instance": "Edita la instància",
|
||||
"Remove shortcut": "Elimina la drecera",
|
||||
"{program} is not installed here (or not on the PATH): copy the config instead.": "{program} no està instal·lat aquí (o no al PATH): copieu la configuració.",
|
||||
"No worlds to put in.": "No hi ha mons per posar-hi.",
|
||||
"Default skin": "Aspecte per defecte",
|
||||
"A link to a repository (its latest release), a release, a branch or tag, or a commit. The launcher installs one exact release file or commit, never a branch that moves.": "Un enllaç a un repositori (la seva darrera versió), una versió, una branca o etiqueta o una confirmació. El llançador instal·la un fitxer de llançament o commit exacte, mai una branca que es mou.",
|
||||
"Sign in with GitHub to rate": "Inicia la sessió amb GitHub per puntuar",
|
||||
"Star on GitHub": "Dona una estrella a GitHub",
|
||||
@@ -1055,9 +1031,7 @@
|
||||
"1 hour": "1 hora",
|
||||
"1 hour ago": "fa 1 hora",
|
||||
"1 line": "1 línia",
|
||||
"3 to 16 letters, numbers or underscores. Switch names from the top bar too. Online servers don't take offline names.": "De 3 a 16 lletres, números o guions baixos. També pots canviar de nom des de la barra superior. Els servidors en línia no accepten noms fora de línia.",
|
||||
"Accent colour, glass, blur, language and the options above go back to how Horizon ships.": "El color d'accent, el vidre, el desenfocament, la llengua i les opcions de dalt tornen als valors amb què ve Horizon.",
|
||||
"Add a name": "Afegeix un nom",
|
||||
"Colours the buttons, the switches and the sky. Pick one, or type any hex colour.": "Acoloreix els botons, els interruptors i el cel. Tria'n un o escriu qualsevol color hexadecimal.",
|
||||
"Copied the picture": "S'ha copiat la imatge",
|
||||
"Copied {text}": "S'ha copiat {text}",
|
||||
@@ -1084,8 +1058,6 @@
|
||||
"Native mods": "Mods natius",
|
||||
"Nightly": "Nocturna",
|
||||
"Nothing matches “{query}”.": "Res no coincideix amb «{query}».",
|
||||
"Offline names": "Noms fora de línia",
|
||||
"Offline · single player and LAN worlds": "Fora de línia · un jugador i mons LAN",
|
||||
"Open the game folder": "Obre la carpeta del joc",
|
||||
"Open {page}": "Obre {page}",
|
||||
"Opened {path}": "S'ha obert {path}",
|
||||
|
||||
@@ -37,7 +37,6 @@
|
||||
"Building {name}'s post-build step": "Krok sestavení {name} po sestavení",
|
||||
"In use": "Používá se",
|
||||
"Prepare": "Připravit",
|
||||
"Developer options": "Možnosti vývojáře",
|
||||
"{online} of {max} players": "{online} z {max} hráčů",
|
||||
"Minecraft {version} (Java Edition). Play downloads it from Mojang for your account the first time, with the Java it needs.": "Minecraft {version} (Java Edition). Play si ji poprvé stáhne z Mojangu pro váš účet s Javou, kterou potřebuje.",
|
||||
"Close": "Zavřít",
|
||||
@@ -98,7 +97,6 @@
|
||||
"From my install": "Z mé instalace",
|
||||
"the update failed: {error}": "aktualizace se nezdařila: {error}",
|
||||
"Mesa's DRI_PRIME=1, so Vulkan picks the other card.": "Mesa má DRI_PRIME=1, takže Vulkan vybere jinou kartu.",
|
||||
"New name": "Nové jméno",
|
||||
"Dark": "Tmavý",
|
||||
"Not now": "Teď ne",
|
||||
"Use an access token…": "Použijte přístupový token…",
|
||||
@@ -115,7 +113,6 @@
|
||||
"Partly": "Částečně",
|
||||
"All": "Vše",
|
||||
"Instance": "Instance",
|
||||
"Classic arms": "Klasické paže",
|
||||
"Versions": "Verze",
|
||||
"Release build: slower to build, slightly faster game": "Sestavení vydání: pomalejší sestavení, o něco rychlejší hra",
|
||||
"Performance build": "Sestavení výkonu",
|
||||
@@ -172,7 +169,6 @@
|
||||
"about a minute left": "zbývá asi minuta",
|
||||
"Cancel": "Zrušit",
|
||||
"Add to {client}": "Přidat do {client}",
|
||||
"Skin…": "Vzhled…",
|
||||
"Environment": "Životní prostředí",
|
||||
"They often still work together. If the build fails, install versions made for the same Nightly.": "Často spolu stále spolupracují. Pokud sestavení selže, nainstalujte verze vytvořené pro stejný Nightly.",
|
||||
"Import an instance folder…": "Importovat složku instance…",
|
||||
@@ -184,7 +180,6 @@
|
||||
"newest stable version": "nejnovější stabilní verze",
|
||||
"Choose image…": "Vyberte obrázek…",
|
||||
"No worlds yet: they appear here once you play one.": "Zatím žádné světy: objeví se zde, jakmile nějaký zahrajete.",
|
||||
"Offline names play without a Microsoft account that owns the game. Minecraft still comes from your own install.": "Offline jména hrají bez účtu Microsoft, který hru vlastní. Minecraft stále pochází z vaší vlastní instalace.",
|
||||
"crash reports beside it": "zprávy o havárii vedle ní",
|
||||
"Install all": "Nainstalujte vše",
|
||||
"No group": "Žádná skupina",
|
||||
@@ -202,7 +197,6 @@
|
||||
"My instance": "Moje instance",
|
||||
"Snapshot": "Snímek",
|
||||
"Gallery": "Galerie",
|
||||
"Offline name": "Offline jméno",
|
||||
"Home": "Domů",
|
||||
"Stopping": "Zastavení",
|
||||
"MSPT · tick time": "MSPT · čas tikání",
|
||||
@@ -305,8 +299,6 @@
|
||||
"Patch notes": "Poznámky k záplatám",
|
||||
"Your Minecraft server, {online}.": "Váš Minecraft server, {online}.",
|
||||
"Crash reports": "Zprávy o pádu",
|
||||
"Offline name · the game's own · plays": "Offline název · vlastní hra · hraje",
|
||||
"Slim arms": "Štíhlé paže",
|
||||
"Asking GitHub about {owner}/{repo}…": "Ptát se GitHubu na {owner}/{repo}…",
|
||||
"Downloading Minecraft {version} from Mojang · {done} of {total} files": "Stahování Minecraft {version} od Mojangu · {done} z {total} souborů",
|
||||
"Could not save your choice: {error}": "Vaši volbu nelze uložit: {error}",
|
||||
@@ -355,7 +347,6 @@
|
||||
"Horizon's landscape. Pick a PNG, JPEG or WebP picture of your own.": "Krajina Horizonu. Vyberte si vlastní obrázek PNG, JPEG nebo WebP.",
|
||||
"Not needed": "Není potřeba",
|
||||
"This build of the launcher has no Microsoft sign-in (HORIZON_MSA_CLIENT_ID), so it can't start the game.": "Toto sestavení spouštěče nemá žádné přihlášení k Microsoftu (HORIZON_MSA_CLIENT_ID), takže nemůže spustit hru.",
|
||||
"Offline name · plays": "Název offline · přehraje",
|
||||
"Run the game through": "Spustit hru přes",
|
||||
"needed by another pack": "potřebuje další balíček",
|
||||
"Older →": "Starší →",
|
||||
@@ -366,13 +357,10 @@
|
||||
"Could not run {program}: {error}": "Nelze spustit {program}: {error}",
|
||||
"Restart": "Restartovat",
|
||||
"Copied to the clipboard.": "Zkopírováno do schránky.",
|
||||
"Your worlds, offline names and settings stay where they are.": "Vaše světy, offline názvy a nastavení zůstanou tam, kde jsou.",
|
||||
"Send nothing": "Neposílejte nic",
|
||||
"Move to Trash": "Přesunout do koše",
|
||||
"Start from": "Začít od",
|
||||
"Asking Mojang for its versions…": "Ptát se Mojangu na jeho verze…",
|
||||
"A 64×64 (or 64×32) skin PNG and a 64×32 cape PNG, kept by the launcher and given to the game when this name plays. The game draws the default skins for now; it uses these once it can. A Microsoft account's skin and cape: coming soon.": "64×64 (nebo 64×32) skin PNG a 64×32 plášť PNG, které si ponechal spouštěč a které se do hry přidávají při hraní tohoto jména. Hra zatím kreslí výchozí vzhledy; jakmile to bude možné, použije je. Vzhled a plášť účtu Microsoft: již brzy.",
|
||||
"Play offline under another name, and switch from the top bar. Online servers don't take offline names.": "Hrajte offline pod jiným jménem a přepněte z horní lišty. Online servery neberou názvy offline.",
|
||||
"Report on Discord": "Zpráva o Discordu",
|
||||
"Export": "Exportovat",
|
||||
"Server": "Server",
|
||||
@@ -385,7 +373,6 @@
|
||||
"No version installed yet.": "Zatím není nainstalována žádná verze.",
|
||||
"Release": "Vydání",
|
||||
"Verified": "Ověřeno",
|
||||
"Choose a skin…": "Vyberte si skin…",
|
||||
"{instance} doesn't play its native mods yet: build the game with them.": "{instance} zatím nehraje své nativní mody: sestavte hru s nimi.",
|
||||
"Use jars from my instance…": "Použijte JAR soubory z mé instance…",
|
||||
"Applications menu": "Nabídka aplikací",
|
||||
@@ -409,7 +396,6 @@
|
||||
"Open backups": "Otevřít zálohy",
|
||||
"The game is running: change packs in its own menus, or here once it is closed.": "Hra běží: vyměňte balíčky ve vlastních nabídkách nebo zde, jakmile je zavřena.",
|
||||
"Check now": "Zkontrolovat nyní",
|
||||
"Choose a cape…": "Vyberte si plášť…",
|
||||
"Save": "Uložit",
|
||||
"Folder": "Složka",
|
||||
"Searching…": "Vyhledávání…",
|
||||
@@ -423,7 +409,6 @@
|
||||
"MangoHud": "MangoHud",
|
||||
"Sign out": "Odhlaste se",
|
||||
"When it starts": "Když to začne",
|
||||
"{name}'s skin": "Kůže {name}",
|
||||
"Start": "Spustit",
|
||||
"No Minecraft install needed: Horizon downloads it from Mojang for your account.": "Není potřeba žádná instalace Minecraftu: Horizon si jej stáhne z Mojangu pro váš účet.",
|
||||
"Logs": "Protokoly",
|
||||
@@ -447,7 +432,6 @@
|
||||
"The wordmark, while the release list loads.": "Slovní značka, zatímco se načítá seznam vydání.",
|
||||
"Playing offline": "Hraní offline",
|
||||
"Sign in to Tailscale": "Přihlaste se do Tailscale",
|
||||
"Offline names without an account": "Offline jména bez účtu",
|
||||
"Help make Horizon faster and steadier?": "Pomůžete udělat Horizon rychlejší a stabilnější?",
|
||||
"Sign in to play": "Chcete-li hrát, přihlaste se",
|
||||
"Ported": "Přeneseno",
|
||||
@@ -490,14 +474,12 @@
|
||||
"Update this launcher with your package manager.": "Aktualizujte tento launcher pomocí správce balíčků.",
|
||||
"Close this launcher, move it to {folder}, and open it there to enable updates.": "Pro zapnutí aktualizací zavřete tento launcher, přesuňte jej do {folder} a tam jej znovu otevřete.",
|
||||
"Any MCP client": "Jakýkoli klient MCP",
|
||||
"{name}'s cape is kept.": "{name} plášť je zachován.",
|
||||
"Not reviewed by the Horizon registry": "Nekontrolováno registrem Horizon",
|
||||
"Proxy": "Proxy",
|
||||
"Checking": "Kontrola",
|
||||
"Updates": "Aktualizace",
|
||||
"Asking Microsoft…": "Dotaz Microsoftu…",
|
||||
"Prepared for Minecraft {version}, without its sounds: the game will be silent. Prepare again to copy them from your Minecraft install.": "Připraveno pro Minecraft {version}, bez jeho zvuků: hra bude tichá. Znovu se připravte na jejich zkopírování z instalace Minecraftu.",
|
||||
"Forget": "Zapomenout",
|
||||
"Import a modpack…": "Importujte modpack…",
|
||||
"Search versions": "Hledat verze",
|
||||
"failed": "nepodařilo",
|
||||
@@ -506,7 +488,6 @@
|
||||
"Left off: {line}.": "Vlevo: {line}.",
|
||||
"Resource packs": "Balíčky zdrojů",
|
||||
"yesterday": "včera",
|
||||
"No cape": "Bez pláštěnky",
|
||||
"After each session: frame-time percentiles and a 14-bucket histogram, tick times, peak memory and startup times, with your machine (OS, CPU and its cores and clocks, memory size, GPU, its memory and driver, drive type, screen size and refresh rate, laptop or desktop, on battery or not) and the settings that change performance.": "Po každé relaci: percentily frame-time a 14-segmentový histogram, časy ticků, špičková paměť a časy spuštění, s vaším počítačem (OS, CPU a jeho jádra a takty, velikost paměti, GPU, jeho paměť a ovladač, typ disku, velikost obrazovky a obnovovací frekvence, notebook nebo stolní počítač, na baterii nebo bez) a nastavení, která mění výkon.",
|
||||
"Make a token": "Udělejte si žeton",
|
||||
"Added {names}: the game turns it on when the world opens.": "Přidáno {names}: hra se zapne, když se otevře svět.",
|
||||
@@ -559,7 +540,6 @@
|
||||
"Shared: {url}": "Sdíleno: {url}",
|
||||
"Friends on the same Wi-Fi: Multiplayer, Add Server, then paste this address.": "Přátelé na stejné Wi-Fi: Hra pro více hráčů, Přidat server a poté vložte tuto adresu.",
|
||||
"None yet: drop a .hshader or a shader pack .zip here.": "Zatím žádné: sem pusťte soubor .hshader nebo shader pack .zip.",
|
||||
"Offline name · the game's own": "Název offline · vlastní hra",
|
||||
"Native mods aren't sandboxed: they run with full access to your computer, like any program. Install only mods whose authors you trust. To play with one, build the game on the Mods page; the first build downloads Rust and takes 20 to 30 minutes.": "Nativní mody nejsou v sandboxu: běží s plným přístupem k vašemu počítači, jako každý program. Instalujte pouze mody, jejichž autorům důvěřujete. Chcete-li hrát s jedním, vytvořte hru na stránce Mods; první sestavení stáhne Rust a trvá 20 až 30 minut.",
|
||||
"Your selected version only changes if you were playing the newest one.": "Vámi vybraná verze se změní pouze v případě, že jste hráli nejnovější verzi.",
|
||||
"Multiplayer": "Multiplayer",
|
||||
@@ -589,7 +569,6 @@
|
||||
"the port": "port",
|
||||
"The source of {source}. Its release ships {file}, a content mod: installing those from GitHub is not supported yet.": "Zdroj {source}. Jeho vydání se dodává {file}, modifikace obsahu: instalace těch z GitHubu zatím není podporována.",
|
||||
"Build anyway": "Přesto sestavit",
|
||||
"A name, 3 to 16 letters": "Jméno, 3 až 16 písmen",
|
||||
"Installed {mods} from GitHub ({source}). Build it on the Mods page.": "Nainstalováno {mods} z GitHubu ({source}). Vytvořte jej na stránce Mods.",
|
||||
"Settings, Keys, Generate access token. It's kept in this computer's keychain and only sent to Tailscale.": "Nastavení, Klíče, Generovat přístupový token. Je uložen v klíčence tohoto počítače a odeslán pouze do Tailscale.",
|
||||
"{id} is up to date.": "{id} je aktuální.",
|
||||
@@ -604,7 +583,6 @@
|
||||
"I read it and trust it: install": "Četl jsem to a věřím tomu: nainstalovat",
|
||||
"Close export": "Zavřít export",
|
||||
"Playing needs a prepared Horizon version (Play page).": "Hraní vyžaduje připravenou verzi Horizon (stránka Play).",
|
||||
"Offline, the game's name": "Offline, název hry",
|
||||
"From Horizon's registry": "Z registru Horizonu",
|
||||
"Sounds": "Zvuky",
|
||||
"Edit…": "Upravit…",
|
||||
@@ -637,12 +615,10 @@
|
||||
"up to date": "aktuální",
|
||||
"← Newer": "← Novější",
|
||||
"Downloading from Mojang · {done} of {total} files": "Stahování od Mojangu · {done} z {total} souborů",
|
||||
"{name}'s skin is kept.": "Kůže {name} je zachována.",
|
||||
"Edit instance": "Upravit instanci",
|
||||
"Remove shortcut": "Odebrat zástupce",
|
||||
"{program} is not installed here (or not on the PATH): copy the config instead.": "{program} zde není nainstalováno (nebo není na PATH): místo toho zkopírujte konfiguraci.",
|
||||
"No worlds to put in.": "Žádné světy k vložení.",
|
||||
"Default skin": "Výchozí vzhled",
|
||||
"A link to a repository (its latest release), a release, a branch or tag, or a commit. The launcher installs one exact release file or commit, never a branch that moves.": "Odkaz na úložiště (jeho nejnovější vydání), vydání, větev nebo značku nebo commit. Spouštěč nainstaluje přesně jeden soubor vydání nebo commit, nikdy se nepohybuje větev.",
|
||||
"Sign in with GitHub to rate": "Chcete-li hodnotit, přihlaste se pomocí GitHubu",
|
||||
"Star on GitHub": "Dát hvězdu na GitHubu",
|
||||
@@ -1055,10 +1031,6 @@
|
||||
"played by {names}": "hraje {names}",
|
||||
"{day}, {time} UTC": "{day} v {time} UTC",
|
||||
"Microsoft account · online servers too": "Účet Microsoft · i online servery",
|
||||
"Offline · single player and LAN worlds": "Offline · hra pro jednoho hráče a světy v LAN",
|
||||
"Offline names": "Offline jména",
|
||||
"Add a name": "Přidat jméno",
|
||||
"3 to 16 letters, numbers or underscores. Switch names from the top bar too. Online servers don't take offline names.": "3 až 16 písmen, číslic nebo podtržítek. Jméno můžete přepnout i v horní liště. Online servery offline jména nepřijímají.",
|
||||
"Play online with your Microsoft account": "Hrajte online se svým účtem Microsoft",
|
||||
"Sign in with the account that owns Minecraft: Java Edition. Your name and skin come along to online servers, like in other launchers.": "Přihlaste se účtem, který vlastní Minecraft: Java Edition. Vaše jméno a skin vás doprovázejí na online servery, stejně jako v jiných launcherech.",
|
||||
"Microsoft's own page opens in your browser. Horizon never sees your password.": "Vlastní stránka Microsoftu se otevře ve vašem prohlížeči. Horizon vaše heslo nikdy nevidí.",
|
||||
|
||||
@@ -37,7 +37,6 @@
|
||||
"Building {name}'s post-build step": "Ҫурт {name} тунӑ хыҫҫӑнхи утӑм",
|
||||
"In use": "Усӑ курать",
|
||||
"Prepare": "Хатӗрленӗр",
|
||||
"Developer options": "Разработчик опцийӗсем",
|
||||
"{online} of {max} players": "{online} {max} вылякансенчен",
|
||||
"Minecraft {version} (Java Edition). Play downloads it from Mojang for your account the first time, with the Java it needs.": "Minecraft {version} (Java Издание). Play ӑна сирӗн аккаунт валли пӗрремӗш хут Mojang-ран скачать тӑвать, ӑна кирлӗ Java-па.",
|
||||
"Close": "Хуп",
|
||||
@@ -98,7 +97,6 @@
|
||||
"From my install": "Манӑн установкӑран",
|
||||
"the update failed: {error}": "ҫӗнетӳ ӑнӑҫсӑр пулнӑ: {error}",
|
||||
"Mesa's DRI_PRIME=1, so Vulkan picks the other card.": "Меса DRI_PRIME=1, ҫавӑнпа та Vulkan тепӗр карттӑна суйласа илет.",
|
||||
"New name": "Çӗнӗ ят",
|
||||
"Dark": "Тӗттӗм",
|
||||
"Not now": "Халӗ мар",
|
||||
"Use an access token…": "Кӗмелли маркерпа усӑ курӑр...",
|
||||
@@ -115,7 +113,6 @@
|
||||
"Partly": "Пӗр пайӗпе",
|
||||
"All": "Пурте",
|
||||
"Instance": "Инстанци",
|
||||
"Classic arms": "Классика хӗҫпӑшалӗсем",
|
||||
"Versions": "Версисем",
|
||||
"Release build: slower to build, slightly faster game": "Релиз строительстви: ерипенрех строительство, кӑштах хӑвӑртрах вӑйӑ",
|
||||
"Performance build": "Ӗҫ тухӑҫлӑхӗн строительстви",
|
||||
@@ -172,7 +169,6 @@
|
||||
"about a minute left": "минута яхӑн юлчӗ",
|
||||
"Cancel": "Пӑрахӑҫла",
|
||||
"Add to {client}": "{client} ҫине хушӑр",
|
||||
"Skin…": "Скин…",
|
||||
"Environment": "Тавралӑх",
|
||||
"They often still work together. If the build fails, install versions made for the same Nightly.": "Чылай чухне вӗсем халӗ те пӗрле ӗҫлеҫҫӗ. Енчен те сборка ӑнӑҫсӑр пулсан, ҫав Nightly валли тунӑ версисене вырнаҫтарӑр.",
|
||||
"Import an instance folder…": "Экземпляр папкине импортла...",
|
||||
@@ -184,7 +180,6 @@
|
||||
"newest stable version": "чи ҫӗнӗ стабильлӗ верси",
|
||||
"Choose image…": "Сӑнӳкерчӗке суйласа илӗр...",
|
||||
"No worlds yet: they appear here once you play one.": "Тӗнчесем ҫук-ха: вӗсем кунта пӗрре вылясан курӑнаҫҫӗ.",
|
||||
"Offline names play without a Microsoft account that owns the game. Minecraft still comes from your own install.": "Офлайн ятсем вӑйӑ хуҫи Microsoft аккаунтсӑр выляҫҫӗ. Minecraft ҫаплах сирӗн хӑвӑрӑн установкӑран килет.",
|
||||
"crash reports beside it": "унпа юнашар авари ҫинчен пӗлтернисем",
|
||||
"Install all": "Пурне те вырнаҫтар",
|
||||
"No group": "Ушкӑн ҫук",
|
||||
@@ -202,7 +197,6 @@
|
||||
"My instance": "Манӑн тӗслӗх",
|
||||
"Snapshot": "Снапшот",
|
||||
"Gallery": "Галерея",
|
||||
"Offline name": "Офлайн ят",
|
||||
"Home": "Килте",
|
||||
"Stopping": "Чарӑнни",
|
||||
"MSPT · tick time": "MSPT · тик вӑхӑчӗ",
|
||||
@@ -304,8 +298,6 @@
|
||||
"Patch notes": "Патч заметки",
|
||||
"Your Minecraft server, {online}.": "Сирӗн Minecraft сервер, {online}.",
|
||||
"Crash reports": "Авари ҫинчен пӗлтернисем",
|
||||
"Offline name · the game's own · plays": "Офлайн ят · вӑйӑ хӑйӗн · вылять",
|
||||
"Slim arms": "Ҫинҫе алӑсем",
|
||||
"Asking GitHub about {owner}/{repo}…": "GitHub ҫинчен {owner}/{repo} ҫинчен ыйтатӑп...",
|
||||
"Downloading Minecraft {version} from Mojang · {done} of {total} files": "Minecraft {version} из Mojang · {done} из {total} файлов",
|
||||
"Could not save your choice: {error}": "Суйласа илнине упраса хӑвараймарӑмӑр: {error}",
|
||||
@@ -354,7 +346,6 @@
|
||||
"Horizon's landscape. Pick a PNG, JPEG or WebP picture of your own.": "Horizon пейзажӗ. Хӑвӑрӑн PNG, JPEG е WebP ӳкерчӗке суйласа илӗр.",
|
||||
"Not needed": "Кирлӗ мар",
|
||||
"This build of the launcher has no Microsoft sign-in (HORIZON_MSA_CLIENT_ID), so it can't start the game.": "Ку лаунчерӑн Microsoft логин ҫук (HORIZON_MSA_CLIENT_ID), ҫавӑнпа та вӑл вӑййа пуҫлаймасть.",
|
||||
"Offline name · plays": "Офлайн ят · вылять",
|
||||
"Run the game through": "Вӑййа вӗҫне ҫитермелле",
|
||||
"needed by another pack": "тепӗр ушкӑна кирлӗ",
|
||||
"Older →": "Ватӑрах →",
|
||||
@@ -365,13 +356,10 @@
|
||||
"Could not run {program}: {error}": "Чупма май килмерӗ {program}: {error}",
|
||||
"Restart": "Ҫӗнӗрен пуҫла",
|
||||
"Copied to the clipboard.": "Буфера копиленӗ.",
|
||||
"Your worlds, offline names and settings stay where they are.": "Сирӗн тӗнчесем, офлайн ятсем тата настройкӑсем хӑйсем ӑҫта пулнӑ, ҫавӑнтах юлаҫҫӗ.",
|
||||
"Send nothing": "Нимӗн те ан ярӑр",
|
||||
"Move to Trash": "Ҫӳп-ҫап ҫине куҫар",
|
||||
"Start from": "Пуҫласа",
|
||||
"Asking Mojang for its versions…": "Унӑн версийӗсемшӗн Mojang ыйтатӑп...",
|
||||
"A 64×64 (or 64×32) skin PNG and a 64×32 cape PNG, kept by the launcher and given to the game when this name plays. The game draws the default skins for now; it uses these once it can. A Microsoft account's skin and cape: coming soon.": "64×64 (е 64×32) тир PNG тата 64×32 плащ PNG, вӗсене пускавҫӑ тытса тӑрать тата ҫак ят вылянӑ чухне вӑййа парать. Вӑйӑ хальлӗхе стандартлӑ тирсене ӳкерет; вӑл ҫаксемпе пӗрре усӑ курать. Microsoft аккаунтӑн тирӗпе плащӗ: часах пулать.",
|
||||
"Play offline under another name, and switch from the top bar. Online servers don't take offline names.": "Офлайн урӑх ятпа выляса илӗр те ҫӳлти йӗртен куҫӑр. Интернетри серверсем офлайн ятсене йышӑнмаҫҫӗ.",
|
||||
"Report on Discord": "Отчет на Discord",
|
||||
"Export": "Экспорт",
|
||||
"Server": "Сервер",
|
||||
@@ -384,7 +372,6 @@
|
||||
"No version installed yet.": "Хальлӗхе верси лартман-ха.",
|
||||
"Release": "Релиз",
|
||||
"Verified": "Тӗрӗсленӗ",
|
||||
"Choose a skin…": "Тир суйласа илӗр...",
|
||||
"{instance} doesn't play its native mods yet: build the game with them.": "{instance} хӑйӗн тӑван модӗсемпе вылямасть-ха: вӗсемпе вӑйӑ тӑвӑр.",
|
||||
"Use jars from my instance…": "Манӑн экземплярти банкӑсемпе усӑ курӑр...",
|
||||
"Applications menu": "Приложенисен меню",
|
||||
@@ -408,7 +395,6 @@
|
||||
"Open backups": "Резерв копийӗсене уҫӑр",
|
||||
"The game is running: change packs in its own menus, or here once it is closed.": "Вӑйӑ ӗҫлет: хӑйӗн менюсенче пакетсене улӑштарӑр, е хупӑнсан кунта.",
|
||||
"Check now": "Халех тӗрӗслӗр",
|
||||
"Choose a cape…": "Плащ суйласа ил...",
|
||||
"Save": "Упра",
|
||||
"Folder": "Папка",
|
||||
"Searching…": "Шырав...",
|
||||
@@ -422,7 +408,6 @@
|
||||
"MangoHud": "МангоХуд",
|
||||
"Sign out": "Тухса кайӑр",
|
||||
"When it starts": "Вӑл хӑҫан пуҫланать",
|
||||
"{name}'s skin": "{name} тирӗ",
|
||||
"Start": "Пуҫла",
|
||||
"No Minecraft install needed: Horizon downloads it from Mojang for your account.": "Minecraft лартма кирлӗ мар: Horizon ӑна Mojang-ран сирӗн аккаунт валли скачать тӑвать.",
|
||||
"Logs": "Журналсем",
|
||||
@@ -446,7 +431,6 @@
|
||||
"The wordmark, while the release list loads.": "Сӑмах палли, ҫав вӑхӑтрах релиз списокӗ ҫӗкленет.",
|
||||
"Playing offline": "Офлайн выляни",
|
||||
"Sign in to Tailscale": "Tailscale ҫине кӗрӗр",
|
||||
"Offline names without an account": "Аккаунтсӑр офлайн ятсем",
|
||||
"Help make Horizon faster and steadier?": "Horizon хӑвӑртрах та ҫирӗпрех тума пулӑшӑр-и?",
|
||||
"Sign in to play": "Выляма кӗрӗр",
|
||||
"Ported": "Портланӑ",
|
||||
@@ -488,14 +472,12 @@
|
||||
"Update this launcher with your package manager.": "Ку лаунчера сирӗн пакет менеджерӗпе ҫӗнетӗр.",
|
||||
"Close this launcher, move it to {folder}, and open it there to enable updates.": "Ку лаунчера хупӑр, ӑна {folder} патне куҫарӑр тата ҫӗнетӳсене ҫутатма унта уҫӑр.",
|
||||
"Any MCP client": "Кирек мӗнле MCP клиент",
|
||||
"{name}'s cape is kept.": "{name} плащне упраҫҫӗ.",
|
||||
"Not reviewed by the Horizon registry": "Horizon реестрӗнче пӑхса тухман",
|
||||
"Proxy": "Прокси",
|
||||
"Checking": "Тӗрӗслев",
|
||||
"Updates": "Ҫӗнӗлӗхсем",
|
||||
"Asking Microsoft…": "Microsoft ыйтатӑп…",
|
||||
"Prepared for Minecraft {version}, without its sounds: the game will be silent. Prepare again to copy them from your Minecraft install.": "Minecraft {version} валли хатӗрленӗ, унӑн сассисемсӗр: вӑйӑ шӑп пулать. Вӗсене хӑвӑрӑн Minecraft установкӑран копилеме тепӗр хут хатӗрленӗр.",
|
||||
"Forget": "Манӑр",
|
||||
"Import a modpack…": "Модпак импортла...",
|
||||
"Search versions": "Версисене шыраса тупӑр",
|
||||
"failed": "ӑнӑҫсӑр",
|
||||
@@ -504,7 +486,6 @@
|
||||
"Left off: {line}.": "Пӑрахнӑ: {line}.",
|
||||
"Resource packs": "Ресурс пакетӗсем",
|
||||
"yesterday": "ӗнер",
|
||||
"No cape": "Плащ ҫук",
|
||||
"After each session: frame-time percentiles and a 14-bucket histogram, tick times, peak memory and startup times, with your machine (OS, CPU and its cores and clocks, memory size, GPU, its memory and driver, drive type, screen size and refresh rate, laptop or desktop, on battery or not) and the settings that change performance.": "Кашни сеанс хыҫҫӑн: кадр вӑхӑчӗн процентилӗсем тата 14-бакетлӑ гистограмма, тик вӑхӑчӗсем, пик асӑнӑвӗ тата пуҫламӑш вӑхӑчӗсем, сирӗн машинӑпа (ОС, процессор тата унӑн ядросемпе сехечӗсем, асӑну калӑпӑшӗ, GPU, унӑн асӑнӑвӗпе драйверӗ, диск тӗсӗ, экран калӑпӑшӗ тата ҫӗнетӳ хӑвӑртлӑхӗ, ноутбук е ӗҫ сӗтелӗ, батарейӑра е ҫук) тата ӗҫ тухӑҫлӑхне улӑштаракан настройкӑсем.",
|
||||
"Make a token": "Токен тӑвӑр",
|
||||
"Added {names}: the game turns it on when the world opens.": "{names} хушнӑ: тӗнче уҫӑлсан вӑйӑ ӑна ҫутать.",
|
||||
@@ -557,7 +538,6 @@
|
||||
"Shared: {url}": "Пӗрле: {url}",
|
||||
"Friends on the same Wi-Fi: Multiplayer, Add Server, then paste this address.": "Пӗр Wi-Fi ҫинчи туссем: Мультиплеер, Сервер хушӑр, унтан ҫак адреса ҫыпӑҫтарӑр.",
|
||||
"None yet: drop a .hshader or a shader pack .zip here.": "Хальлӗхе ҫук-ха: кунта .hshader е .zip шейдер пакетне пӑрахӑр.",
|
||||
"Offline name · the game's own": "Офлайн ят · вӑйӑ хӑйӗн",
|
||||
"Native mods aren't sandboxed: they run with full access to your computer, like any program. Install only mods whose authors you trust. To play with one, build the game on the Mods page; the first build downloads Rust and takes 20 to 30 minutes.": "Тӑван модсем хӑйӑр ещӗкӗ мар: вӗсем, кирек мӗнле программа пекех, сирӗн компьютера туллин кӗрсе ӗҫлеҫҫӗ. Эсир шанса тӑракан авторсене ҫеҫ лартӑр. Пӗринпе выляс тесен, вӑййа Mods страницинче йӗркелӗр; пӗрремӗш сборка Rust скачать тӑвать те 20-30 минут хушши пырать.",
|
||||
"Your selected version only changes if you were playing the newest one.": "Эсир суйласа илнӗ верси ҫӗнӗ версипе вылянӑ чухне ҫеҫ улшӑнать.",
|
||||
"Multiplayer": "Нумай ҫынлӑ",
|
||||
@@ -587,7 +567,6 @@
|
||||
"the port": "порт",
|
||||
"The source of {source}. Its release ships {file}, a content mod: installing those from GitHub is not supported yet.": "{source} ҫӑлкуҫӗ. Унӑн кӑларӑмӗ {file} ярса парать, контент-мод: GitHub-рисене вырнаҫтарасси хальлӗхе пулӑшмасть.",
|
||||
"Build anyway": "Пурпӗрех тӑвӑр",
|
||||
"A name, 3 to 16 letters": "Ят, 3-16 саспалли",
|
||||
"Installed {mods} from GitHub ({source}). Build it on the Mods page.": "Установлен {mods} от GitHub ({source}). Ӑна Модсен страницинче тӑвӑр.",
|
||||
"Settings, Keys, Generate access token. It's kept in this computer's keychain and only sent to Tailscale.": "Настройкӑсем, Ҫӑраҫҫисем, Ҫыхӑну маркерне генерацилесси. Вӑл ҫак компьютерӑн брелокӗнче упранать, Tailscale ҫине ҫеҫ ярса парать.",
|
||||
"{id} is up to date.": "{id} ҫӗнӗлле.",
|
||||
@@ -602,7 +581,6 @@
|
||||
"I read it and trust it: install": "Эпӗ ӑна вуласа тухрӑм та ӗненетӗп: вырнаҫтар",
|
||||
"Close export": "Экспорта хуп",
|
||||
"Playing needs a prepared Horizon version (Play page).": "Выляма хатӗрленӗ Horizon верси кирлӗ (Выля страници).",
|
||||
"Offline, the game's name": "Офлайн, вӑйӑ ячӗ",
|
||||
"From Horizon's registry": "Horizon реестрӗнчен",
|
||||
"Sounds": "Сасӑсем",
|
||||
"Edit…": "Тӳрлет...",
|
||||
@@ -635,12 +613,10 @@
|
||||
"up to date": "ҫӗнӗ",
|
||||
"← Newer": "← Ҫӗнӗрех",
|
||||
"Downloading from Mojang · {done} of {total} files": "Mojang · {done} {total} файлсенчен скачать туни",
|
||||
"{name}'s skin is kept.": "{name} тирне упраҫҫӗ.",
|
||||
"Edit instance": "Тӳрлетӳ экземплярне",
|
||||
"Remove shortcut": "Кӗске ҫула кӑларса пӑрахӑр",
|
||||
"{program} is not installed here (or not on the PATH): copy the config instead.": "{program} кунта вырнаҫтарман (е PATH ҫинче мар): ун вырӑнне конфигурацие копилӗр.",
|
||||
"No worlds to put in.": "Тӗнчесем ҫук.",
|
||||
"Default skin": "Стандартлӑ тир",
|
||||
"A link to a repository (its latest release), a release, a branch or tag, or a commit. The launcher installs one exact release file or commit, never a branch that moves.": "Репозитори (унӑн юлашки кӑларӑмӗ), кӑларӑм, турат е тег е коммит ҫине ссылка. Запускник пӗр тӗрӗс релиз файлне е коммита вырнаҫтарать, нихӑҫан та куҫакан турат мар.",
|
||||
"Sign in with GitHub to rate": "Хаклама GitHub ҫине кӗрӗр",
|
||||
"Star on GitHub": "GitHub-ра ҫӑлтӑр пар",
|
||||
@@ -1053,10 +1029,6 @@
|
||||
"played by {names}": "вылянӑ {names}",
|
||||
"{day}, {time} UTC": "{day}, {time} UTC",
|
||||
"Microsoft account · online servers too": "Microsoft аккаунт · онлайн-серверсем те",
|
||||
"Offline · single player and LAN worlds": "Офлайн · пӗр вылякан тата LAN тӗнчисем",
|
||||
"Offline names": "Офлайн ятсем",
|
||||
"Add a name": "Ят хушӑр",
|
||||
"3 to 16 letters, numbers or underscores. Switch names from the top bar too. Online servers don't take offline names.": "3-16 саспалли, цифрӑсем е аялти йӗрсем. Ҫӳлти йӗртен ятсене те улӑштарӑр. Интернетри серверсем офлайн ятсене йышӑнмаҫҫӗ.",
|
||||
"Play online with your Microsoft account": "Хӑвӑрӑн Microsoft аккаунтпа онлайн выляса пӑхӑр",
|
||||
"Sign in with the account that owns Minecraft: Java Edition. Your name and skin come along to online servers, like in other launchers.": "Minecraft: Java Издание тытса тӑракан аккаунтпа кӗрӗр. Сирӗн ятӑрпа тир ытти лаунчерсенчи пекех онлайн-серверсем ҫине кӗреҫҫӗ.",
|
||||
"Microsoft's own page opens in your browser. Horizon never sees your password.": "Сирӗн браузерта Microsoft хӑйӗн страници уҫӑлать. Horizon сирӗн паролье нихӑҫан та курмасть.",
|
||||
|
||||
@@ -37,7 +37,6 @@
|
||||
"Building {name}'s post-build step": "Adeiladu {name} cam ôl-adeiladu",
|
||||
"In use": "Mewn defnydd",
|
||||
"Prepare": "Paratoi",
|
||||
"Developer options": "Opsiynau datblygwr",
|
||||
"{online} of {max} players": "{online} o {max} chwaraewr",
|
||||
"Minecraft {version} (Java Edition). Play downloads it from Mojang for your account the first time, with the Java it needs.": "Minecraft {version} (Argraffiad Java). Mae Chwarae yn ei lawrlwytho o Mojang ar gyfer eich cyfrif y tro cyntaf, gyda'r Java sydd ei angen arno.",
|
||||
"Close": "Cau",
|
||||
@@ -98,7 +97,6 @@
|
||||
"From my install": "O fy gosod",
|
||||
"the update failed: {error}": "methodd y diweddariad: {error}",
|
||||
"Mesa's DRI_PRIME=1, so Vulkan picks the other card.": "DRI_PRIME=1 Mesa, felly Vulkan sy'n dewis y cerdyn arall.",
|
||||
"New name": "Enw newydd",
|
||||
"Dark": "Tywyll",
|
||||
"Not now": "Ddim nawr",
|
||||
"Use an access token…": "Defnyddiwch docyn mynediad…",
|
||||
@@ -115,7 +113,6 @@
|
||||
"Partly": "Yn rhannol",
|
||||
"All": "Pawb",
|
||||
"Instance": "Enghraifft",
|
||||
"Classic arms": "Breichiau clasurol",
|
||||
"Versions": "Fersiynau",
|
||||
"Release build: slower to build, slightly faster game": "Rhyddhau adeiladu: arafach i adeiladu, gêm ychydig yn gyflymach",
|
||||
"Performance build": "Adeiladu perfformiad",
|
||||
@@ -172,7 +169,6 @@
|
||||
"about a minute left": "tua munud ar ôl",
|
||||
"Cancel": "Canslo",
|
||||
"Add to {client}": "Ychwanegu at {client}",
|
||||
"Skin…": "Croen…",
|
||||
"Environment": "Amgylchedd",
|
||||
"They often still work together. If the build fails, install versions made for the same Nightly.": "Maent yn aml yn dal i weithio gyda'i gilydd. Os bydd yr adeiladwaith yn methu, gosodwch fersiynau wedi'u gwneud ar gyfer yr un Nightly.",
|
||||
"Import an instance folder…": "Mewnforio ffolder enghraifft…",
|
||||
@@ -184,7 +180,6 @@
|
||||
"newest stable version": "fersiwn sefydlog diweddaraf",
|
||||
"Choose image…": "Dewiswch ddelwedd…",
|
||||
"No worlds yet: they appear here once you play one.": "Dim bydoedd eto: maen nhw'n ymddangos yma unwaith y byddwch chi'n chwarae un.",
|
||||
"Offline names play without a Microsoft account that owns the game. Minecraft still comes from your own install.": "Mae enwau all-lein yn chwarae heb gyfrif Microsoft sy'n berchen ar y gêm. Mae Minecraft yn dal i ddod o'ch gosodiad eich hun.",
|
||||
"crash reports beside it": "adroddiadau chwalu wrth ei ymyl",
|
||||
"Install all": "Gosod i gyd",
|
||||
"No group": "Dim grŵp",
|
||||
@@ -202,7 +197,6 @@
|
||||
"My instance": "Fy enghraifft",
|
||||
"Snapshot": "Ciplun",
|
||||
"Gallery": "Oriel",
|
||||
"Offline name": "Enw all-lein",
|
||||
"Home": "Cartref",
|
||||
"Stopping": "Stopio",
|
||||
"MSPT · tick time": "MSPT · amser tic",
|
||||
@@ -304,8 +298,6 @@
|
||||
"Patch notes": "Nodiadau patch",
|
||||
"Your Minecraft server, {online}.": "Eich gweinydd Minecraft, {online}.",
|
||||
"Crash reports": "Adroddiadau chwalu",
|
||||
"Offline name · the game's own · plays": "Enw all-lein · gêm y gêm ei hun · chwarae",
|
||||
"Slim arms": "Breichiau fain",
|
||||
"Asking GitHub about {owner}/{repo}…": "Yn holi GitHub am {owner}/{repo}…",
|
||||
"Downloading Minecraft {version} from Mojang · {done} of {total} files": "Lawrlwytho Minecraft {version} o Mojang · {done} o {total} ffeil",
|
||||
"Could not save your choice: {error}": "Methu cadw eich dewis: {error}",
|
||||
@@ -354,7 +346,6 @@
|
||||
"Horizon's landscape. Pick a PNG, JPEG or WebP picture of your own.": "tirwedd Horizon. Dewiswch lun PNG, JPEG neu WebP eich hun.",
|
||||
"Not needed": "Dim angen",
|
||||
"This build of the launcher has no Microsoft sign-in (HORIZON_MSA_CLIENT_ID), so it can't start the game.": "Nid oes gan y llun hwn o'r lansiwr unrhyw mewngofnodi Microsoft (HORIZON_MSA_CLIENT_ID), felly ni all ddechrau'r gêm.",
|
||||
"Offline name · plays": "Enw all-lein · dramâu",
|
||||
"Run the game through": "Rhedeg y gêm drwodd",
|
||||
"needed by another pack": "angen pecyn arall",
|
||||
"Older →": "Hyn →",
|
||||
@@ -365,13 +356,10 @@
|
||||
"Could not run {program}: {error}": "Methu rhedeg {program}: {error}",
|
||||
"Restart": "Ailgychwyn",
|
||||
"Copied to the clipboard.": "Wedi'i gopïo i'r clipfwrdd.",
|
||||
"Your worlds, offline names and settings stay where they are.": "Mae eich bydoedd, eich enwau all-lein a'ch gosodiadau yn aros lle maen nhw.",
|
||||
"Send nothing": "Anfon dim",
|
||||
"Move to Trash": "Symud i'r Sbwriel",
|
||||
"Start from": "Cychwyn o",
|
||||
"Asking Mojang for its versions…": "Yn gofyn i Mojang am ei fersiynau…",
|
||||
"A 64×64 (or 64×32) skin PNG and a 64×32 cape PNG, kept by the launcher and given to the game when this name plays. The game draws the default skins for now; it uses these once it can. A Microsoft account's skin and cape: coming soon.": "PNG croen 64 × 64 (neu 64 × 32) a cape PNG 64 × 32, a gedwir gan y lansiwr a'i roi i'r gêm pan fydd yr enw hwn yn chwarae. Mae'r gêm yn tynnu'r crwyn rhagosodedig am y tro; mae'n defnyddio'r rhain unwaith y gall. Croen a chlogyn cyfrif Microsoft: yn dod yn fuan.",
|
||||
"Play offline under another name, and switch from the top bar. Online servers don't take offline names.": "Chwarae all-lein o dan enw arall, a newid o'r bar uchaf. Nid yw gweinyddwyr ar-lein yn cymryd enwau all-lein.",
|
||||
"Report on Discord": "Adrodd ar Discord",
|
||||
"Export": "Allforio",
|
||||
"Server": "Gweinydd",
|
||||
@@ -384,7 +372,6 @@
|
||||
"No version installed yet.": "Dim fersiwn wedi'i osod eto.",
|
||||
"Release": "Rhyddhad",
|
||||
"Verified": "Wedi'i wirio",
|
||||
"Choose a skin…": "Dewiswch groen…",
|
||||
"{instance} doesn't play its native mods yet: build the game with them.": "Nid yw {instance} yn chwarae ei mods brodorol eto: adeiladwch y gêm gyda nhw.",
|
||||
"Use jars from my instance…": "Defnyddiwch jariau o fy achos i…",
|
||||
"Applications menu": "Dewislen ceisiadau",
|
||||
@@ -408,7 +395,6 @@
|
||||
"Open backups": "Agor copïau wrth gefn",
|
||||
"The game is running: change packs in its own menus, or here once it is closed.": "Mae'r gêm yn rhedeg: newidiwch becynnau yn ei fwydlenni ei hun, neu yma unwaith y bydd ar gau.",
|
||||
"Check now": "Gwiriwch nawr",
|
||||
"Choose a cape…": "Dewiswch fantell…",
|
||||
"Save": "Arbed",
|
||||
"Folder": "Ffolder",
|
||||
"Searching…": "Wrthi'n chwilio…",
|
||||
@@ -422,7 +408,6 @@
|
||||
"MangoHud": "MangoHud",
|
||||
"Sign out": "Arwyddo allan",
|
||||
"When it starts": "Pan fydd yn dechrau",
|
||||
"{name}'s skin": "croen {name}",
|
||||
"Start": "Cychwyn",
|
||||
"No Minecraft install needed: Horizon downloads it from Mojang for your account.": "Nid oes angen gosod Minecraft: Horizon mae'n ei lawrlwytho o Mojang ar gyfer eich cyfrif.",
|
||||
"Logs": "Logiau",
|
||||
@@ -446,7 +431,6 @@
|
||||
"The wordmark, while the release list loads.": "Y gairnod, tra bod y rhestr rhyddhau yn llwytho.",
|
||||
"Playing offline": "Chwarae all-lein",
|
||||
"Sign in to Tailscale": "Mewngofnodwch i Tailscale",
|
||||
"Offline names without an account": "Enwau all-lein heb gyfrif",
|
||||
"Help make Horizon faster and steadier?": "Helpu i wneud Horizon yn gyflymach ac yn fwy cyson?",
|
||||
"Sign in to play": "Mewngofnodwch i chwarae",
|
||||
"Ported": "Wedi'i gludo",
|
||||
@@ -488,14 +472,12 @@
|
||||
"Update this launcher with your package manager.": "Diweddarwch y lansiwr hwn gyda'ch rheolwr pecynnau.",
|
||||
"Close this launcher, move it to {folder}, and open it there to enable updates.": "Caewch y lansiwr hwn, symudwch ef i {folder}, ac agorwch ef yno i alluogi diweddariadau.",
|
||||
"Any MCP client": "Unrhyw gleient MCP",
|
||||
"{name}'s cape is kept.": "Mae clogyn {name} yn cael ei gadw.",
|
||||
"Not reviewed by the Horizon registry": "Heb ei adolygu gan y gofrestrfa Horizon",
|
||||
"Proxy": "Dirprwy",
|
||||
"Checking": "Gwirio",
|
||||
"Updates": "Diweddariadau",
|
||||
"Asking Microsoft…": "Wrth ofyn i Microsoft…",
|
||||
"Prepared for Minecraft {version}, without its sounds: the game will be silent. Prepare again to copy them from your Minecraft install.": "Wedi'i baratoi ar gyfer Minecraft {version}, heb ei synau: bydd y gêm yn dawel. Paratowch eto i'w copïo o'ch gosodiad Minecraft.",
|
||||
"Forget": "Anghofiwch",
|
||||
"Import a modpack…": "Mewnforio modpack…",
|
||||
"Search versions": "Chwilio fersiynau",
|
||||
"failed": "methu",
|
||||
@@ -504,7 +486,6 @@
|
||||
"Left off: {line}.": "Chwith i ffwrdd: {line}.",
|
||||
"Resource packs": "Pecynnau adnoddau",
|
||||
"yesterday": "ddoe",
|
||||
"No cape": "Dim clogyn",
|
||||
"After each session: frame-time percentiles and a 14-bucket histogram, tick times, peak memory and startup times, with your machine (OS, CPU and its cores and clocks, memory size, GPU, its memory and driver, drive type, screen size and refresh rate, laptop or desktop, on battery or not) and the settings that change performance.": "Ar ôl pob sesiwn: canraddau amser ffrâm a histogram 14 bwced, amseroedd ticio, cof brig ac amseroedd cychwyn, gyda'ch peiriant (OS, CPU a'i greiddiau a chlociau, maint cof, GPU, ei gof a gyrrwr, math o yriant, maint y sgrin a chyfradd adnewyddu, gliniadur neu benbwrdd, ar fatri ai peidio) a'r gosodiadau sy'n newid perfformiad.",
|
||||
"Make a token": "Gwnewch tocyn",
|
||||
"Added {names}: the game turns it on when the world opens.": "Ychwanegwyd {names}: mae'r gêm yn ei throi ymlaen pan fydd y byd yn agor.",
|
||||
@@ -557,7 +538,6 @@
|
||||
"Shared: {url}": "Wedi'i rannu: {url}",
|
||||
"Friends on the same Wi-Fi: Multiplayer, Add Server, then paste this address.": "Cyfeillion ar yr un Wi-Fi: Multiplayer, Ychwanegu Gweinyddwr, yna gludwch y cyfeiriad hwn.",
|
||||
"None yet: drop a .hshader or a shader pack .zip here.": "Dim eto: gollwng .hshader neu becyn shader .zip yma.",
|
||||
"Offline name · the game's own": "Enw all-lein · y gêm ei hun",
|
||||
"Native mods aren't sandboxed: they run with full access to your computer, like any program. Install only mods whose authors you trust. To play with one, build the game on the Mods page; the first build downloads Rust and takes 20 to 30 minutes.": "Nid yw mods brodorol yn cael eu sandboxed: maent yn rhedeg gyda mynediad llawn i'ch cyfrifiadur, fel unrhyw raglen. Gosod dim ond mods y mae eu hawduron yr ydych yn ymddiried ynddynt. I chwarae gydag un, adeiladwch y gêm ar y dudalen Mods; mae'r adeilad cyntaf yn lawrlwytho Rust ac yn cymryd 20 i 30 munud.",
|
||||
"Your selected version only changes if you were playing the newest one.": "Dim ond os oeddech chi'n chwarae'r un mwyaf newydd y bydd y fersiwn rydych chi wedi'i dewis yn newid.",
|
||||
"Multiplayer": "Aml-chwaraewr",
|
||||
@@ -587,7 +567,6 @@
|
||||
"the port": "y porthladd",
|
||||
"The source of {source}. Its release ships {file}, a content mod: installing those from GitHub is not supported yet.": "Ffynhonnell {source}. Mae ei longau rhyddhau {file}, mod cynnwys: nid yw gosod y rhai o GitHub yn cael ei gefnogi eto.",
|
||||
"Build anyway": "Adeiladu beth bynnag",
|
||||
"A name, 3 to 16 letters": "Enw, 3 i 16 llythyren",
|
||||
"Installed {mods} from GitHub ({source}). Build it on the Mods page.": "Wedi'i osod {mods} o GitHub ({source}). Adeiladwch ef ar y dudalen Mods.",
|
||||
"Settings, Keys, Generate access token. It's kept in this computer's keychain and only sent to Tailscale.": "Gosodiadau, Allweddi, Cynhyrchu tocyn mynediad. Mae'n cael ei gadw yng nghadwyni'r cyfrifiadur hwn a'i anfon at Tailscale yn unig.",
|
||||
"{id} is up to date.": "Mae {id} yn gyfredol.",
|
||||
@@ -602,7 +581,6 @@
|
||||
"I read it and trust it: install": "Rwy'n ei ddarllen ac yn ymddiried ynddo: gosod",
|
||||
"Close export": "Cau allforio",
|
||||
"Playing needs a prepared Horizon version (Play page).": "Mae angen fersiwn Horizon parod (tudalen chwarae).",
|
||||
"Offline, the game's name": "All-lein, enw'r gêm",
|
||||
"From Horizon's registry": "O gofrestrfa Horizon",
|
||||
"Sounds": "Swnio",
|
||||
"Edit…": "Golygu…",
|
||||
@@ -635,12 +613,10 @@
|
||||
"up to date": "yn gyfoes",
|
||||
"← Newer": "← Newyddach",
|
||||
"Downloading from Mojang · {done} of {total} files": "Llwytho i lawr o Mojang · {done} o {total} ffeil",
|
||||
"{name}'s skin is kept.": "Mae croen {name} yn cael ei gadw.",
|
||||
"Edit instance": "Golygu enghraifft",
|
||||
"Remove shortcut": "Dileu llwybr byr",
|
||||
"{program} is not installed here (or not on the PATH): copy the config instead.": "Nid yw {program} wedi'i osod yma (neu ddim ar y PATH): copïwch y ffurfwedd yn lle hynny.",
|
||||
"No worlds to put in.": "Dim bydoedd i'w rhoi i mewn.",
|
||||
"Default skin": "Croen diofyn",
|
||||
"A link to a repository (its latest release), a release, a branch or tag, or a commit. The launcher installs one exact release file or commit, never a branch that moves.": "Dolen i gadwrfa (ei datganiad diweddaraf), datganiad, cangen neu dag, neu ymrwymiad. Mae'r lansiwr yn gosod un ffeil rhyddhau neu ymrwymiad union, byth yn gangen sy'n symud.",
|
||||
"Sign in with GitHub to rate": "Mewngofnodwch gyda GitHub i raddio",
|
||||
"Star on GitHub": "Rhoi seren ar GitHub",
|
||||
@@ -1053,10 +1029,6 @@
|
||||
"played by {names}": "chwarae gan {names}",
|
||||
"{day}, {time} UTC": "{day}, {time} UTC",
|
||||
"Microsoft account · online servers too": "Cyfrif Microsoft · gweinyddwyr ar-lein hefyd",
|
||||
"Offline · single player and LAN worlds": "All-lein · chwaraewr sengl a byd LAN",
|
||||
"Offline names": "Enwau all-lein",
|
||||
"Add a name": "Ychwanegu enw",
|
||||
"3 to 16 letters, numbers or underscores. Switch names from the top bar too. Online servers don't take offline names.": "3 i 16 llythyren, rhif neu danlinellu. Newidiwch enwau o'r bar uchaf hefyd. Nid yw gweinyddwyr ar-lein yn cymryd enwau all-lein.",
|
||||
"Play online with your Microsoft account": "Chwarae ar-lein gyda'ch cyfrif Microsoft",
|
||||
"Sign in with the account that owns Minecraft: Java Edition. Your name and skin come along to online servers, like in other launchers.": "Mewngofnodwch gyda'r cyfrif sy'n berchen ar Minecraft: Java Edition. Daw eich enw a'ch croen i weinyddion ar-lein, fel mewn lanswyr eraill.",
|
||||
"Microsoft's own page opens in your browser. Horizon never sees your password.": "Mae tudalen Microsoft ei hun yn agor yn eich porwr. Nid yw Horizon byth yn gweld eich cyfrinair.",
|
||||
|
||||
@@ -37,7 +37,6 @@
|
||||
"Building {name}'s post-build step": "Bygning af {name}s post-build trin",
|
||||
"In use": "I brug",
|
||||
"Prepare": "Forbered dig",
|
||||
"Developer options": "Udvikler muligheder",
|
||||
"{online} of {max} players": "{online} af {max} spillere",
|
||||
"Minecraft {version} (Java Edition). Play downloads it from Mojang for your account the first time, with the Java it needs.": "Minecraft {version} (Java Edition). Play downloader det fra Mojang til din konto første gang med den Java, den har brug for.",
|
||||
"Close": "Luk",
|
||||
@@ -98,7 +97,6 @@
|
||||
"From my install": "Fra min installation",
|
||||
"the update failed: {error}": "opdateringen mislykkedes: {error}",
|
||||
"Mesa's DRI_PRIME=1, so Vulkan picks the other card.": "Mesa's DRI_PRIME=1, så Vulkan vælger det andet kort.",
|
||||
"New name": "Nyt navn",
|
||||
"Dark": "Mørk",
|
||||
"Not now": "Ikke nu",
|
||||
"Use an access token…": "Brug et adgangstoken...",
|
||||
@@ -115,7 +113,6 @@
|
||||
"Partly": "Dels",
|
||||
"All": "Alle",
|
||||
"Instance": "Forekomst",
|
||||
"Classic arms": "Klassiske arme",
|
||||
"Versions": "Versioner",
|
||||
"Release build: slower to build, slightly faster game": "Release build: langsommere at bygge, lidt hurtigere spil",
|
||||
"Performance build": "Opbygning af ydeevne",
|
||||
@@ -172,7 +169,6 @@
|
||||
"about a minute left": "omkring et minut tilbage",
|
||||
"Cancel": "Annuller",
|
||||
"Add to {client}": "Føj til {client}",
|
||||
"Skin…": "Hud...",
|
||||
"Environment": "Miljø",
|
||||
"They often still work together. If the build fails, install versions made for the same Nightly.": "De arbejder ofte stadig sammen. Hvis bygningen mislykkes, skal du installere versioner lavet til den samme Nightly.",
|
||||
"Import an instance folder…": "Importer en forekomstmappe...",
|
||||
@@ -184,7 +180,6 @@
|
||||
"newest stable version": "nyeste stabile version",
|
||||
"Choose image…": "Vælg billede...",
|
||||
"No worlds yet: they appear here once you play one.": "Ingen verdener endnu: de vises her, når du spiller en.",
|
||||
"Offline names play without a Microsoft account that owns the game. Minecraft still comes from your own install.": "Offline navne spiller uden en Microsoft-konto, der ejer spillet. Minecraft kommer stadig fra din egen installation.",
|
||||
"crash reports beside it": "nedbrudsrapporter ved siden af",
|
||||
"Install all": "Installer alle",
|
||||
"No group": "Ingen gruppe",
|
||||
@@ -202,7 +197,6 @@
|
||||
"My instance": "Mit eksempel",
|
||||
"Snapshot": "Snapshot",
|
||||
"Gallery": "Galleri",
|
||||
"Offline name": "Offline navn",
|
||||
"Home": "Hjem",
|
||||
"Stopping": "Stopper",
|
||||
"MSPT · tick time": "MSPT · kryds tid",
|
||||
@@ -305,8 +299,6 @@
|
||||
"Patch notes": "Patch-noter",
|
||||
"Your Minecraft server, {online}.": "Din Minecraft-server, {online}.",
|
||||
"Crash reports": "Nedbrudsrapporter",
|
||||
"Offline name · the game's own · plays": "Offline navn · spillets egne · afspilninger",
|
||||
"Slim arms": "Slanke arme",
|
||||
"Asking GitHub about {owner}/{repo}…": "Spørger GitHub om {owner}/{repo}...",
|
||||
"Downloading Minecraft {version} from Mojang · {done} of {total} files": "Downloader Minecraft {version} fra Mojang · {done} af {total} filer",
|
||||
"Could not save your choice: {error}": "Kunne ikke gemme dit valg: {error}",
|
||||
@@ -355,7 +347,6 @@
|
||||
"Horizon's landscape. Pick a PNG, JPEG or WebP picture of your own.": "Horizons landskab. Vælg dit eget billede i PNG, JPEG eller WebP.",
|
||||
"Not needed": "Ikke nødvendigt",
|
||||
"This build of the launcher has no Microsoft sign-in (HORIZON_MSA_CLIENT_ID), so it can't start the game.": "Denne build af launcheren har ikke noget Microsoft-logon (HORIZON_MSA_CLIENT_ID), så det kan ikke starte spillet.",
|
||||
"Offline name · plays": "Offline navn · spiller",
|
||||
"Run the game through": "Kør spillet igennem",
|
||||
"needed by another pack": "brug for en anden pakke",
|
||||
"Older →": "Ældre →",
|
||||
@@ -366,13 +357,10 @@
|
||||
"Could not run {program}: {error}": "Kunne ikke køre {program}: {error}",
|
||||
"Restart": "Genstart",
|
||||
"Copied to the clipboard.": "Kopieret til udklipsholderen.",
|
||||
"Your worlds, offline names and settings stay where they are.": "Dine verdener, offline navne og indstillinger forbliver, hvor de er.",
|
||||
"Send nothing": "Send intet",
|
||||
"Move to Trash": "Flyt til papirkurven",
|
||||
"Start from": "Start fra",
|
||||
"Asking Mojang for its versions…": "Beder Mojang om dens versioner...",
|
||||
"A 64×64 (or 64×32) skin PNG and a 64×32 cape PNG, kept by the launcher and given to the game when this name plays. The game draws the default skins for now; it uses these once it can. A Microsoft account's skin and cape: coming soon.": "En 64×64 (eller 64×32) skin PNG og en 64×32 cape PNG, opbevaret af launcheren og givet til spillet, når dette navn spiller. Spillet tegner standard skins for nu; den bruger disse, når den kan. En Microsoft-kontos skin and cape: kommer snart.",
|
||||
"Play offline under another name, and switch from the top bar. Online servers don't take offline names.": "Spil offline under et andet navn, og skift fra den øverste bjælke. Onlineservere tager ikke offline navne.",
|
||||
"Report on Discord": "Rapport om Discord",
|
||||
"Export": "Eksporter",
|
||||
"Server": "Server",
|
||||
@@ -385,7 +373,6 @@
|
||||
"No version installed yet.": "Ingen version installeret endnu.",
|
||||
"Release": "Slip",
|
||||
"Verified": "Verificeret",
|
||||
"Choose a skin…": "Vælg et skin...",
|
||||
"{instance} doesn't play its native mods yet: build the game with them.": "{instance} spiller ikke sine oprindelige mods endnu: byg spillet med dem.",
|
||||
"Use jars from my instance…": "Brug krukker fra min instans...",
|
||||
"Applications menu": "Applikationsmenu",
|
||||
@@ -409,7 +396,6 @@
|
||||
"Open backups": "Åbn sikkerhedskopier",
|
||||
"The game is running: change packs in its own menus, or here once it is closed.": "Spillet kører: Skift pakker i sine egne menuer, eller her, når det er lukket.",
|
||||
"Check now": "Tjek nu",
|
||||
"Choose a cape…": "Vælg en kappe...",
|
||||
"Save": "Gem",
|
||||
"Folder": "Mappe",
|
||||
"Searching…": "Søger...",
|
||||
@@ -423,7 +409,6 @@
|
||||
"MangoHud": "MangoHud",
|
||||
"Sign out": "Log ud",
|
||||
"When it starts": "Når det starter",
|
||||
"{name}'s skin": "{name}s hud",
|
||||
"Start": "Start",
|
||||
"No Minecraft install needed: Horizon downloads it from Mojang for your account.": "Ingen Minecraft-installation nødvendig: Horizon downloader det fra Mojang til din konto.",
|
||||
"Logs": "Logfiler",
|
||||
@@ -447,7 +432,6 @@
|
||||
"The wordmark, while the release list loads.": "Ordmærket, mens udgivelseslisten indlæses.",
|
||||
"Playing offline": "Spiller offline",
|
||||
"Sign in to Tailscale": "Log ind på Tailscale",
|
||||
"Offline names without an account": "Offline navne uden en konto",
|
||||
"Help make Horizon faster and steadier?": "Hjælp med at gøre Horizon hurtigere og mere stabil?",
|
||||
"Sign in to play": "Log ind for at spille",
|
||||
"Ported": "Porteret",
|
||||
@@ -490,14 +474,12 @@
|
||||
"Update this launcher with your package manager.": "Opdater denne launcher med din pakkehåndtering.",
|
||||
"Close this launcher, move it to {folder}, and open it there to enable updates.": "Luk denne launcher, flyt den til {folder}, og åbn den der for at aktivere opdateringer.",
|
||||
"Any MCP client": "Enhver MCP-klient",
|
||||
"{name}'s cape is kept.": "{name}s kappe beholdes.",
|
||||
"Not reviewed by the Horizon registry": "Ikke gennemgået af Horizon-registret",
|
||||
"Proxy": "Fuldmagt",
|
||||
"Checking": "Tjekker",
|
||||
"Updates": "Opdateringer",
|
||||
"Asking Microsoft…": "Spørger Microsoft...",
|
||||
"Prepared for Minecraft {version}, without its sounds: the game will be silent. Prepare again to copy them from your Minecraft install.": "Forberedt til Minecraft {version}, uden dens lyde: spillet vil være stille. Forbered dig igen på at kopiere dem fra din Minecraft-installation.",
|
||||
"Forget": "Glem",
|
||||
"Import a modpack…": "Importer en modpack...",
|
||||
"Search versions": "Søg efter versioner",
|
||||
"failed": "mislykkedes",
|
||||
@@ -506,7 +488,6 @@
|
||||
"Left off: {line}.": "Sluttede: {line}.",
|
||||
"Resource packs": "Ressourcepakker",
|
||||
"yesterday": "i går",
|
||||
"No cape": "Ingen kappe",
|
||||
"After each session: frame-time percentiles and a 14-bucket histogram, tick times, peak memory and startup times, with your machine (OS, CPU and its cores and clocks, memory size, GPU, its memory and driver, drive type, screen size and refresh rate, laptop or desktop, on battery or not) and the settings that change performance.": "Efter hver session: frame-time percentiler og et 14-bucket histogram, tick-tider, peak-hukommelse og starttider, med din maskine (OS, CPU og dens kerner og ure, hukommelsesstørrelse, GPU, dens hukommelse og driver, drevtype, skærmstørrelse og opdateringshastighed, bærbar eller desktop, på batteri eller ej) og de indstillinger, der ændrer ydeevnen.",
|
||||
"Make a token": "Lav en token",
|
||||
"Added {names}: the game turns it on when the world opens.": "Tilføjet {names}: spillet tænder det, når verden åbner.",
|
||||
@@ -559,7 +540,6 @@
|
||||
"Shared: {url}": "Delt: {url}",
|
||||
"Friends on the same Wi-Fi: Multiplayer, Add Server, then paste this address.": "Venner på samme Wi-Fi: Multiplayer, Tilføj server, og indsæt derefter denne adresse.",
|
||||
"None yet: drop a .hshader or a shader pack .zip here.": "Ingen endnu: Smid en .hshader eller en shader-pakke .zip her.",
|
||||
"Offline name · the game's own": "Offline navn · spillets eget",
|
||||
"Native mods aren't sandboxed: they run with full access to your computer, like any program. Install only mods whose authors you trust. To play with one, build the game on the Mods page; the first build downloads Rust and takes 20 to 30 minutes.": "Native mods er ikke sandboxed: de kører med fuld adgang til din computer, som ethvert program. Installer kun mods, hvis forfattere du stoler på. For at spille med en, skal du bygge spillet på Mods-siden; den første build downloader Rust og tager 20 til 30 minutter.",
|
||||
"Your selected version only changes if you were playing the newest one.": "Din valgte version ændres kun, hvis du spillede den nyeste.",
|
||||
"Multiplayer": "Multiplayer",
|
||||
@@ -589,7 +569,6 @@
|
||||
"the port": "havnen",
|
||||
"The source of {source}. Its release ships {file}, a content mod: installing those from GitHub is not supported yet.": "Kilden til {source}. Dens udgivelse leveres {file}, en indholdsmod: installation af dem fra GitHub understøttes endnu ikke.",
|
||||
"Build anyway": "Byg alligevel",
|
||||
"A name, 3 to 16 letters": "Et navn, 3 til 16 bogstaver",
|
||||
"Installed {mods} from GitHub ({source}). Build it on the Mods page.": "Installeret {mods} fra GitHub ({source}). Byg det på Mods-siden.",
|
||||
"Settings, Keys, Generate access token. It's kept in this computer's keychain and only sent to Tailscale.": "Indstillinger, Nøgler, Generer adgangstoken. Den opbevares i denne computers nøglering og sendes kun til Tailscale.",
|
||||
"{id} is up to date.": "{id} er opdateret.",
|
||||
@@ -604,7 +583,6 @@
|
||||
"I read it and trust it: install": "Jeg læser det og stoler på det: installer",
|
||||
"Close export": "Luk eksport",
|
||||
"Playing needs a prepared Horizon version (Play page).": "At spille kræver en forberedt Horizon-version (Play-side).",
|
||||
"Offline, the game's name": "Offline, spillets navn",
|
||||
"From Horizon's registry": "Fra Horizons register",
|
||||
"Sounds": "Lyde",
|
||||
"Edit…": "Rediger...",
|
||||
@@ -637,12 +615,10 @@
|
||||
"up to date": "opdateret",
|
||||
"← Newer": "← Nyere",
|
||||
"Downloading from Mojang · {done} of {total} files": "Downloader fra Mojang · {done} af {total} filer",
|
||||
"{name}'s skin is kept.": "{name}s hud bevares.",
|
||||
"Edit instance": "Rediger forekomst",
|
||||
"Remove shortcut": "Fjern genvej",
|
||||
"{program} is not installed here (or not on the PATH): copy the config instead.": "{program} er ikke installeret her (eller ikke på PATH): kopier konfigurationen i stedet for.",
|
||||
"No worlds to put in.": "Ingen verdener at sætte ind.",
|
||||
"Default skin": "Standard skin",
|
||||
"A link to a repository (its latest release), a release, a branch or tag, or a commit. The launcher installs one exact release file or commit, never a branch that moves.": "Et link til et lager (dets seneste udgivelse), en udgivelse, en filial eller tag eller en commit. Starteren installerer én nøjagtig udgivelsesfil eller commit, aldrig en gren, der bevæger sig.",
|
||||
"Sign in with GitHub to rate": "Log ind med GitHub for at bedømme",
|
||||
"Star on GitHub": "Giv en stjerne på GitHub",
|
||||
@@ -1055,10 +1031,6 @@
|
||||
"played by {names}": "spillet af {names}",
|
||||
"{day}, {time} UTC": "{day}, {time} UTC",
|
||||
"Microsoft account · online servers too": "Microsoft-konto · også onlineservere",
|
||||
"Offline · single player and LAN worlds": "Offline · singleplayer og LAN-verdener",
|
||||
"Offline names": "Offline navne",
|
||||
"Add a name": "Tilføj et navn",
|
||||
"3 to 16 letters, numbers or underscores. Switch names from the top bar too. Online servers don't take offline names.": "3 til 16 bogstaver, tal eller understregninger. Du kan også skifte navn fra topbjælken. Onlineservere accepterer ikke offline navne.",
|
||||
"Play online with your Microsoft account": "Spil online med din Microsoft-konto",
|
||||
"Sign in with the account that owns Minecraft: Java Edition. Your name and skin come along to online servers, like in other launchers.": "Log ind med den konto, der ejer Minecraft: Java Edition. Dit navn og dit skin følger med til onlineservere, ligesom i andre launchere.",
|
||||
"Microsoft's own page opens in your browser. Horizon never sees your password.": "Microsofts egen side åbner i din browser. Horizon ser aldrig din adgangskode.",
|
||||
|
||||
@@ -37,7 +37,6 @@
|
||||
"Building {name}'s post-build step": "Post-Build-Schritt von {name} wird gebaut",
|
||||
"In use": "In Verwendung",
|
||||
"Prepare": "Vorbereiten",
|
||||
"Developer options": "Entwickleroptionen",
|
||||
"{online} of {max} players": "{online} von {max} Spielern",
|
||||
"Minecraft {version} (Java Edition). Play downloads it from Mojang for your account the first time, with the Java it needs.": "Minecraft {version} (Java Edition). Beim ersten Mal lädt „Spielen“ es für dein Konto von Mojang herunter, mit dem Java, das es braucht.",
|
||||
"Close": "Schließen",
|
||||
@@ -98,7 +97,6 @@
|
||||
"From my install": "Aus meiner Installation",
|
||||
"the update failed: {error}": "das Update ist fehlgeschlagen: {error}",
|
||||
"Mesa's DRI_PRIME=1, so Vulkan picks the other card.": "Mesas DRI_PRIME=1, damit Vulkan die andere Karte wählt.",
|
||||
"New name": "Neuer Name",
|
||||
"Dark": "Dunkel",
|
||||
"Not now": "Nicht jetzt",
|
||||
"Use an access token…": "Zugriffstoken verwenden…",
|
||||
@@ -115,7 +113,6 @@
|
||||
"Partly": "Teilweise",
|
||||
"All": "Alle",
|
||||
"Instance": "Instanz",
|
||||
"Classic arms": "Klassische Arme",
|
||||
"Versions": "Versionen",
|
||||
"Release build: slower to build, slightly faster game": "Release-Build: dauert länger, das Spiel ist etwas schneller",
|
||||
"Performance build": "Performance-Build",
|
||||
@@ -172,7 +169,6 @@
|
||||
"about a minute left": "noch etwa eine Minute",
|
||||
"Cancel": "Abbrechen",
|
||||
"Add to {client}": "Zu {client} hinzufügen",
|
||||
"Skin…": "Skin…",
|
||||
"Environment": "Umgebung",
|
||||
"They often still work together. If the build fails, install versions made for the same Nightly.": "Oft funktionieren sie trotzdem zusammen. Schlägt der Build fehl, installiere Versionen für dieselbe Nightly.",
|
||||
"Import an instance folder…": "Instanzordner importieren…",
|
||||
@@ -184,7 +180,6 @@
|
||||
"newest stable version": "neueste stabile Version",
|
||||
"Choose image…": "Bild wählen…",
|
||||
"No worlds yet: they appear here once you play one.": "Noch keine Welten: Sie erscheinen hier, sobald du eine spielst.",
|
||||
"Offline names play without a Microsoft account that owns the game. Minecraft still comes from your own install.": "Offline-Namen spielen ohne ein Microsoft-Konto, das das Spiel besitzt. Minecraft stammt weiterhin aus deiner eigenen Installation.",
|
||||
"crash reports beside it": "absturzberichte daneben",
|
||||
"Install all": "Alle installieren",
|
||||
"No group": "Keine Gruppe",
|
||||
@@ -202,7 +197,6 @@
|
||||
"My instance": "Meine Instanz",
|
||||
"Snapshot": "Snapshot",
|
||||
"Gallery": "Galerie",
|
||||
"Offline name": "Offline-Name",
|
||||
"Home": "Startseite",
|
||||
"Stopping": "Stoppt",
|
||||
"MSPT · tick time": "MSPT · Tick-Zeit",
|
||||
@@ -305,8 +299,6 @@
|
||||
"Patch notes": "Versionshinweise",
|
||||
"Your Minecraft server, {online}.": "Dein Minecraft-Server, {online}.",
|
||||
"Crash reports": "Absturzberichte",
|
||||
"Offline name · the game's own · plays": "Offline-Name · vom Spiel vergeben · spielt",
|
||||
"Slim arms": "Schmale Arme",
|
||||
"Asking GitHub about {owner}/{repo}…": "GitHub wird zu {owner}/{repo} abgefragt…",
|
||||
"Downloading Minecraft {version} from Mojang · {done} of {total} files": "Minecraft {version} wird von Mojang heruntergeladen · {done} von {total} Dateien",
|
||||
"Could not save your choice: {error}": "Deine Auswahl konnte nicht gespeichert werden: {error}",
|
||||
@@ -355,7 +347,6 @@
|
||||
"Horizon's landscape. Pick a PNG, JPEG or WebP picture of your own.": "Horizons Landschaft. Wähle ein eigenes PNG-, JPEG- oder WebP-Bild aus.",
|
||||
"Not needed": "Nicht nötig",
|
||||
"This build of the launcher has no Microsoft sign-in (HORIZON_MSA_CLIENT_ID), so it can't start the game.": "Diese Version des Launchers hat keine Microsoft-Anmeldung (HORIZON_MSA_CLIENT_ID). Das Spiel kann daher nicht gestartet werden.",
|
||||
"Offline name · plays": "Offline-Name · spielt",
|
||||
"Run the game through": "Spiel starten über",
|
||||
"needed by another pack": "von einem anderen Paket benötigt",
|
||||
"Older →": "Ältere →",
|
||||
@@ -366,13 +357,10 @@
|
||||
"Could not run {program}: {error}": "{program} konnte nicht ausgeführt werden: {error}",
|
||||
"Restart": "Neu starten",
|
||||
"Copied to the clipboard.": "In die Zwischenablage kopiert.",
|
||||
"Your worlds, offline names and settings stay where they are.": "Deine Welten, Offline-Namen und Einstellungen bleiben erhalten.",
|
||||
"Send nothing": "Nichts senden",
|
||||
"Move to Trash": "In den Papierkorb",
|
||||
"Start from": "Starten mit",
|
||||
"Asking Mojang for its versions…": "Mojang wird nach den Versionen gefragt…",
|
||||
"A 64×64 (or 64×32) skin PNG and a 64×32 cape PNG, kept by the launcher and given to the game when this name plays. The game draws the default skins for now; it uses these once it can. A Microsoft account's skin and cape: coming soon.": "Ein 64×64-Skin-PNG (oder 64×32) und ein 64×32-Umhang-PNG, die vom Launcher gespeichert und dem Spiel übergeben werden, wenn dieser Name spielt. Das Spiel zeigt vorerst die Standard-Skins an; es wird diese verwenden, sobald es möglich ist. Skin und Umhang eines Microsoft-Kontos: demnächst verfügbar.",
|
||||
"Play offline under another name, and switch from the top bar. Online servers don't take offline names.": "Spiele offline unter einem anderen Namen und wechsel über die obere Leiste. Online-Server akzeptieren keine Offline-Namen.",
|
||||
"Report on Discord": "Auf Discord melden",
|
||||
"Export": "Exportieren",
|
||||
"Server": "Server",
|
||||
@@ -385,7 +373,6 @@
|
||||
"No version installed yet.": "Noch keine Version installiert.",
|
||||
"Release": "Release",
|
||||
"Verified": "Verifiziert",
|
||||
"Choose a skin…": "Skin auswählen…",
|
||||
"{instance} doesn't play its native mods yet: build the game with them.": "{instance} spielt seine nativen Mods noch nicht: baue das Spiel mit ihnen.",
|
||||
"Use jars from my instance…": "JARs aus meiner Instanz verwenden…",
|
||||
"Applications menu": "Anwendungsmenü",
|
||||
@@ -409,7 +396,6 @@
|
||||
"Open backups": "Sicherungen öffnen",
|
||||
"The game is running: change packs in its own menus, or here once it is closed.": "Das Spiel läuft: Ändere Pakete in den Spielmenüs oder hier, sobald es beendet ist.",
|
||||
"Check now": "Jetzt prüfen",
|
||||
"Choose a cape…": "Umhang auswählen…",
|
||||
"Save": "Speichern",
|
||||
"Folder": "Ordner",
|
||||
"Searching…": "Suche…",
|
||||
@@ -423,7 +409,6 @@
|
||||
"MangoHud": "MangoHud",
|
||||
"Sign out": "Abmelden",
|
||||
"When it starts": "Beim Start",
|
||||
"{name}'s skin": "{name}s Skin",
|
||||
"Start": "Starten",
|
||||
"No Minecraft install needed: Horizon downloads it from Mojang for your account.": "Keine Minecraft-Installation nötig: Horizon lädt es für dein Konto von Mojang herunter.",
|
||||
"Logs": "Protokolle",
|
||||
@@ -447,7 +432,6 @@
|
||||
"The wordmark, while the release list loads.": "Das Logo, während die Versionsliste lädt.",
|
||||
"Playing offline": "Offline spielen",
|
||||
"Sign in to Tailscale": "Bei Tailscale anmelden",
|
||||
"Offline names without an account": "Offline-Namen ohne Konto",
|
||||
"Help make Horizon faster and steadier?": "Hilf mit, Horizon schneller und stabiler zu machen?",
|
||||
"Sign in to play": "Zum Spielen anmelden",
|
||||
"Ported": "Portiert",
|
||||
@@ -490,14 +474,12 @@
|
||||
"Update this launcher with your package manager.": "Aktualisiere diesen Launcher mit deiner Paketverwaltung.",
|
||||
"Close this launcher, move it to {folder}, and open it there to enable updates.": "Schließe diesen Launcher, verschiebe ihn nach {folder} und öffne ihn dort, um Updates zu ermöglichen.",
|
||||
"Any MCP client": "Jeder MCP-Client",
|
||||
"{name}'s cape is kept.": "{name}s Umhang wird beibehalten.",
|
||||
"Not reviewed by the Horizon registry": "Nicht vom Horizon-Verzeichnis geprüft",
|
||||
"Proxy": "Proxy",
|
||||
"Checking": "Prüfe",
|
||||
"Updates": "Aktualisierungen",
|
||||
"Asking Microsoft…": "Frage Microsoft…",
|
||||
"Prepared for Minecraft {version}, without its sounds: the game will be silent. Prepare again to copy them from your Minecraft install.": "Für Minecraft {version} ohne Sound vorbereitet: das Spiel bleibt stumm. Bereite es erneut vor, um die Sounds von deiner Minecraft-Installation zu kopieren.",
|
||||
"Forget": "Vergessen",
|
||||
"Import a modpack…": "Ein Modpack importieren…",
|
||||
"Search versions": "Versionen suchen",
|
||||
"failed": "fehlgeschlagen",
|
||||
@@ -506,7 +488,6 @@
|
||||
"Left off: {line}.": "Ausgelassen: {line}.",
|
||||
"Resource packs": "Ressourcenpakete",
|
||||
"yesterday": "gestern",
|
||||
"No cape": "Kein Umhang",
|
||||
"After each session: frame-time percentiles and a 14-bucket histogram, tick times, peak memory and startup times, with your machine (OS, CPU and its cores and clocks, memory size, GPU, its memory and driver, drive type, screen size and refresh rate, laptop or desktop, on battery or not) and the settings that change performance.": "Nach jeder Sitzung: Perzentile der Frame-Zeiten und ein Histogramm mit 14 Klassen, Tick-Zeiten, Spitzenarbeitsspeicher und Startzeiten, mit deinem Rechner (Betriebssystem, CPU mit Kernen und Taktraten, Arbeitsspeichergröße, GPU mit Speicher und Treiber, Laufwerkstyp, Bildschirmgröße und Bildwiederholrate, Laptop oder Desktop, Akkubetrieb oder nicht) und den Einstellungen, die die Leistung beeinflussen.",
|
||||
"Make a token": "Token erstellen",
|
||||
"Added {names}: the game turns it on when the world opens.": "{names} hinzugefügt: Das Spiel schaltet es beim Öffnen der Welt ein.",
|
||||
@@ -559,7 +540,6 @@
|
||||
"Shared: {url}": "Geteilt: {url}",
|
||||
"Friends on the same Wi-Fi: Multiplayer, Add Server, then paste this address.": "Freunde im selben WLAN: Mehrspieler, Server hinzufügen und dann diese Adresse einfügen.",
|
||||
"None yet: drop a .hshader or a shader pack .zip here.": "Noch keine: Ziehe eine .hshader-Datei oder ein Shader-Paket als .zip hierher.",
|
||||
"Offline name · the game's own": "Offline-Name · vom Spiel vergeben",
|
||||
"Native mods aren't sandboxed: they run with full access to your computer, like any program. Install only mods whose authors you trust. To play with one, build the game on the Mods page; the first build downloads Rust and takes 20 to 30 minutes.": "Native Mods laufen nicht in einer Sandbox: Sie haben vollen Zugriff auf deinen Computer, wie jedes Programm. Installiere nur Mods, deren Autoren du vertraust. Um mit einer zu spielen, baue das Spiel auf der Mods-Seite; der erste Build lädt Rust herunter und dauert 20 bis 30 Minuten.",
|
||||
"Your selected version only changes if you were playing the newest one.": "Deine ausgewählte Version ändert sich nur, wenn du die neueste gespielt hast.",
|
||||
"Multiplayer": "Mehrspieler",
|
||||
@@ -589,7 +569,6 @@
|
||||
"the port": "der Port",
|
||||
"The source of {source}. Its release ships {file}, a content mod: installing those from GitHub is not supported yet.": "Der Quellcode von {source}. Das Release enthält {file}, eine Inhalts-Mod: Die Installation solcher Mods von GitHub wird noch nicht unterstützt.",
|
||||
"Build anyway": "Trotzdem bauen",
|
||||
"A name, 3 to 16 letters": "Name, 3 bis 16 Buchstaben",
|
||||
"Installed {mods} from GitHub ({source}). Build it on the Mods page.": "{mods} von GitHub ({source}) installiert. Kompiliere es auf der Seite Mods.",
|
||||
"Settings, Keys, Generate access token. It's kept in this computer's keychain and only sent to Tailscale.": "Settings, Keys, Generate access token. Es wird im Schlüsselbund dieses Computers gespeichert und nur an Tailscale gesendet.",
|
||||
"{id} is up to date.": "{id} ist aktuell.",
|
||||
@@ -604,7 +583,6 @@
|
||||
"I read it and trust it: install": "Ich habe ihn gelesen und vertraue ihm: installieren",
|
||||
"Close export": "Export schließen",
|
||||
"Playing needs a prepared Horizon version (Play page).": "Zum Spielen braucht es eine vorbereitete Horizon-Version (Seite Spielen).",
|
||||
"Offline, the game's name": "Offline-Spiel",
|
||||
"From Horizon's registry": "Aus der eigenen geprüften Registry",
|
||||
"Sounds": "Geräusche",
|
||||
"Edit…": "Bearbeiten…",
|
||||
@@ -637,12 +615,10 @@
|
||||
"up to date": "aktuell",
|
||||
"← Newer": "← Neuere",
|
||||
"Downloading from Mojang · {done} of {total} files": "Download von Mojang · {done} von {total} Dateien",
|
||||
"{name}'s skin is kept.": "{name}s Skin wird beibehalten.",
|
||||
"Edit instance": "Instanz bearbeiten",
|
||||
"Remove shortcut": "Verknüpfung entfernen",
|
||||
"{program} is not installed here (or not on the PATH): copy the config instead.": "{program} ist hier nicht installiert (oder nicht im PATH): Kopiere stattdessen die Konfiguration.",
|
||||
"No worlds to put in.": "Keine Welten zum Einfügen vorhanden.",
|
||||
"Default skin": "Standard-Skin",
|
||||
"A link to a repository (its latest release), a release, a branch or tag, or a commit. The launcher installs one exact release file or commit, never a branch that moves.": "Ein Link zu einem Repository (dessen neuestem Release), einem Release, einem Branch oder Tag oder einem Commit. Der Launcher installiert eine genaue Release-Datei oder einen genauen Commit, niemals einen beweglichen Branch.",
|
||||
"Sign in with GitHub to rate": "Mit GitHub anmelden, um zu bewerten",
|
||||
"Star on GitHub": "Auf GitHub mit Stern markieren",
|
||||
@@ -1055,10 +1031,6 @@
|
||||
"played by {names}": "gespielt von {names}",
|
||||
"{day}, {time} UTC": "{day}, {time} UTC",
|
||||
"Microsoft account · online servers too": "Microsoft-Konto · auch Online-Server",
|
||||
"Offline · single player and LAN worlds": "Offline · Einzelspieler- und LAN-Welten",
|
||||
"Offline names": "Offline-Namen",
|
||||
"Add a name": "Namen hinzufügen",
|
||||
"3 to 16 letters, numbers or underscores. Switch names from the top bar too. Online servers don't take offline names.": "3 bis 16 Buchstaben, Ziffern oder Unterstriche. Namen wechselst du auch in der oberen Leiste. Online-Server nehmen keine Offline-Namen an.",
|
||||
"Play online with your Microsoft account": "Mit deinem Microsoft-Konto online spielen",
|
||||
"Sign in with the account that owns Minecraft: Java Edition. Your name and skin come along to online servers, like in other launchers.": "Melde dich mit dem Konto an, dem Minecraft: Java Edition gehört. Dein Name und Skin kommen mit auf Online-Server, wie in anderen Launchern.",
|
||||
"Microsoft's own page opens in your browser. Horizon never sees your password.": "Microsofts eigene Seite öffnet sich in deinem Browser. Horizon sieht dein Passwort nie.",
|
||||
|
||||
@@ -37,7 +37,6 @@
|
||||
"Building {name}'s post-build step": "Κατασκευή του βήματος μετά την κατασκευή του {name}",
|
||||
"In use": "Σε χρήση",
|
||||
"Prepare": "Προετοιμαστείτε",
|
||||
"Developer options": "Επιλογές προγραμματιστή",
|
||||
"{online} of {max} players": "{online} από {max} παίκτες",
|
||||
"Minecraft {version} (Java Edition). Play downloads it from Mojang for your account the first time, with the Java it needs.": "Minecraft {version} (Έκδοση Java). Το Play το κατεβάζει από το Mojang για τον λογαριασμό σας την πρώτη φορά, με την Java που χρειάζεται.",
|
||||
"Close": "Κλείσιμο",
|
||||
@@ -98,7 +97,6 @@
|
||||
"From my install": "Από την εγκατάσταση μου",
|
||||
"the update failed: {error}": "η ενημέρωση απέτυχε: {error}",
|
||||
"Mesa's DRI_PRIME=1, so Vulkan picks the other card.": "Το DRI_PRIME=1 του Mesa, οπότε ο Vulkan διαλέγει το άλλο φύλλο.",
|
||||
"New name": "Νέο όνομα",
|
||||
"Dark": "Σκοτεινό",
|
||||
"Not now": "Όχι τώρα",
|
||||
"Use an access token…": "Χρησιμοποιήστε ένα διακριτικό πρόσβασης…",
|
||||
@@ -115,7 +113,6 @@
|
||||
"Partly": "Εν μέρει",
|
||||
"All": "Όλα",
|
||||
"Instance": "Παράδειγμα",
|
||||
"Classic arms": "Κλασικά μπράτσα",
|
||||
"Versions": "εκδόσεις",
|
||||
"Release build: slower to build, slightly faster game": "Έκδοση έκδοσης: πιο αργό στην κατασκευή, ελαφρώς πιο γρήγορο παιχνίδι",
|
||||
"Performance build": "Κατασκευή απόδοσης",
|
||||
@@ -172,7 +169,6 @@
|
||||
"about a minute left": "περίπου ένα λεπτό απομένει",
|
||||
"Cancel": "Ακύρωση",
|
||||
"Add to {client}": "Προσθήκη στο {client}",
|
||||
"Skin…": "Δέρμα…",
|
||||
"Environment": "Περιβάλλον",
|
||||
"They often still work together. If the build fails, install versions made for the same Nightly.": "Συχνά εξακολουθούν να συνεργάζονται. Εάν η κατασκευή αποτύχει, εγκαταστήστε εκδόσεις που έχουν δημιουργηθεί για το ίδιο Nightly.",
|
||||
"Import an instance folder…": "Εισαγωγή φακέλου παρουσίας…",
|
||||
@@ -184,7 +180,6 @@
|
||||
"newest stable version": "η πιο πρόσφατη σταθερή έκδοση",
|
||||
"Choose image…": "Επιλέξτε εικόνα…",
|
||||
"No worlds yet: they appear here once you play one.": "Δεν υπάρχουν ακόμη κόσμοι: εμφανίζονται εδώ μόλις παίξετε έναν.",
|
||||
"Offline names play without a Microsoft account that owns the game. Minecraft still comes from your own install.": "Τα ονόματα εκτός σύνδεσης παίζουν χωρίς λογαριασμό Microsoft στον οποίο ανήκει το παιχνίδι. Το Minecraft εξακολουθεί να προέρχεται από τη δική σας εγκατάσταση.",
|
||||
"crash reports beside it": "αναφορές σύγκρουσης δίπλα του",
|
||||
"Install all": "Εγκαταστήστε όλα",
|
||||
"No group": "Καμία ομάδα",
|
||||
@@ -202,7 +197,6 @@
|
||||
"My instance": "Η δική μου περίπτωση",
|
||||
"Snapshot": "Στιγμιότυπο",
|
||||
"Gallery": "Γκαλερί",
|
||||
"Offline name": "Όνομα εκτός σύνδεσης",
|
||||
"Home": "Σπίτι",
|
||||
"Stopping": "Σταματώντας",
|
||||
"MSPT · tick time": "MSPT · χρόνος τικ",
|
||||
@@ -305,8 +299,6 @@
|
||||
"Patch notes": "Patch σημειώσεις",
|
||||
"Your Minecraft server, {online}.": "Ο διακομιστής σας Minecraft, {online}.",
|
||||
"Crash reports": "Αναφορές σφαλμάτων",
|
||||
"Offline name · the game's own · plays": "Όνομα εκτός σύνδεσης · το δικό του παιχνίδι · παίζει",
|
||||
"Slim arms": "Λεπτά μπράτσα",
|
||||
"Asking GitHub about {owner}/{repo}…": "Ερώτηση στο GitHub για {owner}/{repo}…",
|
||||
"Downloading Minecraft {version} from Mojang · {done} of {total} files": "Λήψη του Minecraft {version} από το Mojang · {done} από {total} αρχεία",
|
||||
"Could not save your choice: {error}": "Δεν ήταν δυνατή η αποθήκευση της επιλογής σας: {error}",
|
||||
@@ -355,7 +347,6 @@
|
||||
"Horizon's landscape. Pick a PNG, JPEG or WebP picture of your own.": "Τοπίο του Horizon. Επιλέξτε μια δική σας εικόνα PNG, JPEG ή WebP.",
|
||||
"Not needed": "Δεν χρειάζεται",
|
||||
"This build of the launcher has no Microsoft sign-in (HORIZON_MSA_CLIENT_ID), so it can't start the game.": "Αυτή η έκδοση του προγράμματος εκκίνησης δεν έχει σύνδεση στη Microsoft (HORIZON_MSA_CLIENT_ID), επομένως δεν μπορεί να ξεκινήσει το παιχνίδι.",
|
||||
"Offline name · plays": "Όνομα εκτός σύνδεσης · παίζει",
|
||||
"Run the game through": "Τρέξτε το παιχνίδι",
|
||||
"needed by another pack": "χρειάζεται ένα άλλο πακέτο",
|
||||
"Older →": "Παλαιότερο →",
|
||||
@@ -366,13 +357,10 @@
|
||||
"Could not run {program}: {error}": "Δεν ήταν δυνατή η εκτέλεση {program}: {error}",
|
||||
"Restart": "Επανεκκίνηση",
|
||||
"Copied to the clipboard.": "Αντιγράφηκε στο πρόχειρο.",
|
||||
"Your worlds, offline names and settings stay where they are.": "Οι κόσμοι σας, τα ονόματα και οι ρυθμίσεις εκτός σύνδεσης παραμένουν εκεί που είναι.",
|
||||
"Send nothing": "Στείλτε τίποτα",
|
||||
"Move to Trash": "Μετακίνηση στον Κάδο απορριμμάτων",
|
||||
"Start from": "Ξεκινήστε από",
|
||||
"Asking Mojang for its versions…": "Ζητώντας από την Mojang τις εκδόσεις της…",
|
||||
"A 64×64 (or 64×32) skin PNG and a 64×32 cape PNG, kept by the launcher and given to the game when this name plays. The game draws the default skins for now; it uses these once it can. A Microsoft account's skin and cape: coming soon.": "Ένα 64×64 (ή 64×32) skin PNG και ένα 64×32 cape PNG, που κρατά ο εκτοξευτής και δίνεται στο παιχνίδι όταν παίζει αυτό το όνομα. Το παιχνίδι σχεδιάζει τα προεπιλεγμένα skins προς το παρόν. τα χρησιμοποιεί όταν μπορεί. Το δέρμα και η κάπα ενός λογαριασμού Microsoft: προσεχώς.",
|
||||
"Play offline under another name, and switch from the top bar. Online servers don't take offline names.": "Παίξτε εκτός σύνδεσης με άλλο όνομα και κάντε εναλλαγή από την επάνω γραμμή. Οι διαδικτυακοί διακομιστές δεν παίρνουν ονόματα εκτός σύνδεσης.",
|
||||
"Report on Discord": "Έκθεση για τη διχόνοια",
|
||||
"Export": "Εξαγωγή",
|
||||
"Server": "Διακομιστής",
|
||||
@@ -385,7 +373,6 @@
|
||||
"No version installed yet.": "Καμία έκδοση δεν έχει εγκατασταθεί ακόμα.",
|
||||
"Release": "Απελευθέρωση",
|
||||
"Verified": "Επαληθεύτηκε",
|
||||
"Choose a skin…": "Επιλέξτε δέρμα…",
|
||||
"{instance} doesn't play its native mods yet: build the game with them.": "Το {instance} δεν παίζει ακόμα τα εγγενή του mods: φτιάξτε το παιχνίδι με αυτά.",
|
||||
"Use jars from my instance…": "Χρησιμοποιήστε βάζα από την περίπτωσή μου…",
|
||||
"Applications menu": "Μενού εφαρμογών",
|
||||
@@ -409,7 +396,6 @@
|
||||
"Open backups": "Ανοίξτε τα αντίγραφα ασφαλείας",
|
||||
"The game is running: change packs in its own menus, or here once it is closed.": "Το παιχνίδι τρέχει: αλλάξτε πακέτα στα δικά του μενού ή εδώ μόλις κλείσει.",
|
||||
"Check now": "Ελέγξτε τώρα",
|
||||
"Choose a cape…": "Επιλέξτε μια κάπα…",
|
||||
"Save": "Αποθήκευση",
|
||||
"Folder": "Φάκελος",
|
||||
"Searching…": "Αναζήτηση…",
|
||||
@@ -423,7 +409,6 @@
|
||||
"MangoHud": "MangoHud",
|
||||
"Sign out": "Αποσυνδεθείτε",
|
||||
"When it starts": "Όταν ξεκινάει",
|
||||
"{name}'s skin": "δέρμα {name}",
|
||||
"Start": "Έναρξη",
|
||||
"No Minecraft install needed: Horizon downloads it from Mojang for your account.": "Δεν απαιτείται εγκατάσταση Minecraft: Το Horizon το κατεβάζει από το Mojang για τον λογαριασμό σας.",
|
||||
"Logs": "κούτσουρα",
|
||||
@@ -447,7 +432,6 @@
|
||||
"The wordmark, while the release list loads.": "Το λεκτικό σήμα, ενώ φορτώνεται η λίστα έκδοσης.",
|
||||
"Playing offline": "Παίζει εκτός σύνδεσης",
|
||||
"Sign in to Tailscale": "Συνδεθείτε στο Tailscale",
|
||||
"Offline names without an account": "Ονόματα εκτός σύνδεσης χωρίς λογαριασμό",
|
||||
"Help make Horizon faster and steadier?": "Βοηθήστε το Horizon να γίνει πιο γρήγορο και σταθερό;",
|
||||
"Sign in to play": "Συνδεθείτε για να παίξετε",
|
||||
"Ported": "Μεταφερόμενος",
|
||||
@@ -490,14 +474,12 @@
|
||||
"Update this launcher with your package manager.": "Ενημερώστε αυτό το πρόγραμμα εκκίνησης με τον διαχειριστή πακέτων σας.",
|
||||
"Close this launcher, move it to {folder}, and open it there to enable updates.": "Κλείστε αυτό το πρόγραμμα εκκίνησης, μετακινήστε το στο {folder} και ανοίξτε το εκεί για να ενεργοποιήσετε τις ενημερώσεις.",
|
||||
"Any MCP client": "Οποιοσδήποτε πελάτης MCP",
|
||||
"{name}'s cape is kept.": "Το ακρωτήρι του {name} διατηρείται.",
|
||||
"Not reviewed by the Horizon registry": "Δεν έχει ελεγχθεί από το μητρώο Horizon",
|
||||
"Proxy": "Αντιπρόσωπος",
|
||||
"Checking": "Έλεγχος",
|
||||
"Updates": "Ενημερώσεις",
|
||||
"Asking Microsoft…": "Ρωτώντας τη Microsoft…",
|
||||
"Prepared for Minecraft {version}, without its sounds: the game will be silent. Prepare again to copy them from your Minecraft install.": "Προετοιμάστηκε για το Minecraft {version}, χωρίς τους ήχους του: το παιχνίδι θα είναι αθόρυβο. Προετοιμαστείτε ξανά για να τα αντιγράψετε από την εγκατάσταση του Minecraft.",
|
||||
"Forget": "Ξεχάστε",
|
||||
"Import a modpack…": "Εισαγωγή modpack…",
|
||||
"Search versions": "Αναζήτηση εκδόσεων",
|
||||
"failed": "απέτυχε",
|
||||
@@ -506,7 +488,6 @@
|
||||
"Left off: {line}.": "Έφυγε: {line}.",
|
||||
"Resource packs": "Πακέτα πόρων",
|
||||
"yesterday": "χθες",
|
||||
"No cape": "Χωρίς κάπα",
|
||||
"After each session: frame-time percentiles and a 14-bucket histogram, tick times, peak memory and startup times, with your machine (OS, CPU and its cores and clocks, memory size, GPU, its memory and driver, drive type, screen size and refresh rate, laptop or desktop, on battery or not) and the settings that change performance.": "Μετά από κάθε συνεδρία: εκατοστημόρια χρόνου καρέ και ιστόγραμμα 14 κουβάδων, χρόνοι επιλογής, ώρες αιχμής μνήμης και εκκίνησης, με το μηχάνημά σας (OS, CPU και πυρήνες και ρολόγια, μέγεθος μνήμης, GPU, μνήμη και πρόγραμμα οδήγησης, τύπος μονάδας, μέγεθος οθόνης και ρυθμός ανανέωσης, φορητός υπολογιστής ή επιτραπέζιος υπολογιστής, σε μπαταρία ή όχι) και τις ρυθμίσεις που αλλάζουν την απόδοση.",
|
||||
"Make a token": "Κάντε μια μάρκα",
|
||||
"Added {names}: the game turns it on when the world opens.": "Προστέθηκε {names}: το παιχνίδι το ενεργοποιεί όταν ανοίγει ο κόσμος.",
|
||||
@@ -559,7 +540,6 @@
|
||||
"Shared: {url}": "Κοινή χρήση: {url}",
|
||||
"Friends on the same Wi-Fi: Multiplayer, Add Server, then paste this address.": "Φίλοι στο ίδιο Wi-Fi: Multiplayer, Προσθήκη διακομιστή και, στη συνέχεια, επικολλήστε αυτήν τη διεύθυνση.",
|
||||
"None yet: drop a .hshader or a shader pack .zip here.": "Κανένα ακόμα: ρίξτε ένα .hshader ή ένα πακέτο shader .zip εδώ.",
|
||||
"Offline name · the game's own": "Όνομα εκτός σύνδεσης · το δικό του παιχνιδιού",
|
||||
"Native mods aren't sandboxed: they run with full access to your computer, like any program. Install only mods whose authors you trust. To play with one, build the game on the Mods page; the first build downloads Rust and takes 20 to 30 minutes.": "Τα εγγενή mods δεν είναι sandbox: εκτελούνται με πλήρη πρόσβαση στον υπολογιστή σας, όπως κάθε πρόγραμμα. Εγκαταστήστε μόνο mods των οποίων τους δημιουργούς εμπιστεύεστε. Για να παίξετε με ένα, δημιουργήστε το παιχνίδι στη σελίδα Mods. η πρώτη έκδοση κατεβάζει το Rust και διαρκεί 20 έως 30 λεπτά.",
|
||||
"Your selected version only changes if you were playing the newest one.": "Η επιλεγμένη έκδοση αλλάζει μόνο εάν παίζατε την πιο πρόσφατη.",
|
||||
"Multiplayer": "Multiplayer",
|
||||
@@ -589,7 +569,6 @@
|
||||
"the port": "το λιμάνι",
|
||||
"The source of {source}. Its release ships {file}, a content mod: installing those from GitHub is not supported yet.": "Η πηγή του {source}. Η κυκλοφορία του αποστέλλεται {file}, μια τροποποίηση περιεχομένου: η εγκατάσταση αυτών από το GitHub δεν υποστηρίζεται ακόμη.",
|
||||
"Build anyway": "Χτίστε πάντως",
|
||||
"A name, 3 to 16 letters": "Ένα όνομα, 3 έως 16 γράμματα",
|
||||
"Installed {mods} from GitHub ({source}). Build it on the Mods page.": "Εγκαταστάθηκε {mods} από το GitHub ({source}). Δημιουργήστε το στη σελίδα Mods.",
|
||||
"Settings, Keys, Generate access token. It's kept in this computer's keychain and only sent to Tailscale.": "Ρυθμίσεις, Κλειδιά, Δημιουργία διακριτικού πρόσβασης. Διατηρείται στο κλειδί αυτού του υπολογιστή και αποστέλλεται μόνο στο Tailscale.",
|
||||
"{id} is up to date.": "Το {id} είναι ενημερωμένο.",
|
||||
@@ -604,7 +583,6 @@
|
||||
"I read it and trust it: install": "Το διάβασα και το εμπιστεύομαι: εγκατάσταση",
|
||||
"Close export": "Κλείσιμο εξαγωγής",
|
||||
"Playing needs a prepared Horizon version (Play page).": "Η αναπαραγωγή χρειάζεται μια προετοιμασμένη έκδοση Horizon (σελίδα αναπαραγωγής).",
|
||||
"Offline, the game's name": "Εκτός σύνδεσης, το όνομα του παιχνιδιού",
|
||||
"From Horizon's registry": "Από το μητρώο του Horizon",
|
||||
"Sounds": "Ήχοι",
|
||||
"Edit…": "Επεξεργασία…",
|
||||
@@ -637,12 +615,10 @@
|
||||
"up to date": "ενημερωμένο",
|
||||
"← Newer": "← Νεότερο",
|
||||
"Downloading from Mojang · {done} of {total} files": "Λήψη από το Mojang · {done} από {total} αρχεία",
|
||||
"{name}'s skin is kept.": "Το δέρμα του {name} διατηρείται.",
|
||||
"Edit instance": "Επεξεργασία παρουσίας",
|
||||
"Remove shortcut": "Κατάργηση συντόμευσης",
|
||||
"{program} is not installed here (or not on the PATH): copy the config instead.": "Το {program} δεν είναι εγκατεστημένο εδώ (ή όχι στο PATH): αντιγράψτε το config.",
|
||||
"No worlds to put in.": "Δεν υπάρχουν κόσμοι για να βάλετε μέσα.",
|
||||
"Default skin": "Προεπιλεγμένο δέρμα",
|
||||
"A link to a repository (its latest release), a release, a branch or tag, or a commit. The launcher installs one exact release file or commit, never a branch that moves.": "Ένας σύνδεσμος προς ένα αποθετήριο (την πιο πρόσφατη κυκλοφορία του), μια κυκλοφορία, ένα υποκατάστημα ή μια ετικέτα ή μια δέσμευση. Το πρόγραμμα εκκίνησης εγκαθιστά ένα αρχείο ή δέσμευση ακριβούς έκδοσης, ποτέ ένα υποκατάστημα που μετακινείται.",
|
||||
"Sign in with GitHub to rate": "Συνδεθείτε με το GitHub για να βαθμολογήσετε",
|
||||
"Star on GitHub": "Δώστε αστέρι στο GitHub",
|
||||
@@ -1055,10 +1031,6 @@
|
||||
"played by {names}": "παίζεται από {names}",
|
||||
"{day}, {time} UTC": "{day}, {time} UTC",
|
||||
"Microsoft account · online servers too": "Λογαριασμός Microsoft · και διαδικτυακοί διακομιστές",
|
||||
"Offline · single player and LAN worlds": "Εκτός σύνδεσης · ένας παίκτης και κόσμοι LAN",
|
||||
"Offline names": "Ονόματα εκτός σύνδεσης",
|
||||
"Add a name": "Προσθήκη ονόματος",
|
||||
"3 to 16 letters, numbers or underscores. Switch names from the top bar too. Online servers don't take offline names.": "3 έως 16 γράμματα, αριθμοί ή κάτω παύλες. Μπορείτε επίσης να αλλάξετε όνομα από την επάνω γραμμή. Οι διαδικτυακοί διακομιστές δεν δέχονται ονόματα εκτός σύνδεσης.",
|
||||
"Play online with your Microsoft account": "Παίξτε online με τον λογαριασμό σας Microsoft",
|
||||
"Sign in with the account that owns Minecraft: Java Edition. Your name and skin come along to online servers, like in other launchers.": "Συνδεθείτε με τον λογαριασμό που κατέχει το Minecraft: Java Edition. Το όνομα και το skin σας σας ακολουθούν στους διαδικτυακούς διακομιστές, όπως και σε άλλους launchers.",
|
||||
"Microsoft's own page opens in your browser. Horizon never sees your password.": "Η σελίδα της ίδιας της Microsoft ανοίγει στο πρόγραμμα περιήγησής σας. Το Horizon δεν βλέπει ποτέ τον κωδικό πρόσβασής σας.",
|
||||
|
||||
@@ -37,7 +37,6 @@
|
||||
"Building {name}'s post-build step": "Konstruado de la postkonstrua paŝo de {name}",
|
||||
"In use": "En uzo",
|
||||
"Prepare": "Preparu",
|
||||
"Developer options": "Opcioj por programistoj",
|
||||
"{online} of {max} players": "{online} el {max} ludantoj",
|
||||
"Minecraft {version} (Java Edition). Play downloads it from Mojang for your account the first time, with the Java it needs.": "Minecraft {version} (Java Eldono). Play elŝutas ĝin de Mojang por via konto la unuan fojon, kun la Java kiun ĝi bezonas.",
|
||||
"Close": "Fermu",
|
||||
@@ -98,7 +97,6 @@
|
||||
"From my install": "De mia instalo",
|
||||
"the update failed: {error}": "la ĝisdatigo malsukcesis: {error}",
|
||||
"Mesa's DRI_PRIME=1, so Vulkan picks the other card.": "DRI_PRIME=1 de Mesa, do Vulkan elektas la alian karton.",
|
||||
"New name": "Nova nomo",
|
||||
"Dark": "Mallumo",
|
||||
"Not now": "Ne nun",
|
||||
"Use an access token…": "Uzu alirĵetonon...",
|
||||
@@ -115,7 +113,6 @@
|
||||
"Partly": "Parte",
|
||||
"All": "Ĉiuj",
|
||||
"Instance": "Instanco",
|
||||
"Classic arms": "Klasikaj brakoj",
|
||||
"Versions": "Versioj",
|
||||
"Release build: slower to build, slightly faster game": "Liberiga konstruo: pli malrapida por konstrui, iomete pli rapida ludo",
|
||||
"Performance build": "Efikeco-konstruo",
|
||||
@@ -172,7 +169,6 @@
|
||||
"about a minute left": "restas proksimume minuto",
|
||||
"Cancel": "Nuligi",
|
||||
"Add to {client}": "Aldoni al {client}",
|
||||
"Skin…": "Haŭto…",
|
||||
"Environment": "Medio",
|
||||
"They often still work together. If the build fails, install versions made for the same Nightly.": "Ili ofte ankoraŭ laboras kune. Se la konstruo malsukcesas, instalu versiojn faritajn por la sama Nokto.",
|
||||
"Import an instance folder…": "Importi kazon-dosierujon...",
|
||||
@@ -184,7 +180,6 @@
|
||||
"newest stable version": "plej nova stabila versio",
|
||||
"Choose image…": "Elektu bildon...",
|
||||
"No worlds yet: they appear here once you play one.": "Ankoraŭ neniuj mondoj: ili aperas ĉi tie post kiam vi ludas unu.",
|
||||
"Offline names play without a Microsoft account that owns the game. Minecraft still comes from your own install.": "Senretaj nomoj ludas sen Microsoft konto kiu posedas la ludon. Minecraft ankoraŭ venas de via propra instalo.",
|
||||
"crash reports beside it": "kraŝraportoj apud ĝi",
|
||||
"Install all": "Instalu ĉion",
|
||||
"No group": "Neniu grupo",
|
||||
@@ -202,7 +197,6 @@
|
||||
"My instance": "Mia ekzemplo",
|
||||
"Snapshot": "Antaŭversio",
|
||||
"Gallery": "Galerio",
|
||||
"Offline name": "Senkonekta nomo",
|
||||
"Home": "Hejmo",
|
||||
"Stopping": "Haltante",
|
||||
"MSPT · tick time": "MSPT · tiktempo",
|
||||
@@ -304,8 +298,6 @@
|
||||
"Patch notes": "Patch notoj",
|
||||
"Your Minecraft server, {online}.": "Via Minecraft servilo, {online}.",
|
||||
"Crash reports": "Kraŝraportoj",
|
||||
"Offline name · the game's own · plays": "Senkonekta nomo · la propra · ludoj de la ludo",
|
||||
"Slim arms": "Sveltaj brakoj",
|
||||
"Asking GitHub about {owner}/{repo}…": "Demandante GitHub pri {owner}/{repo}...",
|
||||
"Downloading Minecraft {version} from Mojang · {done} of {total} files": "Elŝutante Minecraft {version} el Mojang · {done} el {total} dosieroj",
|
||||
"Could not save your choice: {error}": "Ne eblis konservi vian elekton: {error}",
|
||||
@@ -354,7 +346,6 @@
|
||||
"Horizon's landscape. Pick a PNG, JPEG or WebP picture of your own.": "La pejzaĝo de Horizon. Elektu vian propran bildon PNG, JPEG aŭ WebP.",
|
||||
"Not needed": "Ne necesas",
|
||||
"This build of the launcher has no Microsoft sign-in (HORIZON_MSA_CLIENT_ID), so it can't start the game.": "Ĉi tiu konstruo de la lanĉilo ne havas Microsoft ensaluti (HORIZON_MSA_CLIENT_ID), do ĝi ne povas komenci la ludon.",
|
||||
"Offline name · plays": "Senreta nomo · ludas",
|
||||
"Run the game through": "Kuru la ludon tra",
|
||||
"needed by another pack": "bezonata de alia pako",
|
||||
"Older →": "Pli malnova →",
|
||||
@@ -365,13 +356,10 @@
|
||||
"Could not run {program}: {error}": "Ne eblis ruliĝi {program}: {error}",
|
||||
"Restart": "Rekomencu",
|
||||
"Copied to the clipboard.": "Kopiita al la tondujo.",
|
||||
"Your worlds, offline names and settings stay where they are.": "Viaj mondoj, eksterretaj nomoj kaj agordoj restas kie ili estas.",
|
||||
"Send nothing": "Sendu nenion",
|
||||
"Move to Trash": "Movu al Rubujo",
|
||||
"Start from": "Komencu de",
|
||||
"Asking Mojang for its versions…": "Demandante Mojang pri ĝiaj versioj...",
|
||||
"A 64×64 (or 64×32) skin PNG and a 64×32 cape PNG, kept by the launcher and given to the game when this name plays. The game draws the default skins for now; it uses these once it can. A Microsoft account's skin and cape: coming soon.": "64×64 (aŭ 64×32) haŭto PNG kaj 64×32 kabo PNG, konservita de la lanĉilo kaj donita al la ludo kiam ĉi tiu nomo ludas. La ludo desegnas la defaŭltajn haŭtojn nuntempe; ĝi uzas ĉi tiujn unufoje ĝi povas. Haŭto kaj kabo de Microsoft konto: baldaŭ venos.",
|
||||
"Play offline under another name, and switch from the top bar. Online servers don't take offline names.": "Ludu eksterrete sub alia nomo, kaj ŝanĝu de la supra trinkejo. Retaj serviloj ne prenas eksterretajn nomojn.",
|
||||
"Report on Discord": "Raportu pri Discord",
|
||||
"Export": "Eksporto",
|
||||
"Server": "Servilo",
|
||||
@@ -384,7 +372,6 @@
|
||||
"No version installed yet.": "Ankoraŭ neniu versio instalita.",
|
||||
"Release": "Eldono",
|
||||
"Verified": "Kontrolita",
|
||||
"Choose a skin…": "Elektu haŭton...",
|
||||
"{instance} doesn't play its native mods yet: build the game with them.": "{instance} ankoraŭ ne ludas siajn denaskajn modifojn: konstruu la ludon kun ili.",
|
||||
"Use jars from my instance…": "Uzu kruĉojn de mia kazo...",
|
||||
"Applications menu": "Menuo de Aplikoj",
|
||||
@@ -408,7 +395,6 @@
|
||||
"Open backups": "Malfermu sekurkopiojn",
|
||||
"The game is running: change packs in its own menus, or here once it is closed.": "La ludo funkcias: ŝanĝu pakojn en siaj propraj menuoj, aŭ ĉi tie post kiam ĝi estas fermita.",
|
||||
"Check now": "Kontrolu nun",
|
||||
"Choose a cape…": "Elektu kabon...",
|
||||
"Save": "Konservu",
|
||||
"Folder": "Dosierujo",
|
||||
"Searching…": "Serĉante…",
|
||||
@@ -422,7 +408,6 @@
|
||||
"MangoHud": "MangoHud",
|
||||
"Sign out": "Elsaluti",
|
||||
"When it starts": "Kiam ĝi komenciĝas",
|
||||
"{name}'s skin": "La haŭto de {name}",
|
||||
"Start": "Komencu",
|
||||
"No Minecraft install needed: Horizon downloads it from Mojang for your account.": "Ne necesas instali Minecraft: Horizon elŝutas ĝin de Mojang por via konto.",
|
||||
"Logs": "Ŝtipoj",
|
||||
@@ -446,7 +431,6 @@
|
||||
"The wordmark, while the release list loads.": "La vortmarko, dum la eldonolisto ŝarĝas.",
|
||||
"Playing offline": "Ludante eksterrete",
|
||||
"Sign in to Tailscale": "Ensalutu al Tailscale",
|
||||
"Offline names without an account": "Senkonektaj nomoj sen konto",
|
||||
"Help make Horizon faster and steadier?": "Ĉu helpi fari Horizon pli rapidan kaj stabilan?",
|
||||
"Sign in to play": "Ensalutu por ludi",
|
||||
"Ported": "Portita",
|
||||
@@ -488,14 +472,12 @@
|
||||
"Update this launcher with your package manager.": "Ĝisdatigu ĉi tiun lanĉilon per via paka administrilo.",
|
||||
"Close this launcher, move it to {folder}, and open it there to enable updates.": "Fermu ĉi tiun lanĉilon, movu ĝin al {folder} kaj malfermu ĝin tie por ebligi ĝisdatigojn.",
|
||||
"Any MCP client": "Ajna MCP-kliento",
|
||||
"{name}'s cape is kept.": "La kabo de {name} estas konservita.",
|
||||
"Not reviewed by the Horizon registry": "Ne reviziita de la Horizon registro",
|
||||
"Proxy": "Prokurilo",
|
||||
"Checking": "Kontrolado",
|
||||
"Updates": "Ĝisdatigoj",
|
||||
"Asking Microsoft…": "Demandante Microsoft...",
|
||||
"Prepared for Minecraft {version}, without its sounds: the game will be silent. Prepare again to copy them from your Minecraft install.": "Preta por Minecraft {version}, sen ĝiaj sonoj: la ludo silentos. Preparu denove kopii ilin de via Minecraft instalo.",
|
||||
"Forget": "Forgesu",
|
||||
"Import a modpack…": "Importu modpakaĵon...",
|
||||
"Search versions": "Serĉu versiojn",
|
||||
"failed": "malsukcesis",
|
||||
@@ -504,7 +486,6 @@
|
||||
"Left off: {line}.": "Forlasita: {line}.",
|
||||
"Resource packs": "Pakoj de rimedoj",
|
||||
"yesterday": "hieraŭ",
|
||||
"No cape": "Neniu mantelo",
|
||||
"After each session: frame-time percentiles and a 14-bucket histogram, tick times, peak memory and startup times, with your machine (OS, CPU and its cores and clocks, memory size, GPU, its memory and driver, drive type, screen size and refresh rate, laptop or desktop, on battery or not) and the settings that change performance.": "Post ĉiu sesio: kadrotempaj procentoj kaj 14-buketo histogramo, tick-tempoj, pinta memoro kaj starttempoj, kun via maŝino (OS, CPU kaj ĝiaj kernoj kaj horloĝoj, memorgrandeco, GPU, ĝia memoro kaj ŝoforo, veturtipo, ekrangrandeco kaj refreŝiga indico, tekkomputilo aŭ labortablo, sur baterio aŭ ne) kaj la agordoj kiuj ŝanĝas rendimenton.",
|
||||
"Make a token": "Faru ĵetonon",
|
||||
"Added {names}: the game turns it on when the world opens.": "Aldonita {names}: la ludo ŝaltas ĝin kiam la mondo malfermiĝas.",
|
||||
@@ -557,7 +538,6 @@
|
||||
"Shared: {url}": "Kunhavita: {url}",
|
||||
"Friends on the same Wi-Fi: Multiplayer, Add Server, then paste this address.": "Amikoj sur la sama Wifi: Multiludanto, Aldonu Servilon, tiam algluu ĉi tiun adreson.",
|
||||
"None yet: drop a .hshader or a shader pack .zip here.": "Ankoraŭ neniu: faligu .hshader aŭ shader-pakaĵon .zip ĉi tie.",
|
||||
"Offline name · the game's own": "Senreta nomo · propra de la ludo",
|
||||
"Native mods aren't sandboxed: they run with full access to your computer, like any program. Install only mods whose authors you trust. To play with one, build the game on the Mods page; the first build downloads Rust and takes 20 to 30 minutes.": "Denaskaj modoj ne estas sablokesitaj: ili funkcias kun plena aliro al via komputilo, kiel iu ajn programo. Instalu nur modifojn, kies aŭtorojn vi fidas. Por ludi kun unu, konstruu la ludon sur la Mods-paĝo; la unua konstruo elŝutas Rust kaj daŭras 20 ĝis 30 minutojn.",
|
||||
"Your selected version only changes if you were playing the newest one.": "Via elektita versio ŝanĝiĝas nur se vi ludis la plej novan.",
|
||||
"Multiplayer": "Plurludanto",
|
||||
@@ -587,7 +567,6 @@
|
||||
"the port": "la haveno",
|
||||
"The source of {source}. Its release ships {file}, a content mod: installing those from GitHub is not supported yet.": "La fonto de {source}. Ĝia eldonaĵo ekspedas {file}, enhavmodilon: instali tiujn de GitHub ankoraŭ ne estas subtenata.",
|
||||
"Build anyway": "Konstruu ĉiukaze",
|
||||
"A name, 3 to 16 letters": "Nomo, 3 ĝis 16 literoj",
|
||||
"Installed {mods} from GitHub ({source}). Build it on the Mods page.": "Instalita {mods} de GitHub ({source}). Konstruu ĝin sur la paĝo Mods.",
|
||||
"Settings, Keys, Generate access token. It's kept in this computer's keychain and only sent to Tailscale.": "Agordoj, Ŝlosiloj, Generu alirĵetonon. Ĝi estas konservita en la ŝlosilĉeno de ĉi tiu komputilo kaj nur sendita al Tailscale.",
|
||||
"{id} is up to date.": "{id} estas ĝisdatigita.",
|
||||
@@ -602,7 +581,6 @@
|
||||
"I read it and trust it: install": "Mi legas ĝin kaj fidas ĝin: instali",
|
||||
"Close export": "Fermu eksporton",
|
||||
"Playing needs a prepared Horizon version (Play page).": "Ludado bezonas pretan Horizon version (Ludpaĝo).",
|
||||
"Offline, the game's name": "Senrete, la nomo de la ludo",
|
||||
"From Horizon's registry": "El la registro de Horizon",
|
||||
"Sounds": "Sonoj",
|
||||
"Edit…": "Redaktu…",
|
||||
@@ -635,12 +613,10 @@
|
||||
"up to date": "ĝisdatigita",
|
||||
"← Newer": "← Pli nova",
|
||||
"Downloading from Mojang · {done} of {total} files": "Elŝuto de Mojang · {done} el {total} dosieroj",
|
||||
"{name}'s skin is kept.": "La haŭto de {name} estas konservita.",
|
||||
"Edit instance": "Redaktu ekzemplon",
|
||||
"Remove shortcut": "Forigi ŝparvojon",
|
||||
"{program} is not installed here (or not on the PATH): copy the config instead.": "{program} ne estas instalita ĉi tie (aŭ ne sur la PATH): kopiu la agordon anstataŭe.",
|
||||
"No worlds to put in.": "Neniuj mondoj por enmeti.",
|
||||
"Default skin": "Defaŭlta haŭto",
|
||||
"A link to a repository (its latest release), a release, a branch or tag, or a commit. The launcher installs one exact release file or commit, never a branch that moves.": "Ligo al deponejo (ĝia lasta eldono), eldono, branĉo aŭ etikedo aŭ kommit. La lanĉilo instalas unu precizan eldondosieron aŭ kommit, neniam branĉon kiu moviĝas.",
|
||||
"Sign in with GitHub to rate": "Ensalutu per GitHub por taksi",
|
||||
"Star on GitHub": "Stelumi ĉe GitHub",
|
||||
@@ -1053,10 +1029,6 @@
|
||||
"played by {names}": "ludita de {names}",
|
||||
"{day}, {time} UTC": "{day}, {time} UTC",
|
||||
"Microsoft account · online servers too": "Microsoft konto · interretaj serviloj ankaŭ",
|
||||
"Offline · single player and LAN worlds": "Senrete · ununura ludanto kaj LAN-mondoj",
|
||||
"Offline names": "Senkonektaj nomoj",
|
||||
"Add a name": "Aldonu nomon",
|
||||
"3 to 16 letters, numbers or underscores. Switch names from the top bar too. Online servers don't take offline names.": "3 ĝis 16 literoj, ciferoj aŭ substrekoj. Ŝanĝu nomojn ankaŭ de la supra trinkejo. Retaj serviloj ne prenas eksterretajn nomojn.",
|
||||
"Play online with your Microsoft account": "Ludu interrete per via Microsoft konto",
|
||||
"Sign in with the account that owns Minecraft: Java Edition. Your name and skin come along to online servers, like in other launchers.": "Ensalutu kun la konto, kiu posedas Minecraft: Java Eldono. Via nomo kaj haŭto venas al interretaj serviloj, kiel en aliaj lanĉiloj.",
|
||||
"Microsoft's own page opens in your browser. Horizon never sees your password.": "La propra paĝo de Microsoft malfermiĝas en via retumilo. Horizon neniam vidas vian pasvorton.",
|
||||
|
||||
@@ -37,7 +37,6 @@
|
||||
"Building {name}'s post-build step": "Compilando el paso posterior a la compilación de {name}",
|
||||
"In use": "En uso",
|
||||
"Prepare": "Preparar",
|
||||
"Developer options": "Opciones de desarrollador",
|
||||
"{online} of {max} players": "{online} de {max} jugadores",
|
||||
"Minecraft {version} (Java Edition). Play downloads it from Mojang for your account the first time, with the Java it needs.": "Minecraft {version} (Java Edition). La primera vez, Jugar lo descarga de Mojang para tu cuenta, junto con el Java que necesita.",
|
||||
"Close": "Cerrar",
|
||||
@@ -98,7 +97,6 @@
|
||||
"From my install": "Desde mi instalación",
|
||||
"the update failed: {error}": "la actualización falló: {error}",
|
||||
"Mesa's DRI_PRIME=1, so Vulkan picks the other card.": "DRI_PRIME=1 de Mesa, para que Vulkan elija la otra tarjeta.",
|
||||
"New name": "Nuevo nombre",
|
||||
"Dark": "Oscuro",
|
||||
"Not now": "Ahora no",
|
||||
"Use an access token…": "Usar un token de acceso…",
|
||||
@@ -115,7 +113,6 @@
|
||||
"Partly": "Parcial",
|
||||
"All": "Todos",
|
||||
"Instance": "Instancia",
|
||||
"Classic arms": "Brazos clásicos",
|
||||
"Versions": "Versiones",
|
||||
"Release build: slower to build, slightly faster game": "Compilación release: tarda más, el juego va algo más rápido",
|
||||
"Performance build": "Compilación de rendimiento",
|
||||
@@ -172,7 +169,6 @@
|
||||
"about a minute left": "queda un minuto aprox.",
|
||||
"Cancel": "Cancelar",
|
||||
"Add to {client}": "Añadir a {client}",
|
||||
"Skin…": "Aspecto…",
|
||||
"Environment": "Entorno",
|
||||
"They often still work together. If the build fails, install versions made for the same Nightly.": "A menudo funcionan juntos de todos modos. Si la compilación falla, instala versiones hechas para la misma Nightly.",
|
||||
"Import an instance folder…": "Importar una carpeta de instancia…",
|
||||
@@ -184,7 +180,6 @@
|
||||
"newest stable version": "última versión estable",
|
||||
"Choose image…": "Elegir imagen…",
|
||||
"No worlds yet: they appear here once you play one.": "Aún no hay mundos: aparecerán aquí cuando juegues en uno.",
|
||||
"Offline names play without a Microsoft account that owns the game. Minecraft still comes from your own install.": "Los nombres sin conexión permiten jugar sin una cuenta de Microsoft que posea el juego. Minecraft sigue proviniendo de tu propia instalación.",
|
||||
"crash reports beside it": "informes de fallos al lado",
|
||||
"Install all": "Instalar todos",
|
||||
"No group": "Sin grupo",
|
||||
@@ -202,7 +197,6 @@
|
||||
"My instance": "Mi instancia",
|
||||
"Snapshot": "Instantánea",
|
||||
"Gallery": "Galería",
|
||||
"Offline name": "Nombre sin conexión",
|
||||
"Home": "Inicio",
|
||||
"Stopping": "Deteniendo",
|
||||
"MSPT · tick time": "MSPT · tiempo de tick",
|
||||
@@ -305,8 +299,6 @@
|
||||
"Patch notes": "Notas de la versión",
|
||||
"Your Minecraft server, {online}.": "Tu servidor de Minecraft, {online}.",
|
||||
"Crash reports": "Informes de fallos",
|
||||
"Offline name · the game's own · plays": "Nombre sin conexión · propio del juego · en uso",
|
||||
"Slim arms": "Brazos delgados",
|
||||
"Asking GitHub about {owner}/{repo}…": "Consultando a GitHub sobre {owner}/{repo}…",
|
||||
"Downloading Minecraft {version} from Mojang · {done} of {total} files": "Descargando Minecraft {version} de Mojang · {done} de {total} archivos",
|
||||
"Could not save your choice: {error}": "No se pudo guardar tu elección: {error}",
|
||||
@@ -355,7 +347,6 @@
|
||||
"Horizon's landscape. Pick a PNG, JPEG or WebP picture of your own.": "El paisaje de Horizon. Elige tu propia imagen en PNG, JPEG o WebP.",
|
||||
"Not needed": "No necesarios",
|
||||
"This build of the launcher has no Microsoft sign-in (HORIZON_MSA_CLIENT_ID), so it can't start the game.": "Esta compilación del lanzador no tiene inicio de sesión con Microsoft (HORIZON_MSA_CLIENT_ID), por lo que no puede iniciar el juego.",
|
||||
"Offline name · plays": "Nombre sin conexión · jugando",
|
||||
"Run the game through": "Ejecutar el juego a través de",
|
||||
"needed by another pack": "necesario para otro paquete",
|
||||
"Older →": "Anteriores →",
|
||||
@@ -366,13 +357,10 @@
|
||||
"Could not run {program}: {error}": "No se pudo ejecutar {program}: {error}",
|
||||
"Restart": "Reiniciar",
|
||||
"Copied to the clipboard.": "Copiado al portapapeles.",
|
||||
"Your worlds, offline names and settings stay where they are.": "Tus mundos, nombres sin conexión y ajustes se mantienen en su lugar.",
|
||||
"Send nothing": "No enviar nada",
|
||||
"Move to Trash": "Mover a la papelera",
|
||||
"Start from": "Empezar desde",
|
||||
"Asking Mojang for its versions…": "Pidiendo a Mojang sus versiones…",
|
||||
"A 64×64 (or 64×32) skin PNG and a 64×32 cape PNG, kept by the launcher and given to the game when this name plays. The game draws the default skins for now; it uses these once it can. A Microsoft account's skin and cape: coming soon.": "Un PNG de aspecto de 64×64 (o 64×32) y un PNG de capa de 64×32, guardados por el lanzador y proporcionados al juego cuando juega con este nombre. Por ahora el juego muestra los aspectos por defecto; usará estos en cuanto sea posible. El aspecto y capa de una cuenta de Microsoft estarán disponibles pronto.",
|
||||
"Play offline under another name, and switch from the top bar. Online servers don't take offline names.": "Juega sin conexión con otro nombre y cámbialo desde la barra superior. Los servidores en línea no aceptan nombres sin conexión.",
|
||||
"Report on Discord": "Reportar en Discord",
|
||||
"Export": "Exportar",
|
||||
"Server": "Servidor",
|
||||
@@ -385,7 +373,6 @@
|
||||
"No version installed yet.": "Aún no hay ninguna versión instalada.",
|
||||
"Release": "Versión",
|
||||
"Verified": "Verificado",
|
||||
"Choose a skin…": "Elegir un aspecto…",
|
||||
"{instance} doesn't play its native mods yet: build the game with them.": "{instance} aún no juega con sus mods nativos: compila el juego con ellos.",
|
||||
"Use jars from my instance…": "Usar jars de mi instancia…",
|
||||
"Applications menu": "Menú de aplicaciones",
|
||||
@@ -409,7 +396,6 @@
|
||||
"Open backups": "Abrir copias de seguridad",
|
||||
"The game is running: change packs in its own menus, or here once it is closed.": "El juego está en ejecución: cambia los paquetes en sus propios menús o aquí cuando lo cierres.",
|
||||
"Check now": "Comprobar ahora",
|
||||
"Choose a cape…": "Elegir una capa…",
|
||||
"Save": "Guardar",
|
||||
"Folder": "Carpeta",
|
||||
"Searching…": "Buscando…",
|
||||
@@ -423,7 +409,6 @@
|
||||
"MangoHud": "MangoHud",
|
||||
"Sign out": "Cerrar sesión",
|
||||
"When it starts": "Al iniciar",
|
||||
"{name}'s skin": "Aspecto de {name}",
|
||||
"Start": "Iniciar",
|
||||
"No Minecraft install needed: Horizon downloads it from Mojang for your account.": "No hace falta tener Minecraft instalado: Horizon lo descarga de Mojang para tu cuenta.",
|
||||
"Logs": "Registros",
|
||||
@@ -447,7 +432,6 @@
|
||||
"The wordmark, while the release list loads.": "El logotipo mientras carga la lista de versiones.",
|
||||
"Playing offline": "Jugando sin conexión",
|
||||
"Sign in to Tailscale": "Iniciar sesión en Tailscale",
|
||||
"Offline names without an account": "Nombres sin conexión sin cuenta",
|
||||
"Help make Horizon faster and steadier?": "¿Nos ayudas a hacer Horizon más rápido y estable?",
|
||||
"Sign in to play": "Inicia sesión para jugar",
|
||||
"Ported": "Portados",
|
||||
@@ -490,14 +474,12 @@
|
||||
"Update this launcher with your package manager.": "Actualiza este lanzador con tu gestor de paquetes.",
|
||||
"Close this launcher, move it to {folder}, and open it there to enable updates.": "Cierra este lanzador, muévelo a {folder} y ábrelo allí para permitir las actualizaciones.",
|
||||
"Any MCP client": "Cualquier cliente MCP",
|
||||
"{name}'s cape is kept.": "Se conserva la capa de {name}.",
|
||||
"Not reviewed by the Horizon registry": "No revisado por el registro de Horizon",
|
||||
"Proxy": "Proxy",
|
||||
"Checking": "Comprobando",
|
||||
"Updates": "Actualizaciones",
|
||||
"Asking Microsoft…": "Consultando a Microsoft…",
|
||||
"Prepared for Minecraft {version}, without its sounds: the game will be silent. Prepare again to copy them from your Minecraft install.": "Preparado para Minecraft {version}, sin sonidos: el juego estará en silencio. Prepara de nuevo para copiarlos desde tu instalación de Minecraft.",
|
||||
"Forget": "Olvidar",
|
||||
"Import a modpack…": "Importar un modpack…",
|
||||
"Search versions": "Buscar versiones",
|
||||
"failed": "fallaron",
|
||||
@@ -506,7 +488,6 @@
|
||||
"Left off: {line}.": "Omitido: {line}.",
|
||||
"Resource packs": "Paquetes de recursos",
|
||||
"yesterday": "ayer",
|
||||
"No cape": "Sin capa",
|
||||
"After each session: frame-time percentiles and a 14-bucket histogram, tick times, peak memory and startup times, with your machine (OS, CPU and its cores and clocks, memory size, GPU, its memory and driver, drive type, screen size and refresh rate, laptop or desktop, on battery or not) and the settings that change performance.": "Después de cada sesión: percentiles de tiempo de fotograma y un histograma de 14 intervalos, tiempos de tick, pico de memoria y tiempos de inicio, junto con tu equipo (SO, CPU con sus núcleos y frecuencias, tamaño de memoria, GPU con su memoria y controlador, tipo de disco, tamaño y tasa de refresco de pantalla, portátil o sobremesa, con batería o no) y los ajustes que afectan al rendimiento.",
|
||||
"Make a token": "Crear un token",
|
||||
"Added {names}: the game turns it on when the world opens.": "Se añadió {names}: el juego lo activa al abrir el mundo.",
|
||||
@@ -559,7 +540,6 @@
|
||||
"Shared: {url}": "Compartido: {url}",
|
||||
"Friends on the same Wi-Fi: Multiplayer, Add Server, then paste this address.": "Amigos en el mismo Wi-Fi: Multijugador, Añadir servidor y pega esta dirección.",
|
||||
"None yet: drop a .hshader or a shader pack .zip here.": "Aún no hay ninguno: suelta aquí un archivo .hshader o un paquete de shaders .zip.",
|
||||
"Offline name · the game's own": "Nombre sin conexión · propio del juego",
|
||||
"Native mods aren't sandboxed: they run with full access to your computer, like any program. Install only mods whose authors you trust. To play with one, build the game on the Mods page; the first build downloads Rust and takes 20 to 30 minutes.": "Los mods nativos no están aislados: se ejecutan con acceso total a tu ordenador, como cualquier programa. Instala solo mods de autores en los que confíes. Para jugar con uno, compila el juego en la página Mods; la primera compilación descarga Rust y tarda de 20 a 30 minutos.",
|
||||
"Your selected version only changes if you were playing the newest one.": "Tu versión seleccionada solo cambia si estabas jugando a la más reciente.",
|
||||
"Multiplayer": "Multijugador",
|
||||
@@ -589,7 +569,6 @@
|
||||
"the port": "el puerto",
|
||||
"The source of {source}. Its release ships {file}, a content mod: installing those from GitHub is not supported yet.": "El código fuente de {source}. Su versión incluye {file}, un mod de contenido: aún no se admite instalarlos desde GitHub.",
|
||||
"Build anyway": "Compilar de todos modos",
|
||||
"A name, 3 to 16 letters": "Un nombre, de 3 a 16 letras",
|
||||
"Installed {mods} from GitHub ({source}). Build it on the Mods page.": "Se instaló {mods} desde GitHub ({source}). Compílalo en la página Mods.",
|
||||
"Settings, Keys, Generate access token. It's kept in this computer's keychain and only sent to Tailscale.": "Settings, Keys, Generate access token. Se guarda en el llavero de este equipo y solo se envía a Tailscale.",
|
||||
"{id} is up to date.": "{id} está actualizado.",
|
||||
@@ -604,7 +583,6 @@
|
||||
"I read it and trust it: install": "Lo he leído y confío en él: instalar",
|
||||
"Close export": "Cerrar exportación",
|
||||
"Playing needs a prepared Horizon version (Play page).": "Para jugar se necesita una versión de Horizon preparada (página Inicio).",
|
||||
"Offline, the game's name": "Sin conexión, el nombre en el juego",
|
||||
"From Horizon's registry": "Del registro de Horizon",
|
||||
"Sounds": "Sonidos",
|
||||
"Edit…": "Editar…",
|
||||
@@ -637,12 +615,10 @@
|
||||
"up to date": "actualizado",
|
||||
"← Newer": "← Más recientes",
|
||||
"Downloading from Mojang · {done} of {total} files": "Descargando de Mojang · {done} de {total} archivos",
|
||||
"{name}'s skin is kept.": "Se conserva el aspecto de {name}.",
|
||||
"Edit instance": "Editar instancia",
|
||||
"Remove shortcut": "Eliminar acceso directo",
|
||||
"{program} is not installed here (or not on the PATH): copy the config instead.": "{program} no está instalado aquí (o no está en el PATH): copia la configuración en su lugar.",
|
||||
"No worlds to put in.": "No hay mundos para incluir.",
|
||||
"Default skin": "Aspecto por defecto",
|
||||
"A link to a repository (its latest release), a release, a branch or tag, or a commit. The launcher installs one exact release file or commit, never a branch that moves.": "Un enlace a un repositorio (su última versión), una versión, una rama o etiqueta, o un commit. El lanzador instala un archivo de versión o commit exacto, nunca una rama cambiante.",
|
||||
"Sign in with GitHub to rate": "Inicia sesión con GitHub para valorar",
|
||||
"Star on GitHub": "Dar una estrella en GitHub",
|
||||
@@ -1055,10 +1031,6 @@
|
||||
"played by {names}": "la juega {names}",
|
||||
"{day}, {time} UTC": "{day}, {time} UTC",
|
||||
"Microsoft account · online servers too": "Cuenta de Microsoft · también servidores en línea",
|
||||
"Offline · single player and LAN worlds": "Sin conexión · un jugador y mundos LAN",
|
||||
"Offline names": "Nombres sin conexión",
|
||||
"Add a name": "Añadir un nombre",
|
||||
"3 to 16 letters, numbers or underscores. Switch names from the top bar too. Online servers don't take offline names.": "De 3 a 16 letras, números o guiones bajos. También puedes cambiar de nombre en la barra superior. Los servidores en línea no aceptan nombres sin conexión.",
|
||||
"Play online with your Microsoft account": "Juega en línea con tu cuenta de Microsoft",
|
||||
"Sign in with the account that owns Minecraft: Java Edition. Your name and skin come along to online servers, like in other launchers.": "Inicia sesión con la cuenta que tiene Minecraft: Java Edition. Tu nombre y tu skin te acompañan a los servidores en línea, como en otros launchers.",
|
||||
"Microsoft's own page opens in your browser. Horizon never sees your password.": "La propia página de Microsoft se abre en tu navegador. Horizon nunca ve tu contraseña.",
|
||||
|
||||
Loaded 100 of 207 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user