Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - dierre

Pages: [1] 2
1
DF Modding / Re: DFHack 0.4.0.7b - tools and memory access library
« on: September 19, 2010, 06:02:06 am »
On linux, I'm getting this
Code: [Select]
pread failed: can't read 0x3c bytes at address 0xa9536288
errno: 16
terminate called after throwing an instance of 'DFHack::Error::MemoryAccessDenied'
  what():  SHM ACCESS DENIED
Aborted

error too. I'm on a custom compile of kernel 2.6.32 and I still have the sources for it. If you want me to play with some kernel settings, just let me know :).

I used the last memory-ng from the git repository and I'm ok now. Even with stonesense.

2
DF Modding / Re: [0.31.13v00] Phoebus' Graphic Set (Updated & New Tileset)
« on: September 17, 2010, 06:52:41 am »
The linux preinstalled version is corrupted.

It works, it just has a typo in the file extension (tar.bz instead of tar.gz)
Ops, didn't notice it, sorry.

3
DF Modding / Re: [0.31.13v00] Phoebus' Graphic Set (Updated & New Tileset)
« on: September 17, 2010, 05:27:15 am »
The linux preinstalled version is corrupted.

4
DF Modding / Re: DFHack 0.4.0.7b - tools and memory access library
« on: September 10, 2010, 06:44:04 pm »
Take your time. BTW DwarfTherapist uses this file for memory access: http://greatred-dwarftherapist.googlecode.com/hg/etc/memory_layouts/linux/v0.31.12.ini

maybe it's helpful.

5
DF Modding / Re: DFHack 0.4.0.7b - tools and memory access library
« on: September 09, 2010, 04:08:42 pm »
Ok, I did some other empirical tries. The problem is not the kernel-pae. It works with the non-pae too. It's just that sometimes it can't catch the right address, sometime it can.

The current error is here:

Code: [Select]
pread failed: can't read 0x30 bytes at address 0xb3fd2258
errno: 16
terminate called after throwing an instance of 'DFHack::Error::MemoryAccessDenied'
  what():  SHM ACCESS DENIED
Aborted
dierre@cox:~/Programmi/stonesense$

6
DF Modding / Re: DFHack 0.4.0.7b - tools and memory access library
« on: September 08, 2010, 01:16:24 pm »
I've removed link. Sorry folks. It's a trusted forum, one of their ads service had an advertise with a malware.

7
DF Modding / Re: DFHack 0.4.0.7b - tools and memory access library
« on: September 08, 2010, 08:24:03 am »
Hmm... doesn't tell me much unfortunately. The layout is quite different, but the binary itself seems to be mapped into the same place... I'll have to do a bit of research it seems.

well, if you need something else, just let me know.

9
DF Modding / Re: DFHack 0.4.0.7b - tools and memory access library
« on: September 08, 2010, 06:24:54 am »
generic-PAE

http://pastebin.com/5CPeF8CE

I have to reboot.

10
DF Modding / Re: DFHack 0.4.0.7b - tools and memory access library
« on: September 08, 2010, 06:17:33 am »
I'm using a 32bit kernel so if you want to try something just let me know.
It would be awesome if you could get the memory layout (/proc/pid/maps) of the same version of DF running under the generic and -pae kernels.

Just to be clear:

Code: [Select]
cat /proc/`pidof Dwarf_Fortress`/maps | grep Dwarf
This, right?

11
DF Modding / Re: DFHack 0.4.0.7b - tools and memory access library
« on: September 08, 2010, 05:39:31 am »
I'm using a 32bit kernel so if you want to try something just let me know.

12
DF Modding / Re: DFHack 0.4.0.7b - tools and memory access library
« on: September 08, 2010, 04:40:56 am »
It was the kernel-pae :D


13
DF Modding / Re: DFHack 0.4.0.7b - tools and memory access library
« on: September 08, 2010, 03:18:06 am »
New update:

Code: [Select]
dierre@cox:~$ cat /proc/`pidof Dwarf_Fortress`/maps | grep Dwarf
08048000-08b39000 r-xp 00000000 08:01 657242     /home/dierre/Programmi/df_linux/libs/Dwarf_Fortress
08b39000-08b3a000 r--p 00af0000 08:01 657242     /home/dierre/Programmi/df_linux/libs/Dwarf_Fortress
08b3a000-08b3b000 rw-p 00af1000 08:01 657242     /home/dierre/Programmi/df_linux/libs/Dwarf_Fortress

I do not have 4GB of ram so do you think is necessary a kernel-pae?

I'm not using ubuntu 10.10 so there is no /proc/sys/kernel/yama/ptrace_scope

And then I tried dfhack tools:

Code: [Select]
dierre@cox:~/Programmi/dfhack/output$ ./dfreveal
Pausing...
pause set
pread failed: can't read 0x30 bytes at address 0xb5e06188
errno: 16
terminate called after throwing an instance of 'DFHack::Error::MemoryAccessDenied'
  what():  SHM ACCESS DENIED
Aborted

but

Code: [Select]
dierre@cox:~/Programmi/dfhack/output$ ./dfweather
The sky is clear.
Options:
'r' to make it rain.
's' to make it snow.
'q' to quit.
anything else to refresh
>s
It is snowing.
Options:
'c' to clear the sky.
'r' to make it rain.
'q' to quit.
anything else to refresh
>
But it actually does nothing.
Maybe this can help you.

14
Tilesets and Graphics / Re: Ironhand's Graphics Set (little break)
« on: September 07, 2010, 08:43:04 pm »
Thanks. Another question: why is the height of the window fixed even when I enlarge the application?

15
Tilesets and Graphics / Re: Ironhand's Graphics Set (little break)
« on: September 07, 2010, 08:26:38 pm »
Joanne Kelly is so fine, she is almost the only reason I continue to watch Warehouse 13!

Yep, same here! And in my case she's definitely the only reason.

Sand/blood/etc. tile used to be the same brightness as other ground tiles, but then people complained and IH made it lighter.

Of course they were wrong and I keep trying to sneak dark sand back in but IH spots it every time :P

Keep trying. I brought evidence!

Pages: [1] 2