|
#34
|
|||
|
|||
|
RAZOR "true" stdio patch
so this patched dll uses true stdio (no fileio) compression. directly
from ram to ram. it doesnt write anything to disk by itself. as it is ram to ram, it will use more memory compared to fileio. maximum memory usage during compression - input filesize + output file size + compression memory. maximum memory usage during decompression - decompression memory + ~4mb. notes:
compiled with mingw-clang. will add the source code after some cleaning. works fine with arc. added sample arc.ini. for usage instructions see test.bat/arc.ini. edit: fixed a memory leak issue (idk how it slipped past me). removed debug-specific checks that are not required now. some cosmetic changes and removed unused debug code. also fixed a bug where it would fail with freearc decompression. during testing i found out that razor decompressor is sequential so made this patch do sequential streamed decompression. so memory usage is same as (+ ~4 mb) non stdio operations. optimized dll size (115kb to 14 kb). Last edited by wrathma; 18-05-2026 at 13:19. |
| The Following 3 Users Say Thank You to wrathma For This Useful Post: | ||
|
|
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 |