Are you, in fact, a pregnant lady who lives in the apartment next door to Superdeath's parents? - Commodore

Create an account  

 
Real-Time Game Tweaker

I fixed a nasty bug in the Tweaker and updated the downloadable version (still 0.1).
The problem was that depending on your MoM configuration the dynamic data (read: Lairs, Cities, Units and Battle Units) was not displayed properly.
--I like ILSe
Reply

Is source code and/or a Linux version available?
Thanks.
Reply

I like Serena Wrote:I fixed a nasty bug in the Tweaker and updated the downloadable version (still 0.1).
I find your version numbering confusing. You should use prefixes or something else that is consistent. Few examples: 0.1.2, 0.2, 0.1b, 0.1.2715, 0.1 build 2715, build 2715. With current numbering there is no way to know whether I've newest version or not!
Reply

Ayu Wrote:Is source code and/or a Linux version available?
Thanks.

I'm not ready to make the sources available yet.

I do have a Linux version.
Actually Ubuntu Linux is the OS I'm currently working with and I only publish a Windows version since I expect that is what most people are working with.
However, I do not have experience with publishing a Linux binary that will work on another system. I can tell you that the only dependency is Qt-4.6.3 (and perhaps Kernel 2.6.28 ). So if you install that (available as standard package) then I suspect my binary should work on any Debian-based system.

What kind of Linux OS do you have? And are you willing to experiment?
--I like ILSe
Reply

Jtm Wrote:I find your version numbering confusing. You should use prefixes or something else that is consistent. Few examples: 0.1.2, 0.2, 0.1b, 0.1.2715, 0.1 build 2715, build 2715. With current numbering there is no way to know whether I've newest version or not!

I know, I did think about properly tracking a version.
I decided not to (for now), because I didn't want to update any links.
And until now I wasn't getting much feedback that anyone was actually looking at it.

To see if you have the latest version, check the timestamp of my post versus the timestamp of the executable you have. If the difference is less than a couple of minutes, you have the latest version. (Timestamp equals version).

But I see your point. From now on I will keep the name of the zip file unchanged (to escape the hassle of changing links), but I will put an executable in it with a version in the name (something like 0.1a), which I will refer to from the post. How does that sound?
--I like ILSe
Reply

I like Serena Wrote:However, I do not have experience with publishing a Linux binary that will work on another system.

Just compiling for x86-32 (and ideally x86-64 too) and releasing the result should probably work for anyone using the latest release of a popular distribution.

For the record, the best way to maximize compatibility is to find and use the oldest distribution where it successfully compiles, cross compile to all possible architectures and bundle any library used, along with a shell script running the correct executable.
Obviously, if possible, releasing the source achieves a better result with much less work.

I find that running Master of Magic on Linux is better because it's easy to set up Timidity as an external MIDI synth, which produces much better sound than whatever dosbox uses on my Windows system (at least by default).
Also, it's easy to compile and use a modified dosbox with hq4x scaling support.
Reply

Ayu Wrote:Just compiling for x86-32 (and ideally x86-64 too) and releasing the result should probably work for anyone using the latest release of a popular distribution.

Ok, here goes.

I've looked up deploying Qt applications and I've uploaded the result here:
http://www.xs4all.nl/~kaarsen/download/MoMTweaker-0.1-Linux.tar.gz

The tar-file contains MoMTweaker.sh that gets you up and running regardless of your OS, as long as it's 32 bits Linux.
I tested it on my PC in an isolated environment and it worked!jive
I'd like some feedback if it actually works on your platform too...
--I like ILSe
Reply

It loads correctly and displays correctly but it seems to fail to read the memory of the dosbox process.

System is Ubuntu 10.10 x86-32 but on an x86-64 kernel from Ubuntu upstream kernel packages (2.6.36-996-generic).

If I'm not mistaken, it's trying to do a pread at offset 0xb5529000, but nothing is mapped there in the dosbox process.

How is that address computed?
The program never seems open /proc/<pid>/maps, which it probably should read and then iterate over all anonymous mappings scanning them, unless there's somehow a better way to do it.

Here is some information:
Code:
stdout and strace output:

Found MoM process 'dosbox' (pid=2226)
Detach for safety from pid=2226
PTRACE_DETACH from pid=2226
WARN: PTRACE_DETACH: No such process
PTRACE_ATTACH to pid=2226
waitpid reports status 0x137f
[pid  3115] pread64(28, 0xebe9a008, 25169920, 3042086912) = -1 EIO (Input/output error)
WARN: pread64: Input/output error
Find MoM Data Segment (DS) Identifier (size 47): Borland C++ - Copyright 1991 Borland Intl.
PTRACE_DETACH from pid=2226
Could not find MoM Data Segment (DS) Identifier (size 47)
MoMProcess::readData()

/proc/2226/maps:
08048000-082ca000 r-xp 00000000 08:06 10880807                           /usr/bin/dosbox
082ca000-082cb000 r--p 00282000 08:06 10880807                           /usr/bin/dosbox
082cb000-082ef000 rw-p 00283000 08:06 10880807                           /usr/bin/dosbox
082ef000-09faa000 rw-p 00000000 00:00 0
0b8be000-0bbc7000 rw-p 00000000 00:00 0                                  [heap]
ee108000-f2109000 rw-s 00000000 00:10 19963357                           /dev/shm/pulse-shm-2548247938
f2109000-f210a000 ---p 00000000 00:00 0
f210a000-f290a000 rw-p 00000000 00:00 0
f3500000-f35f4000 rw-p 00000000 00:00 0
f35f4000-f3600000 ---p 00000000 00:00 0
f3618000-f3a00000 rw-s 00000000 00:04 139362327                          /SYSV00000000 (deleted)
f3a00000-f3b00000 rw-p 00000000 00:00 0
f3bf8000-f3d00000 rw-p 00000000 00:00 0
f3d00000-f3df9000 rw-p 00000000 00:00 0
f3df9000-f3e00000 ---p 00000000 00:00 0
f3e05000-f3e06000 ---p 00000000 00:00 0
f3e06000-f4c0a000 rw-p 00000000 00:00 0
f4c0a000-f540e000 rwxp 00000000 00:00 0
f540e000-f6811000 rw-p 00000000 00:00 0
f690b000-f6945000 rw-p 00000000 00:00 0
f6995000-f699d000 r-xp 00000000 08:06 11149799                           /usr/lib/libXcursor.so.1.0.2
f699d000-f699e000 r--p 00007000 08:06 11149799                           /usr/lib/libXcursor.so.1.0.2
f699e000-f699f000 rw-p 00008000 08:06 11149799                           /usr/lib/libXcursor.so.1.0.2
f69ea000-f6bea000 r--p 00000000 08:06 14024984                           /usr/lib/locale/locale-archive
f6bea000-f6bee000 rw-p 00000000 00:00 0
f6bee000-f6d53000 r-xp 00000000 08:06 11146347                           /usr/lib/libvorbisenc.so.2.0.7
f6d53000-f6d54000 ---p 00165000 08:06 11146347                           /usr/lib/libvorbisenc.so.2.0.7
f6d54000-f6d65000 r--p 00165000 08:06 11146347                           /usr/lib/libvorbisenc.so.2.0.7
f6d65000-f6d66000 rw-p 00176000 08:06 11146347                           /usr/lib/libvorbisenc.so.2.0.7
f6d66000-f6d79000 r-xp 00000000 08:06 8390732                            /lib/libnsl-2.12.1.so
f6d79000-f6d7a000 r--p 00012000 08:06 8390732                            /lib/libnsl-2.12.1.so
f6d7a000-f6d7b000 rw-p 00013000 08:06 8390732                            /lib/libnsl-2.12.1.so
f6d7b000-f6d7e000 rw-p 00000000 00:00 0
f6d7e000-f6d8a000 r-xp 00000000 08:06 11148983                           /usr/lib/libXi.so.6.1.0
f6d8a000-f6d8b000 r--p 0000b000 08:06 11148983                           /usr/lib/libXi.so.6.1.0
f6d8b000-f6d8c000 rw-p 0000c000 08:06 11148983                           /usr/lib/libXi.so.6.1.0
f6d8c000-f6d8f000 r-xp 00000000 08:06 8388742                            /lib/libuuid.so.1.3.0
f6d8f000-f6d90000 r--p 00002000 08:06 8388742                            /lib/libuuid.so.1.3.0
f6d90000-f6d91000 rw-p 00003000 08:06 8388742                            /lib/libuuid.so.1.3.0
f6d91000-f6dcb000 r-xp 00000000 08:06 8388631                            /lib/libdbus-1.so.3.5.2
f6dcb000-f6dcc000 r--p 00039000 08:06 8388631                            /lib/libdbus-1.so.3.5.2
f6dcc000-f6dcd000 rw-p 0003a000 08:06 8388631                            /lib/libdbus-1.so.3.5.2
f6dcd000-f6e2e000 r-xp 00000000 08:06 11146181                           /usr/lib/libsndfile.so.1.0.21
f6e2e000-f6e2f000 ---p 00061000 08:06 11146181                           /usr/lib/libsndfile.so.1.0.21
f6e2f000-f6e30000 r--p 00061000 08:06 11146181                           /usr/lib/libsndfile.so.1.0.21
f6e30000-f6e31000 rw-p 00062000 08:06 11146181                           /usr/lib/libsndfile.so.1.0.21
f6e31000-f6e35000 rw-p 00000000 00:00 0
f6e35000-f6e3c000 r-xp 00000000 08:06 8388774                            /lib/libwrap.so.0.7.6
f6e3c000-f6e3d000 r--p 00006000 08:06 8388774                            /lib/libwrap.so.0.7.6
f6e3d000-f6e3e000 rw-p 00007000 08:06 8388774                            /lib/libwrap.so.0.7.6
f6e3e000-f6e3f000 rw-p 00000000 00:00 0
f6e3f000-f6e43000 r-xp 00000000 08:06 11146975                           /usr/lib/libXdmcp.so.6.0.0
f6e43000-f6e44000 r--p 00003000 08:06 11146975                           /usr/lib/libXdmcp.so.6.0.0
f6e44000-f6e45000 rw-p 00004000 08:06 11146975                           /usr/lib/libXdmcp.so.6.0.0
f6e45000-f6e47000 r-xp 00000000 08:06 11146690                           /usr/lib/libXau.so.6.0.0
f6e47000-f6e48000 r--p 00001000 08:06 11146690                           /usr/lib/libXau.so.6.0.0
f6e48000-f6e49000 rw-p 00002000 08:06 11146690                           /usr/lib/libXau.so.6.0.0
f6e49000-f6e4c000 r-xp 00000000 08:06 11147950                           /usr/lib/libxcb-atom.so.1.0.0
f6e4c000-f6e4d000 r--p 00002000 08:06 11147950                           /usr/lib/libxcb-atom.so.1.0.0
f6e4d000-f6e4e000 rw-p 00003000 08:06 11147950                           /usr/lib/libxcb-atom.so.1.0.0
f6e4e000-f6e52000 r-xp 00000000 08:06 11148720                           /usr/lib/libXtst.so.6.1.0
f6e52000-f6e53000 r--p 00003000 08:06 11148720                           /usr/lib/libXtst.so.6.1.0
f6e53000-f6e54000 rw-p 00004000 08:06 11148720                           /usr/lib/libXtst.so.6.1.0
f6e54000-f6e5b000 r-xp 00000000 08:06 11147480                           /usr/lib/libSM.so.6.0.1
f6e5b000-f6e5c000 r--p 00006000 08:06 11147480                           /usr/lib/libSM.so.6.0.1
f6e5c000-f6e5d000 rw-p 00007000 08:06 11147480                           /usr/lib/libSM.so.6.0.1
f6e5d000-f6e5e000 rw-p 00000000 00:00 0
f6e5e000-f6e73000 r-xp 00000000 08:06 11150951                           /usr/lib/libICE.so.6.3.0
f6e73000-f6e74000 r--p 00014000 08:06 11150951                           /usr/lib/libICE.so.6.3.0
f6e74000-f6e75000 rw-p 00015000 08:06 11150951                           /usr/lib/libICE.so.6.3.0
f6e75000-f6e77000 rw-p 00000000 00:00 0
f6e77000-f6e78000 r-xp 00000000 08:06 11150412                           /usr/lib/libX11-xcb.so.1.0.0
f6e78000-f6e79000 r--p 00000000 08:06 11150412                           /usr/lib/libX11-xcb.so.1.0.0
f6e79000-f6e7a000 rw-p 00001000 08:06 11150412                           /usr/lib/libX11-xcb.so.1.0.0
f6e7a000-f6ec2000 r-xp 00000000 08:06 11151610                           /usr/lib/libpulsecommon-0.9.21.so
f6ec2000-f6ec3000 r--p 00047000 08:06 11151610                           /usr/lib/libpulsecommon-0.9.21.so
f6ec3000-f6ec4000 rw-p 00048000 08:06 11151610                           /usr/lib/libpulsecommon-0.9.21.so
f6ec4000-f6ecd000 r-xp 00000000 08:06 11145853                           /usr/lib/libdrm.so.2.4.0
f6ecd000-f6ece000 r--p 00008000 08:06 11145853                           /usr/lib/libdrm.so.2.4.0
f6ece000-f6ecf000 rw-p 00009000 08:06 11145853                           /usr/lib/libdrm.so.2.4.0
f6ecf000-f6ed3000 r-xp 00000000 08:06 11147689                           /usr/lib/libXxf86vm.so.1.0.0
f6ed3000-f6ed4000 r--p 00003000 08:06 11147689                           /usr/lib/libXxf86vm.so.1.0.0
f6ed4000-f6ed5000 rw-p 00004000 08:06 11147689                           /usr/lib/libXxf86vm.so.1.0.0
f6ed5000-f6ed6000 rw-p 00000000 00:00 0
f6ed6000-f6eda000 r-xp 00000000 08:06 11146264                           /usr/lib/libXfixes.so.3.1.0
f6eda000-f6edb000 r--p 00003000 08:06 11146264                           /usr/lib/libXfixes.so.3.1.0
f6edb000-f6edc000 rw-p 00004000 08:06 11146264                           /usr/lib/libXfixes.so.3.1.0
f6edc000-f6ede000 r-xp 00000000 08:06 11146753                           /usr/lib/libXdamage.so.1.1.0
f6ede000-f6edf000 r--p 00001000 08:06 11146753                           /usr/lib/libXdamage.so.1.1.0
f6edf000-f6ee0000 rw-p 00002000 08:06 11146753                           /usr/lib/libXdamage.so.1.1.0
f6ee0000-f6eee000 r-xp 00000000 08:06 11147117                           /usr/lib/libXext.so.6.4.0
f6eee000-f6eef000 r--p 0000d000 08:06 11147117                           /usr/lib/libXext.so.6.4.0
f6eef000-f6ef0000 rw-p 0000e000 08:06 11147117                           /usr/lib/libXext.so.6.4.0
f6ef0000-f6f08000 r-xp 00000000 08:06 11146979                           /usr/lib/libxcb.so.1.1.0
f6f08000-f6f09000 r--p 00017000 08:06 11146979                           /usr/lib/libxcb.so.1.1.0
f6f09000-f6f0a000 rw-p 00018000 08:06 11146979                           /usr/lib/libxcb.so.1.1.0
f6f0a000-f6f49000 r-xp 00000000 08:06 11151204                           /usr/lib/libpulse.so.0.12.2
f6f49000-f6f4a000 ---p 0003f000 08:06 11151204                           /usr/lib/libpulse.so.0.12.2
f6f4a000-f6f4b000 r--p 0003f000 08:06 11151204                           /usr/lib/libpulse.so.0.12.2
f6f4b000-f6f4c000 rw-p 00040000 08:06 11151204                           /usr/lib/libpulse.so.0.12.2
f6f4c000-f6f4d000 rw-p 00000000 00:00 0
f6f4d000-f6f50000 r-xp 00000000 08:06 11151429                           /usr/lib/libpulse-simple.so.0.0.3
f6f50000-f6f51000 r--p 00002000 08:06 11151429                           /usr/lib/libpulse-simple.so.0.0.3
f6f51000-f6f52000 rw-p 00003000 08:06 11151429                           /usr/lib/libpulse-simple.so.0.0.3
f6f52000-f6f59000 r-xp 00000000 08:06 8390723                            /lib/librt-2.12.1.so
f6f59000-f6f5a000 r--p 00006000 08:06 8390723                            /lib/librt-2.12.1.so
f6f5a000-f6f5b000 rw-p 00007000 08:06 8390723                            /lib/librt-2.12.1.so
f6f5b000-f6f76000 r-xp 00000000 08:06 12466290                           /usr/lib/sse2/libspeex.so.1.5.0
f6f76000-f6f77000 r--p 0001a000 08:06 12466290                           /usr/lib/sse2/libspeex.so.1.5.0
f6f77000-f6f78000 rw-p 0001b000 08:06 12466290                           /usr/lib/sse2/libspeex.so.1.5.0
f6f78000-f6f7d000 r-xp 00000000 08:06 11148760                           /usr/lib/libogg.so.0.7.0
f6f7d000-f6f7e000 r--p 00004000 08:06 11148760                           /usr/lib/libogg.so.0.7.0
f6f7e000-f6f7f000 rw-p 00005000 08:06 11148760                           /usr/lib/libogg.so.0.7.0
f6f7f000-f6fc9000 r-xp 00000000 08:06 11148992                           /usr/lib/libFLAC.so.8.2.0
f6fc9000-f6fca000 r--p 00049000 08:06 11148992                           /usr/lib/libFLAC.so.8.2.0
f6fca000-f6fcb000 rw-p 0004a000 08:06 11148992                           /usr/lib/libFLAC.so.8.2.0
f6fcb000-f6fcc000 rw-p 00000000 00:00 0
f6fcc000-f6fd3000 r-xp 00000000 08:06 11147360                           /usr/lib/libvorbisfile.so.3.3.2
f6fd3000-f6fd4000 r--p 00006000 08:06 11147360                           /usr/lib/libvorbisfile.so.3.3.2
f6fd4000-f6fd5000 rw-p 00007000 08:06 11147360                           /usr/lib/libvorbisfile.so.3.3.2
f6fd5000-f6ffb000 r-xp 00000000 08:06 11148485                           /usr/lib/libvorbis.so.0.4.4
f6ffb000-f6ffc000 r--p 00025000 08:06 11148485                           /usr/lib/libvorbis.so.0.4.4
f6ffc000-f6ffd000 rw-p 00026000 08:06 11148485                           /usr/lib/libvorbis.so.0.4.4
f6ffd000-f7046000 r-xp 00000000 08:06 11146270                           /usr/lib/libmikmod.so.2.0.4
f7046000-f7047000 r--p 00049000 08:06 11146270                           /usr/lib/libmikmod.so.2.0.4
f7047000-f7048000 rw-p 0004a000 08:06 11146270                           /usr/lib/libmikmod.so.2.0.4
f7048000-f7049000 rw-p 00000000 00:00 0
f7049000-f7084000 r-xp 00000000 08:06 11145557                           /usr/lib/libsmpeg-0.4.so.0.1.4
f7084000-f7085000 r--p 0003a000 08:06 11145557                           /usr/lib/libsmpeg-0.4.so.0.1.4
f7085000-f7086000 rw-p 0003b000 08:06 11145557                           /usr/lib/libsmpeg-0.4.so.0.1.4
f7086000-f70a2000 rw-p 00000000 00:00 0
f70a2000-f71f9000 r-xp 00000000 08:06 8390737                            /lib/libc-2.12.1.so
f71f9000-f71fa000 ---p 00157000 08:06 8390737                            /lib/libc-2.12.1.so
f71fa000-f71fc000 r--p 00157000 08:06 8390737                            /lib/libc-2.12.1.so
f71fc000-f71fd000 rw-p 00159000 08:06 8390737                            /lib/libc-2.12.1.so
f71fd000-f7201000 rw-p 00000000 00:00 0
f7201000-f721b000 r-xp 00000000 08:06 8388744                            /lib/libgcc_s.so.1
f721b000-f721c000 r--p 00019000 08:06 8388744                            /lib/libgcc_s.so.1
f721c000-f721d000 rw-p 0001a000 08:06 8388744                            /lib/libgcc_s.so.1
f721d000-f7241000 r-xp 00000000 08:06 8390735                            /lib/libm-2.12.1.so
f7241000-f7242000 r--p 00023000 08:06 8390735                            /lib/libm-2.12.1.so
f7242000-f7243000 rw-p 00024000 08:06 8390735                            /lib/libm-2.12.1.so
f7243000-f7322000 r-xp 00000000 08:06 11146479                           /usr/lib/libstdc++.so.6.0.14
f7322000-f7326000 r--p 000de000 08:06 11146479                           /usr/lib/libstdc++.so.6.0.14
f7326000-f7327000 rw-p 000e2000 08:06 11146479                           /usr/lib/libstdc++.so.6.0.14
f7327000-f732e000 rw-p 00000000 00:00 0
f732e000-f7374000 r-xp 00000000 08:06 11149646                           /usr/lib/mesa/libGL.so.1.2
f7374000-f7375000 ---p 00046000 08:06 11149646                           /usr/lib/mesa/libGL.so.1.2
f7375000-f737a000 r--p 00046000 08:06 11149646                           /usr/lib/mesa/libGL.so.1.2
f737a000-f737f000 rwxp 0004b000 08:06 11149646                           /usr/lib/mesa/libGL.so.1.2
f737f000-f7381000 rwxp 00000000 00:00 0
f7381000-f749a000 r-xp 00000000 08:06 11147097                           /usr/lib/libX11.so.6.3.0
f749a000-f749b000 r--p 00118000 08:06 11147097                           /usr/lib/libX11.so.6.3.0
f749b000-f749d000 rw-p 00119000 08:06 11147097                           /usr/lib/libX11.so.6.3.0
f749d000-f749e000 rw-p 00000000 00:00 0
f749e000-f74a1000 r-xp 00000000 08:06 11148455                           /usr/lib/libSDL_net-1.2.so.0.0.7
f74a1000-f74a2000 rw-p 00002000 08:06 11148455                           /usr/lib/libSDL_net-1.2.so.0.0.7
f74a2000-f74a3000 rw-p 00000000 00:00 0
f74a3000-f74b6000 r-xp 00000000 08:06 8394158                            /lib/libz.so.1.2.3.4
f74b6000-f74b7000 r--p 00012000 08:06 8394158                            /lib/libz.so.1.2.3.4
f74b7000-f74b8000 rw-p 00013000 08:06 8394158                            /lib/libz.so.1.2.3.4
f74b8000-f74db000 r-xp 00000000 08:06 8388627                            /lib/libpng12.so.0.44.0
f74db000-f74dc000 r--p 00022000 08:06 8388627                            /lib/libpng12.so.0.44.0
f74dc000-f74dd000 rw-p 00023000 08:06 8388627                            /lib/libpng12.so.0.44.0
f74dd000-f753d000 r-xp 00000000 08:06 11146399                           /usr/lib/libSDL-1.2.so.0.11.3
f753d000-f753e000 ---p 00060000 08:06 11146399                           /usr/lib/libSDL-1.2.so.0.11.3
f753e000-f753f000 r--p 00060000 08:06 11146399                           /usr/lib/libSDL-1.2.so.0.11.3
f753f000-f7540000 rw-p 00061000 08:06 11146399                           /usr/lib/libSDL-1.2.so.0.11.3
f7540000-f756a000 rw-p 00000000 00:00 0
f756a000-f757f000 r-xp 00000000 08:06 8390738                            /lib/libpthread-2.12.1.so
f757f000-f7580000 ---p 00015000 08:06 8390738                            /lib/libpthread-2.12.1.so
f7580000-f7581000 r--p 00015000 08:06 8390738                            /lib/libpthread-2.12.1.so
f7581000-f7582000 rw-p 00016000 08:06 8390738                            /lib/libpthread-2.12.1.so
f7582000-f7584000 rw-p 00000000 00:00 0
f7584000-f7586000 r-xp 00000000 08:06 8390719                            /lib/libdl-2.12.1.so
f7586000-f7587000 r--p 00001000 08:06 8390719                            /lib/libdl-2.12.1.so
f7587000-f7588000 rw-p 00002000 08:06 8390719                            /lib/libdl-2.12.1.so
f7588000-f7648000 r-xp 00000000 08:06 11146683                           /usr/lib/libasound.so.2.0.0
f7648000-f7649000 ---p 000c0000 08:06 11146683                           /usr/lib/libasound.so.2.0.0
f7649000-f764d000 r--p 000c0000 08:06 11146683                           /usr/lib/libasound.so.2.0.0
f764d000-f764e000 rw-p 000c4000 08:06 11146683                           /usr/lib/libasound.so.2.0.0
f764e000-f764f000 rw-p 00000000 00:00 0
f764f000-f7673000 r-xp 00000000 08:06 11146213                           /usr/lib/libSDL_sound-1.0.so.1.0.2
f7673000-f7674000 r--p 00023000 08:06 11146213                           /usr/lib/libSDL_sound-1.0.so.1.0.2
f7674000-f7678000 rw-p 00024000 08:06 11146213                           /usr/lib/libSDL_sound-1.0.so.1.0.2
f7678000-f7696000 rw-p 00000000 00:00 0
f7696000-f7697000 r-xp 00000000 08:06 11146702                           /usr/lib/libnograb.so
f7697000-f7698000 r--p 00000000 08:06 11146702                           /usr/lib/libnograb.so
f7698000-f7699000 rw-p 00001000 08:06 11146702                           /usr/lib/libnograb.so
f76d1000-f76d8000 r--s 00000000 08:06 14700848                           /usr/lib/gconv/gconv-modules.cache
f76d8000-f76e0000 r-xp 00000000 08:06 11150438                           /usr/lib/libXrender.so.1.3.0
f76e0000-f76e1000 r--p 00007000 08:06 11150438                           /usr/lib/libXrender.so.1.3.0
f76e1000-f76e2000 rw-p 00008000 08:06 11150438                           /usr/lib/libXrender.so.1.3.0
f76e2000-f76e3000 r--p 002dd000 08:06 14024984                           /usr/lib/locale/locale-archive
f76e3000-f76e6000 rw-p 00000000 00:00 0
f76e6000-f76e7000 r-xp 00000000 00:00 0                                  [vdso]
f76e7000-f7703000 r-xp 00000000 08:06 8390713                            /lib/ld-2.12.1.so
f7703000-f7704000 r--p 0001b000 08:06 8390713                            /lib/ld-2.12.1.so
f7704000-f7705000 rw-p 0001c000 08:06 8390713                            /lib/ld-2.12.1.so
ff913000-ff934000 rw-p 00000000 00:00 0                                  [stack]
Reply

I do scan /proc/<pid>/maps
But since I didn't like waiting for the program to scan all memory blocks, I optimized the search to look only for a memory block of size 0x1801000, which works on my system.
However, you don't have that one.
When it didn't find the proper block, it tried with a default base address that worked on my system. But of course that wouldn't work on your system either.

I'm kind of wondering in which block MoM does reside on your system.
Do you already know?

Either way, I will tweak the Tweaker so it will still try to optimize, but on failure it will simply scan all memory. I'll get back to you.
--I like ILSe
Reply

It took a little bit longer than I expected, but it's fixed.
The Linux version now scans all memory blocks until it finds the Borland signature.

I've uploaded the new version overwriting the old 0.1 tar-file.
The binary within the tar-file now has 0.1a in its file name.
--I like ILSe
Reply



Forum Jump: