|
#11
|
|||
|
|||
|
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 |