Portal-Zone Gothic-Zone Gothic II-Zone Gothic 3-Zone Gothic 4-Zone Modifikationen-Zone Download-Zone Foren-Zone RPG-Zone Almanach-Zone Spirit of Gothic

 

Ergebnis 1 bis 4 von 4
  1. Beiträge anzeigen #1 Zitieren
    Neuling Avatar von Gratt
    Registriert seit
    Jan 2021
    Beiträge
    6
     
    Gratt ist offline

    Zipped VDF + compression tool

    Hello guys 🙂!
    I decided to do a little experiment. I added supporting of a zip-compressing of VDF volumes in my vdfs32g.dll (library from Union project). For now some mods (cheeked on RUS community projects and LoA from wop.de) are compressed on 50% or more. For good performance was written a segmented compression format. VDFS can access to any file information without complete decompressing. Decompressed information will be added to the cache for quick re-use.
    See details about format and compression library this: https://github.com/Gratt-5r2/ZippedStream

    For compress can be used VDFS tool with a ZIP support (see link below). For saving zipped volumes click on [Files->SaveAs] and choose [Zipped VDF/MOD] format. +Optional can be checked a backup checkbox [Volume->Create backups on save].

    IMPORTANT: For now Ogg cannot be compressed to zip, I will add support later (but it makes no sense, because Ogg almost doesn't compress).

    So, interesting to discuss about this.

    Library and VDFS tool: https://drive.google.com/drive/folde...TA?usp=sharing

    Russian thread of tool: https://worldofplayers.ru/threads/42314/

    Tests of Unofficial update v24 (RUS):
    g2a_nr_scriptpatch_v24.mod 184 576 КБ -> 69 898 ККБ (37,9%)
    g2a_nr_scriptpatch_v24_speech_add.mod 2 700 КБ​ -> 2 315 КБ​ (85,7%​)
    g2a_nr_scriptpatch_v24_speech_fix.mod 20 264 КБ​​ -> 17 014 КБ​ (84,0%​)
    g2a_nr_scriptpatch_v24_wasteland.mod 46 880 КБ​​ -> 16 200 КБ​ (34,6%​)
    g2a_nr_scriptpatch_v24_widescreen.mod 6 146 КБ​​ -> 3 936 КБ​ (64,0%)
    Geändert von Gratt (06.04.2021 um 09:03 Uhr)

  2. Beiträge anzeigen #2 Zitieren
    now also in your universe  Avatar von Milky-Way
    Registriert seit
    Jun 2007
    Beiträge
    15.244
     
    Milky-Way ist offline
    That's pretty cool! How does it affect start / load / save times?

  3. Beiträge anzeigen #3 Zitieren
    Neuling Avatar von Gratt
    Registriert seit
    Jan 2021
    Beiträge
    6
     
    Gratt ist offline
    Zitat Zitat von Milky-Way Beitrag anzeigen
    That's pretty cool! How does it affect start / load / save times?
    Hi! New start and load times are almost the same. But loads of some textures in run-time may look a little longer. I plan to fix it soon if it's interesting to someone

  4. Beiträge anzeigen #4 Zitieren
    Abenteurer Avatar von Senlax
    Registriert seit
    Jan 2021
    Ort
    HH
    Beiträge
    92
     
    Senlax ist offline
    Zitat Zitat von Gratt Beitrag anzeigen
    Hello guys 🙂!
    I decided to do a little experiment. I added supporting of a zip-compressing of VDF volumes in my vdfs32g.dll (library from Union project). For now some mods (cheeked on RUS community projects and LoA from wop.de) are compressed on 50% or more. For good performance was written a segmented compression format. VDFS can access to any file information without complete decompressing. Decompressed information will be added to the cache for quick re-use.
    See details about format and compression library this: https://github.com/Gratt-5r2/ZippedStream

    For compress can be used VDFS tool with a ZIP support (see link below). For saving zipped volumes click on [Files->SaveAs] and choose [Zipped VDF/MOD] format. +Optional can be checked a backup checkbox [Volume->Create backups on save].

    IMPORTANT: For now Ogg cannot be compressed to zip, I will add support later (but it makes no sense, because Ogg almost doesn't compress).

    So, interesting to discuss about this.

    Library and VDFS tool: https://drive.google.com/drive/folde...TA?usp=sharing

    Russian thread of tool: https://worldofplayers.ru/threads/42314/

    Tests of Unofficial update v24 (RUS):
    g2a_nr_scriptpatch_v24.mod 184 576 КБ -> 69 898 ККБ (37,9%)
    g2a_nr_scriptpatch_v24_speech_add.mod 2 700 КБ​ -> 2 315 КБ​ (85,7%​)
    g2a_nr_scriptpatch_v24_speech_fix.mod 20 264 КБ​​ -> 17 014 КБ​ (84,0%​)
    g2a_nr_scriptpatch_v24_wasteland.mod 46 880 КБ​​ -> 16 200 КБ​ (34,6%​)
    g2a_nr_scriptpatch_v24_widescreen.mod 6 146 КБ​​ -> 3 936 КБ​ (64,0%)
    Thats a nice tool
    Thank you!
    Der Senlax war's

    ein Modder-Krüppel schlecht hin

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
Impressum | Link Us | intern
World of Gothic © by World of Gothic Team
Gothic, Gothic 2 & Gothic 3 are © by Piranha Bytes & Egmont Interactive & JoWooD Productions AG, all rights reserved worldwide