Utsukushii Planet - 2nd french demo released

Ideas and games that are not yet publicly in production. This forum also contains the pre-2012 archives of the Works in Progress forum.
Message
Author
Watercolorheart
Eileen-Class Veteran
Posts: 1314
Joined: Mon Sep 19, 2005 2:15 am
Completed: Controlled Chaos / Sum of the Parts / "that" Midna game with ZONEsama
Projects: Sparse Series/Oddments Shop original cartoon in Pevrea; Cybernetic Duels (fighting game); Good Vibin'
Organization: Watercolorheart Studios
IRC Nick: BCS
Tumblr: adminwatercolor
Deviantart: itsmywatercolorheart
Github: Watercolordevdev
Skype: heartnotes
Soundcloud: Watercollider
itch: watercolorheart
Location: Florida
Contact:

#46 Post by Watercolorheart » Sat Apr 29, 2006 12:24 pm

How is it everyone else has gotten this game to run?

I finally replaced the font "Vera.ttf" with another one from one of my games which plays fine, and I'm still getting the traceback complaining about the "u/uffe3" character being undefined. WTF?

It's not running at all with me ... (again, I am using Windows XP Security Edition, but all other Ren'Py games work fine on it.)

User avatar
PyTom
Ren'Py Creator
Posts: 15893
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

#47 Post by PyTom » Sat Apr 29, 2006 12:43 pm

Well, it worked for me.

As a last ditch fix attempt, along with moving Vera.ttf into the game directory, you may be able to add:

Code: Select all

init 1000:
    $ style.default.font = "vera.ttf"
To a file (say, fix.rpy) in the game directory.

That being said, I'm almost certain that the underlying problem is a font on your system is corrupt.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
monele
Lemma-Class Veteran
Posts: 4101
Joined: Sat Oct 08, 2005 7:57 am
Location: France
Contact:

#48 Post by monele » Sat Apr 29, 2006 12:48 pm

At some point I thought it was coming from the log function but I didn't activate it in this demo ô_o...

Plus it would seem the unicode character you're crashing on is :

http://www.fileformat.info/info/unicode ... /index.htm

"fullwidth macron"... I've never used this ^^;... The only special character used was a non-breaking space (alt code 160).

Watercolorheart
Eileen-Class Veteran
Posts: 1314
Joined: Mon Sep 19, 2005 2:15 am
Completed: Controlled Chaos / Sum of the Parts / "that" Midna game with ZONEsama
Projects: Sparse Series/Oddments Shop original cartoon in Pevrea; Cybernetic Duels (fighting game); Good Vibin'
Organization: Watercolorheart Studios
IRC Nick: BCS
Tumblr: adminwatercolor
Deviantart: itsmywatercolorheart
Github: Watercolordevdev
Skype: heartnotes
Soundcloud: Watercollider
itch: watercolorheart
Location: Florida
Contact:

#49 Post by Watercolorheart » Sat Apr 29, 2006 1:12 pm

PyTom wrote:Well, it worked for me.

As a last ditch fix attempt, along with moving Vera.ttf into the game directory, you may be able to add:

Code: Select all

init 1000:
    $ style.default.font = "vera.ttf"
To a file (say, fix.rpy) in the game directory.

That being said, I'm almost certain that the underlying problem is a font on your system is corrupt.
But that font works fine with my own private Limitation demo! Why would it be corrupt (the same file for Utsukushii and Limitation now) for one and not the other?

User avatar
PyTom
Ren'Py Creator
Posts: 15893
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

#50 Post by PyTom » Sat Apr 29, 2006 1:32 pm

1) Sorry, but write "Vera.ttf" rather than "vera.ttf".

2) For whatvers reason, UP is trying to read the file from the system directory. The code I gave makes it read from the local directory, which would seem to be what is wanted.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
monele
Lemma-Class Veteran
Posts: 4101
Joined: Sat Oct 08, 2005 7:57 am
Location: France
Contact:

#51 Post by monele » Sat Apr 29, 2006 1:41 pm

PyTom wrote:2) For whatvers reason, UP is trying to read the file from the system directory. The code I gave makes it read from the local directory, which would seem to be what is wanted.
Note : I do have this code in my files :

Code: Select all

init:
    python:
    
        style.default.font = "Verdana.ttf"
And it clearly looks in the system directory since I have no font file in the game directory ô_o... Is this proper behaviour or was something already wrong at that point ?
Furthermore, how is your code forcing the game to read the local directory? ô_o *curious*

User avatar
PyTom
Ren'Py Creator
Posts: 15893
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

#52 Post by PyTom » Sat Apr 29, 2006 1:56 pm

Okay, looks like I was misremebering how Ren'Py does fonts. Actually, forgetting that I changed it a while back... this is code I haven't touched in a while. (Since last August, if my tools are telling me the right thing.)

Basically, what it does is the following:

1. If a font is in the local directory, it loads it.
2. Otherwise, if the font filename is found in the system fonts directory, it loads it.
3. Otherwise, it looks for a font with the given name in the system fonts directory.

What's going on is that a font in the system font directory uses a bad character in its name or information somewhere, which is crashing Ren'Py.

Fixes are to copy Verdana.ttf into the game directory, or to make the change I indicated and copy Vera.ttf into the game directory.

In general, I recommend shipping fonts with Ren'Py games, to prevent corruption issues like this from occuring. Unfortunately, this leads to many games using Bitstream Vera, the best series of freely-distributable fonts out there. At least Vera isn't horribly ugly.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
monele
Lemma-Class Veteran
Posts: 4101
Joined: Sat Oct 08, 2005 7:57 am
Location: France
Contact:

#53 Post by monele » Sat Apr 29, 2006 2:11 pm

I see... What happens when the given filename isn't found at all ? Is it ignored or is there a default font ? (it seems it is ignored in my case since it defaulted to the second defined font (Verdana))

User avatar
PyTom
Ren'Py Creator
Posts: 15893
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

#54 Post by PyTom » Sat Apr 29, 2006 2:36 pm

The behavior when it can't find the font entirely is undefined. (Pygame has its own logic for this case, but it may not work, and I don't want to guarantee anything.)
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
monele
Lemma-Class Veteran
Posts: 4101
Joined: Sat Oct 08, 2005 7:57 am
Location: France
Contact:

#55 Post by monele » Sat Apr 29, 2006 3:04 pm

Alright. Well I've switched to Vera now. It's so close to Verdana that it's not even funny :).

User avatar
PyTom
Ren'Py Creator
Posts: 15893
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

#56 Post by PyTom » Sat Apr 29, 2006 3:48 pm

All those letters look alike to me. :-)
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
Quin
Regular
Posts: 117
Joined: Sun Nov 20, 2005 4:29 am
Location: Maine
Contact:

#57 Post by Quin » Sat Apr 29, 2006 7:57 pm

Meh... they're very similar, but not the same. ^_^

[typographic-geek mode] For example, the diagonals of Vera's lowercase k meet the vertical at a point, while Verdana has the lower diagonal merging squarely with the upper diagonal, which in turn merges with the vertical. And in letters where a curve meets a vertical, like the lowercase h, Vera's curve is almost circular, while Verdana's turns into a straight line. Verdana's lowercase j has a serif; Vera's does not. Vera's lowercase y has a curved tail; Verdana's is straight. [/typographic-geek mode]

Personally, I'm using Ben Weiner's font Puritan for Ashes to the Wind, since I feel it has a little more character than Vera and Verdana, but is still very legible. (Coincidentally, it has a smaller filesize, too. ^_^)

User avatar
monele
Lemma-Class Veteran
Posts: 4101
Joined: Sat Oct 08, 2005 7:57 am
Location: France
Contact:

#58 Post by monele » Sun Apr 30, 2006 9:01 pm

I spent the day trying a few effects and doing this :

Image

(background source : http://www.sxc.hu/photo/70689)

This is a little montage with Katania =^.^=

Well... obviously I haven't really worked on the story, nya ^^;...
Last edited by monele on Mon May 08, 2006 5:04 pm, edited 1 time in total.

User avatar
Quin
Regular
Posts: 117
Joined: Sun Nov 20, 2005 4:29 am
Location: Maine
Contact:

#59 Post by Quin » Mon May 01, 2006 2:26 pm

O__O Can we say "strategic fur placement"? Nyao!

I now like Katania even more than I did before. o^_^o

User avatar
F.I.A
Miko-Class Veteran
Posts: 546
Joined: Wed Sep 21, 2005 10:49 pm
Projects: Winter Shard, EVE, Hyperion
Contact:

#60 Post by F.I.A » Wed May 03, 2006 9:23 am

I just managed to try this a few minutes and I have to say that this is rather remarkable, monele. The effect used just fit in to put life in various scenes.
I somehow cannot click on "(Wait next to the ship.)" in Urbania. Is it limited in this demo or something?
Judging by the size of the demo, the whole will be a biggie for sure. Good luck, monele! :D

Post Reply

Who is online

Users browsing this forum: No registered users