![]() |
|
Technical Issues For bug reports, problem solving, and help running Japanese software. |
![]() |
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
![]()
Is anybody else able to compile xkanon-0.48?
I tried compiling it on Unbuntu linux 5.10 and I got a whole mess of error messages.(link) |
#2
|
|||
|
|||
![]()
I suspect it's a GCC4 thing -- they started getting closer to the C++ standards, and lots of people's code is broken. Try running configure as
CXX="g++-3.3" CC="gcc-3.3" ./configure to set the compiler versions explicitly |
#3
|
|||
|
|||
![]()
Thanks, that fixed those specific errors, it didn't give me those errors, but I got tons of undefined reference errors, most of them in files in /usr/include/sigc++-1.0/sigc++/.
I'll try posting the errors later. |
#4
|
||||
|
||||
![]()
Don't waste too much time bashing your head on this - I'm actually working on fixing xkanon to compile with g++ 4.0 myself at the moment, so the problem should go away pretty soon. ^_^
Turns out the latest official xkanon (2005-5-15) actually includes all of Arkazam's changes that Jagarl could see the point of, so it almost works with the English version as it is. All I really have to do is put back in the changes Jagarl couldn't see the point of, because they were duplicating some obscure AVG32 implementation details that AFAIK my hacks are the only programs ever to use. And fix the one file in the latest version that doesn't compile OOTB with g++ 4.0 (some template specialisation issues). |
#5
|
||||
|
||||
![]()
Okay, try this:
|
#6
|
|||
|
|||
![]()
It compiles with a few warnings, but it works fine with the un-patched version.
When I use xkanon-install from Arkazam's branch to install the patch, once I run xkanon I can't see any words at all, and the title screen in untranslated. Am I missing some font package or something? |
#7
|
||||
|
||||
![]()
The warnings are annoying, but I can't figure out what kind of definition it's asking for... actually I can't even figure out why that particular code is using templates at all, since AFAICT it defines a template that's only ever used through one of two explicit specialisations, which when I learned programming was what we called a "class hierarchy". But I haven't looked too deeply, so maybe I'm missing something. :/
ANYWAY. You shouldn't need any special fonts. What happens if you specify one on the command line, with either Code:
xayusys [...] --font -*-*-*-r-*-*-24-*-*-*-m-*-iso8859-1 If by the title screen being untranslated you mean that even the menu options are coming up in Japanese, however, then it sounds like something went wrong with the patch process. Did Arkazam's installer leave any handy output or log files or anything? :/ |
#8
|
|||
|
|||
![]()
I tried installed Kanon in /usr/local/share/xayusys/xkanon, but when I installed the patch I forgot to do it as root, so I got a permission error, and that was the only error I got.
I'll try installing it again and then post the results. |
#9
|
|||
|
|||
![]()
I reinstalled Kanon and then I used KSetup to install the patch, and for the most part it looks like it worked(no errors, but the title screen's options turn back into japanese when you hover over them).
If I start xayusys with the --font option, I get the following Code:
billhead@Ayu:~$ xayusys --font -*-*-*-r-*-*-24-*-*-*-m-*-iso8859-1 opening socket, format = 0x00001010 at 11025 Hz opening socket, format = 0x00001021 at 44100 Hz Gdk-CRITICAL **: file gdkgc.c: line 483 (gdk_gc_set_font): assertion `gc != NULL' failed. Gdk-CRITICAL **: file gdkgc.c: line 483 (gdk_gc_set_font): assertion `gc != NULL' failed. Gdk-CRITICAL **: file gdkgc.c: line 483 (gdk_gc_set_font): assertion `gc != NULL' failed. Cannot find config name '#EXFONT_N_NAME' global jump to senario 2 not supported command! : ??? (Stop wav file and clear music buffer? not supported command! : cmd 0x31 - 2 : clear text rank buffer. not supported command! : set Retkey wait. global jump to senario 50 Now Music shutdown ... Done! If I start it with --ttfont, I get the following: Code:
billhead@Ayu:~$ xayusys --ttfont -*-*-*-r-*-*-24-*-*-*-m-*-iso8859-1 opening socket, format = 0x00001010 at 11025 Hz opening socket, format = 0x00001021 at 44100 Hz ttfont_init(): FreeType initialized. ttfont_load(): Could not open file. ttfont_deinit(): FreeType done. ttfont_init(): FreeType initialized. ttfont_load(): Could not open file. ttfont_deinit(): FreeType done. Cannot find config name '#EXFONT_N_NAME' global jump to senario 2 not supported command! : ??? (Stop wav file and clear music buffer? not supported command! : cmd 0x31 - 2 : clear text rank buffer. not supported command! : set Retkey wait. global jump to senario 50 Segmentation Fault.Now Music shutdown ... Done! |
#10
|
||||
|
||||
![]()
If the title screen's options are turning back into Japanese, then the patch still isn't properly installed. The fact that it's not finding the #EXFONT_N_NAME option in gameexe.ini also shows this (it's not there in the original Kanon, but it's added by the patch). So I'm guessing your SEEN.TXT has not been patched, and you're seeing Japanese text being interpreted as Latin-1; you can confirm this by checking the MD5 of dat/seen.txt against the version on your Kanon CD.
I'm confused that you didn't see any error messages, if the patch failed. I've just run it, to test whether the binaries I'm distributing still work on modern Linices, and it's fine in mine (Debian Experimental with kernel 2.6.14-1-k7). Could you post the complete ksetup output (or email it to me if it's too big to go in a post)? BTW, for --ttfont you have to supply the path to a TrueType font file, not an X font identifier. For some reason it segfaults on most fonts, at least for me; it works with MS Gothic (but you're unlikely to have that on a Linux box), and it mostly works with the default.ttf supplied in my Kira translation, though I'm seeing occasional crashes there too which I really ought to get round to tracking down. ^_^ |
#11
|
|||
|
|||
![]()
My linux n00b-ness rears its head.
I didn't notice that when I was compiling that it said the command msgfmt could not be found(its not installed by default on Ubuntu), I though nothing of all the files KSetup said didn't need to be patched... Using MSGothic, I finaly got it to work. Most of this could have been avoided if I actualy paid attention... Thanks for the help, now I just have to get around to putting the voice patch. |
#12
|
|||
|
|||
![]()
I get errors as well, but they seem to be different than the ones posted.
http://ultimatum.redirectme.net:8000/errors.txt Running SuSE 9.3 Professional btw. |
#13
|
|||
|
|||
![]()
While I know xkanon probably came out way before SDL became well-known/stable/well-tested, it really would've been nice if it had been written in SDL ^_^;
|
#14
|
|||
|
|||
![]()
I forgot to mention, full screen doesn't work for me.
|
#15
|
||||
|
||||
![]() Quote:
Quote:
Incidentally, anyone using xkanon who isn't using the latest version (2005.12.1) from http://dev.haeleth.net/xkanon.html should consider switching; nothing else will work quite properly with the final patch, when eventually that appears. |
![]() |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Need help with compiling xclannad for Windows Mobile | Zer0_byt3 | Technical Issues | 5 | 2011-06-28 05:03 |
Compiling ONScripter-EN-20080823 | ritchan | Technical Issues | 12 | 2009-08-04 15:16 |
.deb file not on xkanon site :/ | kittytreats | Technical Issues | 2 | 2006-04-01 19:46 |
xkanon on fedora 4 | cybermaid | Technical Issues | 7 | 2006-03-15 14:21 |
XKanon - music not working | darklegion | Technical Issues | 7 | 2005-01-12 05:59 |