dfhack/shmserver
Petr Mrázek 2bde06a2af Added veinlook, linux SHM produces less spam messages.
Veinlook is a tool that allows looking at the map and the different vein types it contains. This adds ncurses as a dependency on Linux.
2010-02-17 17:49:19 +01:00
..
CMakeLists.txt small tweak to cmakelists 2010-01-05 03:04:42 +00:00
df-hacked some rearrangement of the shm server part, preparing for the windows port 2010-01-04 05:20:28 +00:00
dfconnect.so some rearrangement of the shm server part, preparing for the windows port 2010-01-04 05:20:28 +00:00
readme.txt some rearrangement of the shm server part, preparing for the windows port 2010-01-04 05:20:28 +00:00
shms-linux.cpp Added veinlook, linux SHM produces less spam messages. 2010-02-17 17:49:19 +01:00
shms-proto.cpp Added std::string read/write by belal. Extremely volatile. 2010-02-16 00:04:15 +01:00
shms-windows.cpp fake SDL.dll for the SHM bridge now compiles right using the MS compiler 2010-02-13 00:47:08 +00:00
shms.h Added std::string read/write by belal. Extremely volatile. 2010-02-16 00:04:15 +01:00

readme.txt

Using the shm server:
copy files to DF/libs folder
g++ -fPIC -c dfconnect.c -o dfconnect.o
g++ -shared -o dfconnect.so dfconnect.o -ldl

edit DF/df script and add this line just before DF is called:
export LD_PRELOAD="./libs/dfconnect.so" # Hack DF!

save and run the script!

Has to be compiled for 32bit arch, otherwise the library isn't recognised. Client can be any arch.

Precompiled dfconnect library is made available. dfconnect.so goes in DF/libs, df-hacked script goes in DF/
Run ./df-hacked to use the shared memory API