Search the Community
Showing results for tags 'poc'.
Found 2 results
-
GRF Diet Plan About This tool is a feature test of RO Patcher Lite's GRF library. It reduces GRF archive size by eliminating duplicated data, with non-shared palettes giving the best ratios. No client modifications are needed. See readme.txt for more details. Known Issues Using the "use best compression" option (off by default) might cause the client being unable to read certain files or degrade performance. Download & Website http://nn.ai4rei.net/dev/rotools/ License This work is licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 Unported License.
- 10 replies
-
- palette
- ro patcher lite
-
(and 3 more)
Tagged with:
-
Simple DLL Loader for RO Clients About If you expect some super simple application, let me disappoint you, there is none; everything is already part of the RO client. Consider this post as a proof-of-concept. There are also certain catches that you should be aware of, before you start jumping for joy. All you need to do, is to give your library a .asi, .m3d or .flt extension instead of .dll and it will miraculously get loaded by the client when it starts up and is unloaded once it shuts down. While you can load pretty much any dynamic library this way, there is a major catch: when your DLL gets loaded, most of the initialization is already complete and the window is already visible, DirectX is not initialized at that point. So while this might be ideal for a client plug-in, that messes with the window or the client runtime, it's probably less usable for hot-patching of the initialization code. Another catch is, that the client will load fine when your DLL is deleted. Summary: While the process of loading a DLL with the extensions .asi, .m3d and .flt is simple, the point at which it gets loaded might be unsuitable for certain uses. Since it's not intrusive, it might be of use for client plug-ins. Demo: The linked demo consists of a pre-build DLL with source, that displays a message when loaded and unloaded for convenience of testing this PoC. Edit: Another issue noticed by Cataclysm: If "Sound Mode" in RO setup is set to "No Sound", DLLs will not be loaded. Download demo QA How does this work? Your DLL is loaded as a driver for the Miles Sound System (mss32.dll), but since it does not register with it, it does not interfere with it in any way. License This work is licensed under a Creative Commons Attribution 3.0 Unported License.