vn-tools / arc_unpacker

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

Game request: [3rdEye][130628]Gensou no Idea ~Oratorio Phantasm Historia~ #66

Closed marcussacana closed 8 years ago

marcussacana commented 8 years ago

Game info

VNDB link: https://vndb.org/v11881 Developer: 3rdEye Release date: 2013 Original title: 幻創のイデア~Oratorio Phantasm Historia~ Engine: Shiina

Details

Some files i can extract without problem, but some others... the arc_unpacker says: error decoding "??" (Failed to inflate zlib stream (invalid distance too far back near ??)) (?? is file name and a random value)

My Settings:

    plugin_manager.add(
        "gensou",
        "Gensou no Idea ~Oratorio Phantasm Historia~"
        "Gensou no Idea",
        []()
        {
            auto p = std::make_shared<warc::Plugin>();
            p->version = 2490;
            p->entry_name_size = 0x20;
            p->region_image = read_etc_image("region.png");
            p->logo_data = read_etc_file("logo4.jpg");
            p->initial_crypt_base_keys
                = {0xA79DBA45, 0xA9E7A868, 0xA84DA86A, 0, 0};
            p->flag_pre_crypt = warc::get_flag_crypt2();
            p->crc_crypt = warc::get_crc_crypt(read_etc_file("table4.bin"));
            return p;
        });

(srry my english)

rr- commented 8 years ago

You almost got that right, but the keys are little endian, so initial_crypt_base_keys should be {0x45BA9DA7, 0x68A8E7A9, 0x6AA84DA8, 0, 0}. Plus there's new logo image used.

rr- commented 8 years ago

Done:

Example image:

evf_40_02ad

The changes should appear in tonight's build around 1 AM UTC.

marcussacana commented 8 years ago

i see, thanks.