Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
24 May, 2013, 06:05:44 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   home   news downloads projects tutorials misc forums rules new posts irc about Login Register  
+-OmnomIRC

You must Register, be logged in and have at least 40 posts to use this shout-box! If it still doesn't show up afterward, it might be that OmnomIRC is disabled for your group or under maintenance.

Note: You can also use an IRC client like mIRC, X-Chat or Mibbit to connect to an EFnet server and #omnimaga.

Pages: 1 ... 6 7 [8] 9   Go Down
  Print  
Author Topic: "Luna" is here and converts your .lua files into 3.0.2-compatible .tns files -  (Read 9101 times) Bookmark and Share
0 Members and 1 Guest are viewing this topic.
Alex
LV2 Member (Next: 40)
**
Offline Offline

Last Login: Yesterday at 20:15:56
Date Registered: 04 March, 2011, 10:24:00
Posts: 30

Total Post Ratings: +3

View Profile
« Reply #105 on: 02 January, 2012, 18:02:25 »
0

i'v 3.02 on computer softwar but 3.1 on calc
Logged
renatose
LV5 Advanced (Next: 300)
*****
Offline Offline

Gender: Male
Last Login: 22 May, 2013, 17:06:15
Date Registered: 17 March, 2011, 21:35:59
Location: Portugal
Posts: 201


Total Post Ratings: +3

View Profile
« Reply #106 on: 02 January, 2012, 23:52:22 »
0

i'v 3.02 on computer softwar but 3.1 on calc
so luna is your only way to go
Logged

ExtendeD
Coder Of Tomorrow
LV8 Addict (Next: 1000)
*
Offline Offline

Gender: Male
Last Login: Today at 02:41:25
Date Registered: 02 January, 2010, 13:03:41
Location: France
Posts: 766

Total Post Ratings: +151

View Profile
« Reply #107 on: 03 January, 2012, 16:10:09 »
0

Here it is: http://bytecode.fr/luna/page.php5?id=1163613
The id is the one of your code snippet on Gist. An old version of Luna is being used, I'm not sure which one, I have to update it.

This was not really built for for development use, but rather for sharing Lua binary files. An HTML form would be more suited. And don't expect this service to be always available, I have limited resources on the server.

I've updated it to Luna v0.2b. The new URL is now http://bytecode.fr/luna/?id=1163613
Logged

ndlessly - Progress and insights on Ndless
Ndless / Hackspire - Third-party TI-Nspire development
Deep Thought
So much to do, so much time, so little motivation
Administrator
LV13 Extreme Addict (Next: 9001)
*
Offline Offline

Gender: Male
Last Login: Today at 03:26:33
Date Registered: 19 May, 2009, 08:00:00
Location: The Universe
Posts: 7813


Total Post Ratings: +706

View Profile WWW
« Reply #108 on: 03 January, 2012, 16:40:36 »
0

Are there Linux binaries of Luna 0.2b? (Or instructions on how to compile?) I've never compile anything on Linux before.
Logged




Jim Bauwens
Lua! Nspire! Linux!
Editor
LV10 31337 u53r (Next: 2000)
*
Offline Offline

Gender: Male
Last Login: Yesterday at 21:55:27
Date Registered: 28 February, 2011, 22:32:12
Location: Belgium
Posts: 1733


Total Post Ratings: +180

View Profile WWW
« Reply #109 on: 03 January, 2012, 17:22:10 »
0

Compiling is just running "make".
Of course you will need to install the openSSL libraries (also -dev) and zip dev libraries.
But these aren't to hard to find in the repo's Smiley
Logged

Deep Thought
So much to do, so much time, so little motivation
Administrator
LV13 Extreme Addict (Next: 9001)
*
Offline Offline

Gender: Male
Last Login: Today at 03:26:33
Date Registered: 19 May, 2009, 08:00:00
Location: The Universe
Posts: 7813


Total Post Ratings: +706

View Profile WWW
« Reply #110 on: 03 January, 2012, 17:32:31 »
0

Thanks, I'll try that.

By the way, ExtendeD, your bookmarklet on that page still points to the old URL.
Logged




ExtendeD
Coder Of Tomorrow
LV8 Addict (Next: 1000)
*
Offline Offline

Gender: Male
Last Login: Today at 02:41:25
Date Registered: 02 January, 2010, 13:03:41
Location: France
Posts: 766

Total Post Ratings: +151

View Profile
« Reply #111 on: 03 January, 2012, 18:05:53 »
0

Thanks Deep Thought, it's fixed.
Logged

ndlessly - Progress and insights on Ndless
Ndless / Hackspire - Third-party TI-Nspire development
Alex
LV2 Member (Next: 40)
**
Offline Offline

Last Login: Yesterday at 20:15:56
Date Registered: 04 March, 2011, 10:24:00
Posts: 30

Total Post Ratings: +3

View Profile
« Reply #112 on: 03 January, 2012, 19:06:26 »
0

Ti-nspire student software put "Format non-supporté"
Logged
ExtendeD
Coder Of Tomorrow
LV8 Addict (Next: 1000)
*
Offline Offline

Gender: Male
Last Login: Today at 02:41:25
Date Registered: 02 January, 2010, 13:03:41
Location: France
Posts: 766

Total Post Ratings: +151

View Profile
« Reply #113 on: 05 January, 2012, 11:09:36 »
0

Do you have the problem even with these files? http://www.ticalc.org/pub/nspire/lua/games/
Logged

ndlessly - Progress and insights on Ndless
Ndless / Hackspire - Third-party TI-Nspire development
Alex
LV2 Member (Next: 40)
**
Offline Offline

Last Login: Yesterday at 20:15:56
Date Registered: 04 March, 2011, 10:24:00
Posts: 30

Total Post Ratings: +3

View Profile
« Reply #114 on: 05 January, 2012, 19:53:48 »
0

no it's ok i'v resolved the problem
Logged
ExtendeD
Coder Of Tomorrow
LV8 Addict (Next: 1000)
*
Offline Offline

Gender: Male
Last Login: Today at 02:41:25
Date Registered: 02 January, 2010, 13:03:41
Location: France
Posts: 766

Total Post Ratings: +151

View Profile
« Reply #115 on: 24 June, 2012, 19:27:02 »
+1

I have released Luna v0.3 with OS v3.2 compatibility and full support of special characters: http://ndlessly.wordpress.com/2012/06/24/luna-updated-compatibility-with-os-v3-2-and-special-characters/
Logged

ndlessly - Progress and insights on Ndless
Ndless / Hackspire - Third-party TI-Nspire development
Jim Bauwens
Lua! Nspire! Linux!
Editor
LV10 31337 u53r (Next: 2000)
*
Offline Offline

Gender: Male
Last Login: Yesterday at 21:55:27
Date Registered: 28 February, 2011, 22:32:12
Location: Belgium
Posts: 1733


Total Post Ratings: +180

View Profile WWW
« Reply #116 on: 24 June, 2012, 21:40:08 »
0

Thanks ! Also yay for special character support, it was something that was bugging me Cheesy
Logged

renatose
LV5 Advanced (Next: 300)
*****
Offline Offline

Gender: Male
Last Login: 22 May, 2013, 17:06:15
Date Registered: 17 March, 2011, 21:35:59
Location: Portugal
Posts: 201


Total Post Ratings: +3

View Profile
« Reply #117 on: 24 June, 2012, 22:08:25 »
0

I have released Luna v0.3 with OS v3.2 compatibility and full support of special characters: http://ndlessly.wordpress.com/2012/06/24/luna-updated-compatibility-with-os-v3-2-and-special-characters/
yay! thank you ExtendeD!
I was expecting the special characters for so long, but now its here thanks to you.

EDIT: I couldn't build it on ubuntu, what did I do badly?

Spoiler for Console Output:
renato@renato-laptop-ubuntu:~/luna-v0.3/src$ make dist
rm -rf *.o luna dist
gcc -W -Wall   -c -o luna.o luna.c
gcc -W -Wall   -c -o zip.o minizip-1.1/zip.c
In file included from minizip-1.1/zip.c:196:0:
minizip-1.1/crypt.h: In function ‘decrypt_byte’:
minizip-1.1/crypt.h:35:68: warning: unused parameter ‘pcrc_32_tab’ [-Wunused-parameter]
gcc -W -Wall   -c -o ioapi.o minizip-1.1/ioapi.c
minizip-1.1/ioapi.c: In function ‘fopen_file_func’:
minizip-1.1/ioapi.c:83:49: warning: unused parameter ‘opaque’ [-Wunused-parameter]
minizip-1.1/ioapi.c: In function ‘fopen64_file_func’:
minizip-1.1/ioapi.c:101:51: warning: unused parameter ‘opaque’ [-Wunused-parameter]
minizip-1.1/ioapi.c: In function ‘fread_file_func’:
minizip-1.1/ioapi.c:120:48: warning: unused parameter ‘opaque’ [-Wunused-parameter]
minizip-1.1/ioapi.c: In function ‘fwrite_file_func’:
minizip-1.1/ioapi.c:127:49: warning: unused parameter ‘opaque’ [-Wunused-parameter]
minizip-1.1/ioapi.c: In function ‘ftell_file_func’:
minizip-1.1/ioapi.c:134:47: warning: unused parameter ‘opaque’ [-Wunused-parameter]
minizip-1.1/ioapi.c: In function ‘ftell64_file_func’:
minizip-1.1/ioapi.c:142:53: warning: unused parameter ‘opaque’ [-Wunused-parameter]
minizip-1.1/ioapi.c: In function ‘fseek_file_func’:
minizip-1.1/ioapi.c:149:48: warning: unused parameter ‘opaque’ [-Wunused-parameter]
minizip-1.1/ioapi.c: In function ‘fseek64_file_func’:
minizip-1.1/ioapi.c:172:50: warning: unused parameter ‘opaque’ [-Wunused-parameter]
minizip-1.1/ioapi.c: In function ‘fclose_file_func’:
minizip-1.1/ioapi.c:198:47: warning: unused parameter ‘opaque’ [-Wunused-parameter]
minizip-1.1/ioapi.c: In function ‘ferror_file_func’:
minizip-1.1/ioapi.c:205:47: warning: unused parameter ‘opaque’ [-Wunused-parameter]
gcc -o luna luna.o zip.o ioapi.o -lssl -lz
luna.o: In function `doccrypt':
luna.c:(.text+0xa8c): undefined reference to `DES_set_key_checked'
luna.c:(.text+0xaab): undefined reference to `DES_set_key_checked'
luna.c:(.text+0xaca): undefined reference to `DES_set_key_checked'
luna.c:(.text+0xb77): undefined reference to `DES_ecb3_encrypt'
collect2: ld returned 1 exit status
make: *** [luna] Error 1
« Last Edit: 24 June, 2012, 22:40:12 by renatose » Logged

adriweb
Editor
LV9 Veteran (Next: 1337)
*
Offline Offline

Gender: Male
Last Login: Yesterday at 12:02:44
Date Registered: 13 April, 2011, 18:42:59
Location: South of France
Posts: 1197


Topic starter
Total Post Ratings: +185

View Profile WWW
« Reply #118 on: 26 June, 2012, 10:45:59 »
0

Here's the makefile that worked for me Smiley

Spoiler for Hidden:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
CC:=gcc
CFLAGS:=-W -Wall -m32
LDFLAGS:= -lssl -lz -m32
VPATH := minizip-1.1

OS ?= `uname -s`
ifeq ($(OS),Windows_NT)
  EXEEXT = .exe
else
CFLAGS := $(CFLAGS) -DUSE_FILE32API
LDFLAGS:= $(LDFLAGS) -lcrypto
endif

all: luna$(EXEEXT)

luna$(EXEEXT): luna.o zip.o ioapi.o
gcc -o $@ $^ $(LDFLAGS)

dist: clean all
mkdir -p dist/src
rm -f *.o
find . -maxdepth 1 ! -name 'luna$(EXEEXT)' -a ! -name dist -a ! -name . -exec cp -r {} dist/src \;
cp luna$(EXEEXT) *.dll *.txt dist

clean:
rm -rf *.o luna$(EXEEXT) dist

(this is forcing the 32bit compiling I believe)
« Last Edit: 26 June, 2012, 10:46:37 by adriweb » Logged


TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation
blfngl
LV4 Regular (Next: 200)
****
Offline Offline

Gender: Male
Last Login: 08 May, 2013, 14:37:03
Date Registered: 29 August, 2012, 04:06:21
Location: Climbin' in yo windows...
Posts: 121


Total Post Ratings: -1

View Profile
« Reply #119 on: 30 August, 2012, 03:18:46 »
0

Hiya, I'm having trouble converting it Tongue, do I just run the .bat with a .lua file in it? Or do I need to do something else...
« Last Edit: 30 August, 2012, 03:28:16 by blfngl » Logged

GAMEGAMEGAMEGAMEGAMEGAMEGAMEGAMEGAMEGAME
My blog:

TiLibs
My Projects:
Minecraft Library
Pages: 1 ... 6 7 [8] 9   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Powered by MySQL Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Powered by PHP
Page created in 0.196 seconds with 30 queries.
Skin by DJ Omnimaga edited from SMF default theme with the help of tr1p1ea.
All programs, games and songs avaliable on this website are property of their respective owners.
Best viewed in Opera, Firefox, Chrome and Safari with a resolution of 1024x768 or above.