Author Topic: Porting game data from V1.1 to V1.2 problem.  (Read 1781 times)

xavius

  • Newbie
  • *
  • Posts: 22
    • View Profile
Porting game data from V1.1 to V1.2 problem.
« on: May 13, 2014, 02:15:26 am »
Hi, I am trying to port my data from V1.1 to V1.2. I checked the porting guide but there is no mention of this problem.

When I start the game I get:
Fatal: Cannot load font from file 'text/fixed8.fon': Couldn't set font size

There is a fixed8.fon that exist in /text in my data folder after I updated the files with the V1.2 editor. I am not sure of what the problem means. Could it be simply that the engine is trying to find the file in ./text instead of ./data/text?

hank you for your help.

Best regards.

Christopho

  • Administrator
  • Hero Member
  • *****
  • Posts: 1177
    • View Profile
Re: Porting game data from V1.1 to V1.2 problem.
« Reply #1 on: May 13, 2014, 09:24:20 am »
Hi,

fixed8.fon is a font that we used in Zelda Mystery of Solarus DX. With SDL 2, there is a bug and for some reason this font cannot be loaded. Its license was unclear anyway so I replaced it by this one.
You can do the same in your game, or simply remove it if you don't use it.
See this commit to know how to do the change.

I will update the migration guide.
« Last Edit: May 13, 2014, 09:30:33 am by Christopho »

xavius

  • Newbie
  • *
  • Posts: 22
    • View Profile
Re: Porting game data from V1.1 to V1.2 problem.
« Reply #2 on: May 22, 2014, 04:59:34 am »
Ok, nice, thank you!