GithubHelp home page GithubHelp logo

danielthewolf93 / laintsx Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ad044/laintsx

0.0 0.0 0.0 10.35 MB

WebGL implementation of the Serial Experiments Lain PSX game

License: GNU General Public License v3.0

JavaScript 5.15% TypeScript 89.65% CSS 0.95% GLSL 3.91% Kaitai Struct 0.35%

laintsx's Introduction

lainTSX

A browser-based implementation of the Serial Experiments Lain PSX game using react-three-fiber with the aim to provide multi-language support and make it more accessible.

History

The original PSX game was released in Japan, back in 1998. The game never got a proper english adaptation, which resulted in all non-Japanese speaking players either having to play through the game while simultaneously reading through the translation, or simply not playing the game at all and only reading it.

The goal of this project is to provide a better experience for those willing to play the game, and the way to do so is by implementing a subtitle system, which has the capability to support multiple languages.

Building locally

Building locally is currently not possible. This is because the repository lacks static assets ripped from the game due to it being copyrighted content. The plan is to write an extraction script (currently located inside scripts/extract), where the user who owns the game provides the disc binaries themselves, and the script automates the static file extraction. This script is still WIP.

Code strutcure

  • __tests__/ - Jest tests.

  • src/

    • components/canvas/ - TSX components used in the actual 3D environment (sprites, meshes, etc.).
    • components/dom/ - TSX components used for the website pages.
    • core/ - State management. Contextual (scene/state influenced) processors, mutation handler, event templates.
    • hooks/ - Custom hooks for React.
    • json/ - Reverse-engineered JSON data the game uses for a variety of tasks (node positions, font texture atlas definitions, etc.).
    • pages/ - Pages for the website (index, notes, guide, options, etc.).
    • shaders/ - Fragment/Vertex shaders.
    • styles/ - CSS.
    • types/ - Type definitions.
    • utils/ - Utilities/helper functions used to boostrap functionalities (node finding algorithm, name selection handlers, etc.).
    • store.ts - Zustand store used for managing global state.
  • scripts/

    • extract/ - WIP extraction script to automate the local building process of the game.

TODO

  • Finish writing the extraction script
  • Improve/complete the translation

Screenshots

Reporting bugs and contributing

If you have any ideas/suggestions/found an issue or want to help us with the translation or anything else, please make an issue.

Tools used during development

laintsx's People

Contributors

ad044 avatar lelenium avatar elliotcraft79 avatar solitai7e avatar atomheartother avatar 2-3 avatar iamtakingiteasy avatar bennywwg avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.