kiraio Posted August 17, 2023 Share Posted August 17, 2023 (edited) I didn't think it's the right board to post this. So, guide me, Senpai! Hi, guys! I want to share you a tool to unpack and repack VN game resources made with Light.vn game engine called Light.vnTools. This tool is a C# port of code snippet in https://github.com/morkt/GARbro/issues/440#issuecomment-1091453877. The tool usages are on the project README. As far as I can see, there's not much VN game made with this engine but hey, the engine is good enough to develop a modern VN game aside from its performance. You can find them on here: (prebuilt executable are on Releases page) https://github.com/kiraio-moe/Light.vnTools https://github.com/bungaku-moe/Light.vnTools https://gitlab.com/kiraio-moe/Light-vnTools Edited October 18 by kiraio Fixes grammar, add links to another backup repository Zakamutt and Entai2965 1 1 Quote Link to comment Share on other sites More sharing options...
Zakamutt Posted August 17, 2023 Share Posted August 17, 2023 Doesn't find the right encryption key for this https://www.freem.ne.jp/win/game/17154 (files are gibberish) Quote Link to comment Share on other sites More sharing options...
kiraio Posted August 17, 2023 Author Share Posted August 17, 2023 (edited) On 8/17/2023 at 11:03 PM, Zakamutt said: Doesn't find the right encryption key for this https://www.freem.ne.jp/win/game/17154 (files are gibberish) Hi, it uses the same encryption key as Light.vnTools. In this case, it isn't the contents of the `vndat` file that are encrypted with xor cipher, but the `vndat` file itself that are password protected. Try to rename `vndat` file as `zip` and extract it. It will prompt you the password. Use this key: d6c5fKI3GgBWpZF3Tz6ia3kF0 Anyway, thanks for reporting. I'll update the tool soon Edited August 19, 2023 by kiraio Clarify who's being encrypted. Zakamutt 1 Quote Link to comment Share on other sites More sharing options...
kiraio Posted August 19, 2023 Author Share Posted August 19, 2023 Light.vnTools are now supporting Soul Engine[1]! Commit: ea9a31d4077a3f4e628b8bfa6b7a7c08c9642fb0 [1] Is this the beta version of Light.vn? I can't read JP Quote Link to comment Share on other sites More sharing options...
Zakamutt Posted August 19, 2023 Share Posted August 19, 2023 41 minutes ago, kiraio said: Light.vnTools are now supporting Soul Engine[1]! Commit: ea9a31d4077a3f4e628b8bfa6b7a7c08c9642fb0 [1] Is this the beta version of Light.vn? I can't read JP It's a "narrative game creation engine" that "inherits light.vn's functions" but as far as I can tell, the github page says that "there is no download because the beta version is still under construction" and the beta is expected to be out "in 2017". Well, it's 2023 and the text isn't updated, damn son. So basically you have the order wrong, light.vn came first and the soul engine... may not actually exist. The terms used to describe it by the creator get kind of near spiritual which is, uhh, I follow the guy on twitter and he seems into buddhist-y stuff so maybe that makes sense lol. Anyway, I don't think this himawari (and also kodoku no yurikago, which is by the same developer and seemed to use the same zip password actually) used soul engine, they just call "light.vn" their engine. It's likely just a different version using a different encryption scheme. That said, it's possible the light.vn dev and the himawari dev were in contact and the himawari dev used an indev version of the engine with different features. kiraio 1 Quote Link to comment Share on other sites More sharing options...
kiraio Posted August 20, 2023 Author Share Posted August 20, 2023 20 hours ago, Zakamutt said: It's a "narrative game creation engine" that "inherits light.vn's functions" but as far as I can tell, the github page says that "there is no download because the beta version is still under construction" and the beta is expected to be out "in 2017". Well, it's 2023 and the text isn't updated, damn son. So basically you have the order wrong, light.vn came first and the soul engine... may not actually exist. The terms used to describe it by the creator get kind of near spiritual which is, uhh, I follow the guy on twitter and he seems into buddhist-y stuff so maybe that makes sense lol. Thanks for explaining. I did some google translating, but get confused with it's poetic like language. 20 hours ago, Zakamutt said: Anyway, I don't think this himawari (and also kodoku no yurikago, which is by the same developer and seemed to use the same zip password actually) used soul engine, they just call "light.vn" their engine. It's likely just a different version using a different encryption scheme. That said, it's possible the light.vn dev and the himawari dev were in contact and the himawari dev used an indev version of the engine with different features. Welp, I found it by coincidence . I tried to extract it and the password input just popped up, so I just slap it with the current key and.... work! LOL Zakamutt 1 Quote Link to comment Share on other sites More sharing options...
Zakamutt Posted August 21, 2023 Share Posted August 21, 2023 FWIW, I managed to get my hands on Function:W(); and it also works to extract now. It seems like the encryption key is shared b/w lots of these old VNs. kiraio 1 Quote Link to comment Share on other sites More sharing options...
kiraio Posted July 4 Author Share Posted July 4 On 8/21/2023 at 12:24 PM, Zakamutt said: FWIW, I managed to get my hands on Function:W(); and it also works to extract now. It seems like the encryption key is shared b/w lots of these old VNs. It's seems like pretty popular engine in Japan. FYI, Light.vn is now available in English language. If it's getting popular in the future, there maybe some major changes to the encryption scheme. But for now, the tool is worked as it is. Zakamutt 1 Quote Link to comment Share on other sites More sharing options...
vocaotome Posted September 30 Share Posted September 30 The github releases seem to have been taken down, does anyone have a backup of this tool? Quote Link to comment Share on other sites More sharing options...
Zakamutt Posted September 30 Share Posted September 30 1 hour ago, vocaotome said: The github releases seem to have been taken down, does anyone have a backup of this tool? check PMs Quote Link to comment Share on other sites More sharing options...
tsingh_66941 Posted October 8 Share Posted October 8 Since the releases on github have been removed, kindly send if the backup file kept. Quote Link to comment Share on other sites More sharing options...
Sisulizer Posted October 8 Share Posted October 8 You can find source in the forks Quote Link to comment Share on other sites More sharing options...
kiraio Posted October 14 Author Share Posted October 14 On 10/8/2024 at 2:26 PM, tshingh_66941 said: Since the releases on github have been removed, kindly send if the backup file kept. I've the mirror on GitLab & my own GitHub organization. https://github.com/bungaku-moe/Light.vnTools https://gitlab.com/kiraio-moe/Light.vnTools Quote Link to comment Share on other sites More sharing options...
tsingh_66941 Posted October 18 Share Posted October 18 On 10/14/2024 at 6:10 AM, kiraio said: I've the mirror on GitLab & my own GitHub organization. https://github.com/bungaku-moe/Light.vnTools https://gitlab.com/kiraio-moe/Light.vnTools Is there exe format program exist? I dont know how to decrypt the files by these code files. Quote Link to comment Share on other sites More sharing options...
kiraio Posted October 18 Author Share Posted October 18 1 hour ago, tshingh_66941 said: Is there exe format program exist? I dont know how to decrypt the files by these code files. I've released the prebuilt. You can find it on https://github.com/bungaku-moe/Light.vnTools/releases | https://gitlab.com/kiraio-moe/Light-vnTools/-/releases Quote Link to comment Share on other sites More sharing options...
mijimoto Posted October 20 Share Posted October 20 Can anyone please help I'm using https://github.com/bungaku-moe/Light.vnTools/releases to extract data from 2 games using lightvn engine The first is Clear Rain https://vndb.org/v12720 I encounter this problem when extracting https://imgur.com/ox1PVPa and can't run the extracted file The second is putrika1stcut https://vndb.org/v49261 It somehow just return the decode and encode file if I put the file into extractor https://imgur.com/zTRv0rG Can anyone help me to extract file from those 2 game please Quote Link to comment Share on other sites More sharing options...
kiraio Posted October 21 Author Share Posted October 21 Sorry for the inconvenience. This problem likely occurred with mismanaged FileStream. 19 hours ago, mijimoto said: It somehow just return the decode and encode file if I put the file into extractor https://imgur.com/zTRv0rG While this is the current limitation of the tool as you can see on the project README. We can't recover the original filename like the old Light.vn version because it has been stripped on the build process. You need to put the file in a hex editor program like ImHex and see the file header to determine the file extension. 19 hours ago, mijimoto said: I encounter this problem when extracting https://imgur.com/ox1PVPa and can't run the extracted file I've been working on this but don't know when it will be finished. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.