 |
MangaTranslation.com Manga Translation by fans, for fans.
|
| View previous topic :: View next topic |
| Author |
Message |
shinseiki Guest
|
Posted: Wed Jan 07, 2004 2:50 pm Post subject: Questions and requests about GMAO and GMAOServer |
|
|
[All questions are about the java web start version of GMAO]
[java version 1.2.0_02(build b05)]
[winXP and IE 6]
Things that look weird and make little n00bs like me feel nervous:
1 – On my Java web start application manager I have 2 identical Great Manga Application Onidzuka links, I removed both applications and installed the application again from the web page but got the 2 identical links again… Is it normal??
2 – In GMAO, on the text line at the bottom of the screen were the text of the bubble appears, I get square block instead of kanji, is this because I made some mistake installing the Java version or does this happen to everyone?
Things that don’t work the way I would like them to and so I call them problems
1 – When making the edit I can press enter and make a new line but on the resulting pop up everything appears as a single paragraph that wraps at the end of the text box, can the paragraph commands from the edit window pass on to the pop-ups?
2 – Is it possible to include some sort of separator like “-------“ or “/\/\/\/\/\/\/\/\/\/\/\” or even just an empty line between the several languages on the pop-ups?
Questions about GMAOServer
1 – Is the purpose of GMAOServer to allow simultaneous users to access the XML file from different locations or is it just a way to organizing different projects?
2 – If the GMAOServer allows simultaneous users to access the XML file, does it need to run on a machine with a fixed IP or will it work with any net connection?
As always thank you very much for the time dedicated to the application and to the users,
Shinseiki |
|
| Back to top |
|
 |
FuguTabetai Shifu


Joined: 10 Feb 2003 Posts: 2548 Location: Tokyo, Japan
|
Posted: Wed Jan 07, 2004 4:29 pm Post subject: Re: Questions and requests about GMAO and GMAOServer |
|
|
| shinseiki wrote: | [All questions are about the java web start version of GMAO]
[java version 1.2.0_02(build b05)]
[winXP and IE 6]
Things that look weird and make little n00bs like me feel nervous:
1 – On my Java web start application manager I have 2 identical Great Manga Application Onidzuka links, I removed both applications and installed the application again from the web page but got the 2 identical links again… Is it normal??
|
Not normal, I don't think. There should only be 1 Great Manga Application Onidzuka (that's all I have anyway.) I can't think of why there would be 2, but I'm not a Java Web Start Guru either. I don't think it can possibly hurt anything though.
| shinseiki wrote: |
2 – In GMAO, on the text line at the bottom of the screen were the text of the bubble appears, I get square block instead of kanji, is this because I made some mistake installing the Java version or does this happen to everyone?
|
You should get Kanji down there. Generally though, GMAO chooses to display the text in the language that is selected in the "Appearance" pane of the GMAO->Options setting. It is supposed to try to anyway. Of course, I can't get it to return any Japanese to me. So maybe I don't get Kanji down there - you wouldn't if your default dialog font can't handle kanji, which is certainly the case if you can't display kanji at all (even in the Annotation Information window.) Regardless, I'll look into it.
| shinseiki wrote: |
Things that don’t work the way I would like them to and so I call them problems
1 – When making the edit I can press enter and make a new line but on the resulting pop up everything appears as a single paragraph that wraps at the end of the text box, can the paragraph commands from the edit window pass on to the pop-ups?
|
The carriage return is in fact stored in the XML file, but since pop-ups are HTML, it is ignored. Also, the code I wrote for filling in text in the bubbles graphically ignores white space altogether. I could put in a line break character of some sort, but it would be lots of work, and I've never really desired that functionality.
It might be easier to do something about a line break in the Javascript pop-ups though. Basically, if you could get a "<"br">" (I can't type in the br tag here) in there, you would be set. You can't do it though: the data is stored in XML files, and one of the dirty secrets of GMAO is that it doesn't quote XML character entities. In fact, trying to put a "&" "<" ">" or other character entities will BREAK the XML parser. I really should fix that at least... This is something that I probably could fix without too much work, so that you could put in a br tag (I would also have to set the drawing code to ignore the br or do a line break as well.) I'll think about this.
| shinseiki wrote: |
2 – Is it possible to include some sort of separator like “-------“ or “/\/\/\/\/\/\/\/\/\/\/\” or even just an empty line between the several languages on the pop-ups?
|
That would be possible. I should really set the Javascript exporter to use a template - that would be pretty easy, and I could just put another configuration pane in the options for setting up the template that you want to use. Again, I'll think about it, maybe code something up this weekend.
| shinseiki wrote: |
Questions about GMAOServer
1 – Is the purpose of GMAOServer to allow simultaneous users to access the XML file from different locations or is it just a way to organizing different projects?
|
Yes, it allows people using GMAO to access a central repository of XML files, and send updates to it (new pages, modification to existing bubbles.) Two important things you can't do with it: delete bubbles, or move bubbles once they are in the server. I would have to add some sort of unique bubble identifier for that to work, and that just isn't going to happen any time soon.
The server is what I use myself since it will automatically create the javascript pages and the "contents" page when an update comes in. By putting the server on a system with access to a file system that is in web server space, that means instant updates to translations are available on the web. Also, the server uses XSLT to generate the one big long page "script" output format on each change. The server also now has a gui and keeps track of annotators. But it doesn't really do any project management, unless you count those contents pages as a management device.
| shinseiki wrote: |
2 – If the GMAOServer allows simultaneous users to access the XML file, does it need to run on a machine with a fixed IP or will it work with any net connection?
|
Yep, it allows lots of users the ability to translate on the same XML file. It will work on any net connection, but you need to be able to access it - which means that probably it will have to have a fixed IP address. For example, I run a server on fugu.cs.columbia.edu/GMAOServer - if you ran it on a machine at home, you could do "192.168.1.102/GMAOServer" to connect to it (NOTE: this is an example, that is not a routable IP address) but if the IP address changes a lot, your friends won't be able to connect unless you keep telling them the new address. Something like a DynDNS address would work fine though (one of those services that takes a name and points it at your changing IP address.)
So basically, you need to know the IP address of the machine that the server is running on, and the ports that Java RMI uses need to be open (I forget just what these ports are right now though.)
| shinseiki wrote: |
As always thank you very much for the time dedicated to the application and to the users,
Shinseiki |
No problem. I wrote all this stuff for myself. I don't really expect other people to use it, but they are welcome to. I only know of 1 other project using it though (Yu Yu Hakusho translations at a university in Alaska, maybe for a language learning group? Hope it helps!)
fugu |
|
| Back to top |
|
 |
FuguTabetai Shifu


Joined: 10 Feb 2003 Posts: 2548 Location: Tokyo, Japan
|
Posted: Wed Jan 07, 2004 9:20 pm Post subject: Added more configuration for Overlib pop-ups |
|
|
I have added two more options in the HTML Export portion of the Options panel. The first is an "Overlib Template" which lets you completely customize the HTML used to generate the text of the pop-up. Each translation will use the template, and %TEXT% will be replaced with the text of the translation, and %AUTHOR% will be replaced with the author of the translation. The "Include Annotation Author" option has been removed, because you can just leave %AUTHOR% out of the template.
Additionally, the "Translation Separator" option lets you put some text in that will be placed in between two translations in the bubble. Of course, HTML is good, so a hr tag (or br, which is the default) is a good bet here.
This was actually the easiest thing on the list to look at. I don't know if I will look at the other things anytime soon.
Note that the GMAOServer also picks up this change since it reuses the same code. In order for it to pick up the settings, you have to copy the entries in the GMAO.props file that start with htmlTemplate to the GMAOServer.props file. I'm not going to try to shoe-horn this configuration GUI into the GMAOServer also. Just open the two files up with notepad or your favorite text editor, and copy and paste away. Cheers,
fugu |
|
| Back to top |
|
 |
FuguTabetai Shifu


Joined: 10 Feb 2003 Posts: 2548 Location: Tokyo, Japan
|
Posted: Fri Jan 09, 2004 5:05 pm Post subject: Re: Questions and requests about GMAO and GMAOServer |
|
|
| shinseiki wrote: |
1 – When making the edit I can press enter and make a new line but on the resulting pop up everything appears as a single paragraph that wraps at the end of the text box, can the paragraph commands from the edit window pass on to the pop-ups?
|
I snipped a bunch of stuff above, but I just addressed this issue as well. Turns out it was a pretty easy fix - now you can have HTML tags in the fields, and things will be ok. I changed the GMAO text display system so that it will understand a br tag (space <br> space !! do not join it with any text) and so a br tag will skip down to the next line. This is not heavily tested yet, but should work well enough. All HTML is passed on to the javascript pop-ups, so that should work fine. In GMAO, the Annotation Information frame is HTML as well, so you will not be able to see your tag, just the effects it has. You can edit the translation, and see the tag there then.
I think that is it. Let me know if there are problems.
fugu |
|
| Back to top |
|
 |
Shinseiki Guest
|
Posted: Sat Jan 10, 2004 2:23 pm Post subject: |
|
|
First, Thanks!... I really don’t know what to say to express my gratitude and appreciation for your work
Second, things I found out that are probably good for other user to know in order to avoid panic:
- Must save before exporting HTML otherwise the web page will be created but without areas (if it’s a modification the alterations or new areas won’t appear)
Third, regarding the alterations:
- The single line between the various lines looks to me, visually better than some string of characters so I’ll leave it at <br> but the chance to edit it is really cool. (line “----” line also looks good if you use a %TEXT% only overlib, otherwise it’s too much space for so little text)
- Regarding the Overlib template, really cool addition, tried to change from
(<small>%AUTHOR%</small>) %TEXT%<br>
to
(<small>%LANGUAGE%</small>) <br> %TEXT%<br>
but there is no language tag, can you add one? It’s easy right?
- The <br> appears to work great for me too, now I don’t have to make several areas in one text box or bubble, Yupiiii!
Haven’t tried any other html codes besides <br> such as text format codes (bold, italic) because, at least for me, that’s not really necessary, since the original text is still there (unlike on traditional edited scanlations), there’s no point in formatting the text. |
|
| Back to top |
|
 |
FuguTabetai Shifu


Joined: 10 Feb 2003 Posts: 2548 Location: Tokyo, Japan
|
Posted: Sun Jan 11, 2004 11:54 am Post subject: |
|
|
| Shinseiki wrote: | First, Thanks!... I really don’t know what to say to express my gratitude and appreciation for your work
Second, things I found out that are probably good for other user to know in order to avoid panic:
- Must save before exporting HTML otherwise the web page will be created but without areas (if it’s a modification the alterations or new areas won’t appear)
|
Yes, also you should be sure to re-select the page you were working on after a save. The picture is still loaded in the frame, but if the page is not selected on the left, changes will be lost. I should have it in-validate the page display after saving.
| Shinseiki wrote: |
Third, regarding the alterations:
- The single line between the various lines looks to me, visually better than some string of characters so I’ll leave it at but the chance to edit it is really cool. (line “----” line also looks good if you use a %TEXT% only overlib, otherwise it’s too much space for so little text)
|
Since it is user-configurable, you can do whatever you want.
| Shinseiki wrote: |
- Regarding the Overlib template, really cool addition, tried to change from
(<small>%AUTHOR%</small>) %TEXT%
to
(<small>%LANGUAGE%</small>) %TEXT%
but there is no language tag, can you add one? It’s easy right?
|
Sure, I've added that.
| Shinseiki wrote: |
- The appears to work great for me too, now I don’t have to make several areas in one text box or bubble, Yupiiii!
Haven’t tried any other html codes besides such as text format codes (bold, italic) because, at least for me, that’s not really necessary, since the original text is still there (unlike on traditional edited scanlations), there’s no point in formatting the text. |
Other tags will pass through to the Overlib pop-up just fine, but GMAO only understands the br tag. Other tags will show up in the bubbles, making things really ugly if you use the auto-edits at all. I could modify GMAO to ignore any HTML-like tags, but I don't know if that is useful at all.
Just out of curiosity, what are you using GMAO for?
fugu |
|
| Back to top |
|
 |
Shinseiki Guest
|
Posted: Sun Jan 11, 2004 1:12 pm Post subject: |
|
|
| Quote: | | Just out of curiosity, what are you using GMAO for? |
(get’s down on knees and begs)
Forgive me master but the calling of the dark side is too strong and I could not resist the translation of smut!
Yes I’m using the fruit of your hard work for dark evil purposes and soon (if the rest of the project members don’t give up), Amanoja9’ “T.S. I love you..2” will have a GMAO translation, forever sullying the immaculate purity of you application MUAHAHAHAHA  |
|
| Back to top |
|
 |
FuguTabetai Shifu


Joined: 10 Feb 2003 Posts: 2548 Location: Tokyo, Japan
|
Posted: Sun Jan 11, 2004 2:38 pm Post subject: |
|
|
Hm, I don't know what that is, but I guess it is some sort of adult manga. That's fine really; GMAO is a tool, and isn't responsible for how it is used. It is just nice to see people using it.
If it is hentai though, it will be strange for people that you have to zip up the .HTML files along with the images...
fugu |
|
| Back to top |
|
 |
Guest
|
Posted: Sun Jan 11, 2004 3:06 pm Post subject: Error :( |
|
|
I get the following error when trying to launch GMAO from Java Web Start:
java.io.FileNotFoundException: C:\DOCUME~1\‚ ‚É‚³\LOCALS~1\Temp\javaws6 (Žw’肳‚ꂽƒpƒX‚ªŒ©‚‚©‚è‚Ü‚¹‚ñ�B)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
at com.sun.javaws.Main.main(Unknown Source)
Not sure why it's looking for a file in my C drive. So far as I can tell, the Java Web Start is the current version. |
|
| Back to top |
|
 |
Shinseiki Guest
|
Posted: Sun Jan 11, 2004 3:15 pm Post subject: |
|
|
It is indeed an adult manga (and since you can buy it at J-list its has nothing illegal… just a little bit different)
Regarding the GMAOServer, here I was all happy and ready for it when it asks me for XLS directories…
I just want a shared XML file with the jpg’s kept on each local pc for faster access…Is that feasible with the current GMAOServer? Having to send the XML from bubble maker to kanji inserter to translator is nothing much but having a central XML file would certainly be cool  |
|
| Back to top |
|
 |
Shinseiki Guest
|
|
| Back to top |
|
 |
FuguTabetai Shifu


Joined: 10 Feb 2003 Posts: 2548 Location: Tokyo, Japan
|
Posted: Sun Jan 11, 2004 5:27 pm Post subject: Re: Error :( |
|
|
| Anonymous wrote: | I get the following error when trying to launch GMAO from Java Web Start:
java.io.FileNotFoundException: C:\DOCUME~1\‚ ‚É‚³\LOCALS~1\Temp\javaws6 (Žw’肳‚ꂽƒpƒX‚ªŒ©‚‚©‚è‚Ü‚¹‚ñ�B)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(Unknown Source)
at java.io.FileInputStream.(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
at com.sun.javaws.Main.main(Unknown Source)
Not sure why it's looking for a file in my C drive. So far as I can tell, the Java Web Start is the current version. |
So that is an error with Java Web Start - I don't see any part of GMAO in the stack trace. I'm not sure why it is complaining about not being able to find a pass file or some sort, I've never heard of such a thing.
Can you run anything else via Java Web Start?
fugu |
|
| Back to top |
|
 |
FuguTabetai Shifu


Joined: 10 Feb 2003 Posts: 2548 Location: Tokyo, Japan
|
Posted: Sun Jan 11, 2004 5:35 pm Post subject: |
|
|
| Shinseiki wrote: | It is indeed an adult manga (and since you can buy it at J-list its has nothing illegal… just a little bit different)
Regarding the GMAOServer, here I was all happy and ready for it when it asks me for XLS directories…
I just want a shared XML file with the jpg’s kept on each local pc for faster access…Is that feasible with the current GMAOServer? Having to send the XML from bubble maker to kanji inserter to translator is nothing much but having a central XML file would certainly be cool  |
GMAOServer can do that. You should set it up with directories for all the things - it will automatically create new javascript pages when the XML file is updated in that case. You can just put anything in there though (like C:/) and you should be fine. You can put a nonsense XSL file, and there will be an error when it tries to make the HTML version of the XML file, but it will still save the changes to the XML file.
I should change it so GMAOServer does not require those fields - it is possible to just leave them blank in the GMAOServer.props file and things will work like you want.
Hm, when I translate I make the bubbles, make the translation, and add the Japanese myself. It is a lot easier to just keep 1 central XML file under control of the server - i makes thing much easier for me because I can translate from many different locations and computers...
fugu |
|
| Back to top |
|
 |
FuguTabetai Shifu


Joined: 10 Feb 2003 Posts: 2548 Location: Tokyo, Japan
|
Posted: Sun Jan 11, 2004 5:35 pm Post subject: |
|
|
Thanks, I fixed that.
fugu |
|
| Back to top |
|
 |
Guest
|
Posted: Mon Jan 12, 2004 5:42 am Post subject: Re: Error :( |
|
|
| FuguTabetai wrote: | | Anonymous wrote: | I get the following error when trying to launch GMAO from Java Web Start:
java.io.FileNotFoundException: C:\DOCUME~1\‚ ‚É‚³\LOCALS~1\Temp\javaws6 (Žw’肳‚ꂽƒpƒX‚ªŒ©‚‚©‚è‚Ü‚¹‚ñ�B)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(Unknown Source)
at java.io.FileInputStream.(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
at com.sun.javaws.Main.main(Unknown Source)
Not sure why it's looking for a file in my C drive. So far as I can tell, the Java Web Start is the current version. |
So that is an error with Java Web Start - I don't see any part of GMAO in the stack trace. I'm not sure why it is complaining about not being able to find a pass file or some sort, I've never heard of such a thing.
Can you run anything else via Java Web Start?
fugu |
Initially, I couldn't run the demo programs that came with it (the error was different, though, something about jar files), so I went hunting around the Sun page and reinstalled it. Now I can run whatever the demos are, but it still spits out the same error for GMAO. Under the exception tab it says:
CouldNotLoadArgumentException[ Could not load file/URL specified]
at com.sun.javaws.Main.main(Unknown Source)
And under wrapped exception it's the same as before. |
|
| Back to top |
|
 |
Guest
|
Posted: Mon Jan 12, 2004 5:51 am Post subject: figured it out |
|
|
I think I figured it out... but it's pretty stupid. My computer runs on a Japanese Windows XP, and I have two users set up. One is in romanji, and one is in hiragana. I usually work from the hiragana user, so preferences and such are stored under a folder with that hiragana... English programs can't figure out hiragana, so it came out as gibberish to the Java program, probably. When I went to the romanji user and tried launching GMAO, it worked fine.
I still think it's dumb though.
Thanks for your help! |
|
| Back to top |
|
 |
FuguTabetai Shifu


Joined: 10 Feb 2003 Posts: 2548 Location: Tokyo, Japan
|
Posted: Mon Jan 12, 2004 9:12 am Post subject: |
|
|
Yes, that is kind of dumb. Java itself knows about Unicode and other encodings, so it should run fine under a non-ASCII user name, but I suspect that Windows and Java Web Start don't play nicely on that aspect for some reason.
fugu |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|