Own Theme doesn't work

1 reply [Last post]
Bugsy
User offline. Last seen 9 years 31 weeks ago. Offline
Joined: 2010-03-05
Posts: 1

I didn't find any thread that fits my problem, so I hope someone can help me here.

I have a problem with my firs own theme. I have created the graphics as described in the "Creating new theme" thread.
I added the name of the theme folder at the end of the list in themes.cfg. When I start the game the theme name appears in the list correctly. But when I start the match I get the error message

"Last two engine messages:
Reading objects info...
Bad data or cannot access file theme.cfg"

I cant find the problem... the theme.cfg file in the folder of the new theme is not reading-protected or opend while the game is running. The syntax seems to be coorect. Here the theme.cfg:

21 20 38
128 0 0
$54 $5C $9D
$34 $3C $7D
pirate.ogg
10
4
dino
65 258 80 2 1 0 0 240 215
lemming_tod
65 258 80 2 1 0 0 240 215
bear_new
65 258 80 2 1 0 0 240 215
jeti
65 258 80 2 1 0 0 240 215
0
50
1 500 100 300

dino.png, lemming_tod.png, bear_new.png and jeti.png are the new graphic objects.

Does anaybody have an idea about what I am doing wrong?

Thx!!!
Daniel

nemo
nemo's picture
User offline. Last seen 1 day 26 min ago. Offline
Joined: 2009-01-28
Posts: 1754

Just a thought. inconsistent syntax so you're misspelling the name of the theme folder?
Impossible to tell w/o a directory listing and the complete debug0.txt log though.

--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev

Copyright © 2004-2017 Hedgewars Project. All rights reserved. [ contact ]