GithubHelp home page GithubHelp logo

ad044 / laintsx Goto Github PK

View Code? Open in Web Editor NEW
464.0 16.0 23.0 10.35 MB

WebGL implementation of the Serial Experiments Lain PSX game

License: GNU General Public License v3.0

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

laintsx's People

Contributors

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

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

laintsx's Issues

Run error because extract script Missing resources in static/sprites/

I like your project and I followed the instructions to build it locally, including extracting the game resources to static dir.
But I'm having some problems.

I open the URL: http://localhost:3000/game.
The page shows

Application error: a client-side exception has occurred (see the browser console for more information)."

I open the console and see.

GET http://localhost:3000/sprites/boot/login_intro_accela_spritesheet.png 404 (Not Found)

image

what I did before running the project:

  1. I used the scripts/extract/extract.mjs script to extract my disc1.bin and disc2.bin game files and the script ran very successfully.
  2. It generated the following directories in the src/static directory: images, media, sprites
    The sound, video, and image resources look fine.

what I did after the error occurred:

  1. I checked the source code and found that a missing image resource file should cause it in the src/static/sprites directory.
  2. I ran the extraction script several times but with the same result, I'm sure it's not a problem with my game files because I can run it successfully with the emulator
  3. I instead suspect that maybe the scripts/extract/extract_lapks.mjs script or scripts/extract/lapks.json is incomplete.
  4. I have sorted out the missing files:
Click to expand/collapse to show missing files

/sprites/boot/authorize_header_underline.png
/sprites/boot/authorize_glass.png
/sprites/boot/authorize_glass_underline.png
/sprites/boot/authorize_orange_square.png
/sprites/boot/authorize_start_to_finish.png
/sprites/boot/authorize_inactive_letters.png
/sprites/boot/authorize_active_letters.png
/sprites/boot/login_intro_accela_spritesheet.png
/sprites/boot/make_me_sad.png
/sprites/boot/load_data_header_underline.png
/sprites/boot/load_data_active.png
/sprites/boot/load_data_inactive.png
/sprites/boot/load_data_header.png

/sprites/lain/mouth_1.png
/sprites/lain/mouth_2.png
/sprites/lain/mouth_3.png
/sprites/lain/mouth_4.png
/sprites/lain/lain_speak_intro.png
/sprites/lain/lain_speak_outro.png

/sprites/fonts/orange_jp_font.png
/sprites/main/big_hud.png
/sprites/main/long_hud.png
/sprites/main/boring_hud.png
/sprites/lain/intro.png
/sprites/lain/jump_down.png
/sprites/lain/jump_up.png
/sprites/lain/move_left.png
/sprites/lain/move_right.png
/sprites/lain/standing.png
/sprites/lain/throw_node.png
/sprites/lain/rip_middle_ring.png
/sprites/lain/rip_node.png
/sprites/lain/prayer.png
/sprites/lain/knock.png
/sprites/lain/knock_and_fall.png
/sprites/lain/touch_node_and_get_scared.png
/sprites/lain/touch_sleeve.png
/sprites/lain/thinking.png
/sprites/lain/stretch.png
/sprites/lain/stretch_2.png
/sprites/lain/spin.png
/sprites/lain/scratch_head.png
/sprites/lain/blush.png
/sprites/lain/hands_behind_head.png
/sprites/lain/hands_on_hips.png
/sprites/lain/hands_on_hips_2.png
/sprites/lain/hands_together.png
/sprites/lain/lean_forward.png
/sprites/lain/lean_left.png
/sprites/lain/lean_right.png
/sprites/lain/look_around.png
/sprites/lain/play_with_hair.png

/sprites/lain/intro.png
/sprites/lain/standing.png
/sprites/lain/jump_down.png
/sprites/lain/move_left.png
/sprites/lain/move_right.png
/sprites/lain/jump_up.png
/sprites/lain/throw_node.png
/sprites/lain/rip_middle_ring.png
/sprites/lain/knock.png
/sprites/lain/knock_and_fall.png
/sprites/lain/rip_node.png
/sprites/lain/prayer.png
/sprites/lain/touch_sleeve.png
/sprites/lain/thinking.png
/sprites/lain/stretch_2.png
/sprites/lain/stretch.png
/sprites/lain/spin.png
/sprites/lain/scratch_head.png
/sprites/lain/blush.png
/sprites/lain/hands_behind_head.png
/sprites/lain/hands_on_hips.png
/sprites/lain/hands_on_hips_2.png
/sprites/lain/lean_forward.png
/sprites/lain/hands_together.png
/sprites/lain/lean_left.png
/sprites/lain/lean_right.png
/sprites/lain/look_around.png
/sprites/lain/play_with_hair.png


I urgently need your help.

I love Lain, I would very much want to play Serial Experiments Lain on my computer.

ビャ/ビュ/ビョ

In src/static/media, the following files are anomalous:

File Expected Sound Actual Sound
ア_ビャ.b9c11966.mp4 abya abyu
イ_ビャ.6ff0c614.mp4 ibya ibyu
ウ_ビャ.33b8ea40.mp4 ubya ubyu
エ_ビャ.38ea6700.mp4 ebya ebyu
オ_ビャ.c2e0406c.mp4 obya obyu
ビャ.3967f961.mp4 bya pyu*
ン_ビャ.afacec56.mp4 nbya nbyu

*ビャ.3967f961.mp4 is not identical to ピュ.e9aad2df.mp4, only differing by a slight falling terminal in the latter, but both are an unambiguous "pyu" sound.
There are also no files labeled for the *ビュ group, as well as no files with the "bya" sound in them.
Is this an oversight by the original developers, an error in the reverse engineering, or a nuance of the Japanese language? I did not complete the game with a player name containing ビャ or ビュ, so I have not found any clues through how the "virtual Lain" handles addressing the player at the end.

save option not working properly

The "Load state" button doesn't react. The game doesnt reset when the save is cleared and doesnt load form a save, but always starts from the begining.
I tried on both chrome and edge using two different saves, with no results. The save data dosen't erease itself, which leads me to believe that the load state button just refuses to work :(

simplified version gives error code 0001

i got on here last night and the game ran fine !! im assuming it might be a me problem, but ive tried reloading, exiting browser, and turning wifi off and back on :(. the not simplified version also runs fine, so im not sure what it could be !

Stuck on Ending Screen

stuck

I got stuck on this screen and can't progress to the post game. I saw the earlier issue where someone had a bad letter in their name. I had the same letter so I edited my name in the save, but I keep getting the same error. I've edited my name a bunch of times and keep having this issue. I wiped my save and did a speedrun to the end in case the save was corrupted, and still get this issue.

game softlocks after idleing cutscene

like literally I can play the game just fine up until one of those cutscenes that come on if you idle start playing. After that I just can't input anything anymore :(

Typo in enlish translation

On Cou003, there's a typo. It's written "all they same" in the subtitles but it should probably be "all the same".
image
I'm sorry if this is not the right place to report translations error but I don't have any other idea.

Post-Game TAK files locked

I am currently on the "Post-Game". I played basically every node of both Sites, but there are specific TAK nodes that I cannot play by any legitimate means (which all of them are still locked, even after playing all the other nodes).

  • TAK028 - A08
  • TAK035 - A09
  • TAK038 - A10
  • TAK048 - A12
  • TAK052 - A12
  • TAK053 - A14
  • TAK057 - A14
  • TAK068 - A18
  • TAK080 - A21
  • TAK088 - A22
  • TAK089 - A22
  • TAK090 - A22
  • TAK091 - B01
  • TAK098 - B04
  • TAK112 - B11
  • TAK118 - B13
  • TAK121 - B13

No errors on the console. Web version.

OBS: I played the game the most "linear" way possible:

  1. Unlocked all SSKN, P-02 and GATE nodes first.
  2. After that, I played the nodes in a very """linear""" order.

I noticed that the "first" cutscene played for me a total of 3~4 times (after played some of the final nodes of the normal playthough), but I don't know if this was meant to be this way (maybe it was).

For now, I will try to manipulate these specific TAK nodes in the save file (one by one) and see if they get legimately unlocked though the game after these manipulations. But until now, I haven't manipulated the save file, if there is any stange value in the JSON it was generated legimately by the game.

Here is my save file:

{"siteSaveState":{"a":{"activeNode":{"id":"0121","image_table_indices":{"1":"-1","2":"-1","3":"-1"},"media_file":"LAIN09.XA[14]","node_name":"TaK004","protocol_lines":{"1":"","2":"","3":""},"required_final_video_viewcount":1,"site":"A","title":"","triggers_final_video":0,"type":6,"unlocked_by":"","upgrade_requirement":0,"words":{"1":"lunch","2":"","3":""},"matrixIndices":{"matrixIdx":3,"rowIdx":0,"colIdx":1}},"siteRot":[0,84.82300164692425,0],"activeLevel":"01"},"b":{"activeNode":{"id":"0106","image_table_indices":{"1":"362","2":"93","3":"509"},"media_file":"LAIN15.XA[18]","node_name":"Lda152","protocol_lines":{"1":"anonymous_user","2":"active_file:","3":"ftp/tl.L_server"},"required_final_video_viewcount":0,"site":"B","title":"lain's DIARY","triggers_final_video":0,"type":0,"unlocked_by":"Lda151","upgrade_requirement":3,"words":{"1":"wish","2":"personality","3":"chaos"},"matrixIndices":{"matrixIdx":7,"rowIdx":2,"colIdx":0}},"siteRot":[0,43.98229715025708,0],"activeLevel":"01"}},"activeNode":{"id":"0207","image_table_indices":{"1":"-1","2":"-1","3":"-1"},"media_file":"LAIN12.XA[5]","node_name":"TaK122","protocol_lines":{"1":"","2":"","3":""},"required_final_video_viewcount":2,"site":"A","title":"","triggers_final_video":0,"type":6,"unlocked_by":"","upgrade_requirement":0,"words":{"1":"leave alone","2":"","3":""},"matrixIndices":{"matrixIdx":1,"rowIdx":2,"colIdx":3}},"siteRot":[0,83.25220532012936,0],"activeLevel":"02","activeSite":"a","gameProgress":{"sskn_level":7,"gate_level":4,"final_video_viewcount":4,"polytan_unlocked_parts":{"body":true,"head":true,"left_arm":true,"right_arm":true,"left_leg":true,"right_leg":true},"nodes":{"Cou001":{"is_viewed":1},"Cou002":{"is_viewed":1},"Cou003":{"is_viewed":1},"Cou004":{"is_viewed":1},"Cou005":{"is_viewed":1},"Cou006":{"is_viewed":1},"Cou007":{"is_viewed":1},"Cou008":{"is_viewed":1},"Cou009":{"is_viewed":1},"Cou010":{"is_viewed":1},"Cou011":{"is_viewed":1},"Cou012":{"is_viewed":1},"Cou013":{"is_viewed":1},"Cou014":{"is_viewed":1},"Cou015":{"is_viewed":1},"Cou016":{"is_viewed":1},"Cou017":{"is_viewed":1},"Cou018":{"is_viewed":1},"Cou019":{"is_viewed":1},"Cou020":{"is_viewed":1},"Cou021":{"is_viewed":1},"Cou022":{"is_viewed":1},"Cou023":{"is_viewed":1},"Cou024":{"is_viewed":1},"Cou025":{"is_viewed":1},"Cou026":{"is_viewed":1},"Cou027":{"is_viewed":1},"Cou028":{"is_viewed":1},"Cou029":{"is_viewed":1},"Cou030":{"is_viewed":1},"Cou031":{"is_viewed":1},"Cou032":{"is_viewed":1},"Cou033":{"is_viewed":1},"Cou034":{"is_viewed":1},"Cou035":{"is_viewed":1},"Cou036":{"is_viewed":1},"Cou037":{"is_viewed":1},"Cou038":{"is_viewed":1},"Cou039":{"is_viewed":1},"Cou040":{"is_viewed":1},"Cou041":{"is_viewed":1},"Cou042":{"is_viewed":1},"Cou043":{"is_viewed":1},"Cou044":{"is_viewed":1},"Cou045":{"is_viewed":1},"Cou046":{"is_viewed":1},"Cou047":{"is_viewed":1},"Cou048":{"is_viewed":1},"Cou049":{"is_viewed":1},"Cou050":{"is_viewed":1},"Cou051":{"is_viewed":1},"Cou052":{"is_viewed":1},"Cou053":{"is_viewed":1},"Dc1001":{"is_viewed":0},"Dc1002":{"is_viewed":1},"Dc1003":{"is_viewed":1},"Dc1004":{"is_viewed":1},"Dc1005":{"is_viewed":1},"Dc1006":{"is_viewed":1},"Dc1007":{"is_viewed":1},"Dc1008":{"is_viewed":1},"Dc1009":{"is_viewed":1},"Dc1010":{"is_viewed":1},"Dc1011":{"is_viewed":1},"Dc1012":{"is_viewed":1},"Dc1013":{"is_viewed":1},"Dc1014":{"is_viewed":1},"Dc1015":{"is_viewed":1},"Dc1016":{"is_viewed":1},"Dc1017":{"is_viewed":1},"Dc1018":{"is_viewed":1},"Dc1019":{"is_viewed":1},"Dc1020":{"is_viewed":1},"Dc1021":{"is_viewed":1},"Dc1022":{"is_viewed":1},"Dc1023":{"is_viewed":1},"Dc1024":{"is_viewed":1},"Dc1025":{"is_viewed":1},"Dc1026":{"is_viewed":1},"Dc1027":{"is_viewed":1},"Dc1028":{"is_viewed":1},"Dc1030":{"is_viewed":1},"Dc1031":{"is_viewed":1},"Dc1032":{"is_viewed":1},"Dc1033":{"is_viewed":1},"Dc1034":{"is_viewed":1},"Dc1035":{"is_viewed":1},"Dc1036":{"is_viewed":1},"Dc1037":{"is_viewed":1},"Dc1038":{"is_viewed":1},"Dc1039":{"is_viewed":1},"Dc1040":{"is_viewed":1},"Dc1041":{"is_viewed":1},"Dc1042":{"is_viewed":1},"Dc1043":{"is_viewed":1},"Dc1044":{"is_viewed":1},"Dc1045":{"is_viewed":1},"Dc1046":{"is_viewed":1},"Dc1047":{"is_viewed":1},"Dc1048":{"is_viewed":1},"Dc1049":{"is_viewed":1},"Dc1050":{"is_viewed":1},"Dc1051":{"is_viewed":1},"Dc1052":{"is_viewed":1},"Dc1053":{"is_viewed":1},"Dc1054":{"is_viewed":1},"Dc1055":{"is_viewed":1},"Dc1056":{"is_viewed":1},"Dc1057":{"is_viewed":1},"Dc1058":{"is_viewed":0},"Dia001":{"is_viewed":1},"Dia002":{"is_viewed":1},"Dia003":{"is_viewed":1},"Dia004":{"is_viewed":1},"Dia005":{"is_viewed":1},"Dia006":{"is_viewed":1},"Dia007":{"is_viewed":1},"Dia008":{"is_viewed":1},"Dia009":{"is_viewed":1},"Dia010":{"is_viewed":1},"Dia011":{"is_viewed":1},"Dia012":{"is_viewed":1},"Dia013":{"is_viewed":1},"Dia014":{"is_viewed":1},"Dia015":{"is_viewed":1},"Dia016":{"is_viewed":1},"Dia017":{"is_viewed":1},"Dia018":{"is_viewed":1},"Dia019":{"is_viewed":1},"Dia020":{"is_viewed":1},"Dia021":{"is_viewed":1},"Dia022":{"is_viewed":1},"Dia023":{"is_viewed":1},"Dia024":{"is_viewed":1},"Dia025":{"is_viewed":1},"Dia026":{"is_viewed":1},"Dia027":{"is_viewed":1},"Dia028":{"is_viewed":1},"Dia029":{"is_viewed":1},"Dia030":{"is_viewed":1},"Dia031":{"is_viewed":1},"Dia032":{"is_viewed":1},"Dia033":{"is_viewed":1},"Dia034":{"is_viewed":1},"Dia035":{"is_viewed":1},"Dia036":{"is_viewed":1},"Dia037":{"is_viewed":1},"Dia038":{"is_viewed":1},"Dia039":{"is_viewed":1},"Dia040":{"is_viewed":1},"Dia041":{"is_viewed":1},"Dia042":{"is_viewed":1},"Dia043":{"is_viewed":1},"Dia044":{"is_viewed":1},"Dia045":{"is_viewed":1},"Dia046":{"is_viewed":1},"Dia047":{"is_viewed":1},"Dia048":{"is_viewed":1},"Eda001":{"is_viewed":1},"Eda002":{"is_viewed":1},"Eda003":{"is_viewed":1},"Eda004":{"is_viewed":1},"Eda005":{"is_viewed":1},"Ekm001":{"is_viewed":1},"Ekm002":{"is_viewed":1},"Ekm003":{"is_viewed":1},"Ekm004":{"is_viewed":1},"Ekm005":{"is_viewed":1},"Ekm006":{"is_viewed":1},"Env001":{"is_viewed":0},"Env002":{"is_viewed":0},"Env004":{"is_viewed":0},"Env005":{"is_viewed":0},"Env006":{"is_viewed":0},"Env007":{"is_viewed":0},"Env008":{"is_viewed":0},"Env010":{"is_viewed":0},"Env011":{"is_viewed":0},"Env012":{"is_viewed":0},"Ere001":{"is_viewed":1},"Ere002":{"is_viewed":1},"Ere003":{"is_viewed":1},"Ere004":{"is_viewed":1},"Ere005":{"is_viewed":1},"Ere006":{"is_viewed":1},"Ere007":{"is_viewed":1},"Ere008":{"is_viewed":1},"Ere009":{"is_viewed":1},"Ere010":{"is_viewed":1},"GaTE01":{"is_viewed":1},"GaTE02":{"is_viewed":1},"GaTE03":{"is_viewed":1},"GaTE04":{"is_viewed":1},"Lda001":{"is_viewed":1},"Lda002":{"is_viewed":1},"Lda003":{"is_viewed":1},"Lda004":{"is_viewed":1},"Lda005":{"is_viewed":1},"Lda006":{"is_viewed":1},"Lda007":{"is_viewed":1},"Lda008":{"is_viewed":1},"Lda009":{"is_viewed":1},"Lda010":{"is_viewed":1},"Lda011":{"is_viewed":1},"Lda012":{"is_viewed":1},"Lda013":{"is_viewed":1},"Lda014":{"is_viewed":1},"Lda015":{"is_viewed":1},"Lda016":{"is_viewed":1},"Lda017":{"is_viewed":1},"Lda018":{"is_viewed":1},"Lda019":{"is_viewed":1},"Lda020":{"is_viewed":1},"Lda021":{"is_viewed":1},"Lda022":{"is_viewed":1},"Lda023":{"is_viewed":1},"Lda024":{"is_viewed":1},"Lda025":{"is_viewed":1},"Lda026":{"is_viewed":1},"Lda027":{"is_viewed":1},"Lda028":{"is_viewed":1},"Lda029":{"is_viewed":1},"Lda030":{"is_viewed":1},"Lda031":{"is_viewed":1},"Lda032":{"is_viewed":1},"Lda033":{"is_viewed":1},"Lda034":{"is_viewed":1},"Lda035":{"is_viewed":1},"Lda036":{"is_viewed":1},"Lda037":{"is_viewed":1},"Lda038":{"is_viewed":1},"Lda039":{"is_viewed":1},"Lda040":{"is_viewed":1},"Lda041":{"is_viewed":1},"Lda042":{"is_viewed":1},"Lda043":{"is_viewed":1},"Lda044":{"is_viewed":1},"Lda045":{"is_viewed":1},"Lda046":{"is_viewed":1},"Lda047":{"is_viewed":1},"Lda048":{"is_viewed":1},"Lda049":{"is_viewed":1},"Lda050":{"is_viewed":1},"Lda051":{"is_viewed":1},"Lda052":{"is_viewed":1},"Lda053":{"is_viewed":1},"Lda054":{"is_viewed":1},"Lda055":{"is_viewed":1},"Lda056":{"is_viewed":1},"Lda057":{"is_viewed":1},"Lda058":{"is_viewed":1},"Lda059":{"is_viewed":1},"Lda060":{"is_viewed":1},"Lda061":{"is_viewed":1},"Lda062":{"is_viewed":1},"Lda063":{"is_viewed":1},"Lda064":{"is_viewed":1},"Lda065":{"is_viewed":1},"Lda066":{"is_viewed":1},"Lda067":{"is_viewed":1},"Lda068":{"is_viewed":1},"Lda069":{"is_viewed":1},"Lda070":{"is_viewed":1},"Lda071":{"is_viewed":1},"Lda072":{"is_viewed":1},"Lda073":{"is_viewed":1},"Lda074":{"is_viewed":1},"Lda075":{"is_viewed":1},"Lda076":{"is_viewed":1},"Lda077":{"is_viewed":1},"Lda078":{"is_viewed":1},"Lda079":{"is_viewed":1},"Lda080":{"is_viewed":1},"Lda081":{"is_viewed":1},"Lda082":{"is_viewed":1},"Lda083":{"is_viewed":1},"Lda084":{"is_viewed":1},"Lda085":{"is_viewed":1},"Lda086":{"is_viewed":1},"Lda087":{"is_viewed":1},"Lda088":{"is_viewed":1},"Lda089":{"is_viewed":1},"Lda090":{"is_viewed":1},"Lda091":{"is_viewed":1},"Lda092":{"is_viewed":1},"Lda093":{"is_viewed":1},"Lda094":{"is_viewed":1},"Lda095":{"is_viewed":1},"Lda096":{"is_viewed":1},"Lda097":{"is_viewed":1},"Lda098":{"is_viewed":1},"Lda099":{"is_viewed":1},"Lda100":{"is_viewed":1},"Lda101":{"is_viewed":1},"Lda102":{"is_viewed":1},"Lda103":{"is_viewed":1},"Lda104":{"is_viewed":1},"Lda105":{"is_viewed":1},"Lda106":{"is_viewed":1},"Lda107":{"is_viewed":1},"Lda108":{"is_viewed":1},"Lda109":{"is_viewed":1},"Lda110":{"is_viewed":1},"Lda111":{"is_viewed":1},"Lda112":{"is_viewed":1},"Lda113":{"is_viewed":1},"Lda114":{"is_viewed":1},"Lda115":{"is_viewed":1},"Lda116":{"is_viewed":1},"Lda117":{"is_viewed":1},"Lda118":{"is_viewed":1},"Lda119":{"is_viewed":1},"Lda120":{"is_viewed":1},"Lda121":{"is_viewed":1},"Lda122":{"is_viewed":1},"Lda123":{"is_viewed":1},"Lda124":{"is_viewed":1},"Lda125":{"is_viewed":1},"Lda126":{"is_viewed":1},"Lda127":{"is_viewed":1},"Lda128":{"is_viewed":1},"Lda129":{"is_viewed":1},"Lda130":{"is_viewed":1},"Lda131":{"is_viewed":1},"Lda132":{"is_viewed":1},"Lda133":{"is_viewed":1},"Lda134":{"is_viewed":1},"Lda135":{"is_viewed":1},"Lda136":{"is_viewed":1},"Lda137":{"is_viewed":1},"Lda138":{"is_viewed":1},"Lda139":{"is_viewed":1},"Lda140":{"is_viewed":1},"Lda141":{"is_viewed":1},"Lda142":{"is_viewed":1},"Lda143":{"is_viewed":1},"Lda144":{"is_viewed":1},"Lda145":{"is_viewed":1},"Lda146":{"is_viewed":1},"Lda147":{"is_viewed":1},"Lda148":{"is_viewed":1},"Lda149":{"is_viewed":1},"Lda150":{"is_viewed":1},"Lda151":{"is_viewed":1},"Lda152":{"is_viewed":1},"Lda153":{"is_viewed":1},"Lda154":{"is_viewed":1},"Lda155":{"is_viewed":1},"Lda156":{"is_viewed":1},"Lda157":{"is_viewed":1},"Lda158":{"is_viewed":1},"Lda159":{"is_viewed":1},"Lda160":{"is_viewed":1},"Lda161":{"is_viewed":1},"Lda162":{"is_viewed":1},"Lda163":{"is_viewed":1},"Lda164":{"is_viewed":1},"Lda165":{"is_viewed":1},"Lda166":{"is_viewed":1},"Lda167":{"is_viewed":1},"Lda168":{"is_viewed":1},"Lda169":{"is_viewed":1},"Lda170":{"is_viewed":1},"Lda171":{"is_viewed":1},"Lda172":{"is_viewed":1},"Lda173":{"is_viewed":1},"Lda174":{"is_viewed":1},"Lda175":{"is_viewed":1},"Lda176":{"is_viewed":1},"Lda177":{"is_viewed":1},"Lda178":{"is_viewed":1},"Lda179":{"is_viewed":1},"Lda180":{"is_viewed":1},"Lda181":{"is_viewed":1},"Lda182":{"is_viewed":1},"Lda183":{"is_viewed":1},"Lda184":{"is_viewed":1},"Lda185":{"is_viewed":1},"Lda186":{"is_viewed":1},"Lda187":{"is_viewed":1},"Lda188":{"is_viewed":1},"Lda189":{"is_viewed":1},"Lda190":{"is_viewed":1},"Lda191":{"is_viewed":1},"Lda192":{"is_viewed":1},"Lda193":{"is_viewed":1},"Lda194":{"is_viewed":1},"Lda195":{"is_viewed":1},"Lda196":{"is_viewed":1},"Lda197":{"is_viewed":1},"Lda198":{"is_viewed":1},"Lda199":{"is_viewed":1},"Lda200":{"is_viewed":1},"Lda201":{"is_viewed":1},"Lda202":{"is_viewed":1},"Lda203":{"is_viewed":1},"Lda204":{"is_viewed":1},"Lda205":{"is_viewed":1},"Lda206":{"is_viewed":1},"Lda207":{"is_viewed":1},"Lda208":{"is_viewed":1},"Lda209":{"is_viewed":1},"Lda210":{"is_viewed":1},"Lda211":{"is_viewed":1},"Lda212":{"is_viewed":1},"Lda213":{"is_viewed":1},"Lda214":{"is_viewed":1},"Lda215":{"is_viewed":1},"Lda216":{"is_viewed":1},"Lda217":{"is_viewed":1},"Lda218":{"is_viewed":1},"Lda219":{"is_viewed":1},"Lda220":{"is_viewed":1},"Lda221":{"is_viewed":1},"Lda222":{"is_viewed":1},"Lda223":{"is_viewed":1},"Lda224":{"is_viewed":1},"Lda225":{"is_viewed":1},"Lda226":{"is_viewed":1},"Lda227":{"is_viewed":1},"Lda228":{"is_viewed":1},"Lda229":{"is_viewed":1},"Lda230":{"is_viewed":1},"Lda231":{"is_viewed":1},"Lda232":{"is_viewed":1},"Lda233":{"is_viewed":1},"Lda234":{"is_viewed":1},"Lda235":{"is_viewed":1},"Lda236":{"is_viewed":1},"Lda237":{"is_viewed":1},"P2-01":{"is_viewed":1},"P2-02":{"is_viewed":1},"P2-03":{"is_viewed":1},"P2-04":{"is_viewed":1},"P2-05":{"is_viewed":1},"P2-06":{"is_viewed":1},"SSkn01":{"is_viewed":1},"SSkn02":{"is_viewed":1},"SSkn03":{"is_viewed":1},"SSkn04":{"is_viewed":1},"SSkn04#":{"is_viewed":1},"SSkn05":{"is_viewed":1},"SSkn06":{"is_viewed":1},"TaK001":{"is_viewed":1},"TaK002":{"is_viewed":1},"TaK003":{"is_viewed":1},"TaK004":{"is_viewed":1},"TaK005":{"is_viewed":1},"TaK006":{"is_viewed":1},"TaK007":{"is_viewed":1},"TaK008":{"is_viewed":1},"TaK009":{"is_viewed":1},"TaK010":{"is_viewed":1},"TaK011":{"is_viewed":1},"TaK012":{"is_viewed":1},"TaK013":{"is_viewed":1},"TaK014":{"is_viewed":1},"TaK015":{"is_viewed":1},"TaK016":{"is_viewed":1},"TaK017":{"is_viewed":1},"TaK018":{"is_viewed":1},"TaK019":{"is_viewed":1},"TaK020":{"is_viewed":1},"TaK021":{"is_viewed":1},"TaK022":{"is_viewed":1},"TaK023":{"is_viewed":1},"TaK024":{"is_viewed":1},"TaK025":{"is_viewed":1},"TaK026":{"is_viewed":1},"TaK027":{"is_viewed":1},"TaK028":{"is_viewed":0},"TaK029":{"is_viewed":1},"TaK030":{"is_viewed":1},"TaK031":{"is_viewed":1},"TaK032":{"is_viewed":1},"TaK033":{"is_viewed":1},"TaK034":{"is_viewed":1},"TaK035":{"is_viewed":0},"TaK036":{"is_viewed":1},"TaK037":{"is_viewed":1},"TaK038":{"is_viewed":0},"TaK039":{"is_viewed":1},"TaK040":{"is_viewed":1},"TaK041":{"is_viewed":1},"TaK042":{"is_viewed":1},"TaK043":{"is_viewed":1},"TaK044":{"is_viewed":1},"TaK045":{"is_viewed":1},"TaK046":{"is_viewed":1},"TaK047":{"is_viewed":1},"TaK048":{"is_viewed":0},"TaK049":{"is_viewed":1},"TaK050":{"is_viewed":1},"TaK051":{"is_viewed":1},"TaK052":{"is_viewed":0},"TaK053":{"is_viewed":0},"TaK054":{"is_viewed":1},"TaK055":{"is_viewed":1},"TaK056":{"is_viewed":1},"TaK057":{"is_viewed":0},"TaK058":{"is_viewed":1},"TaK059":{"is_viewed":1},"TaK060":{"is_viewed":1},"TaK061":{"is_viewed":1},"TaK062":{"is_viewed":1},"TaK063":{"is_viewed":1},"TaK064":{"is_viewed":1},"TaK065":{"is_viewed":1},"TaK066":{"is_viewed":1},"TaK067":{"is_viewed":1},"TaK068":{"is_viewed":0},"TaK069":{"is_viewed":1},"TaK070":{"is_viewed":1},"TaK071":{"is_viewed":1},"TaK072":{"is_viewed":1},"TaK073":{"is_viewed":1},"TaK074":{"is_viewed":1},"TaK075":{"is_viewed":1},"TaK076":{"is_viewed":1},"TaK077":{"is_viewed":1},"TaK078":{"is_viewed":1},"TaK079":{"is_viewed":1},"TaK080":{"is_viewed":0},"TaK081":{"is_viewed":1},"TaK082":{"is_viewed":1},"TaK083":{"is_viewed":1},"TaK084":{"is_viewed":1},"TaK085":{"is_viewed":1},"TaK086":{"is_viewed":1},"TaK087":{"is_viewed":1},"TaK088":{"is_viewed":0},"TaK089":{"is_viewed":0},"TaK090":{"is_viewed":0},"TaK091":{"is_viewed":0},"TaK092":{"is_viewed":1},"TaK093":{"is_viewed":1},"TaK094":{"is_viewed":1},"TaK095":{"is_viewed":1},"TaK096":{"is_viewed":1},"TaK097":{"is_viewed":1},"TaK098":{"is_viewed":0},"TaK099":{"is_viewed":1},"TaK100":{"is_viewed":1},"TaK101":{"is_viewed":1},"TaK102":{"is_viewed":1},"TaK103":{"is_viewed":1},"TaK104":{"is_viewed":1},"TaK105":{"is_viewed":1},"TaK106":{"is_viewed":1},"TaK107":{"is_viewed":1},"TaK108":{"is_viewed":1},"TaK109":{"is_viewed":1},"TaK110":{"is_viewed":1},"TaK111":{"is_viewed":1},"TaK112":{"is_viewed":0},"TaK113":{"is_viewed":1},"TaK114":{"is_viewed":1},"TaK115":{"is_viewed":1},"TaK116":{"is_viewed":1},"TaK117":{"is_viewed":1},"TaK118":{"is_viewed":0},"TaK119":{"is_viewed":1},"TaK120":{"is_viewed":1},"TaK121":{"is_viewed":0},"TaK122":{"is_viewed":0},"TaK123":{"is_viewed":0},"TaK124":{"is_viewed":0},"TaK125":{"is_viewed":0},"TaK126":{"is_viewed":0},"TaK127":{"is_viewed":0},"TaK128":{"is_viewed":0},"TaK129":{"is_viewed":0},"TaK130":{"is_viewed":0},"TaK131":{"is_viewed":0},"TaK132":{"is_viewed":0},"TaK133":{"is_viewed":0},"TaK134":{"is_viewed":0},"TaK135":{"is_viewed":0},"TaK136":{"is_viewed":0},"TaK137":{"is_viewed":0},"TaK138":{"is_viewed":0},"TaK139":{"is_viewed":0},"TaK140":{"is_viewed":0},"TaK141":{"is_viewed":0},"TaK142":{"is_viewed":0},"TaK143":{"is_viewed":0},"TaK144":{"is_viewed":0},"TaK145":{"is_viewed":0},"TaK146":{"is_viewed":0},"TaK147":{"is_viewed":0},"TaK148":{"is_viewed":0},"TaK149":{"is_viewed":0},"TaK150":{"is_viewed":0},"TaK151":{"is_viewed":0},"TaK152":{"is_viewed":0},"TaK153":{"is_viewed":0},"TaK154":{"is_viewed":0},"TaK155":{"is_viewed":0},"TaK156":{"is_viewed":0},"TaK157":{"is_viewed":0},"TaK158":{"is_viewed":0},"TaK159":{"is_viewed":0},"TaK160":{"is_viewed":0},"TaK161":{"is_viewed":0},"TaK162":{"is_viewed":0},"TaK163":{"is_viewed":0},"TaK164":{"is_viewed":0},"TaK165":{"is_viewed":0},"TaK166":{"is_viewed":0},"TaK167":{"is_viewed":0},"TaK168":{"is_viewed":0},"TaK169":{"is_viewed":0},"TaK170":{"is_viewed":0},"TaK171":{"is_viewed":0},"TaK172":{"is_viewed":0},"TaK173":{"is_viewed":0},"TaK174":{"is_viewed":0},"TaK175":{"is_viewed":0},"TaK176":{"is_viewed":0},"TaK177":{"is_viewed":0},"TaK178":{"is_viewed":0},"TaK179":{"is_viewed":0},"TaK180":{"is_viewed":0},"TaK181":{"is_viewed":0},"Tda001":{"is_viewed":1},"Tda002":{"is_viewed":1},"Tda003":{"is_viewed":1},"Tda004":{"is_viewed":1},"Tda005":{"is_viewed":1},"Tda006":{"is_viewed":1},"Tda007":{"is_viewed":1},"Tda008":{"is_viewed":1},"Tda009":{"is_viewed":1},"Tda010":{"is_viewed":1},"Tda011":{"is_viewed":1},"Tda012":{"is_viewed":1},"Tda013":{"is_viewed":1},"Tda014":{"is_viewed":1},"Tda015":{"is_viewed":1},"Tda016":{"is_viewed":1},"Tda017":{"is_viewed":1},"Tda018":{"is_viewed":1},"Tda019":{"is_viewed":1},"Tda020":{"is_viewed":1},"Tda021":{"is_viewed":1},"Tda022":{"is_viewed":1},"Tda023":{"is_viewed":1},"Tda024":{"is_viewed":1},"Tda025":{"is_viewed":1},"Tda026":{"is_viewed":1},"Tda027":{"is_viewed":1},"Tda028":{"is_viewed":1},"Tda029":{"is_viewed":1},"Tda030":{"is_viewed":1},"Tda031":{"is_viewed":1},"Tda032":{"is_viewed":1},"Tda033":{"is_viewed":1},"Tda034":{"is_viewed":1},"Tda035":{"is_viewed":1},"Tda036":{"is_viewed":1},"Tda037":{"is_viewed":1},"Tda038":{"is_viewed":1},"Tda039":{"is_viewed":1},"Tda040":{"is_viewed":1},"Tda041":{"is_viewed":1},"Tda042":{"is_viewed":1},"Tda043":{"is_viewed":1},"Tda044":{"is_viewed":1},"Tda045":{"is_viewed":1},"Tda046":{"is_viewed":1},"Tda047":{"is_viewed":1},"Tda048":{"is_viewed":1},"Tda049":{"is_viewed":1},"Tda050":{"is_viewed":1},"Tda051":{"is_viewed":1},"Tda052":{"is_viewed":1},"Tda053":{"is_viewed":1},"Tda054":{"is_viewed":1},"Tda055":{"is_viewed":1},"Tda056":{"is_viewed":1},"Tda057":{"is_viewed":1},"Tda058":{"is_viewed":1},"Tda059":{"is_viewed":1},"Tda060":{"is_viewed":1},"Tda061":{"is_viewed":1},"Tda062":{"is_viewed":1},"Tda063":{"is_viewed":1},"Tda064":{"is_viewed":1},"Tda065":{"is_viewed":1},"Tda066":{"is_viewed":1},"Tda067":{"is_viewed":1},"Tda068":{"is_viewed":1},"Tda069":{"is_viewed":1},"Tda070":{"is_viewed":1},"Tda071":{"is_viewed":1},"Tda072":{"is_viewed":1},"Tda073":{"is_viewed":1},"Tda074":{"is_viewed":1},"Tda075":{"is_viewed":1},"Tda076":{"is_viewed":1},"Tda077":{"is_viewed":1},"Tda078":{"is_viewed":1},"Tda079":{"is_viewed":1},"Tda080":{"is_viewed":1},"Tda081":{"is_viewed":1},"Tda082":{"is_viewed":1},"Tda083":{"is_viewed":1},"Tda084":{"is_viewed":1},"Tda085":{"is_viewed":1},"Tda086":{"is_viewed":1},"Tda087":{"is_viewed":1},"Tda088":{"is_viewed":1},"Tda089":{"is_viewed":1},"Tda090":{"is_viewed":1},"Tda091":{"is_viewed":1},"Tda092":{"is_viewed":1}}},"playerName":"ヒ"}

Game won't let me open certain nodes...

So on level four there are 3 nodes that I can't complete at all. I have the laingame.com file always open but when I open Dia003, Cou003 or Cou004 the laingame.com file closes itself but the browser stays open. I can't play the audio files inside each node though. These 3 are the only three blue nodes left for me on Level 4, all the others one I was able to open and listen too the audio inside. There is any work around to this, I really want to listen to everything on here at some point. I am on windows 10 and the browser I'm using is Microsoft edge

Any way to play this on my Android phone?

Hey.

I wanna play this on my phone, because I don't have a computer right now. I noticed I likely need to press keys in order to play the game. Any way I can play this game without a keyboard or so? Thanks.

Stuck on a loading screen after exiting a node

Sometimes when i exit a node (with the exit button or by pressing one of the words) i get stuck on the "life instinct function OS" loading screen. The game seems to work fine, i can hear the music playing, and i am able to save my progress, however i cannot see what is happening as it is obstructed by said loading screen.

I use Brave, this was in the browser console:

handleMediaSceneInput.ts:59
Uncaught TypeError: Cannot read properties of null (reading 'paused')
at _o (handleMediaSceneInput.ts:59:17)
at InputHandler.tsx:86:36
at InputHandler.tsx:108:18

Dc1001 does not seem to exist

The node Dc1001 does not exist and thus I cannot unlock Dc1058. I checked the simplified version of the game and found that Dc1058 is unlocked after viewing Dc1001. However, the simplified version states that Dc1001 "Depends on: (nothing)". I tried a fresh save but Dc1001 wouldn't appear even after I got all 4 Gate and all 4 Sskn nodes. I believe this is a bug as I have viewed every node besides those Dc1001 and Dc1058.

I have attached my save file and hope this helps in finding the source of the issue. Or you might just find that I missed the unlock requirements for Dc1001.
Lain Save.txt

"Load State" button not working

Hey, my save file appeared in the text box so I was able to copy it and save it. However, when I put it back into the text box and push "load state," nothing happens. Nothing happens when I reload the page as instructed either. When I push the "start" button to start the game again, it starts from the beginning. How can I go back to where I left off? I appreciate any help.

Edit: I figured it out lolol

missing lain diary entries

I'm assuming this is an intended feature, but in the odd case it isn't...the diary entries for lain numbered 66-74 are missing. how would I go about unlocking them?

management does not work

the game reaches the authorize user and load data stage and I can't do anything because only the up and down arrows work :(

[Bug] Audio file present in Site A - Level 06 - Dia013 Nod does not play properly in Offline version

Hello.
Thanks a lot for the re-creation of this game -- I'm really enjoying it.

I've started to play it Online but then decided to move to the offline version. Not sure why but the audio file in Dia013 does not play after pressing Play button while all nearby nods work as intended. The same save applied to online version triggers no issues.

Tried offline version in Firefox, Chrome and Edge but result is unfortunately the same.
Not sure what exactly might trigger this problem.

How can I make a translation?

Hello, I have a question about how I could create a translation for the game, I saw some of the files and it seems that I only have to create the file corresponding to each audio/video with the ".vtt" extension, am I correct?

Media files are not played when the node is opened

I was playing and suddenly the video and audio recordings stopped turning on. And at the bottom, although subtitles appear, they do not change in any way. And I also do not know how to restart the page without losing game progress, if this solves the problem, then please tell me how to do it.

Error laingame.com

Hi, running the file laingame.com from the console in administrator mode, I get the following error.

F2023-09-26T05:27:44.860067:net/https/finishcertificate.c:31:laingame:17808] write key (grep -0x006c)
error:net/https/finishcertificate.c:31:laingame: fatality DESKTOP pid 17808
ShowBacktrace() needs these flags to show C backtrace:
-D__FNO_OMIT_FRAME_POINTER__
-fno-omit-frame-pointer

Windows 11 64bits

SOLUTION:
launch with -X flag. Terminal in administrator mode-----> laingame.com -X

Audio for Lda222 does not play

As far as I can tell this isn't intentional. Subtitles appear, but no recorded audio plays for this node. Background noise continues. So far this is the only node with this issue I've encountered.

ETA: Also occurred with Tda092, so maybe it's a late-game buffering issue?
ETA2: Seems to be occurring at pretty much every node after continuing after the ending sequence, including nodes I've already visited.

Better audio conversion

Hello!

I couldn't help but notice that the audio quality for the nodes isn't the same as on the playstation. As it was stated before in a pull request, using ffmpeg to convert the files applies a low pass filter to remove aliasing. You could tell ffmpeg to remove the filter but that ignores why the filter is there in the first place and creates artifacts.

By resampling the audio first to 44.1khz with something like r8brain and then converting with ffmpeg, the audio is correctly dithered, no (audible) artifacts are introduced and the frequency spectrum is preserved.

Here is how Cou001 sounds currently:

LAIN01.XA.0.c7687329.mp4

Here is the same node with my proposed approach:

LAIN01.XA.0.c7687329.mp4

Not only that, but the files are almost the same size, with all of the audio only nodes in the game currently being 166MB total while mine are 170MB.

I'd be willing to send the files if you're interested, considering I already converted them. If not, follow this approach to get the same results.

Cheers!

Stuck at Loading screen

I need help because im stuck on the loading screen
it says "Authorize User Load Data" and i let it load for like eternity but its not loading into the game. Please help me asap.

video player not working

hello, i've been having some trouble getting any of the videos to play since the beginning of my gameplay. i've only gotten 2 videos to play out of the 14 levels that i've played: Dc1019 and Dc1018. when these videos play, they play automatically after clicking the Play option. however, when i try to play the other videos, they do not play no matter how many times i click the play button or how long i wait.

i play on a macbook and on a safari browser, could something be blocking the media player in my saved data or browser? thank you for reading

The discord link is broken

I am interested in the project but the discord link is broken. If the discord no longer exists then disregard this issue, I know discord links have a habit of breaking, and thought you might want it brought to your attention.

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.