1st of all, sorry I only know windows environment -- windows sux !!
2nd, yeah I agree too, this took me 2 days to figure out how to do this
reference topic
Prelude
make sure you already know how to install a plugin
http://herc.ws/wiki/Building_HPM_Plugin_for_MSVC
yup ~ use the new method ~ ( maybe I should've remove the old method already ... )
and add "mapcache" to your "hercules\conf\plugins.conf"
Run command prompt
1. [Windows Key] + [R] -> type cmd
https://drive.google.com/file/d/19Ni-NUAZusaCgEX6xnXxasZDLHtkW-N-/view?usp=sharing
2. point to your Hercules emulator folder, and type mapserver.exe --help
https://drive.google.com/file/d/1EpB4jxaB3VAO0XzB9gJq7t6fmtBb4RZ5/view?usp=sharing
3. type mapserver.exe --map <YourMap>
https://drive.google.com/file/d/1Q68HSNaxvGEwsm6UeHEcgL2BY-JpKNgV/view?usp=sharing
now that you know the commands ... lets do it easier way
Windows Execution File -- Create Shortcut
1. point to your map-server.exe, and create shortcut
https://drive.google.com/file/d/15szzAa8Fuef9UQUjB3rsygNafoLtr6Tm/view?usp=sharing
2. right-click, Properties, and edit the Target Location/Target (this example is my hercules directory)
D:\Ragnarok\Hercules\map-server.exe --map <YourMap>
https://drive.google.com/file/d/1hwqPrJE4M53QkoAeiuA4pFCF1A8ZHPpz/view?usp=sharing
whenever I want to add new maps, I just need to edit the Target field, and double click the program ~ fast and easy ~
Fun Facts !!
do you know you can use GM command in map-server.bat ?
https://drive.google.com/file/d/15gOf4vgl9HWc58Q8Jdn9Vbbza5lY5ek6/view?usp=sharing