About This File
When using OllyDbg as a portable version (e.g. on an USB stick) there are always problems with the UDD/Plugin path not being set correctly.
- DLL, which sets Plugins, UDD and win32.hlp paths automatically
- Dummy export so it's easy to add the DLL to your olly mod
- Open source
Attached is DLL + Source, I hope it's useful for somebody. Feel free to modify to your needs, just credit where you think it's needed.
P.S. To add the DLL to your mod: Use CFF explorer to add the import "dummy" (which does nothing) to ollydbg.exe, this will execute the DllMain function (which can be considered illegal) and set the paths in the INI file.
OllyPath2.dll must be in the same directory than ollydbg.exe