Kaltxì, Guest! Why don't you join our community?
Learn Na'vi Community
May 19, 2013, 06:57:44 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
Paul Frommer's
Language Workbook
News: www.AvatarMeet.com has been updated with new information for the next meet up. Go check it out!
 
   Home   Donate Rules Gallery Login Register  
Pages: [1] 2 3 4 5 ... 30   Go Down
  Print  
Author Topic: VrrtepCLI  (Read 7948 times)
0 Members and 1 Guest are viewing this topic.
Tirea Aean
Olo'eyktan
Palulukan Makto
*****
*
*

Karma: 153
Offline Offline

United States United States

ToS Username: Tirea Aean
Posts: 7311


and whatnot and stuff.


WWW
« 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/source

Now 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

Quote
Can't help helpin'
Oe lu tirea aean, ulte lu oeru eana tirea.
Learn Na'vi Grammar the Easy Way at tirea.learnnavi.org
Association. Correction. Immersion. NgayNume.
Swoka Ikran
Palulukan Makto
*****
*

Karma: 29
Offline Offline

United States United States

ToS Username: Swoka Ikran
Posts: 1619



« Reply #1 on: May 22, 2011, 08:32:38 pm »

Nice! Smiley Been looking for something like this. Works great Cheesy Irayo for this!

Since I run Windows, I've added basic UTF-8 support to it and converted the shell scripts to CMDs. Smiley 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

2010 was the year of the Na'vi.Vivar 'ivong Na'vi!

 
Avatray | NWOTD Sigbars | Sacred's Sigbar Tool | My collection of Avatar merchandise
Tirea Aean
Olo'eyktan
Palulukan Makto
*****
*
*

Karma: 153
Offline Offline

United States United States

ToS Username: Tirea Aean
Posts: 7311


and whatnot and stuff.


WWW
« Reply #2 on: May 22, 2011, 08:34:11 pm »

Nice! Cheesy Been looking for something like this. Works great Smiley

Since I run Windows, I've added basic UTF-8 support to it and converted all the shell scripts to CMDs. Smiley 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! Cheesy +1

Tìsung: How did you like the games?
« Last Edit: May 22, 2011, 08:42:01 pm by Tirea Aean » Logged

Quote
Can't help helpin'
Oe lu tirea aean, ulte lu oeru eana tirea.
Learn Na'vi Grammar the Easy Way at tirea.learnnavi.org
Association. Correction. Immersion. NgayNume.
Swoka Ikran
Palulukan Makto
*****
*

Karma: 29
Offline Offline

United States United States

ToS Username: Swoka Ikran
Posts: 1619



« 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

2010 was the year of the Na'vi.Vivar 'ivong Na'vi!

 
Avatray | NWOTD Sigbars | Sacred's Sigbar Tool | My collection of Avatar merchandise
Tirea Aean
Olo'eyktan
Palulukan Makto
*****
*
*

Karma: 153
Offline Offline

United States United States

ToS Username: Tirea Aean
Posts: 7311


and whatnot and stuff.


WWW
« 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. Grin
Logged

Quote
Can't help helpin'
Oe lu tirea aean, ulte lu oeru eana tirea.
Learn Na'vi Grammar the Easy Way at tirea.learnnavi.org
Association. Correction. Immersion. NgayNume.
Swoka Ikran
Palulukan Makto
*****
*

Karma: 29
Offline Offline

United States United States

ToS Username: Swoka Ikran
Posts: 1619



« 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. Grin
You're welcome Smiley
Logged

2010 was the year of the Na'vi.Vivar 'ivong Na'vi!

 
Avatray | NWOTD Sigbars | Sacred's Sigbar Tool | My collection of Avatar merchandise
Tirea Aean
Olo'eyktan
Palulukan Makto
*****
*
*

Karma: 153
Offline Offline

United States United States

ToS Username: Tirea Aean
Posts: 7311


and whatnot and stuff.


WWW
« Reply #6 on: May 22, 2011, 10:46:58 pm »

I updated the version on the site. try it out.

http://tirea.skxawng.lu/source

ALso, I hereby(if it wasnt already implied) declare this thread a place to report bugs. Cheesy
Logged

Quote
Can't help helpin'
Oe lu tirea aean, ulte lu oeru eana tirea.
Learn Na'vi Grammar the Easy Way at tirea.learnnavi.org
Association. Correction. Immersion. NgayNume.
Swoka Ikran
Palulukan Makto
*****
*

Karma: 29
Offline Offline

United States United States

ToS Username: Swoka Ikran
Posts: 1619



« Reply #7 on: May 22, 2011, 10:59:29 pm »

I updated the version on the site. try it out.

http://tirea.skxawng.lu/source

Latest works fine on dev, waiting for Python to install in another VM to test a second time...
Logged

2010 was the year of the Na'vi.Vivar 'ivong Na'vi!

 
Avatray | NWOTD Sigbars | Sacred's Sigbar Tool | My collection of Avatar merchandise
Tirea Aean
Olo'eyktan
Palulukan Makto
*****
*
*

Karma: 153
Offline Offline

United States United States

ToS Username: Tirea Aean
Posts: 7311


and whatnot and stuff.


WWW
« 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

Quote
Can't help helpin'
Oe lu tirea aean, ulte lu oeru eana tirea.
Learn Na'vi Grammar the Easy Way at tirea.learnnavi.org
Association. Correction. Immersion. NgayNume.
Swoka Ikran
Palulukan Makto
*****
*

Karma: 29
Offline Offline

United States United States

ToS Username: Swoka Ikran
Posts: 1619



« 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. Sad
Logged

2010 was the year of the Na'vi.Vivar 'ivong Na'vi!

 
Avatray | NWOTD Sigbars | Sacred's Sigbar Tool | My collection of Avatar merchandise
Tirea Aean
Olo'eyktan
Palulukan Makto
*****
*
*

Karma: 153
Offline Offline

United States United States

ToS Username: Tirea Aean
Posts: 7311


and whatnot and stuff.


WWW
« 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. Sad

How does one do that?

You could use Savannah for hosting (bug tracking, revision control, file hosting etc)

I'll check that out. Smiley
Logged

Quote
Can't help helpin'
Oe lu tirea aean, ulte lu oeru eana tirea.
Learn Na'vi Grammar the Easy Way at tirea.learnnavi.org
Association. Correction. Immersion. NgayNume.
Swoka Ikran
Palulukan Makto
*****
*

Karma: 29
Offline Offline

United States United States

ToS Username: Swoka Ikran
Posts: 1619



« 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. Sad

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

2010 was the year of the Na'vi.Vivar 'ivong Na'vi!

 
Avatray | NWOTD Sigbars | Sacred's Sigbar Tool | My collection of Avatar merchandise
Tirea Aean
Olo'eyktan
Palulukan Makto
*****
*
*

Karma: 153
Offline Offline

United States United States

ToS Username: Tirea Aean
Posts: 7311


and whatnot and stuff.


WWW
« 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

Quote
Can't help helpin'
Oe lu tirea aean, ulte lu oeru eana tirea.
Learn Na'vi Grammar the Easy Way at tirea.learnnavi.org
Association. Correction. Immersion. NgayNume.
Swoka Ikran
Palulukan Makto
*****
*

Karma: 29
Offline Offline

United States United States

ToS Username: Swoka Ikran
Posts: 1619



« 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  Undecided

I'll take a look at it.

EDIT: Fixed them...had unicode() work overtime Grin Fixed version coming soon. Also got it to compile into a native EXE...can you say "Python NOT required"? Smiley
« Last Edit: May 22, 2011, 11:50:11 pm by Swoka Ikran » Logged

2010 was the year of the Na'vi.Vivar 'ivong Na'vi!

 
Avatray | NWOTD Sigbars | Sacred's Sigbar Tool | My collection of Avatar merchandise
Tirea Aean
Olo'eyktan
Palulukan Makto
*****
*
*

Karma: 153
Offline Offline

United States United States

ToS Username: Tirea Aean
Posts: 7311


and whatnot and stuff.


WWW
« 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

Quote
Can't help helpin'
Oe lu tirea aean, ulte lu oeru eana tirea.
Learn Na'vi Grammar the Easy Way at tirea.learnnavi.org
Association. Correction. Immersion. NgayNume.
Pages: [1] 2 3 4 5 ... 30   Go Up
  Print  
 
Jump to:  

Become LearnNavi's friend on Facebook Follow LearnNavi on Twitter! Watch LearnNavi's videos on YouTube

Powered by SMF 1.1.18 | SMF © 2013, Simple Machines

Powered by SMF | SMF © 2006-2011, Simple Machines LLC | Sitemap | Site Rules

LearnNavi is not affiliated with the official Avatar website,
James Cameron, or the Twentieth Century-Fox Film Corporation.
All trademarks and servicemarks are the properties of their respective owners.
Images in the LearnNavi.org Forums and Gallery may not be used without permission.

LearnNavi Affiliates:

LearnNavi is the community to learn Na'vi, the Avatar Language
"A place where real friendships are made." -Paul Frommer

AvatarMeet | Avatar Day! | Learn Na'vi Forum | Learn Na'vi Wiki | Navilator, the Na'vi Translator | Na'viteri

Also check out the Dothraki language from Game of Thrones: Dothraki | Dictionary | Dothraki Wiki

Custom video game and anime Piano Transcriptions - professional piano arrangements!
Love a cappella? Learn more on the a cappella wiki: Map | Male a cappella groups | Female a cappella groups and more.