gemot encubed  

Go Back   gemot encubed > Gemot > Production & Help

Production & Help For discussions regarding production aspects, especially localisation, of visual novels and related games.

Reply
 
Thread Tools Display Modes
  #16  
Old 2009-10-31, 09:21
Pantamorph's Avatar
Pantamorph Pantamorph is offline
Member
 
Join Date: Oct 2009
Posts: 18
Default

Setwindow problem fixed
Screens of Mion's build ported to Z6:


What's left is the nospace problem, I checked textgosub command, not sure it's causing this bug, since this command defines a label to jump to at a mouseclick
Other than that most bugs are fixed and when I manage to fix this one I'll upload a release!
Reply With Quote
  #17  
Old 2009-10-31, 09:36
Message's Avatar
Message Message is offline
Obsessive
 
Join Date: Dec 2003
Location: Netherlands
Posts: 323
Default

Quote:
Originally Posted by Pantamorph View Post
What's left is the nospace problem, I checked textgosub command, not sure it's causing this bug, since this command defines a label to jump to at a mouseclick
If the game uses that command, there is a strange thingie that causes problems... Alright, let me dig into the logs and see if I can figure out what that was.
Reply With Quote
  #18  
Old 2009-10-31, 09:42
Pantamorph's Avatar
Pantamorph Pantamorph is offline
Member
 
Join Date: Oct 2009
Posts: 18
Default

what logs do you need?
telnet? Compilation?
Generated log:
../../textinput/framework/engine/common/KbInputFieldAdapter.cpp:ZInputFieldAdapter:260: ZInputFieldAdapter: ok, me=0x9feb0
../../textinput/framework/engine/common/KbEditContext.cpp:KbEditContext:390: register application exit function
setkinsoku: "ЃvЃxЃjЃnЃpЃAЃBЃCЃDЃEЃHЃIЃRЃSЃTЃUЃXЃ[","ЃuЃwЃiЃmЃo"
hide splash: -1
map framebuffer at 0x4358d000 (size 262144)
landscape mode
Quitting...
~SDL_QWin(): chau
../../textinput/framework/engine/common/KbEditContext.cpp:appExit:358: client application is exit
../../textinput/framework/engine/common/KbEditContext.cpp:saveData:465: data is not dirty

Last edited by Pantamorph; 2009-10-31 at 09:51.
Reply With Quote
  #19  
Old 2009-10-31, 10:50
Message's Avatar
Message Message is offline
Obsessive
 
Join Date: Dec 2003
Location: Netherlands
Posts: 323
Default

Heh, no, I meant my own IRC logs. I discussed the issue in some channel somewhere.

I've found it now. As it turns out, the issue I was thinking of wasn't your problem at all, it was something entirely different. My apologies. I guess I'll post the stuff here anyway, for whoever's interested:


The problem was that using the textgosub function breaks out of halfwidth (one-byte) text mode:
Quote:
[14:48] <Message> The command doesn't reinitialize the halfwidth interpretation if it's called from the middle of a text line (say, during a @ waitstate instead of a \ waitstate).

As an example, let's take this script:
Code:
`"Uhuhu.@ Yes, this is Charon's ferry terminal.@ I have been waiting for you!"\
`"Hm. I am wrapped in ominous thoughts."\
You would expect the game to render this as follows:
Quote:
"Uhuhu. Yes, this is Charon's ferry terminal. I have been waiting for you!"
And the next page:
Quote:
"Hm. I am wrapped in ominous thoughts."
In reality, when using textgosub to define a custom mouseclick function, it was rendered as follows:
Quote:
"Uhuhu."Hm. I am wrapped in ominous thoughts."
What happened is that because the textgosub breaks out from halfwidth mode, all the text after 'uhuhu' was read as commands, not game text. Unable to make sense of the commands, ONS-en just skipped it and continued with the next line of game text. I had to reopen halfwidth mode with `:
Quote:
[14:49] <Message> So I just started a new line after the @ waitstate, starting with a new ` char. Normally this would make the the newline also show ingame, but apparently texec makes ONS ignore the newline.


So the script ended up looking like this:
Code:
`"Uhuhu.@
` Yes, this is Charon's ferry terminal.@
` I have been waiting for you!"\
`"Hm. I am wrapped in ominous thoughts."\
Reply With Quote
  #20  
Old 2009-11-02, 04:31
Pantamorph's Avatar
Pantamorph Pantamorph is offline
Member
 
Join Date: Oct 2009
Posts: 18
Default

Oh well, guess I'll try to fix it myself
Anyway, this bug doesn't remove any letters so pretty much the text is readable and I'm eager to make a beta (For testing the fontsize & stuff)
So all MotoLinux users won't wait long
Reply With Quote
  #21  
Old 2009-11-02, 05:50
Sonozaki Futago-tachi
Guest
 
Posts: n/a
Default

Oh, with textgosub games, you can deal with the issue Message mentions by surrounding the @s with ``s:
Code:
`"Uhuhu.`@` Yes, this is Charon's ferry terminal.`@` I have been waiting for you!"\
Pantamorph, can you show one of the script text commands that make the no-space bugs? I'd like to see what's going on.

Thanks,
Uncle Mion

Last edited by Sonozaki Futago-tachi; 2009-11-02 at 05:52.
Reply With Quote
  #22  
Old 2009-11-02, 06:13
Pantamorph's Avatar
Pantamorph Pantamorph is offline
Member
 
Join Date: Oct 2009
Posts: 18
Default

The whole text is featured without spaces
Here's some example sentences:
`"My health was never particularly good, sure..."\
`But I was able to attend primary school like anyone else.
`In the summer holidays I was able to play till the sun burnt me black.\
`It was June, just after I entered middle school.@
`
`It was just before the midterm tests.\
`It was the day after I ordered a swimming costume for the summer.
`That was the first day I was admitted to hospital.\
`It was a cold, unpleasant, drizzly day.\
`Shrouded by the rainy sky, murky, white, and damp.\

Last edited by Pantamorph; 2009-11-03 at 02:45.
Reply With Quote
  #23  
Old 2009-11-03, 02:47
Pantamorph's Avatar
Pantamorph Pantamorph is offline
Member
 
Join Date: Oct 2009
Posts: 18
Default

Beta's out
You can find it here
Support topics:
Motofan (Russian)
ModMyMoto (Spanish)
Sorry I didn't post this yesterday :(
Reply With Quote
  #24  
Old 2009-11-03, 04:30
Sonozaki Futago-tachi
Guest
 
Posts: n/a
Default

Aha! I finally figured it out. You need to add -DENABLE_1BYTE_CHAR to your DEFS in the Makefile.

Sorry I didn't notice that earlier ^^;

Uncle Mion
Reply With Quote
  #25  
Old 2009-11-03, 06:02
Pantamorph's Avatar
Pantamorph Pantamorph is offline
Member
 
Join Date: Oct 2009
Posts: 18
Default

OK, I'll try it
Thanks!
Reply With Quote
  #26  
Old 2009-11-04, 04:53
Pantamorph's Avatar
Pantamorph Pantamorph is offline
Member
 
Join Date: Oct 2009
Posts: 18
Default

It worked, what still needs to be done is autohide, though I don't know if we'll succeed with that!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Some verification needed for Kanon PS2-port F.I.A General Discussion 2 2007-08-12 17:21


All times are GMT -8. The time now is 19:51.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.