Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
aa4f23ef1c | ||
|
|
d9d982145a | ||
|
|
6ec98bc9bb | ||
|
|
024c766998 |
@@ -106,6 +106,7 @@ jobs:
|
||||
TAG: ${{ github.ref_name }}
|
||||
run: |
|
||||
if [ -z "$KEY" ] || [ ! -s ci/mirror_known_hosts ]; then echo "mirror: no MIRROR_SSH_KEY or ci/mirror_known_hosts, skipped (the updater falls back to Gitea)"; exit 0; fi
|
||||
python3 ci/news.py source_godot/whatsnew.gd /tmp/news.json
|
||||
echo "$TAG" > /tmp/version.txt # before umask 077: sftp put keeps the mode, Caddy must be able to read it
|
||||
umask 077; printf '%s\n' "$KEY" > /tmp/mirror_key
|
||||
# before the Release: once the game sees the new tag, the mirror already has its exe (the updater checks the size)
|
||||
@@ -118,6 +119,7 @@ jobs:
|
||||
-rm /srv/tm/TinMerezhi.exe
|
||||
symlink /srv/tm/$TAG/TinMerezhi.exe /srv/tm/TinMerezhi.exe
|
||||
put /tmp/version.txt /srv/tm/version.txt
|
||||
put /tmp/news.json /srv/tm/news.json
|
||||
-mkdir /srv/tm/img
|
||||
put itch/wide_cover_2520x1080.png /srv/tm/img/
|
||||
put itch/social_1200x630.png /srv/tm/img/
|
||||
|
||||
18
ci/news.py
Normal file
18
ci/news.py
Normal file
@@ -0,0 +1,18 @@
|
||||
# Game news for the page on the mirror: whatsnew.gd CHANGES (game-only, uk/en) -> news.json [{"v", "uk": [...], "en": [...]}], newest first.
|
||||
import json, re, sys
|
||||
|
||||
src, out = sys.argv[1], sys.argv[2]
|
||||
body = open(src, encoding="utf-8").read().split("const CHANGES := [", 1)[1].split("\n]", 1)[0]
|
||||
news = []
|
||||
for line in body.splitlines():
|
||||
line = line.strip().rstrip(",")
|
||||
if not line.startswith("["):
|
||||
continue
|
||||
v, uk, en = json.loads(line)
|
||||
if not news or news[-1]["v"] != v:
|
||||
news.append({"v": v, "uk": [], "en": []})
|
||||
news[-1]["uk"].append(uk)
|
||||
news[-1]["en"].append(en)
|
||||
assert news and all(len(n["uk"]) == len(n["en"]) for n in news), "no CHANGES parsed"
|
||||
json.dump(news, open(out, "w", encoding="utf-8"), ensure_ascii=False)
|
||||
print(f"news.json: {len(news)} versions")
|
||||
BIN
game_godot/TinMerezhi.exe
(Stored with Git LFS)
BIN
game_godot/TinMerezhi.exe
(Stored with Git LFS)
Binary file not shown.
99
itch/devlog/04_v1.0.77-v1.0.91.md
Normal file
99
itch/devlog/04_v1.0.77-v1.0.91.md
Normal file
@@ -0,0 +1,99 @@
|
||||
# Допис 4 журналу розробки (v1.0.77 – v1.0.91)
|
||||
|
||||
**Title:** Оновлення v1.0.91: нова заставка, чесніший злам і українські шифри / Update v1.0.91: new splash, fairer cracking and Ukrainian ciphers
|
||||
**Post type:** General Update
|
||||
**Tags:** update, gameplay, balance
|
||||
**Languages:** Українська, English (повний переклад)
|
||||
**Cover image:** нова обкладинка itch/cover_630x500.png (капюшон з оком мережі)
|
||||
|
||||
## Content
|
||||
|
||||
Найпростіше вставити через кнопку `<>` (джерело HTML) у редакторі itch, тоді списки й заголовки збережуться. Перед збереженням вийди з режиму `<>`, інакше itch пише "body: expected text".
|
||||
|
||||
```html
|
||||
<h2>Що нового в останніх версіях</h2>
|
||||
|
||||
<p>Тінь Мережі отримала нове обличчя: тінь у капюшоні з оком мережі над нічним Києвом. А всередині злам став чеснішим, складності точніше налаштовані, а шифри в українській версії тепер справді українські.</p>
|
||||
|
||||
<h3>Нова заставка й обкладинка</h3>
|
||||
<ul>
|
||||
<li>При запуску гра показує нову заставку: тінь у капюшоні з оком мережі над нічним Києвом.</li>
|
||||
<li>Та сама картинка тепер на обкладинці гри.</li>
|
||||
</ul>
|
||||
|
||||
<h3>Шифри українською</h3>
|
||||
<ul>
|
||||
<li>У шифр-замку й крипто-гаманцях української версії ключ тепер українське слово, а шифр іде по українській абетці з 33 літер.</li>
|
||||
<li>В англійській версії все як раніше.</li>
|
||||
</ul>
|
||||
|
||||
<h3>Злам і складність</h3>
|
||||
<ul>
|
||||
<li>Пароль зовнішнього шару більше не змінюється, коли відступаєш: усе, що ти про нього з'ясував, лишається до наступного візиту.</li>
|
||||
<li>Параноя: трасування вище (+90% замість +50%), щоб вона лишилася такою ж важкою, але без безкінечних повторних зламів.</li>
|
||||
<li>Новачок легший: трасування −30% замість −25%, а в термінових главах на 20% більше дій.</li>
|
||||
</ul>
|
||||
|
||||
<h3>Чесні правила</h3>
|
||||
<ul>
|
||||
<li>Арешт, коли в тебе файл із замовлення «піти без логів», конфіскує цей файл. Главу чи замовлення більше не зарахувати простим <code>connect</code> і <code>disconnect</code> після арешту.</li>
|
||||
<li>Перегони із суперником за замовлення «піти без логів» тепер зараховуються як виграні, коли ти чисто відключився.</li>
|
||||
<li><code>update</code> посеред зламу більше не перезапускає гру (це було б як висмикнути кабель): спершу заверши злам.</li>
|
||||
</ul>
|
||||
|
||||
<h3>Дрібніші зміни</h3>
|
||||
<ul>
|
||||
<li>Ефект CRT на нулі тепер справді вимкнений, тож на слабких ноутбуках гра менше навантажує відеокарту.</li>
|
||||
<li>«Менше анімацій» зупиняє ще й стрічку новин і дощ символів.</li>
|
||||
<li>Дуже довгий журнал більше не втрачає кольорів емблем, листів і підказок зламу.</li>
|
||||
<li>Команда <code>update</code> качає нові версії зі швидшого сервера, а якщо він недоступний, то як раніше.</li>
|
||||
<li>У гри з'явилася власна сторінка з таблицею рекордів українською й англійською: <a href="https://tinmerezhi.duckdns.org">tinmerezhi.duckdns.org</a></li>
|
||||
</ul>
|
||||
|
||||
<p>Оновлення підтягується в грі командою <code>update</code>. Якщо гра подобається, оцінка на itch.io дуже допомагає. Дякую, що граєте!</p>
|
||||
|
||||
<hr>
|
||||
|
||||
<h2>English</h2>
|
||||
|
||||
<h2>What's new in recent versions</h2>
|
||||
|
||||
<p>Shadow Net has a new face: a hooded shadow with a network eye over night Kyiv. Inside, cracking is fairer, the difficulties are tuned more precisely, and the ciphers in the Ukrainian version are now truly Ukrainian.</p>
|
||||
|
||||
<h3>New splash and cover</h3>
|
||||
<ul>
|
||||
<li>On launch the game shows a new splash screen: a hooded shadow with a network eye over night Kyiv.</li>
|
||||
<li>The same picture is now the game's cover.</li>
|
||||
</ul>
|
||||
|
||||
<h3>Ciphers in Ukrainian</h3>
|
||||
<ul>
|
||||
<li>In the Ukrainian version the cipher lock and crypto wallets now use a Ukrainian word as the key, and the cipher runs over the 33-letter Ukrainian alphabet.</li>
|
||||
<li>The English version stays as before.</li>
|
||||
</ul>
|
||||
|
||||
<h3>Cracking and difficulty</h3>
|
||||
<ul>
|
||||
<li>The outer layer password no longer changes when you retreat: everything you learned about it stays until your next visit.</li>
|
||||
<li>Paranoid: higher trace (+90% instead of +50%) so it stays just as hard, without endless repeated cracks.</li>
|
||||
<li>Novice is easier: trace −30% instead of −25%, and 20% more actions in urgent chapters.</li>
|
||||
</ul>
|
||||
|
||||
<h3>Fair rules</h3>
|
||||
<ul>
|
||||
<li>An arrest while you hold a file from a "leave no logs" job confiscates that file. A chapter or job can no longer be completed with a plain <code>connect</code> and <code>disconnect</code> after the arrest.</li>
|
||||
<li>A rival race for a "leave no logs" job now counts as won when you disconnect cleanly.</li>
|
||||
<li><code>update</code> in the middle of a crack no longer restarts the game (that would be like pulling the cable): finish the crack first.</li>
|
||||
</ul>
|
||||
|
||||
<h3>Smaller changes</h3>
|
||||
<ul>
|
||||
<li>The CRT effect at zero is now truly off, so the game puts less load on the GPU of weak laptops.</li>
|
||||
<li>"Fewer animations" now also stops the news ticker and the symbol rain.</li>
|
||||
<li>A very long log no longer loses the colours of emblems, mails and crack hints.</li>
|
||||
<li>The <code>update</code> command downloads new versions from a faster server, and falls back to the old one if it is unavailable.</li>
|
||||
<li>The game now has its own page with a leaderboard in Ukrainian and English: <a href="https://tinmerezhi.duckdns.org">tinmerezhi.duckdns.org</a></li>
|
||||
</ul>
|
||||
|
||||
<p>Get the update in game with the <code>update</code> command. If you enjoy the game, a rating on itch.io helps a lot. Thanks for playing!</p>
|
||||
```
|
||||
75
itch/devlog/04_v1.0.77-v1.0.91.txt
Normal file
75
itch/devlog/04_v1.0.77-v1.0.91.txt
Normal file
@@ -0,0 +1,75 @@
|
||||
Що нового в останніх версіях
|
||||
|
||||
Тінь Мережі отримала нове обличчя: тінь у капюшоні з оком мережі над нічним Києвом. А всередині злам став чеснішим, складності точніше налаштовані, а шифри в українській версії тепер справді українські.
|
||||
|
||||
Нова заставка й обкладинка
|
||||
|
||||
• При запуску гра показує нову заставку: тінь у капюшоні з оком мережі над нічним Києвом.
|
||||
• Та сама картинка тепер на обкладинці гри.
|
||||
|
||||
Шифри українською
|
||||
|
||||
• У шифр-замку й крипто-гаманцях української версії ключ тепер українське слово, а шифр іде по українській абетці з 33 літер.
|
||||
• В англійській версії все як раніше.
|
||||
|
||||
Злам і складність
|
||||
|
||||
• Пароль зовнішнього шару більше не змінюється, коли відступаєш: усе, що ти про нього з'ясував, лишається до наступного візиту.
|
||||
• Параноя: трасування вище (+90% замість +50%), щоб вона лишилася такою ж важкою, але без безкінечних повторних зламів.
|
||||
• Новачок легший: трасування −30% замість −25%, а в термінових главах на 20% більше дій.
|
||||
|
||||
Чесні правила
|
||||
|
||||
• Арешт, коли в тебе файл із замовлення «піти без логів», конфіскує цей файл. Главу чи замовлення більше не зарахувати простим connect і disconnect після арешту.
|
||||
• Перегони із суперником за замовлення «піти без логів» тепер зараховуються як виграні, коли ти чисто відключився.
|
||||
• update посеред зламу більше не перезапускає гру (це було б як висмикнути кабель): спершу заверши злам.
|
||||
|
||||
Дрібніші зміни
|
||||
|
||||
• Ефект CRT на нулі тепер справді вимкнений, тож на слабких ноутбуках гра менше навантажує відеокарту.
|
||||
• «Менше анімацій» зупиняє ще й стрічку новин і дощ символів.
|
||||
• Дуже довгий журнал більше не втрачає кольорів емблем, листів і підказок зламу.
|
||||
• Команда update качає нові версії зі швидшого сервера, а якщо він недоступний, то як раніше.
|
||||
• У гри з'явилася власна сторінка з таблицею рекордів українською й англійською: https://tinmerezhi.duckdns.org
|
||||
|
||||
Оновлення підтягується в грі командою update. Якщо гра подобається, оцінка на itch.io дуже допомагає. Дякую, що граєте!
|
||||
|
||||
──────────
|
||||
|
||||
English
|
||||
|
||||
What's new in recent versions
|
||||
|
||||
Shadow Net has a new face: a hooded shadow with a network eye over night Kyiv. Inside, cracking is fairer, the difficulties are tuned more precisely, and the ciphers in the Ukrainian version are now truly Ukrainian.
|
||||
|
||||
New splash and cover
|
||||
|
||||
• On launch the game shows a new splash screen: a hooded shadow with a network eye over night Kyiv.
|
||||
• The same picture is now the game's cover.
|
||||
|
||||
Ciphers in Ukrainian
|
||||
|
||||
• In the Ukrainian version the cipher lock and crypto wallets now use a Ukrainian word as the key, and the cipher runs over the 33-letter Ukrainian alphabet.
|
||||
• The English version stays as before.
|
||||
|
||||
Cracking and difficulty
|
||||
|
||||
• The outer layer password no longer changes when you retreat: everything you learned about it stays until your next visit.
|
||||
• Paranoid: higher trace (+90% instead of +50%) so it stays just as hard, without endless repeated cracks.
|
||||
• Novice is easier: trace −30% instead of −25%, and 20% more actions in urgent chapters.
|
||||
|
||||
Fair rules
|
||||
|
||||
• An arrest while you hold a file from a "leave no logs" job confiscates that file. A chapter or job can no longer be completed with a plain connect and disconnect after the arrest.
|
||||
• A rival race for a "leave no logs" job now counts as won when you disconnect cleanly.
|
||||
• update in the middle of a crack no longer restarts the game (that would be like pulling the cable): finish the crack first.
|
||||
|
||||
Smaller changes
|
||||
|
||||
• The CRT effect at zero is now truly off, so the game puts less load on the GPU of weak laptops.
|
||||
• "Fewer animations" now also stops the news ticker and the symbol rain.
|
||||
• A very long log no longer loses the colours of emblems, mails and crack hints.
|
||||
• The update command downloads new versions from a faster server, and falls back to the old one if it is unavailable.
|
||||
• The game now has its own page with a leaderboard in Ukrainian and English: https://tinmerezhi.duckdns.org
|
||||
|
||||
Get the update in game with the update command. If you enjoy the game, a rating on itch.io helps a lot. Thanks for playing!
|
||||
@@ -40,6 +40,9 @@ th { color: var(--dim); font-weight: normal; font-size: 13px; }
|
||||
tr.first td { color: var(--warn); }
|
||||
.empty { color: var(--dim); }
|
||||
.bad { color: var(--bad); }
|
||||
.nv { color: var(--warn); margin: 14px 0 2px; }
|
||||
#news ul { margin: 0; padding-left: 20px; }
|
||||
#more { background: var(--panel); color: var(--acc); border: 1px solid var(--line); padding: 6px 12px; font: inherit; cursor: pointer; border-radius: 6px; margin-top: 10px; }
|
||||
footer { color: var(--dim); font-size: 13px; margin-top: 36px; }
|
||||
</style>
|
||||
</head>
|
||||
@@ -59,6 +62,9 @@ footer { color: var(--dim); font-size: 13px; margin-top: 36px; }
|
||||
</div>
|
||||
<p data-t="story"></p>
|
||||
<ul class="feat" id="feat"></ul>
|
||||
<h2 id="news-h" data-t="news"></h2>
|
||||
<div id="news"></div>
|
||||
<button id="more" class="lang" style="display:none"></button>
|
||||
<h2 data-t="shots"></h2>
|
||||
<div class="shots">
|
||||
<img src="img/1_start.png" alt="" loading="lazy">
|
||||
@@ -85,7 +91,7 @@ const T = {
|
||||
"Після фіналу: Нескінченна мережа з рекордами, щоденний виклик і New Game+",
|
||||
"Три складності: Новачок, Звичайний і Параноя (без збережень)",
|
||||
"Адаптивна синтвейв-музика, українська та англійська мови, автооновлення"],
|
||||
shots: "📸 Скриншоти",
|
||||
shots: "📸 Скриншоти", news: "📰 Що нового", more: "Показати старіші",
|
||||
recnote: "Онлайн-рекорди надсилаються з гри лише за згодою (налаштування → онлайн-рекорди). Таблиці оновлюються щохвилини.",
|
||||
foot: "Розробник: JunioR. Гра і код — під ліцензією MIT. Рушій Godot.",
|
||||
boards: ["♾ Нескінченна мережа", "📅 Виклик дня", "🤖 1 · Кур'єр", "🤖 2 · Прибиральник", "🤖 3 · Збирач", "🤖 4 · Нічний рейс"],
|
||||
@@ -104,7 +110,7 @@ const T = {
|
||||
"After the finale: the Endless Network with leaderboards, a daily challenge and New Game+",
|
||||
"Three difficulties: Novice, Normal and Paranoid (no saves)",
|
||||
"Adaptive synthwave music, English and Ukrainian, auto-update"],
|
||||
shots: "📸 Screenshots",
|
||||
shots: "📸 Screenshots", news: "📰 What's new", more: "Show older",
|
||||
recnote: "Scores are sent from the game only if you opt in (settings → online leaderboards). Tables refresh every minute.",
|
||||
foot: "Developer: JunioR. The game and its code are MIT-licensed. Godot engine.",
|
||||
boards: ["♾ Endless Network", "📅 Daily", "🤖 1 · Courier", "🤖 2 · Janitor", "🤖 3 · Collector", "🤖 4 · Night Flight"],
|
||||
@@ -117,7 +123,8 @@ const IDS = ["endless", DAY, "agent0", "agent1", "agent2", "agent3"];
|
||||
let lang = "uk";
|
||||
try { lang = localStorage.getItem("lang") || (navigator.language.startsWith("uk") ? "uk" : "en"); } catch (e) {}
|
||||
if (new URLSearchParams(location.search).get("lang") in T) lang = new URLSearchParams(location.search).get("lang");
|
||||
let tops = {}; // кеш таблиць, щоб перемикання мови не ходило в мережу
|
||||
let tops = {};
|
||||
let news = [], newsAll = false; // news.json: ігрові зміни з whatsnew.gd (CI, ci/news.py) // кеш таблиць, щоб перемикання мови не ходило в мережу
|
||||
|
||||
function el(tag, text, cls) { const e = document.createElement(tag); if (text !== undefined) e.textContent = text; if (cls) e.className = cls; return e; }
|
||||
|
||||
@@ -127,6 +134,12 @@ function render() {
|
||||
for (const e of document.querySelectorAll("[data-t]")) e.textContent = t[e.dataset.t];
|
||||
for (const b of document.querySelectorAll("[data-l]")) b.classList.toggle("on", b.dataset.l === lang);
|
||||
document.getElementById("feat").replaceChildren(...t.feat.map(f => el("li", f)));
|
||||
const shown = newsAll ? news : news.slice(0, 5);
|
||||
document.getElementById("news").replaceChildren(...shown.flatMap(n => [el("div", "v" + n.v, "nv"), (() => { const u = el("ul"); u.append(...n[lang].map(x => el("li", x))); return u; })()]));
|
||||
const more = document.getElementById("more");
|
||||
more.style.display = !newsAll && news.length > 5 ? "" : "none";
|
||||
more.textContent = t.more;
|
||||
document.getElementById("news-h").style.display = news.length ? "" : "none";
|
||||
document.getElementById("boards").replaceChildren(...IDS.map((id, k) => {
|
||||
const s = el("section", undefined, "b"), tb = el("table"), head = el("tr");
|
||||
s.append(el("h3", t.boards[k]));
|
||||
@@ -161,6 +174,8 @@ for (const b of document.querySelectorAll("[data-l]")) b.onclick = () => {
|
||||
try { localStorage.setItem("lang", lang); } catch (e) {}
|
||||
render();
|
||||
};
|
||||
document.getElementById("more").onclick = () => { newsAll = true; render(); };
|
||||
fetch("news.json", {cache: "no-store"}).then(r => r.ok ? r.json() : []).then(d => { news = d; render(); }).catch(() => {});
|
||||
fetch("version.txt", {cache: "no-store"}).then(r => r.ok ? r.text() : "–").then(v => document.getElementById("ver").textContent = v.trim()).catch(() => {});
|
||||
render();
|
||||
load();
|
||||
|
||||
Reference in New Issue
Block a user