Install required dependencies
$ pacman -S avahi pulseaudio-zeroconf
If you want to play on HumbleBundle edition of Torchlight you need old libSDL2 library. | |
Someone forgotten about that. | |
With latests libSDL2 it won't work. You will have issues with mouse pointer. | |
Cursor will have black outline. You won't be able to click on anything etc. | |
So I prepared modified libSDL2 lib which will able you to play this game with no issues. | |
https://drive.google.com/file/d/0B1WBC6JhUyLKZDRrTkxMVzA3S28/edit?usp=sharing | |
That's those libSDL libs. You need to copy it to lib64 dir where you've installed Torchlight, in my case it was /home/kkszysiu/.games/Torchlight/lib64/ |
struct membuf : std::streambuf | |
{ | |
membuf(char *begin, char *end) : begin(begin), end(end) | |
{ | |
this->setg(begin, begin, end); | |
} | |
virtual pos_type seekoff(off_type off, std::ios_base::seekdir dir, std::ios_base::openmode which = std::ios_base::in) override | |
{ | |
if(dir == std::ios_base::cur) |
(gdb) hbreak *0x0c17218a | |
Hardware assisted breakpoint 1 at 0xc17218a | |
(gdb) c | |
Continuing. | |
Breakpoint 1, 0x0c17218a in ?? () | |
1: x/i $pc | |
=> 0xc17218a: mov.l @r10,r8 | |
(gdb) si | |
p0x0c17218c in ?? () | |
1: x/i $pc |