0a7076d5b9
Rewrites the i18n system introduced in PR #94 to use Next.js App Router [locale] dynamic segments with SSR-rendered translations and proper middleware locale routing. - Add middleware locale detection: / rewrites to /zh-CN/ internally, /en and /ja pass through, /zh-CN/... redirects to bare path - Move all 7 pages under app/[locale]/ with SSR translation injection - Fix server→client serialization: pre-evaluate function-valued translations (makeSerializable) to eliminate hydration flash - Fix language switch key flash: use hard navigation with localStorage- only persistence, avoiding React state update before page reload - Add <link rel="alternate" hreflang> tags for multilingual SEO - Fix Supabase setAll overwriting locale rewrite response - Trim locales from 22 to 3 (zh-CN/en/ja), delete 19 incomplete files - LLM-translate 240 firstact game preset JSONs (en + ja, landscape + portrait) and story titles via gemini-3.5-flash - Delete 11 one-off migration scripts and outdated i18n docs - Add useLocalePath hook and navigation utilities Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 line
9.2 KiB
JSON
1 line
9.2 KiB
JSON
{"sessionId":"s_1780422187321_an8aus","scene":{"id":"scene_1780422228781_hnbl","scenePrompt":"Wide establishing shot of a cramped deep-sea probe control chamber, bathed in the cold, flickering glow of multiple instrument panels and a single, stark emergency light. The space is cluttered with analogue dials, thick cables, and a vintage reel-to-reel tape recorder with headphones resting beside it. Through the thick, reinforced viewport, the pitch-black abyssal ocean is illuminated by countless massive, bioluminescent eyes opening in the infinite dark, their cold light casting shifting, eerie patterns across the cabin interior. The central control screen displays cryptic, unbidden text in a sharp, unnatural font. The atmosphere is one of profound isolation and cosmic dread, with a tense, oppressive silence broken only by the imagined sound of rhythmic tapping on the hull.","beats":[{"id":"b1","narration":"Only the low hum of instruments fills the cramped control cabin. You stare at the black recorder, your fingertip hovering over the play button. The raw recording brought back from the Mariana Trench—its spectral analysis is a chaotic mess, like a living mass refusing to be understood.","next":{"type":"continue","nextBeatId":"b2"}},{"id":"b2","narration":"You press the play button.","line":"(A soft click as the recording starts)","next":{"type":"continue","nextBeatId":"b3"}},{"id":"b3","narration":"The moment the sound flows from the headphones, your blood runs cold. It is not a whale song, nor is it the vocalization of any known creature—it sounds like ancient gears grinding under deep-sea pressure, or the whispering of some vast, incomprehensible intelligence. Every syllable strikes the inner walls of your skull with precision, bringing a wave of icy, sickening familiarity.","next":{"type":"continue","nextBeatId":"b4"}},{"id":"b4","narration":"You rip the headphones off, but it's too late. The sound has already been 'imprinted' onto your auditory cortex. Outside the cabin, in that pitch-black water... No. Something is glowing.","next":{"type":"continue","nextBeatId":"b5"}},{"id":"b5","narration":"Countless eerie blue, phosphorescent eyeballs slowly open from the abyss. They have no pupils, no eyelids, just a cold, geometric 'stare'. They aren't looking at the submersible—they are 'reading' everything inside the control cabin, especially you. Your academic training screams that this is impossible, but every inch of your skin is vibrating in resonance.","next":{"type":"continue","nextBeatId":"b6"}},{"id":"b6","narration":"The main console screen begins to flicker violently. Amidst the static, a line of clear text appears word by word—not a command you entered, but distorted characters, like bubbles rising from underwater:","line":"Echo has confirmed host. Welcome home.","next":{"type":"continue","nextBeatId":"b7"}},{"id":"b7","narration":"'Home'? Your stomach churns. Just then—","line":"Thud.","lineDelivery":"Dull and heavy, as if a massive weight has struck the titanium hull. It isn't the rush of water, it is... a knock.","next":{"type":"continue","nextBeatId":"b8"}},{"id":"b8","narration":"Thud. Thud. Thud. Rhythmic, patient, and persistent. Something, just dozens of meters away in the water outside the cabin wall, is trying to... get in.","next":{"type":"choice","choices":[{"id":"c1","label":"Attempt to initiate emergency ascent procedure","effect":{"kind":"change-scene","nextSceneSeed":"Red warning lights flash as the submersible vibrates violently and begins to ascend, but the phosphorescent eyes outside rise in unison like predators pursuing prey, and the knocking sounds move with them."}},{"id":"c2","label":"Stifle your fear and reconnect the recorder","effect":{"kind":"advance-beat","targetBeatId":"b9"}},{"id":"c3","label":"Grab the communicator and try to contact the research station","effect":{"kind":"change-scene","nextSceneSeed":"The communication channel is filled with static, but you can faintly hear Lin Wei's suppressed, panicked gasps on the other end, along with Station Chief Chen Gang's furious roar: 'Turn it off! Turn it off now!'"}}]}},{"id":"b9","narration":"Your fingers are trembling, but your scientific instinct overrides your urge to survive. You pick up the headphones again. This time, you aren't just 'listening'—you are 'responding'. You plug the headphone jack into the external microphone port, sending the ambient sounds of the control cabin, along with your own rapid heartbeat, out into the deep.","line":"...What do you want to hear?","lineDelivery":"Your voice is dry and trembling, filled with desperate recklessness and a strange, eerie curiosity.","next":{"type":"choice","choices":[{"id":"b9__exit","label":"Continue","effect":{"kind":"change-scene","nextSceneSeed":"The story continues"}}]}}],"entryBeatId":"b1","sceneKey":"submersible-cockpit-night","imageUuid":"38866feb-8e57-4b66-8106-fd411acf03e2","imageUrl":"/home/firstscene/m22.webp"},"imageUrl":"/home/firstscene/m22.webp","characters":[],"storyState":{"logline":"You are a deep-sea investigator. When you bring back an unresolvable chanting recording from the Mariana Trench, everyone who hears it begins to see impossible, horrific hallucinations—and you gradually realize that the sound is not summoning 'itself', but 'you'.","genreTags":"Cthulhu / Deep-Sea Horror / Mystery Thriller / Hard Sci-Fi / Multi-Twist","protagonist":"You are the lead investigator of the 'Deep Sea Echo Incident', a calm and rational marine physicist. Trapped on an offshore research station, you hold the raw recording that triggered the collective hallucinations. Your goal is to uncover the truth behind the sound and stop the disaster, but you have already begun to hear whispers in your mind and catch glimpses of unspeakable, multi-eyed shadows in your peripheral vision—your greatest weakness is that you realize you are not resisting the summon, but gradually craving it.","castNotes":"Lin Wei: Your chief assistant and acoustic engineer. Seemingly rigorous and loyal, she has actually been deeply infected by the sound and is secretly conducting a dangerous 'resonance experiment' to communicate with the abyss.\nStation Chief Chen Gang: The head of the research station, a pragmatic and cold retired naval officer. He firmly believes the sound is some kind of alien weapon and advocates for the immediate destruction of all recordings and a total information blackout, making him your primary obstacle.\nOld Zhao: The station's sole veteran logistics worker. Taciturn and quiet, he seems to have experienced a similar event years ago. He holds a fatal secret about the 'Echo Cycle' but refuses to speak out of sheer terror.","synopsis":"You play the eerie recording from the Mariana Trench inside the deep-sea submersible. The sound triggers supernatural phenomena: countless phosphorescent eyes open in the abyss, the console displays 'Echo has confirmed host. Welcome home.', and a rhythmic knocking echoes from the submersible's outer hull. You face your first choice: flee, respond, or call for help.","openThreads":["The nature of the sound: Is it a summon or a confirmation? What does 'host' mean?","What is the knocker outside the submersible? Why has it come?","Lin Wei and Chen Gang's reactions and secrets within the station","Are the whispers in your mind related to the current 'resonance'?"],"relationships":["Lin Wei (has not appeared, but suspected to be affected in the transmission): Status unknown, may have already come into contact with the sound","Station Chief Chen Gang (has not appeared, furious in the transmission): Reacts violently to the sound, advocates for destruction","Old Zhao (has not appeared): The silent insider"],"nextHook":"Next Scene: In the final moments before communication cuts out, after either fleeing or responding, you establish a fragile connection with the research station. The atmosphere inside has changed—Lin Wei's eyes are filled with fanaticism, Chen Gang acts as if facing a formidable enemy, and Old Zhao just stares at you in silence, as if looking at an 'old acquaintance' about to repeat the same mistake."},"cardName":"m22","cardTitle":"Echoes of the Deep","cardGender":"Male-oriented","worldSetting":"This is an AI interactive story game targeted at a [Male-oriented] audience, featuring intense dramatic conflicts and rapid twists in the style of short-form web dramas.\nStory Style: Multi-branching twists. Pace: Tight and thrilling.\nOpening setting of the featured story 'Echoes of the Deep': Inside a deep-sea submersible, an oceanographer receives an unresolvable chanting sound from the Mariana Trench. When the recording is played back, anyone who hears it experiences unspeakable hallucinations. He is gradually realizing that the sound is summoning itself...\nPlease dive straight into this opening to give the player a strong sense of immersion and excitement. Keep the density of twists in subsequent branches high, like a short drama, so that every choice the player makes yields immediate consequences.","styleGuide":"Dark cosmic horror illustration, vertical composition. A rugged, handsome investigator with terrified, intense eyes, holding a lantern as he gazes up at a towering, multi-eyed eldritch shadow emerging from a stormy ocean under a pitch-black sky.","imageUrlRemote":"https://im.runware.ai/image/os/a05d22/ws/3/ii/38866feb-8e57-4b66-8106-fd411acf03e2.png"} |