Jump to content

[Tool] Light.vnTools - Game Resources Unpacker & Repacker for Light.vn based game


kiraio

Recommended Posts

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)

Edited by kiraio
Fixes grammar, add links to another backup repository
Link to comment
Share on other sites

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 by kiraio
Clarify who's being encrypted.
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • 10 months later...
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.

Link to comment
Share on other sites

  • 2 months later...

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...