vn-tools / arc_unpacker

CLI tool for extracting images and sounds from visual novels.
GNU General Public License v3.0
562 stars 83 forks source link

Game request: multiple Luxury games #51

Closed CATION-M closed 7 years ago

CATION-M commented 7 years ago

Information: a) おお勇者よ、イってしまうとは情けない! http://www.getchu.com/soft.phtml?id=859767

b) 魔王のくせに生イキだっ! とろとろトロピカル! http://www.getchu.com/soft.phtml?id=813499

Asmodean's tools: http://asmodean.reverse.net/pages/exmaotarc.html

Asmodean's tool has not been updated in 3 years. Plz support these games.

Thank you.

rr- commented 7 years ago

@CATION-M could you please link to VNDB? Thanks

CATION-M commented 7 years ago

I‘m sorry...They’re here...

a) おお勇者よ、イってしまうとは情けない! https://vndb.org/v17769

b) 魔王のくせに生イキだっ! とろとろトロピカル! https://vndb.org/v15360

rr- commented 7 years ago

「おお勇者よ、イってしまうとは情けない!」is done and will appear in tonight's build (01:05 UTC).

「魔王のくせに生イキだっ! とろとろトロピカル!」 uses Themida which is way over my level. I'll try to poke around, but please don't expect too much.

In the future, please make a separate issue for every game, even if they're from the same studio. Often they use completely different game engines and it's inefficient to have an issue track progress of multiple games at once.

CATION-M commented 7 years ago

OK. Thank you so much.

rr- commented 7 years ago

Progress update - I managed to obtain the key which is qkh873z1. Now I need to figure out the compression or lack thereof. Doing so without game code is going to be difficult.

rr- commented 7 years ago

OK, the compression is the same as in asmodean's exmaotarc which I have initially overlooked in the opening post. Support for 「魔王のくせに生イキだっ! とろとろトロピカル!」 should be complete - just remember to pass additional CLI switches with game key etc.

Please let me know if the recent changes work for you once the nightly build is complete.

CATION-M commented 7 years ago

Thank you so much!!!!

But I unpacked 「魔王のくせに生イキだっ! とろとろトロピカル!」 in Windows10, I can unpack, But I can't open .png & .dds...

e.g.

[task 1] 02~.ARC: decoding of "png/Alt_start_bg.png" finished. [task 1986] 02~.ARC/png/Alt_start_bg.png: initial recognition... [task 1986] 02~.ARC/png/Alt_start_bg.png: guessing decoder among 1 decoders... [task 1986] 02~.ARC/png/Alt_start_bg.png: not recognized by any decoder. [task 1984] 02~.ARC/png/bg_ed00.png: saved to ./02~.ARC/png/bg_ed00.png [task 1985] 02~.ARC/png/BG_CGMode_000.png: saved to ./02~.ARC/png/BG_CGMode_000.png [task 1986] 02~.ARC/png/Alt_start_bg.png: saved to ./02~.ARC/png/Alt_start_bg.png

Where is the mistake? Not recognized by any decoder? But I've updated.

rr- commented 7 years ago

The important part is whether you can open the files in the explorer. When it says PNG is not recognized, it means there's nothing further to decode (because PNG doesn't need to be further decoded). That's poor choice of words, but in the end, the files should be there. Please check them.

CATION-M commented 7 years ago

Thanks for your reply.

This's sample of my unpacked: link (redacted away - rr-)

I can't open it. :(

rr- commented 7 years ago

Ok, which game? Also the file you linked is encrypted...

rr- commented 7 years ago

@CATION-M this just a guess, but have you supplied correct command line switches like I asked to?

just remember to pass additional CLI switches with game key

They're described in the game list: https://rawgit.com/vn-tools/arc_unpacker/master/GAMELIST.htm#luxury

CATION-M commented 7 years ago

@rr- I tried to use 「--dec=tactics/arc --arc-key=qkh873z1 --arc-pack=variable-lzss」&「--dec=tactics/arc --arc-key=qkh873z1」...But I didn't succeed.

arc_unpacker.exe "d:\a\01.arc" --dec=tactics/arc --arc-key=qkh873z1 --arc-pack=variable-lzss

Is there another method to use?

rr- commented 7 years ago

Hmm.. it looks good.. here's the full command I use:

./build/arc_unpacker ~/vn/done/\[Luxury\]\[140829\]Maou\ no\ Kuse\ ni\ Namaiki\ da\!\ Torotoro\ Tropical\!/*.arc --arc-key=qkh873z1 --arc-pack=variable-lzss

Version .0.10-349-gf1cd3ca.

With this I'm able to unpack b_01a.png (and other files) just fine: b_01a

Maybe you've got different release that uses another key? I'll make sure it isn't Windows↔Linux incompatibility thing...

rr- commented 7 years ago

Wait a minute, the nightly builds are way too old!

CATION-M commented 7 years ago

@rr- Ah...I always thought that 「--dec=tactics/arc」 is a required parameter...

rr- commented 7 years ago

@CATION-M It's always good to pass --dec but often it's not necessary. Not passing it incurs the cost of format autodetection though.

I'm sorry, looks like the nightly builds were broken since 5fa452ef501e7b7a79db64e6ba44d285d605ba31 (about 2 weeks) - the ABI has changed in a way that incremental build didn't catch and it has been failing ever since. I cleaned the build directory and generated new build that includes the new decoders.

https://tmp.sakuya.pl/au/arc_unpacker-0.10-349-gf1cd3ca-bin.zip

CATION-M commented 7 years ago

@rr- I realized that the use of arc_unpacker and asmodean are different, and now I have succeeded.

Thank you. :)

rr- commented 7 years ago

:+1: