Tirea Aean
Olo'eyktan
Palulukan Makto
     
Karma: 153
Offline
 United States
ToS Username: Tirea Aean
Posts: 7311
and whatnot and stuff.
|
 |
« on: May 22, 2011, 03:40:58 pm » |
|
Hello all. As you may know, I have been away for a while. While gone, I have been studying Python at the university for a class in computer science. I have also been messing with learning more about programming, and linux etc. So today, I present to you all what I have been working on while I was gone: a way to keep my studies AND Na'vi fresh at the same time as using/learning mysql, python and bash, among other things. VrrtepCLI: a Quick Multilingual Na'vi Dictionary Reference/Rhyming Dictionary/Scramble Game/Quiz Game For Linux/Mac AND Windows users. Unfortunately, I know nothing about Windows CMD.exe and how to get it to play nice with UTF-8. That's why it's mac/linux only at this point.more info, and screenshots at http://tirea.skxawng.lu/sourceNow on GOOGLE CODE Users may download the current version on the downloads page. Developers, PM me with your Google account address to become a member of the dev team. SO... any Mac/Linux OR Windows users (ESPECIALLY 64 bit users of any OS) out there wanna provide feedback? Any Windows programmers out there who can help translate this into a more usable product for windows?
|
|
|
|
« Last Edit: April 17, 2012, 01:22:51 pm by Tirea Aean »
|
Logged
|
Can't help helpin' |   |
Oe lu tirea aean, ulte lu oeru eana tirea. Learn Na'vi Grammar the Easy Way at tirea.learnnavi.orgAssociation. Correction. Immersion. NgayNume.
|
|
|
|
Swoka Ikran
|
 |
« Reply #1 on: May 22, 2011, 08:32:38 pm » |
|
Nice!  Been looking for something like this. Works great  Irayo for this! Since I run Windows, I've added basic UTF-8 support to it and converted the shell scripts to CMDs.  If anyone wants it, I'll pack it up and post it. On Windows, the -ipa option won't work, and support for translating Na'vi->non-English language isn't quite perfect, but it's otherwise completely usable. EDIT: Fixed typo...
|
|
|
|
« Last Edit: May 22, 2011, 08:38:49 pm by Swoka Ikran »
|
Logged
|
|
|
|
Tirea Aean
Olo'eyktan
Palulukan Makto
     
Karma: 153
Offline
 United States
ToS Username: Tirea Aean
Posts: 7311
and whatnot and stuff.
|
 |
« Reply #2 on: May 22, 2011, 08:34:11 pm » |
|
Nice!  Been looking for something like this. Works great  Since I run Windows, I've added basic UTF-8 support to it and converted all the shell scripts to CMDs.  If anyone wants it, I'll pack it up and post it. On Windows, the -ipa option won't work, and support for translating Na'vi->non-English language isn't quite perfect, but it's otherwise completely usable. I was hoping you would come along! PLEASE DO send me that (as well as instructions to get utf8 on cmd) so I can add it to my site and credit you. Thank you SO much man!  +1 Tìsung: How did you like the games?
|
|
|
|
« Last Edit: May 22, 2011, 08:42:01 pm by Tirea Aean »
|
Logged
|
Can't help helpin' |   |
Oe lu tirea aean, ulte lu oeru eana tirea. Learn Na'vi Grammar the Easy Way at tirea.learnnavi.orgAssociation. Correction. Immersion. NgayNume.
|
|
|
|
Swoka Ikran
|
 |
« Reply #3 on: May 22, 2011, 09:36:46 pm » |
|
Here's my converted version: http://swokaikran.skxawng.lu/files/vrrtepcli_win.zip Ready to use, but untested (except on the dev system). Probably won't work on Vista/7 without running CMD as an Administrator. Unpack, run install.cmd. Then, in CMD: cd "%userprofile%\.vrrtepcli" to switch to its folder, then use it exactly like the linux version. The updater even works! As for UTF-8...the trick to getting UTF-8 to display in CMD is to...actually output UTF-8 to CMD. Your version was putting out plain ASCII. The easy way to support UTF-8: When you type a PRINT command, think if the variable being printed could possibly have a Na'vi or other non-English word in it. If it can, use PRINT unicode(variable, "utf-8") instead of PRINT variable. Much of what I did was done the "easy way". The only exception is vrrtepcli.py, where I added the unicode()'s inside of loctrans()...
|
|
|
|
|
Logged
|
|
|
|
Tirea Aean
Olo'eyktan
Palulukan Makto
     
Karma: 153
Offline
 United States
ToS Username: Tirea Aean
Posts: 7311
and whatnot and stuff.
|
 |
« Reply #4 on: May 22, 2011, 09:41:41 pm » |
|
Oh. see it outputs ì and ä, and whatever else IPA stuff on bash without a problem. This is because (as far as I know) because of the # -*- coding: utf-8 -*- at the top of the file. anyway, thanks for that. 
|
|
|
|
|
Logged
|
Can't help helpin' |   |
Oe lu tirea aean, ulte lu oeru eana tirea. Learn Na'vi Grammar the Easy Way at tirea.learnnavi.orgAssociation. Correction. Immersion. NgayNume.
|
|
|
|
Swoka Ikran
|
 |
« Reply #5 on: May 22, 2011, 10:10:38 pm » |
|
Oh. see it outputs ì and ä, and whatever else IPA stuff on bash without a problem. This is because (as far as I know) because of the # -*- coding: utf-8 -*- at the top of the file. anyway, thanks for that.  You're welcome 
|
|
|
|
|
Logged
|
|
|
|
Tirea Aean
Olo'eyktan
Palulukan Makto
     
Karma: 153
Offline
 United States
ToS Username: Tirea Aean
Posts: 7311
and whatnot and stuff.
|
 |
« Reply #6 on: May 22, 2011, 10:46:58 pm » |
|
I updated the version on the site. try it out. http://tirea.skxawng.lu/sourceALso, I hereby(if it wasnt already implied) declare this thread a place to report bugs. 
|
|
|
|
|
Logged
|
Can't help helpin' |   |
Oe lu tirea aean, ulte lu oeru eana tirea. Learn Na'vi Grammar the Easy Way at tirea.learnnavi.orgAssociation. Correction. Immersion. NgayNume.
|
|
|
|
Swoka Ikran
|
 |
« Reply #7 on: May 22, 2011, 10:59:29 pm » |
|
Latest works fine on dev, waiting for Python to install in another VM to test a second time...
|
|
|
|
|
Logged
|
|
|
|
Tirea Aean
Olo'eyktan
Palulukan Makto
     
Karma: 153
Offline
 United States
ToS Username: Tirea Aean
Posts: 7311
and whatnot and stuff.
|
 |
« Reply #8 on: May 22, 2011, 11:01:57 pm » |
|
I'm gonna test this on my XP machine. I developed this program largely on my infamous Eee (Ubuntu natty)
|
|
|
|
|
Logged
|
Can't help helpin' |   |
Oe lu tirea aean, ulte lu oeru eana tirea. Learn Na'vi Grammar the Easy Way at tirea.learnnavi.orgAssociation. Correction. Immersion. NgayNume.
|
|
|
|
Swoka Ikran
|
 |
« Reply #9 on: May 22, 2011, 11:07:02 pm » |
|
Testing finished: Works, but you need to add Python to your path manually...2.7's installer won't do it for you. 
|
|
|
|
|
Logged
|
|
|
|
Tirea Aean
Olo'eyktan
Palulukan Makto
     
Karma: 153
Offline
 United States
ToS Username: Tirea Aean
Posts: 7311
and whatnot and stuff.
|
 |
« Reply #10 on: May 22, 2011, 11:10:36 pm » |
|
Testing finished: Works, but you need to add Python to your path manually...2.7's installer won't do it for you.  How does one do that? You could use Savannah for hosting (bug tracking, revision control, file hosting etc) I'll check that out. 
|
|
|
|
|
Logged
|
Can't help helpin' |   |
Oe lu tirea aean, ulte lu oeru eana tirea. Learn Na'vi Grammar the Easy Way at tirea.learnnavi.orgAssociation. Correction. Immersion. NgayNume.
|
|
|
|
Swoka Ikran
|
 |
« Reply #11 on: May 22, 2011, 11:19:57 pm » |
|
Testing finished: Works, but you need to add Python to your path manually...2.7's installer won't do it for you.  How does one do that? On Windows XP: * Control Panel->System Properties->Advanced Tab->Environment Variables. * Find Path in the bottom list, click Edit. Add ;C:\python27 to the end of what's already there. * Click OK all the way out. * Close any open CMDs and open a new one. I'm looking into ways to make adding it to the path easier (and a way to possibly do away with the need for a python install completely...)
|
|
|
|
« Last Edit: May 22, 2011, 11:22:35 pm by Swoka Ikran »
|
Logged
|
|
|
|
Tirea Aean
Olo'eyktan
Palulukan Makto
     
Karma: 153
Offline
 United States
ToS Username: Tirea Aean
Posts: 7311
and whatnot and stuff.
|
 |
« Reply #12 on: May 22, 2011, 11:25:51 pm » |
|
sure.
Okay, actually so before you posted that, I found out how to do it, and I got it to run. Still, the IPA fails in Windows where it works on bash. at least now it shows ä and ì where it didn't before.
Further testing reveals that the unicode does not work on windows in the modules ie rhyme, quiz, and scramble. looks like a job for the unicode() function...
|
|
|
|
« Last Edit: May 22, 2011, 11:28:28 pm by Tirea Aean »
|
Logged
|
Can't help helpin' |   |
Oe lu tirea aean, ulte lu oeru eana tirea. Learn Na'vi Grammar the Easy Way at tirea.learnnavi.orgAssociation. Correction. Immersion. NgayNume.
|
|
|
|
Swoka Ikran
|
 |
« Reply #13 on: May 22, 2011, 11:38:37 pm » |
|
Further testing reveals that the unicode does not work on windows in the modules ie rhyme, quiz, and scramble. looks like a job for the unicode() function...
I thought I fixed all those modules, but they aren't working for me now either  I'll take a look at it. EDIT: Fixed them...had unicode() work overtime  Fixed version coming soon. Also got it to compile into a native EXE...can you say "Python NOT required"? 
|
|
|
|
« Last Edit: May 22, 2011, 11:50:11 pm by Swoka Ikran »
|
Logged
|
|
|
|
Tirea Aean
Olo'eyktan
Palulukan Makto
     
Karma: 153
Offline
 United States
ToS Username: Tirea Aean
Posts: 7311
and whatnot and stuff.
|
 |
« Reply #14 on: May 22, 2011, 11:51:53 pm » |
|
what??
Please do say how you did that? also, how is the IPA not screwed now?
|
|
|
|
|
Logged
|
Can't help helpin' |   |
Oe lu tirea aean, ulte lu oeru eana tirea. Learn Na'vi Grammar the Easy Way at tirea.learnnavi.orgAssociation. Correction. Immersion. NgayNume.
|
|
|
|