|
|
|
#1
|
|||
|
|||
|
Quote:
![]() btw i tried your winxp builds and it works fine on my vm, can you share how you did that ? did you use very old visual studio ? |
| Sponsored Links |
|
#2
|
|||
|
|||
|
The source code wouldn't compile by hand... (Neither with MinGW nor with w64devkit.)
The main solution was (if all files are in the correct right place), that I had to generate a MinGW-compatible "Makefile" from the "CMakeLists.txt" file using "cmake" in "w64devkit". (last v2.6.0 or 2.7.0 with GCC15.2.0. I'm looking now, v2.8.0 has already been released.) In principle it was this: cmake -G "MinGW Makefiles" "CMakeLists.txt" After that, I just had to run "mingw32-make.exe" and the binary file was ready. (After that, I cut out the excess with "strip.exe".) "*_laa.exe" was created by patching the original file with a small program called "4gb_patch". w64devkit can also build XP-compatible EXEs. (With some luck.) These lines changed to: /SUBSYSTEM:CONSOLE,6.01 --> 5.01 not resolve and generate XP-compatible binaries? Visual Studio?? As far as I know, it's very difficult to get this nowadays (let alone install it offline), not to mention the many GB of storage space required... By any chance, you don't have the xp v141 package on your machine? There might be a couple of CAB compression sources. What does it actually do, compared to makecab? Rust, you don't have it installed by any chance? Last edited by kj911; 12-05-2026 at 14:17. Reason: links added |
| The Following User Says Thank You to kj911 For This Useful Post: | ||
wrathma (12-05-2026) | ||
|
#3
|
|||
|
|||
|
Quote:
args to try to add xp support. yes i also tried /SUBSYSTEM:CONSOLE,5.01 it doesnt help much. as i have seen using it and not using it is the same. if it were to run on winxp it would run without this. btw even if you have v141_xp toolset, cmake will try to target latest toolset. you have to specify it before building like this. Code:
cmake -G "Visual Studio 18 2026" -A Win32 -T v141_xp -B build but thanks for the tip, i never knew using non msvc compiler could fix it. Last edited by wrathma; 12-05-2026 at 14:58. |
|
#4
|
|||
|
|||
|
CMake can, in principle, be configured to always use the given "toolkit" to compile the given source code. (ex: Ninja, MinGW, VisualStudio, etc...)
To be honest, I don't have much experience with these programs,.. If, the package is put together well, the desired/tested program can usually be produced, if there is source code for it. Manual patching of EXEs does not always solve the problem of whether they can be run on XP? (If, Vista+ compatible EXEs are released after compilation.) If there are no significant number of Vista/7 kernel-specific calls in the binary file, then they usually work on XP as well. |
|
#5
|
|||
|
|||
|
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: | ||
|
#6
|
|||
|
|||
|
Quote:
|
|
#7
|
|||
|
|||
|
Quote:
as some bugs and dead code unfortunately slipped past me on my last build. a bsod-level issue was fixed. and overall dll size dropped by almost 90%. will try to be more careful from now. Quote:
eliminating the need to copy stdin to a temp file. if you try using it on a hdd you will understand the difference. decompression is same as Razor12911's build. also a smaller dll wouldnt hurt i think (1.6mb vs 14kb) ![]() out of my skillset
|
| The Following User Says Thank You to wrathma For This Useful Post: | ||
Dunnowho69 (19-05-2026) | ||
|
#8
|
||||
|
||||
|
The difference is no temp file copy which simply means it is faster. Not compression itself but it simply doesn't make any temp files. If you use this to compress files on HDD it should make a clear difference in overall compression times. With the old stdio patch rz.exe will copy temp from HDD to HDD (same as lolz does). This step is obsolete. There is nothing faster than RAM copy.
__________________
Haters gonna hate
|
| The Following User Says Thank You to KaktoR For This Useful Post: | ||
Dunnowho69 (17-05-2026) | ||
|
#9
|
|||
|
|||
|
The other day I noticed that the original Razor compressor (rz.exe) created a 32MB temporary file in the %TEMP% folder while testing a 7+ GB archive. Maybe because it would have run faster, testing/unpacking the compressed data, than the HDD speed.
Could someone port Razor to WinXP?? There is an early, v0-1 "draft" source code, heaven knows where it came from. The point is that the program can be compiled for XP, but it doesn't matter what kind of compiler. The MinGW version compresses EXEs worse than the "draft" EXE. This one runs on XP with a little patching. It only handles one file, it's not "fuzzsafe" or whatever they call it. The compression difference is 3-4% worse in favor of the v1.0x series, with a dictionary size of 64MB. There is also a decoder/decompressor compatible with the original RZ, but whether this can be ported to WinXP is a good question. |
|
#10
|
|||
|
|||
|
^^
Maybe you'd get a better answer asking on encode's forum. |
|
#11
|
|||
|
|||
|
I've updated KaktoR's Oodle library collection to add a few more Oodle libraries I have stored on my hard drive.
Original post here. Please note that the v numbers in the dll names do not indicate the "version" of Oodle used. neither do the core numbers since these can be easily renamed. Ofc to use these dlls with oo2rec or XTool you will need to remove the _v* after win64. |
![]() |
|
|
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 |