I made a backtrace on Tsukihime v1.1 English version.
(gdb) bt
#0 0xb7e271ee in SDL_SetAlpha () from /usr/lib/libSDL-1.2.so.0
#1 0x0806705f in ONScripterLabel::btndefCommand (this=0xbff0fe00)
at ONScripterLabel_command.cpp:2892
#2 0x0805e6bd in ONScripterLabel::parseLine (this=0xbff0fe00)
at ONScripterLabel.cpp:924
#3 0x0805ec01 in ONScripterLabel::executeLabel (this=0xbff0fe00)
at ONScripterLabel.cpp:881
#4 0x080785c9 in ONScripterLabel::timerEvent (this=0xbff0fe00)
at ONScripterLabel_event.cpp:1013
#5 0x08078af8 in ONScripterLabel::eventLoop (this=0xbff0fe00)
at ONScripterLabel_event.cpp:1090
#6 0x0804b1b2 in main (argc=1, argv=0xbff11d88) at onscripter.cpp:210
(gdb) up
#1 0x0806705f in ONScripterLabel::btndefCommand (this=0xbff0fe00)
at ONScripterLabel_command.cpp:2892
2892 SDL_SetAlpha( btndef_info.image_surface, DEFAULT_BLIT_FLAG, SDL_ALPHA_OPAQUE );
(gdb) print btndef_info.image_surface
$1 = (SDL_Surface *) 0x0
So the problem is btndef_info.image_surface is NULL in ONScripterLabel_command.cpp:2892 ONScripterLabel::btndefCommand ()
I'll see if new version solves the problem or not.
I made a backtrace on Tsukihime v1.1 English version.
(gdb) bt libSDL- 1.2.so. 0 ::btndefCommand (this=0xbff0fe00) _command. cpp:2892 ::parseLine (this=0xbff0fe00) .cpp:924 ::executeLabel (this=0xbff0fe00) .cpp:881 ::timerEvent (this=0xbff0fe00) _event. cpp:1013 ::eventLoop (this=0xbff0fe00) _event. cpp:1090 ::btndefCommand (this=0xbff0fe00) _command. cpp:2892 info.image_ surface, DEFAULT_BLIT_FLAG, SDL_ALPHA_OPAQUE ); info.image_ surface
#0 0xb7e271ee in SDL_SetAlpha () from /usr/lib/
#1 0x0806705f in ONScripterLabel
at ONScripterLabel
#2 0x0805e6bd in ONScripterLabel
at ONScripterLabel
#3 0x0805ec01 in ONScripterLabel
at ONScripterLabel
#4 0x080785c9 in ONScripterLabel
at ONScripterLabel
#5 0x08078af8 in ONScripterLabel
at ONScripterLabel
#6 0x0804b1b2 in main (argc=1, argv=0xbff11d88) at onscripter.cpp:210
(gdb) up
#1 0x0806705f in ONScripterLabel
at ONScripterLabel
2892 SDL_SetAlpha( btndef_
(gdb) print btndef_
$1 = (SDL_Surface *) 0x0
So the problem is btndef_ info.image_ surface is NULL in ONScripterLabel _command. cpp:2892 ONScripterLabel ::btndefCommand ()
I'll see if new version solves the problem or not.