ndless-nspire / luna Goto Github PK
View Code? Open in Web Editor NEWCreate TNS files from Lua and XML
License: Other
Create TNS files from Lua and XML
License: Other
The readme states compatibility with OS 3.0.2 and later when converting Lua documents, however it is not made clear that the headers in the ZIP file are actually targetting a later OS version, and as such if opening a tns created by the current version of Luna, a handheld running an OS below 3.2 will display the message "You must update your software to the latest version to view this document." (In my case, this was OS 3.1.0)
Looking at older releases, before BMP support in the TNS file was added, byte 0x07 in the resulting header is 0x35, whereas in the current release, it is 0x37. This was first changed at commit 15b8187#diff-f1c061b8ba098a412c4fb2a096f39485
Modifying the resulting TNS in a hexeditor or recompiling with a modified "LOCALHEADERMAGIC2" value from zip.c , will cause the file to open on an OS 3.1.0 handheld instead of erroring, which leads me to believe that the header structure of the TNS files changed between these versions.
I have pondered a few different options:
Thoughts?
It seems that 41fd7ca bumped the version number to v2.0, but it has yet to be git tagged.
I wonder if is feasible to use python code instead of lua to be more inclusive, the documentation on this seems pretty scarce
Can you please help with converting this to a .tns file, it just isn't working for me. Thank you
https://github.com/TheLocust3/Ti-Nspire-Gameboy-Classic-Emulator
At the moment luna-web only allows importing xml and lua files, while luna itself also allows for bmp files, maybe bmputil could be added in to the mix given Qt supports emscripten and that way manual conversion isn't needed
luna.c
doesn't seem to be covered by a license. Under what conditions is the software available, and under what conditions is it not?
Just so that this idea isn't forgotten...
Basically, remove as many deps as possible especially OpenSSL, so that it can be built easily with emscripten/wasm.
Images as strings have been deprecated as per api level 2.3 and now have to be included as resources instead.
BMP-Files added using Luna do not show up in the image tab of the TI-Nspire Script-Editor (Student Software).
I have added a bmp and a lua file using lua test.bmp test.lua
. The lua file is correctly added to the tns, but the bmp does not show up.
Templates for Document.xml and Problem.xml????
Given some deprecations and additions between apis, it would be useful to be able to specify the api level.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.