|
|
|
#1
|
||||
|
||||
|
Some small bug
Code:
Found 247 .wem files to pack (recursive) Using 12 threads [███████████████████████████████████████░] 246/247 (99.6%) ETA: 0s All files packed successfully! Another bug in decode mode Code:
Found 389 .ww files to unpack (recursive) Using 12 threads [█████████████████████████████████████████████████░] 388/389 (99.7%) All files unpacked successfully! [██████████████████████████████████████████████████] 389/389 (100.0%) Surprised how fast this is compared to WemTool Code:
input 339mb output 316mb wem-packer encode 17sec decode 5sec wemtool encode 50sec decode 16sec Edit: Impressive Code:
input 5,12gb output 4,82gb wem-packer encode 10m30s decode 2m40s wemtool encode 30m20s decode 13min Suggestions: Add -c option for hdiffz compression Change skip -s option to skip files even if they are same size as input -> equal or greater then
__________________
Haters gonna hate
Last edited by KaktoR; 12-04-2026 at 14:25. |
| The Following 2 Users Say Thank You to KaktoR For This Useful Post: | ||
Masquerade (13-04-2026), wrathma (12-04-2026) | ||
| Sponsored Links |
|
#2
|
|||
|
|||
|
Very nice tool wrathma and pleased someone has nulled the need for my bat2exe nightmare creation.
|
| The Following User Says Thank You to Masquerade For This Useful Post: | ||
wrathma (13-04-2026) | ||
|
#3
|
|||
|
|||
|
Quote:
doesnt work great with multithreaded operations. so i removed it and added a simple progress bar. should be fixed by now. also added -c option for hdiffz. everything you pass after this will be passed directly to hdiffz -c-{here}. example - Code:
wem-packer.exe -czstd-22 wemfolder -> hdiffz -c-zstd-22 ... Quote:
files (crc error). but doing oggre_enc on the output of oggre_dec will always give same files. try this out yourself on diffrent ogg files you will get it. i have never used revord, i guess ww2ogg works so ill use it for now (rule of engineering, if it works dont touch it). xdelta3 and hdiffz could be interchanged as they are basically doing the same thing. i have added a xdelta build for you. keep in mind that xdelta produces a little bigger diff files compared to hdiffz. tho the difference is minor. during my tests, the entire tool running on 20 threads didnt cross the 500 mb ram usage mark. stayed mostly on 380-400 mb of ram usage (wempak+hdiffz+oggre+ww2ogg). applying patch is easy while making patch is harder and takes lot of ram. but when the files are small ram usage also goes down. golang turned down support for windows xp long ago i forgot to mention that so this tool shouldnt really work on windows xp. i dont even ship wemunpak on my repacks and neither should you. the binary is bloated with golang bloat code. this is why i added a feature to make a batch file to run the entire decompression chain. check the -n option. you can then ship the batch file with the tools (hpatchz+oggre) and a parallel processor (prl or mparallel) Quote:
work on all processors. golang programs are compiled and they are standalone. unlike python/nodejs you dont need a interpreter to be installed on the user end to run this. honestly i dont see any reason to rewrite this tool into cpp/c. performance difference would be minor or nonexistent, but this type of tool is not meant to be coded in these low level languages. i have seen your cpp code, you mostly copied my structure a to z but the encoding/decoding logic is not there. if you complete this on c the binary sizes might be cut to half or even more. and it would probably work on older systems. if you follow what i do, i pack the files in a modern device and then ship the tools required with a batch file. well if you want feel free to rewrite this tool in c/cpp. |
| The Following User Says Thank You to wrathma For This Useful Post: | ||
KaktoR (20-04-2026) | ||
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Support and Help on Game Compression Tools and Methods | Snake288 | Conversion Tutorials | 4 | 18-04-2020 06:30 |
| Help choosing an mp3 player | ikermalli | Media Players | 8 | 22-08-2010 23:15 |
| [REQ] Pac-Man World 2 Starforce 3 Crack (RLD Tools inside) | newone111 | PC Games | 48 | 21-03-2010 00:22 |
| Frequently Asked Questions | Joe Forster/STA | PC Games - Frequently Asked Questions | 0 | 29-11-2005 09:48 |
| Daemon Tools Question | Overthere | PC Games | 11 | 16-06-2003 17:02 |