Difference between revisions of "John's NAS"

From Era Wiki
Jump to: navigation, search
 
Line 10: Line 10:
 
| '''Status:''' Actively developed
 
| '''Status:''' Actively developed
 
|-
 
|-
−
| '''Translation Status:''' English (99.94% live lines game-wide; all 133/133 active Kojo characters translated; 0 Warning Lv2)
+
| '''Translation Status:''' '''99.94% English''' (all 133/133 active characters & base game translated)
 
|-
 
|-
 
| [https://gitgud.io/lep2kk/erajohnas Repository link (GitGud)]
 
| [https://gitgud.io/lep2kk/erajohnas Repository link (GitGud)]
Line 17: Line 17:
 
|}
 
|}
  
−
'''erajohNAS''' is an opinionated, performance-fixed fork of '''eraNAS''' (based on 4.972, itself a heavy sandbox fork of [[AnonTW]] / [[EraToho TheWorld]]) focused on turning Gensokyo into a fast, reactive living world with stabilized Tactical Grid Combat and a deep social simulation engine.
+
'''erajohNAS''' is a performance-fixed, fully English-translated fork of '''eraNAS''' (based on 4.972, itself a sandbox fork of [[AnonTW]] / [[EraToho TheWorld]]) focused on turning Gensokyo into a fast, reactive living world with genuine tactical combat and deep, nonlinear social gameplay.
  
 
{| class="wikitable" style="width:75%; background:#f4f8ff; border:1px solid #a9b8d4;"
 
{| class="wikitable" style="width:75%; background:#f4f8ff; border:1px solid #a9b8d4;"
−
| '''Content Policy:''' There are '''zero''' excretion/diaper feature updates in this fork (upstream settings remain untouched and can be disabled as usual). Development is focused strictly on engine performance, combat, AI, living-world social mechanics, factions, and crime systems.
+
| '''Content Policy:''' There are '''zero''' excretion or diaper feature updates in this fork (upstream settings remain untouched and can be disabled as usual). Development focuses strictly on performance, translation, tactical combat, AI, living-world social mechanics, factions, and crime systems.
 
|}
 
|}
  
 
= Overview =
 
= Overview =
−
Upstream eraNAS adds massive RimWorld-style systems (body parts, hediffs, firearms, factions, raids, tactical combat) on top of [[AnonTW]], but suffers from severe per-turn lag (~3 seconds per turn, 1–2 minutes sleeping) and unfinished/abandoned subsystems.
+
Upstream eraNAS adds deep RimWorld-style systems (body parts, injuries, firearms, factions, raids, tactical combat) on top of [[AnonTW]], but suffers from heavy per-turn lag (~3 seconds per turn, 1–2 minutes sleeping), unfinished tactical combat, and large untranslated portions of the cast.
  
−
'''erajohNAS''' fixes the engine bottlenecks ('''10–18× faster turns and sleep''') while keeping '''100% save compatibility''' with existing eraNAS 4.972 saves, promotes stabilized '''Tactical Grid Combat (TGC)''' to the default combat engine, and introduces a full Dwarf Fortress / RimWorld-inspired '''Living World''' social engine.
+
'''erajohNAS''' cuts turn and sleep times by '''10–18×''' while keeping '''100% compatibility''' with existing eraNAS 4.972 saves, finishes the '''English translation across all 133 active characters (99.94% live lines)''', rebuilds '''Tactical Grid Combat''' with real Line of Sight and skill-scaled AI, and introduces a full '''Living World''' social engine where relationships can be developed nonlinearly through conversation, seduction, persuasion, intimidation, or diplomacy.
  
−
= Major Changes & Features =
+
= Key Features =
  
−
== Performance & Engine (10–18× Faster) ==
+
== Full English Localization (99.94%) ==
−
* '''Single-Pass Hediff Index & Fast Cripple Path (<code>PerfMod</code>):''' Eliminates ~800–1,200 redundant <code>DT_SELECT("Hediff", ...)</code> scans and 100-part recalculations per turn for unchanged NPCs, cutting <code>@CHARA_MOVEMENT</code> from '''~3,000 ms down to ~170–330 ms'''.
+
* '''Complete Cast Coverage:''' Over '''304,000''' newly translated lines bring both core gameplay and '''all 133/133 active characters''' into English (132/133 at ≥99% English).
−
* '''O(N²) Bottleneck Removal:''' Fixed O(CHARANUM²) dead-body scans in <code>@PASSIVE_ACTIONS</code>, O(CHARANUM²) insemination loops in <code>@InitializeBeforeTrain</code>, dead room shuffles in <code>@NAS_FORCEMOVE</code>, and 100×100 empty-faction loops in hourly/daily ticks.
+
* '''Clean Load Verified:''' Verified under full eager loading in <code>Emuera.exe</code> with zero level-2 warnings.
−
* '''Throttled Sleep Redraws:''' Removed excessive WinForms <code>AWAIT</code> UI stalls during sleep and loading.
 
−
* '''Save Compatibility:''' Persistent fork data uses Emuera.NET binary-serialized <code>DataTable</code>s with zero new <code>SAVEDATA</code> arrays — existing eraNAS 4.972 saves work out of the box.
 
  
−
== Living World & Social Engine ==
+
== Living World & Nonlinear Social Engine ==
−
A lightweight, reactive social simulation layer where Gensokyo remembers events, shifts moods and loyalties, and continues living off-screen (~3–6 ms per 15-minute background tick across ~187 NPCs):
+
Gensokyo remembers what happens and reacts organically — and building relationships no longer relies on endlessly grinding tea, errands, or aphrodisiacs:
−
* '''Event Snapshot Bus:''' Kills, knockouts, Danmaku duels, surrenders, rescues/resurrections, thefts, romances, requests, hate marks, and social clashes are captured as 16-field snapshots (actors, helper, location, witnesses, weapon, factions, context, severity) that spread organically by word of mouth.
+
* '''Shared World Memory & Reputation:''' Duels, surrenders, knockouts, kills, rescues, thefts, romances, requests, and exposed lies spread naturally between NPCs by word of mouth, dynamically shifting relationships, grudges, vendettas, and public reputation.
−
* '''Short & Long-Term Moods:''' RimWorld-style timed thoughts and memories (up to 24 per NPC) across 8 emotional channels (<code>Joy</code>, <code>Anger</code>, <code>Grief</code>, <code>Fear</code>, <code>Shame</code>, <code>Comfort</code>, <code>Arousal</code>, <code>Neutral</code>) synced with vanilla Depression/Terror, plus a live '''Mind & Memory Inspector'''.
+
* '''Timed Moods & Emotions:''' Every NPC tracks active thoughts across eight emotional channels (''Joy, Anger, Grief, Fear, Shame, Comfort, Arousal, Neutral'') with an inline '''Mind & Memory Inspector'''.
−
* '''Dynamic Relationships & Vendettas:''' Learning about events dynamically shifts <code>RELATION</code>, sparks blood vendettas over slain friends, builds gratitude toward rescuers and avengers, and changes subjective/public Reputation.
+
* '''Nonlinear <code>Talk</code> System (<code>[9901]</code>):''' A standalone dialogue engine (leaving vanilla Conversation untouched for Kojo) featuring '''15 actions across 4 routes''' × '''8 delivery tones''', private vs. public room awareness, conversation-flow combos, and a live '''Consent Readiness''' display:
−
* '''Interactive <code>Talk</code> Menu (<code>[9901]</code>):''' Standalone command (leaving vanilla <code>Conversation</code> / <code>COM300</code> 100% intact for Kojo compatibility) featuring '''10+ social actions''' (Small Talk, Flirt, Joke, Comfort, Compliment, Gossip, Tell About Event, Intimidate, Provoke, Apologize, Fabricate Rumor/Lie) × '''8 delivery tones''' (Friendly, Playful, Flirty, Empathetic, Serious, Cold, Dark, Mocking), anti-repetition saturation, and topic-variety synergy.
+
** ''Bond & Soothe:'' Small Talk, Joke, Compliment, Comfort, '''Heart-to-Heart''', and '''De-escalate / Apologize''' (capable of calming active rage and even reducing Hate Marks through sincere reconciliation).
−
* '''Deception, Slander & Exposure (Player & NPC-to-NPC):''' Fabricate rumors or frame someone for real events with realistic alibi checks (lying about the death of someone standing alive in the room is an instant bust). Lies can shatter later if a believer meets the "dead" victim alive, broadcasting an <code>EXPOSED_LIE</code> event that tanks trust and future persuasion odds.
+
** ''Seduce & Arouse:'' Flirt, '''Whisper in Ear''' (skilled verbal foreplay that lowers guard, builds desire, and physically prepares a willing partner through words alone), and '''Seduce / Dirty Talk''' (allowing a direct transition into intimacy once consent is reached).
−
* '''NPC-Initiated Talk & Crowd-Talk:''' NPCs proactively approach the player (jokes, flirts, breaking news, angry confrontations, seeking comfort, offering favors, or trying to feed you a lie) with 4–5 interactive replies and a live '''Reply Tone''' selector. With 2+ awake NPCs in a room, '''Crowd Talk''' lets you entertain, rally, broadcast news/lies, mediate between two NPCs, or stir up drama — alongside live bystander jealousy, friend intervention, and overhearing.
+
** ''Dominate & Break:'' Intimidate, '''Break Will / Psychological Pressure''' (builds submission and obedience through mental pressure rather than rope), and Provoke.
−
* '''Expanded Requests & Autonomous NPC-to-NPC Contracts:''' Adds 6 Living World request types (''Mediate a Dispute'', ''Settle a Score'', ''Deliver Urgent Word'', ''Check Up on a Friend'', ''Field Aid & Supplies'', ''Gather Intel''). In the background, NPCs also offer requests to each other, accept or refuse based on relationship/mood/reputation, and resolve them over time.
+
** ''World & Room:'' Gossip, Tell About Event, '''Fabricate Rumor / Lie''' (with real alibi checks and delayed exposure), and '''Crowd Talk''' to address everyone in the room at once.
−
* '''Achievement & Trait 【Read the Room】:''' Claimable under ''Achievements → Social'' (Speech Lv.3 or 50 Conversation EXP) — reveals color-coded live '''% success odds''' for every Talk, Crowd-Talk, and NPC Reply option under your currently selected Tone.
+
* '''Proactive NPCs & Off-Screen Life:''' NPCs approach the player on their own with jokes, flirts, news, favors, confrontations, or schemes — with every reply visibly shifting Favor, Trust, Mood, Desire, and Relations. In the background, NPCs spread rumors, offer and complete favors for each other, tend wounds, argue, and fight vendettas.
 +
* '''【Read the Room】 Trait:''' Unlockable under ''Achievements → Social'' to display live color-coded success odds for every Talk option.
  
−
== Combat Overhaul (TGC + AI + Controls) ==
+
== Tactical Grid Combat & Smart AI ==
−
* '''Tactical Grid Combat (TGC) by Default:''' Rescued from debug-only status, stabilized across 40+ 1:1 in-engine simulations, and enabled by default for standard battles (with an instant runtime toggle back to Classic anytime).
+
* '''TGC as Default Combat Engine:''' Rebuilt from debug status into the default combat system (with an instant toggle back to Classic anytime).
−
* '''Real Directional Cover & Fixed Accuracy:''' Fixed vanilla X/Y cover bugs, added directional cover penalties, eliminated the double accuracy roll bug, and added proper out-of-range cutoffs.
+
* '''Line of Sight, Cover Peeking & Overwatch:''' Solid walls block direct shots, while sandbags, trees, and shelves grant directional cover. Fighters at doorways or wall corners can '''Peek''' out while keeping their cover advantage against return fire, and both player and AI can use '''Overwatch''' to intercept anyone entering their line of fire first.
−
* '''Pure Danmaku Mode:''' Fixed Danmaku fights being overwritten by fists or gun attachments; displays live <code>[Lives: X]</code> counters and cleanly restores stamina and equipment after sparring.
+
* '''Skill-Scaled, Emotion-Driven AI (Tiers 0–4):''' Tactical intelligence scales with each character's Combat/Danmaku rank and Knowledge — from straightforward novices up to masters who flank cover, cut off sightlines, bait Overwatch angles, choose logical aimed body-part shots, and use Time Stop tactically.
−
* '''Aimed Shots & Timeskip Move Toggle:''' Body-part targeting (Auto / Head / Thorax / Stomach / Crotch / Arms / Legs) with live hit % previews, free normal walking (0 TSP), and an on-demand <code>Timeskip Move</code> toggle for Time Stop users.
+
* '''Living World Psychology, Morale, Fleeing & Surrender:''' NPC emotions and grudges directly steer how they fight. Terrified or broken fighters lose morale and flee toward the map edge — or voluntarily offer surrender (which you can accept, spare for reputation/relationship gains, or refuse). Merciful opponents can also demand ''your'' surrender instead of knocking you out.
−
* '''Keyboard QTE & Low-Mouse-Travel QoL:''' Pure-keyboard WASD Dodge QTE, TSP Auto-Dodge / 2× Crit prompts (toggleable), Quick Attack, keyboard hotkeys, and double-click-to-attack on the grid.
+
* '''Brisk Danmaku & Combat QoL:''' Fast, mobile Danmaku duels with live <code>[Lives: X]</code> counters, body-part Aimed Shots, Lethal/Non-Lethal toggling, optional keyboard WASD Dodge QTE / TSP prompts, Quick Attack, hotkeys, and free walking (with a separate Timeskip Move toggle for Time Stop users).
−
* '''Lethal / Non-Lethal Toggle & Smart AI:''' Switch between Lethal and Non-Lethal combat without spending a turn; NPC lethality respects personality, vendettas, and hostility; rewritten TGC AI and bugfixed Classic AI properly handle cover, healing, buffs, and elemental resistances.
 
  
−
== QoL & Polish ==
+
== Performance & Quality of Life ==
−
* '''Full English Translation:''' Using a syntax-safe ERB extraction and validation pipeline (<code>0 Warning Lv2</code> verified via full eager-load in <code>Emuera.exe</code>), the game has reached '''99.94% English''' across all live reachable lines ('''561,434''' EN lines; '''+304,891''' newly translated live lines across Waves 0–12), with '''99.46%''' non-Kojo gameplay and '''99.97%''' Kojo (all '''133/133''' active Kojo characters ≥ 97.7% EN, 132/133 ≥ 99%).
+
* '''10–18× Faster Turns & Sleep:''' Fixes the major upstream bottlenecks that slowed every turn to ~3 seconds and made sleeping crawl.
−
* '''Ask for Request (<code>[9900]</code>):''' Proactively ask awake, non-hostile NPCs for a request instead of fighting morning RNG.
+
* '''100% Save-Compatible:''' Existing eraNAS 4.972 saves load straight out of the box.
−
* '''No Broken Self-Study Minigames:''' Youjutsu study books (including Flight and the Danmaku exam) complete cleanly without softlocking behind broken minigames.
+
* '''Ask for Request (<code>[9900]</code>):''' Ask awake, non-hostile NPCs directly for a request instead of fighting morning RNG.
−
* '''Male Mob Placeholders:''' Procedurally generated male mob NPCs render with a proper male silhouette instead of female portraits.
+
* '''No Broken Study Minigames:''' Youjutsu study books (including Flight and the Danmaku exam) resolve cleanly without softlocking.
 +
* '''Male Mob Portraits:''' Procedurally generated male NPCs display a male silhouette instead of female portraits.
  
 
= AI Disclosure & Credits =
 
= AI Disclosure & Credits =
−
AI assistance ('''John Artificial''') is used throughout this fork for code overhauls, optimization, new systems, and the full Japanese-to-English translation pipeline.
+
Developed by '''lep2kk''' with extensive AI assistance ('''John Artificial''') across performance engineering, combat AI, Living World systems, and the full English translation.
  
 
= How to Install & Run =
 
= How to Install & Run =
−
# Clone the repository from [https://gitgud.io/lep2kk/erajohnas GitGud] (make sure Git LFS assets are pulled with <code>git lfs pull</code>) or download the latest archive.
+
# Clone the repository from [https://gitgud.io/lep2kk/erajohnas GitGud] (pull Git LFS assets with <code>git lfs pull</code>) or download the latest ZIP archive.
−
# Run '''<code>LazyLoadingV26.exe</code>''' (fast startup) or '''<code>Emuera.exe</code>''' (full eager load).
+
# Launch '''<code>LazyLoadingV26.exe</code>''' (fast startup) or '''<code>Emuera.exe</code>''' (full eager load).
−
# Existing eraNAS 4.972 saves placed in <code>sav/</code> load directly without starting a new game.
+
# Place any existing eraNAS 4.972 saves in <code>sav/</code> to continue immediately.
  
 
= Roadmap =
 
= Roadmap =
−
* '''Living Factions:''' Real ways to earn <code>FactionFame</code> / <code>FactionExperience</code> and meaningful world consequences when territories change hands.
+
* '''Living Factions:''' Meaningful ways to earn faction fame and real world consequences when territories change hands.
−
* '''Crime, Heat & Police for Everyone:''' Extending <code>CrimeAndPunishment</code> so wanted levels and law enforcement apply dynamically to both the player and NPCs.
+
* '''Crime, Heat & Law for Everyone:''' Extending wanted levels and law enforcement dynamically to both the player and NPCs.
  
 
= Base Game Reference =
 
= Base Game Reference =

Latest revision as of 23:57, 2 December 2026

Era toho tw title full.png
erajohNAS
Genre: Sandbox / Dating Sim / Tactical RPG
Developer(s): lep2kk & John Artificial (fork of eraNAS by mrpopsalot / AnonTW)
Base Version: eraNAS 4.972
Status: Actively developed
Translation Status: 99.94% English (all 133/133 active characters & base game translated)
Repository link (GitGud)
Latest Build (ZIP)

erajohNAS is a performance-fixed, fully English-translated fork of eraNAS (based on 4.972, itself a sandbox fork of AnonTW / EraToho TheWorld) focused on turning Gensokyo into a fast, reactive living world with genuine tactical combat and deep, nonlinear social gameplay.

Content Policy: There are zero excretion or diaper feature updates in this fork (upstream settings remain untouched and can be disabled as usual). Development focuses strictly on performance, translation, tactical combat, AI, living-world social mechanics, factions, and crime systems.

Overview[edit]

Upstream eraNAS adds deep RimWorld-style systems (body parts, injuries, firearms, factions, raids, tactical combat) on top of AnonTW, but suffers from heavy per-turn lag (~3 seconds per turn, 1–2 minutes sleeping), unfinished tactical combat, and large untranslated portions of the cast.

erajohNAS cuts turn and sleep times by 10–18× while keeping 100% compatibility with existing eraNAS 4.972 saves, finishes the English translation across all 133 active characters (99.94% live lines), rebuilds Tactical Grid Combat with real Line of Sight and skill-scaled AI, and introduces a full Living World social engine where relationships can be developed nonlinearly through conversation, seduction, persuasion, intimidation, or diplomacy.

Key Features[edit]

Full English Localization (99.94%)[edit]

  • Complete Cast Coverage: Over 304,000 newly translated lines bring both core gameplay and all 133/133 active characters into English (132/133 at ≥99% English).
  • Clean Load Verified: Verified under full eager loading in Emuera.exe with zero level-2 warnings.

Living World & Nonlinear Social Engine[edit]

Gensokyo remembers what happens and reacts organically — and building relationships no longer relies on endlessly grinding tea, errands, or aphrodisiacs:

  • Shared World Memory & Reputation: Duels, surrenders, knockouts, kills, rescues, thefts, romances, requests, and exposed lies spread naturally between NPCs by word of mouth, dynamically shifting relationships, grudges, vendettas, and public reputation.
  • Timed Moods & Emotions: Every NPC tracks active thoughts across eight emotional channels (Joy, Anger, Grief, Fear, Shame, Comfort, Arousal, Neutral) with an inline Mind & Memory Inspector.
  • Nonlinear Talk System ([9901]): A standalone dialogue engine (leaving vanilla Conversation untouched for Kojo) featuring 15 actions across 4 routes × 8 delivery tones, private vs. public room awareness, conversation-flow combos, and a live Consent Readiness display:
    • Bond & Soothe: Small Talk, Joke, Compliment, Comfort, Heart-to-Heart, and De-escalate / Apologize (capable of calming active rage and even reducing Hate Marks through sincere reconciliation).
    • Seduce & Arouse: Flirt, Whisper in Ear (skilled verbal foreplay that lowers guard, builds desire, and physically prepares a willing partner through words alone), and Seduce / Dirty Talk (allowing a direct transition into intimacy once consent is reached).
    • Dominate & Break: Intimidate, Break Will / Psychological Pressure (builds submission and obedience through mental pressure rather than rope), and Provoke.
    • World & Room: Gossip, Tell About Event, Fabricate Rumor / Lie (with real alibi checks and delayed exposure), and Crowd Talk to address everyone in the room at once.
  • Proactive NPCs & Off-Screen Life: NPCs approach the player on their own with jokes, flirts, news, favors, confrontations, or schemes — with every reply visibly shifting Favor, Trust, Mood, Desire, and Relations. In the background, NPCs spread rumors, offer and complete favors for each other, tend wounds, argue, and fight vendettas.
  • 【Read the Room】 Trait: Unlockable under Achievements → Social to display live color-coded success odds for every Talk option.

Tactical Grid Combat & Smart AI[edit]

  • TGC as Default Combat Engine: Rebuilt from debug status into the default combat system (with an instant toggle back to Classic anytime).
  • Line of Sight, Cover Peeking & Overwatch: Solid walls block direct shots, while sandbags, trees, and shelves grant directional cover. Fighters at doorways or wall corners can Peek out while keeping their cover advantage against return fire, and both player and AI can use Overwatch to intercept anyone entering their line of fire first.
  • Skill-Scaled, Emotion-Driven AI (Tiers 0–4): Tactical intelligence scales with each character's Combat/Danmaku rank and Knowledge — from straightforward novices up to masters who flank cover, cut off sightlines, bait Overwatch angles, choose logical aimed body-part shots, and use Time Stop tactically.
  • Living World Psychology, Morale, Fleeing & Surrender: NPC emotions and grudges directly steer how they fight. Terrified or broken fighters lose morale and flee toward the map edge — or voluntarily offer surrender (which you can accept, spare for reputation/relationship gains, or refuse). Merciful opponents can also demand your surrender instead of knocking you out.
  • Brisk Danmaku & Combat QoL: Fast, mobile Danmaku duels with live [Lives: X] counters, body-part Aimed Shots, Lethal/Non-Lethal toggling, optional keyboard WASD Dodge QTE / TSP prompts, Quick Attack, hotkeys, and free walking (with a separate Timeskip Move toggle for Time Stop users).

Performance & Quality of Life[edit]

  • 10–18× Faster Turns & Sleep: Fixes the major upstream bottlenecks that slowed every turn to ~3 seconds and made sleeping crawl.
  • 100% Save-Compatible: Existing eraNAS 4.972 saves load straight out of the box.
  • Ask for Request ([9900]): Ask awake, non-hostile NPCs directly for a request instead of fighting morning RNG.
  • No Broken Study Minigames: Youjutsu study books (including Flight and the Danmaku exam) resolve cleanly without softlocking.
  • Male Mob Portraits: Procedurally generated male NPCs display a male silhouette instead of female portraits.

AI Disclosure & Credits[edit]

Developed by lep2kk with extensive AI assistance (John Artificial) across performance engineering, combat AI, Living World systems, and the full English translation.

How to Install & Run[edit]

  1. Clone the repository from GitGud (pull Git LFS assets with git lfs pull) or download the latest ZIP archive.
  2. Launch LazyLoadingV26.exe (fast startup) or Emuera.exe (full eager load).
  3. Place any existing eraNAS 4.972 saves in sav/ to continue immediately.

Roadmap[edit]

  • Living Factions: Meaningful ways to earn faction fame and real world consequences when territories change hands.
  • Crime, Heat & Law for Everyone: Extending wanted levels and law enforcement dynamically to both the player and NPCs.

Base Game Reference[edit]

For core Touhou / eraTW mechanics, characters, and locations inherited from upstream:

eraTheWorld
Touhou Fate
eraTohoTW eraTW-FGO
Pedy's TW
AnonTW
eraNAS
eraTohoLiG