Texmaster

Thread in 'Discussion' started by Report, 29 Jan 2008.

  1. Something really weird is happening with the Ubuntu 9.04 version in Ubuntu 9.10? The graphics are there, but they're all scrunched up at the top of the screen in a narrow band, making it pretty hard to see anything. Has anyone else tried the combination of the latest Texmaster and the latest Ubuntu yet?
     
  2. kx5

    kx5

    Code:
    ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
    *** glibc detected *** ./Texmaster2009: free(): invalid pointer: 0xf752f620 ***
    ======= Backtrace: =========
    /opt/lib32/lib/libc.so.6[0xf74555e1]
    /opt/lib32/lib/libc.so.6[0xf7456ce2]
    /opt/lib32/lib/libc.so.6(cfree+0x6d)[0xf7459dad]
    ./Texmaster2009[0x806c284]
    ./Texmaster2009[0x80588d7]
    ./Texmaster2009[0x804ffff]
    ./Texmaster2009[0x805fd68]
    /opt/lib32/lib/libc.so.6(__libc_start_main+0xe6)[0xf7400a36]
    ./Texmaster2009[0x80496d1]
    ======= Memory map: ========
    08048000-08075000 r-xp 00000000 08:03 789501                             /home/sanford/games/Texmaster2009/Texmaster2009
    08075000-08076000 r--p 0002c000 08:03 789501                             /home/sanford/games/Texmaster2009/Texmaster2009
    08076000-08078000 rw-p 0002d000 08:03 789501                             /home/sanford/games/Texmaster2009/Texmaster2009
    08078000-08083000 rw-p 00000000 00:00 0 
    0a049000-0a68e000 rw-p 00000000 00:00 0                                  [heap]
    f1d00000-f1d21000 rw-p 00000000 00:00 0 
    f1d21000-f1e00000 ---p 00000000 00:00 0 
    f1ebc000-f22bd000 rw-p 00000000 00:00 0 
    f22bd000-f22be000 ---p 00000000 00:00 0 
    f22be000-f6d01000 rw-p 00000000 00:00 0 
    f6d02000-f6e2f000 rw-p 00000000 00:00 0 
    f6e2f000-f6f5b000 rw-s 00000000 00:08 9207814                            /SYSV00000000 (deleted)
    f6f5b000-f701e000 r-xp 00000000 08:03 265930                             /opt/lib32/usr/lib/libasound.so.2.0.0
    f701e000-f7022000 rw-p 000c3000 08:03 265930                             /opt/lib32/usr/lib/libasound.so.2.0.0
    f7022000-f705c000 rw-p 00000000 00:00 0 
    f70c5000-f70d5000 rw-s 00000000 00:08 589829                             /SYSV0056a4d6 (deleted)
    f70d5000-f70df000 r-xp 00000000 08:03 264048                             /opt/lib32/lib/libnss_files-2.10.1.so
    f70df000-f70e0000 r--p 00009000 08:03 264048                             /opt/lib32/lib/libnss_files-2.10.1.so
    f70e0000-f70e1000 rw-p 0000a000 08:03 264048                             /opt/lib32/lib/libnss_files-2.10.1.so
    f70e1000-f70e9000 r-xp 00000000 08:03 269026                             /opt/lib32/usr/lib/libXcursor.so.1.0.2
    f70e9000-f70ea000 rw-p 00007000 08:03 269026                             /opt/lib32/usr/lib/libXcursor.so.1.0.2
    f70ef000-f70ff000 rw-s 00000000 00:0c 4877                               /dev/snd/pcmC0D0p
    f7100000-f7101000 rw-s 00000000 00:08 557060                             /SYSV0056a4d5 (deleted)
    f7101000-f7282000 r--p 00000000 08:03 25444                              /usr/lib/locale/locale-archive
    f7282000-f728f000 r-xp 00000000 08:03 264543                             /opt/lib32/usr/lib/libXext.so.6.4.0
    f728f000-f7290000 rw-p 0000d000 08:03 264543                             /opt/lib32/usr/lib/libXext.so.6.4.0
    f7290000-f7294000 r-xp 00000000 08:03 264452                             /opt/lib32/usr/lib/libXdmcp.so.6.0.0
    f7294000-f7295000 rw-p 00003000 08:03 264452                             /opt/lib32/usr/lib/libXdmcp.so.6.0.0
    f7295000-f7297000 r-xp 00000000 08:03 264447                             /opt/lib32/usr/lib/libXau.so.6.0.0
    f7297000-f7298000 rw-p 00001000 08:03 264447                             /opt/lib32/usr/lib/libXau.so.6.0.0
    f7298000-f72b0000 r-xp 00000000 08:03 262310                             /opt/lib32/usr/lib/libxcb.so.1.1.0
    f72b0000-f72b1000 rw-p 00017000 08:03 262310                             /opt/lib32/usr/lib/libxcb.so.1.1.0
    f72b1000-f73c7000 r-xp 00000000 08:03 262341                             /opt/lib32/usr/lib/libX11.so.6.3.0
    f73c7000-f73cb000 rw-p 00115000 08:03 262341                             /opt/lib32/usr/lib/libX11.so.6.3.0
    f73cb000-f73cd000 rw-p 00000000 00:00 0 
    f73cd000-f73e1000 r-xp 00000000 08:03 264061                             /opt/lib32/lib/libpthread-2.10.1.so
    f73e1000-f73e2000 ---p 00014000 08:03 264061                             /opt/lib32/lib/libpthread-2.10.1.so
    f73e2000-f73e3000 r--p 00014000 08:03 264061                             /opt/lib32/lib/libpthread-2.10.1.so
    f73e3000-f73e4000 rw-p 00015000 08:03 264061                             /opt/lib32/lib/libpthread-2.10.1.so
    f73e4000-f73e6000 rw-p 00000000 00:00 0 
    f73e6000-f73e8000 r-xp 00000000 08:03 264064                             /opt/lib32/lib/libdl-2.10.1.so
    f73e8000-f73e9000 r--p 00001000 08:03 264064                             /opt/lib32/lib/libdl-2.10.1.so
    f73e9000-f73ea000 rw-p 00002000 08:03 264064                             /opt/lib32/lib/libdl-2.10.1.so
    f73ea000-f752a000 r-xp 00000000 08:03 264055                             /opt/lib32/lib/libc-2.10.1.so
    f752a000-f752c000 r--p 00140000 08:03 264055                             /opt/lib32/lib/libc-2.10.1.so
    f752c000-f752d000 rw-p 00142000 08:03 264055                             /opt/lib32/lib/libc-2.10.1.so
    f752d000-f7531000 rw-p 00000000 00:00 0 
    f7531000-f754e000 r-xp 00000000 08:03 264103                             /opt/lib32/usr/lib/libgcc_s.so.1
    f754e000-f754f000 rw-p 0001c000 08:03 264103                             /opt/lib32/usr/lib/libgcc_s.so.1
    f754f000-f7573000 r-xp 00000000 08:03 264050                             /opt/lib32/lib/libm-2.10.1.so
    f7573000-f7574000 r--p 00023000 08:03 264050                             /opt/lib32/lib/libm-2.10.1.so
    f7574000-f7575000 rw-p 00024000 08:03 264050                             /opt/lib32/lib/libm-2.10.1.so
    f7575000-f765d000 r-xp 00000000 08:03 264095                             /opt/lib32/usr/lib/libstdc++.so.6.0.13
    f765d000-f765e000 ---p 000e8000 08:03 264095                             /opt/lib32/usr/lib/libstdc++.so.6.0.13
    f765e000-f7662000 r--p 000e8000 08:03 264095                             /opt/lib32/usr/lib/libstdc++.so.6.0.13
    f7662000-f7663000 rw-p 000ec000 08:03 264095                             /opt/lib32/usr/lib/libstdc++.so.6.0.13
    f7663000-f766a000 rw-p 00000000 00:00 0 
    f766a000-f76cc000 r-xp 00000000 08:03 267980                             /opt/lib32/usr/lib/libSDL-1.2.so.0.11.3
    f76cc000-f76cd000 rw-p 00061000 08:03 267980                             /opt/lib32/usr/lib/libSDL-1.2.so.0.11.3
    f76cd000-f76f7000 rw-p 00000000 00:00 0 
    f76f7000-f770a000 r-xp 00000000 08:03 264574                             /opt/lib32/usr/lib/libz.so.1.2.3.3
    f770a000-f770b000 rw-p 00012000 08:03 264574                             /opt/lib32/usr/lib/libz.so.1.2.3.3
    f770b000-f770c000 rw-p 00000000 00:00 0 
    f770c000-f7713000 r-xp 00000000 08:03 264052                             /opt/lib32/lib/librt-2.10.1.so
    f7713000-f7714000 r--p 00006000 08:03 264052                             /opt/lib32/lib/librt-2.10.1.so
    f7714000-f7715000 rw-p 00007000 08:03 264052                             /opt/lib32/lib/librt-2.10.1.so
    f7715000-f7719000 r-xp 00000000 08:03 264619                             /opt/lib32/usr/lib/libXfixes.so.3.1.0zsh: abort      ./Texmaster2009
    
    On arch linux (x64), Texmaster crashes whenever it comes time to play the "Termination" sound. The game runs fine under wine though. I can exit with escape just fine and the graphics/sound effects/background music are perfect as well.
     
  3. DeHackEd

    DeHackEd green Gm

    Same bug as mine, only the debugger makes it tolerant.
     
  4. nmn

    nmn

    openSuSE 11.2 here. I'm getting segmentation faults and "glibc detected"s all over the place. Sometimes, It will segfault at start 5-6 times in a row before it starts up. Then, whenever a game ends (right when game over is displayed), and sometimes when pressing a key that causes it to display the keycode, and when selecting a replay.. and pretty much anything else, it will crash.

    Previous versions have worked really well under Linux. I used to use 2beta2 fine. I'd run the game under wine, but with wine i get terrible sound quality.

    It might be a good idea to note that I'm running a 64-bit OS. In previous versions, I've used the ubuntu 64-bit builds.

    Backtrace of the beginning segfault - Nothing useful since I don't have any sort of debugging symbols, but maybe the function names will give you a clue:
    Code:
    #0  0x0806b95e in uncompress ()
    #1  0x00001d76 in ?? ()
    #2  0x0805ec02 in uncompress ()
    #3  0xf7c81ace in __libc_start_main () from /lib/libc.so.6
    #4  0x080496d1 in uncompress ()
    
    P.S. Texmaster is awesome :p

    edit:
    Well I hope it's not incompatible versions. That would be a difficult problem to solve...
     
  5. DeHackEd

    DeHackEd green Gm

    2009-1 works very nicely for me...

    Wow, that's even worse than what I get....

    Sadly we lack source code. If the windows version is robust, it's probably not too hard to fix the problems.
     
  6. nmn

    nmn

    Yeah, I know, because if I had the source, I would be trying to add a bunch of features XD I can't record from Linux and my Linux data won't run on a windows version of Texmaster, so something like crossplatform recording would be on my list, or at least some attempts at netplay (even though I probably couldn't do a reasonably not-laggy implementation, knowing me.)

    Nonetheless, I'd be happy with a proper Linux binary at least. Now that I look back, the problems I was having are most likely not related to differing versions of libraries. However, I'm really not sure what these are. I'm guessing that there's 2 different bugs at least, and both of them look to be memory related. Windows tends to be a bit lighter on memory issues in my experience - When porting a game I came to a problem where Windows would run fine and Linux would get glibc errors. I don't remember exactly what solved it, but at least one has to do with an invalid free call.

    Code:
    *** glibc detected *** ./Texmaster2009: free(): invalid pointer: 0xf7500660 ***                    
    
    For anyone inexperienced with low level memory management, what's happening here is fairly simple; free is trying to free a memory address that was not returned by an allocation function. (glibc detects double frees, so it wasn't simply an address already freed.) I would venture to say that somewhere in Report's code, a pointer is being changed after allocated and then free'd. In Windows, as far as I can remember, this still works. However, as you will find, it definitely DOES NOT work under Linux.

    As well, someone said Texmaster worked under the debugger. I tried this because of course, I was interested. It didn't fix anything. Instead, I found out, perhaps interestingly, that the bug might actually be related to the crash-on-entry problems i was having.

    Code:
    Program received signal SIGABRT, Aborted.
    0xffffe430 in __kernel_vsyscall ()
    (gdb) bt
    #0  0xffffe430 in __kernel_vsyscall ()
    #1  0xf7c960cf in raise () from /lib/libc.so.6
    #2  0xf7c979e7 in abort () from /lib/libc.so.6
    #3  0xf7cd24ed in ?? () from /lib/libc.so.6
    #4  0xf7cd850b in ?? () from /lib/libc.so.6
    #5  0xf7cdd049 in free () from /lib/libc.so.6
    #6  0x0806c284 in uncompress ()
    #7  0xf7dca660 in ?? () from /lib/libc.so.6
    #8  0x080588d7 in uncompress ()
    #9  0x0804ffff in uncompress ()
    #10 0x0805fd68 in uncompress ()
    #11 0xf7c81ace in __libc_start_main () from /lib/libc.so.6
    #12 0x080496d1 in uncompress ()
    
    So, hmm. This one might be a little too complex to mitigate without any code changes.

    P.S. Sorry for long-arse posts, just trying to add some possibly useful information.
     
  7. Report, please give us Texmaster's source code.
     
  8. Ai

    Ai

    I'll repeat what I said in another thread:

    DIGITAL's Termino Velocity pack:

    Part 1
    Part 2
    Part 3
    Part 4

    I'm not sure if the pack works with recent Texmaster versions. I still use Texmaster 2009-2 beta2 and it works perfectly. There's a readme file with instructions. ^^
     
  9. I had to re-download it some time ago and tried it with the latest Texmaster. The problem is, it isn't 100% compatible when it comes to the fonts. If you recall, I had some issue with screenshots and replays not showing up, but it turns out this was because I was using some of the font files from digi's pack (As far as I know, everything else works though). He would need to update the files so they are compatible with the latest release.
     
  10. Jan1

    Jan1 Unregistered

    Texmaster didn't work anymore after I applied the skin, although I did as the readme said. If I replace the fonts or the bgm it doesn't start.

    Also is there a way to play with a resolution higher than 240x320 without making the background images look ugly?
     
  11. Jan1

    Jan1 Unregistered

    Sorry for double post. I can't login atm. I used the latest version of TM and I have Windows Vista.
     
  12. Did you make sure that the skin you're trying to use is 100% compatible with the latest version? From my personal experience, digi's pack won't fully work with the newest Texmaster. Dunno if you're trying the same pack, but perhaps the readme includes the compatible version(s).
     
  13. Ai

    Ai

    I tested the pack with more recent TM versions earlier last week and like SimMarine previously reported the fonts included in TV prevent TM from starting up. As far as I know TV only works fine with Texmaster 2009-2 beta2.

    DIGITAL told me not long ago that he will release a compatibility update along with new stuff when he has some time. I'll report about the issues that are causing problems. For the time being just use the version mentioned above if you want to use the pack. ^^

    Oh and there's only one TV pack with no mention of the compatible TM versions.
     
  14. Jan

    Jan

    Yay, TV works now and I love it. Thanks for helping.
     
  15. Does anyone have a TGM3 music pack?
     
  16. Technically, we can't post it here since it's Arika's IP. So I'll neither confirm nor deny having a Ti music pack.
     
  17. orz

    orz

    i was thinking about neat features that could be added today, and i came up with an attract screen that shows random parts of your replays
     
  18. Curious as to what's up with the ADPCM encoder beating the volume down. I can raise the volume on my wav's all I want but the encoder will lower the volume down to about the same area each time. Been doing some TGM music (Ripped from the games, sample looping as well) and it has been kind of annoying. Any ideas?
     
  19. I still prefer Beta 2 ;)
    O until Beta 3 be fixed ;)
     
  20. @Sonicandtails: That's an odd one. I'd try either getting a copy of the encoder elsewhere or use a program with ADPCM conversion. I believe CDex is the last program I used to that end.
     

Share This Page