gemot encubed  

Go Back   gemot encubed > Gemot > Production & Help > ONScripter port to MotoLinux

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

Thread: ONScripter port to MotoLinux Reply to Thread
Your Username: Click here to log in
Random Question
Title:
  
Message:
Post Icons
You may choose an icon for your message from the following list:
 

Additional Options
Miscellaneous Options

Topic Review (Newest First)
2009-11-04 04:53
Pantamorph It worked, what still needs to be done is autohide, though I don't know if we'll succeed with that!
2009-11-03 06:02
Pantamorph OK, I'll try it
Thanks!
2009-11-03 04:30
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
2009-11-03 02:47
Pantamorph Beta's out
You can find it here
Support topics:
Motofan (Russian)
ModMyMoto (Spanish)
Sorry I didn't post this yesterday :(
2009-11-02 06:13
Pantamorph 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.\
2009-11-02 05:50
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
2009-11-02 04:31
Pantamorph 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
2009-10-31 10:50
Message 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."\
2009-10-31 09:42
Pantamorph 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
2009-10-31 09:36
Message
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.
2009-10-31 09:21
Pantamorph 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!
2009-10-30 09:57
Pantamorph Well What do you know, we compiled it with the 2 parameters you gave us!
Narcissu works better (No hyeroglyphs, text is being shown smoothly, the game runs faster, options menu works better)
Sources sent to you in a PM
Don't share them though cuz I haven't finished working on Narcissu
2009-10-28 07:01
Pantamorph
Quote:
Originally Posted by Sonozaki Futago-tachi View Post
By the way, are you unable to use the configure script to generate a Makefile?
Lubomyr's Reply: No, I used the makefile from the Japanese version (P.S. Ogapee's versions had no configure)
2009-10-28 05:31
Pantamorph Yeah, I am the MotoMAGX version tester, so I can test these builds (We successfully compiled Insani's build, but Narci crashes cause mp3fadeout isn't supported in the old ONScripter, I'm also working on the fontsize of the game, cuz the text is unreadable. We also ported SMPEG and Tremor libs to try and add OGG support to ONScripter but it seems that here we need to use a newer version of ONScripter to get rid of the mp3fadeout bug) the MotoMAGX and MotoEZX platform compilers sadly aren't supported oficially, what's weird is that Sharp Zaurus and Motorola A1200 have an idenical Processor so porting ONScripter to A1200 went smooth (I'm talking about Insani's version for Narci and Ogapee's sources), while the MAGX platform (Z6, V8, EM30, E8, U9 e.t.c.) needs to be worked on. Anyway, you can contact me via ICQ at 492521434
2009-10-27 09:42
Hi Pantamorph,

You'll need to add -DINSANI and -DHAELETH to the DEFS in the Makefile. I imagine that won't be the last error you find...

By the way, are you unable to use the configure script to generate a Makefile? onscripter-en doesn't officially support portable OSes at the moment, but we might be able to work something out, especially if there's someone willing to test builds.

Uncle Mion
This thread has more than 15 replies. Click here to review the whole thread.

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


All times are GMT -8. The time now is 06:49.


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