Announcement: Be excellent to each other.


Caravel Forum : Caravel Boards : Development : DROD on powerpc Linux - working but a couple of questions
New Topic New Poll Post Reply
Poster Message
fuzzie
Level: Roachling
Rank Points: 11
Registered: 04-29-2005
IP: Logged
icon DROD on powerpc Linux - working but a couple of questions (0)  
Recently, I thought I'd like to take up DROD again. Unfortunately, my laptop only has Linux installed .. and it's a powerpc machine, so I can't run the Linux x86 DROD binaries which Caravel so kindly provide, and nor can I run the OS X ones! Ack. So, off I go wandering towards the source code.

DROD 2.0 seems to compile fine on my Debian sid after switching to SDL_mixer (FMOD isn't available) and obtaining an older copy of this mysterious pod_char_traits.h, which is a good start!

My first obstacle: the calls to TTF_RenderUNICODE_Solid in FontManager.cpp seem to always return NULL when DROD is trying to work out the size of text, which makes the initial in-game dialogs explode in a delight of, well, broken.

If I change the code not to call that, and to call the Shaded variant instead, DROD starts up and works fine! Yay! However, some of the in-game fonts look a bit wonky, and I was wondering if anyone else has encountered that problem and might have any ideas (I don't even know if it's related to the code I changed)..

The other problem is that I'd really love to renew my subscription to CaravelNet but, of course, I can't use it from a copy I've built myself, because the source code isn't supplied for obvious reasons. Is there anyone who might have access to the relevant source and a Linux/powerpc machine that could try building a CaravelNet-enabled copy, or am I doomed to a sad, antisocial DROD experience?
02-17-2007 at 08:39 PM
View Profile Send Private Message to User Show all user's posts Quote Reply
coppro
Level: Smitemaster
Rank Points: 1309
Registered: 11-24-2005
IP: Logged
icon Re: DROD on powerpc Linux - working but a couple of questions (0)  
That RenderWord call is exactly the same problem I always have on my compiled versions. Looks like we're not alone.
02-17-2007 at 08:47 PM
View Profile Show all user's posts Quote Reply
trick
Level: Legendary Smitemaster
Rank Points: 2580
Registered: 04-12-2003
IP: Logged
icon Re: DROD on powerpc Linux - working but a couple of questions (+1)  
What version of Freetype are you using ? Some versions of Freetype are broken (specially when combined with SDL_ttf), and can result in this kind of behavior. Freetype 2.1.3 is known to be broken, and SDL_ttf 2.0.7 (I think it was) has some issues, but others could be problematic as well. I use SDL_ttf 2.0.8 and Freetype 2.1.9. Also make sure you're not using SDL 1.2.8 (any other 1.2.x version should be fine).

~ Gerry


[Last edited by trick at 02-18-2007 02:59 PM]
02-18-2007 at 02:54 PM
View Profile Send Private Message to User Send Email to User Show all user's posts Quote Reply
New Topic New Poll Post Reply
Caravel Forum : Caravel Boards : Development : DROD on powerpc Linux - working but a couple of questions
Surf To:


Forum Rules:
Can I post a new topic? No
Can I reply? No
Can I read? Yes
HTML Enabled? No
UBBC Enabled? Yes
Words Filter Enable? No

Contact Us | CaravelGames.com

Powered by: tForum tForumHacks Edition b0.98.9
Originally created by Toan Huynh (Copyright © 2000)
Enhanced by the tForumHacks team and the Caravel team.