Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
18 June, 2013, 06:59:52 *
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] 2   Go Down
  Print  
Author Topic: Ndless 3.1 adds support for file associations -  (Read 2875 times) Bookmark and Share
0 Members and 1 Guest are viewing this topic.
critor
Editor
LV10 31337 u53r (Next: 2000)
*
Offline Offline

Gender: Male
Last Login: Today at 00:59:24
Date Registered: 14 July, 2009, 23:57:37
Location: Aix-Marseille, France
Posts: 1740


Topic starter
Total Post Ratings: +373

View Profile WWW
« on: 05 February, 2012, 16:32:12 »
0

Latest Ndless 3.1 beta (r530) adds support for file associations based on file extensions.



Thanks to a little text config file (ndless_cfg.tns), you can tell Ndless to automatically look for a "mviewer.tns" file and launch it each time you try to open a ".png.tns" or ".bmp.tns" file.

All similar Ndless programs will have to be updated in order to support this new feature.



We hope to see updates for mViewer, nDoom, gbc4nspire and nespire soon Wink



Download the latest Ndless 3.1:
http://www.unsads.com/projects/nsptools/downloader/download/release/1
« Last Edit: 05 February, 2012, 16:33:05 by critor » Logged

TI-Planet co-admin.
whatkindofausernameisthis
LV1 Newcomer (Next: 20)
*
Offline Offline

Last Login: 06 March, 2013, 06:56:46
Date Registered: 29 August, 2010, 18:46:39
Posts: 11

Total Post Ratings: +9

View Profile
« Reply #1 on: 05 February, 2012, 17:11:18 »
0

Awesome. So does trying to open a ".png.tns" file open it with mViewer, or does it just open mViewer and you still have to navigate to the file you want to open?
Logged
apcalc
The Game
Coder Of Tomorrow
LV10 31337 u53r (Next: 2000)
*
Offline Offline

Gender: Male
Last Login: Today at 01:07:09
Date Registered: 20 March, 2010, 16:31:47
Location: 2003 UB313
Posts: 1393


Total Post Ratings: +118

View Profile
« Reply #2 on: 05 February, 2012, 20:40:18 »
0

Great update!  I'll try to update nPlayer soon! Smiley
Logged


Spyro543
LV8 Addict (Next: 1000)
********
Offline Offline

Gender: Male
Last Login: Today at 01:49:00
Date Registered: 15 April, 2011, 01:42:09
Location: Ohio
Posts: 998


Total Post Ratings: +59

View Profile WWW
« Reply #3 on: 05 February, 2012, 20:50:06 »
0

Wow, this is just getting better and better.
Logged


I own a Compact Computer 40!
Programming languages known: BASIC, C
Favorite Pokemon: Dialga
Favorite games: Super Hexagon, Torchlight II
Juju
Evil Fluttershy (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Coder Of Tomorrow
LV12 Extreme Poster (Next: 5000)
*
Online Online

Gender: Male
Last Login: Today at 06:46:38
Date Registered: 17 March, 2010, 07:46:57
Location: Québec, North Equestria
Posts: 4621


Total Post Ratings: +401

View Profile WWW
« Reply #4 on: 05 February, 2012, 20:58:43 »
0

Something with argc/argv?
Logged

LuaIDE
Reuben Quest HD: The PC Remake
Zarmina Project: Play Read
Nspire I/O: Info Download


THEGAME
Spoiler for Other stuff:
Also Yuki "ジュジュ" Kagayaki
Support Casio-Scene against the attacks of matt @ matpac.co.uk ! For more information: Casio-Scene shuts down & Matt actions threads
Find what P+4zJ means and you get free candy! cc4daa9c4645bd123ed22e385ed701fd
#omnimaga on OmniNet, EFNet and Pesterchum
Omnimaga Owner and Former Administrator
Fan of My Little Jim Bauwens: Losing the Game is Magic
Proud member of POLN - Ponys Oppositing Lol Names
Member of OBEL - Omnimaga Board of the EFnrgelnicshh Language - Office Omnimagois de la Langue FArnagnlçaaiiss
あなたはこのゲームを失った
Spoiler for Old spoileryception stuff:

Spoiler for Coming soon...:
Indefinitely halted [|.........] 10%
OmnomIRC Mobile [||||......] 40% (argh threads >_<)
Spoiler for Current/Past TI-related projects:
The Axe Parser Wiki / Founder and maintainer
Keytar Hero [|||||_____] 50% Engine done, wackiness left to do (Halted)
OmniOS
VVVVVV [||||______] 40% (Made most of the engine, extremely glitchy) (Gave it to Leafy)
░█▀█░█░█░█▀▀░█▀█░█▀█░█▀█░▀█▀░█▀▄
░█▀█░▄▀▄░█▀▀░█▀█░█░█░█░█░░█░░█░█
v0.1.0
░▀░▀░▀░▀░▀▀▀░▀░▀░▀░▀░▀▀▀░▀▀▀░▀▀░[|||||||||¦] 95ish% (Completed)
tilibs-wii? [._________] 0% (Nope.)
Spoiler for Spoilers:
<!---->
wxWabbitemu Developer
Spoiler for Other Userbars:






<!--Everything done, got 90% Cheesy sudo apt-get install z80asm z80dasm-->
Spoiler for Quote:
We are in 2034. The situation on Earth is catastrophic. The ozone layer has been completely destroyed by the carbonic gas of automobiles, the chemical industries, and the poosh-poosh in little cans. In the end, the earth cooks under the rays of the sun. We must find a planet on which can live 6 billion idiots. The planetary federation turns to the strongest country in the world: Canada. It is Canadian knowledge that has allowed, on October 28, 2034, the launch of the spaceship Romano Fafard, which leaves earth to search the confines of the Universe. Where the hand of man has never set foot.
I hate TI right now
Quote from: jimbauwens
You make me lose the game
Everytime I read your name
Spoiler for The real answer to life, the universe and everything:
Spoiler for Old HTML stuff:
<div style="margin:20px; margin-top:5px"><div class="smallfont" style="margin-bottom:2px">Spoiler for This is another spoiler: <input type="button" value="Show" style="width:60px;font-size:10px;margin:0px;padding:0px;" onclick="window.location.replace('http://goo.gl/QMET');"></div><div class="alt2" style="margin: 0px; padding: 6px; border: 1px inset;"><div style="display: none; ">HAHAHA SUCCESSFUL RICKROLL IS SUCCESSFUL</div></div></div><!-- old avatars:
http://fc00.deviantart.net/fs71/f/2011/120/d/f/nepeta_nyan_cat_by_supuru-d3f8tcx.gif
http://th01.deviantart.net/fs70/PRE/i/2011/099/5/b/rainbow_dash_derping_by_moongazeponies-d3dmg7l.png
http://25.media.tumblr.com/tumblr_lqhvmtSIwo1qm2frqo1_1280.png--><!---->
I may or may not be inactive during work hours (9AM to 5PM EST, Monday to Friday), so for any inquiries please leave a message after the beep and I'll answer you when I have time. Beep. Nevermind, I'm on vacation now. Cheesy
ExtendeD
Coder Of Tomorrow
LV8 Addict (Next: 1000)
*
Offline Offline

Gender: Male
Last Login: Yesterday at 22:09:26
Date Registered: 02 January, 2010, 13:03:41
Location: France
Posts: 772

Total Post Ratings: +152

View Profile
« Reply #5 on: 05 February, 2012, 21:01:05 »
0

The file name is passed in argv[1]. I just haven't had the time to update the documentation (anyway this update is useless as long nespire/gbc4nspire/mViewer/nPlayer aren't updated too).
Logged

ndlessly - Progress and insights on Ndless
Ndless / Hackspire - Third-party TI-Nspire development
apcalc
The Game
Coder Of Tomorrow
LV10 31337 u53r (Next: 2000)
*
Offline Offline

Gender: Male
Last Login: Today at 01:07:09
Date Registered: 20 March, 2010, 16:31:47
Location: 2003 UB313
Posts: 1393


Total Post Ratings: +118

View Profile
« Reply #6 on: 05 February, 2012, 21:10:41 »
+1

Here is nPlayer CX, updated to support this feature!  I also updated the version in the Omni archives! Cheesy  (If someone could, please update the version on TI-Planet also Wink).

* nPlayerCX_1.6.zip (890.23 KB - downloaded 85 times.)
« Last Edit: 05 February, 2012, 21:35:12 by apcalc » Logged


DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Online Online

Gender: Male
Last Login: Today at 06:58:02
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50587


Total Post Ratings: +2634

View Profile WWW
« Reply #7 on: 05 February, 2012, 21:24:45 »
0

apcalc DFon't forget TI-Planet too Tongue

Also I can't wait for being able to launch WAD files directly from the Nspire file list Cheesy
« Last Edit: 05 February, 2012, 21:25:10 by DJ_O » Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
apcalc
The Game
Coder Of Tomorrow
LV10 31337 u53r (Next: 2000)
*
Offline Offline

Gender: Male
Last Login: Today at 01:07:09
Date Registered: 20 March, 2010, 16:31:47
Location: 2003 UB313
Posts: 1393


Total Post Ratings: +118

View Profile
« Reply #8 on: 05 February, 2012, 21:34:51 »
0

apcalc DFon't forget TI-Planet too Tongue

Oh, yeah, I meant TI-Planet. Big frown

* apcalc forgot about the change!
Logged


calc84maniac
Epic z80 roflpwner
Coder Of Tomorrow
LV11 Super Veteran (Next: 3000)
*
Offline Offline

Gender: Male
Last Login: Today at 05:24:14
Date Registered: 28 August, 2008, 05:09:05
Location: Right behind you.
Posts: 2737


Total Post Ratings: +376

View Profile
« Reply #9 on: 05 February, 2012, 21:47:54 »
0

Hmm, I guess it would even be possible for a program to auto-install its own file associations by accessing the config file, right? It would be cool if Ndless included a built-in function for that, to enforce the correct format and not allow duplicates and such.
Logged

"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman
ExtendeD
Coder Of Tomorrow
LV8 Addict (Next: 1000)
*
Offline Offline

Gender: Male
Last Login: Yesterday at 22:09:26
Date Registered: 02 January, 2010, 13:03:41
Location: France
Posts: 772

Total Post Ratings: +152

View Profile
« Reply #10 on: 05 February, 2012, 21:50:46 »
0

I thought of this, but I'm not sure if it will be really intuitive for users to ask them to run at least one time the main program for the file extensions to work.
Logged

ndlessly - Progress and insights on Ndless
Ndless / Hackspire - Third-party TI-Nspire development
calc84maniac
Epic z80 roflpwner
Coder Of Tomorrow
LV11 Super Veteran (Next: 3000)
*
Offline Offline

Gender: Male
Last Login: Today at 05:24:14
Date Registered: 28 August, 2008, 05:09:05
Location: Right behind you.
Posts: 2737


Total Post Ratings: +376

View Profile
« Reply #11 on: 05 February, 2012, 21:51:43 »
0

I thought of this, but I'm not sure if it will be really intuitive for users to ask them to run at least one time the main program for the file extensions to work.
It's more intuitive than setting it up manually (though of course, that would also be possible).

Edit: Here's another idea which would make it simple to package file associations with program releases (no text editing required). For example, for .nes.tns, there could be a file called ndless_cfg_nes.tns which contains the name of the program to open. (Since that file doesn't actually have a .nes.tns extension, it won't be treated as a NES file itself, naturally)
« Last Edit: 05 February, 2012, 22:04:50 by calc84maniac » Logged

"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman
Jim Bauwens
Lua! Nspire! Linux!
Editor
LV10 31337 u53r (Next: 2000)
*
Offline Offline

Gender: Male
Last Login: Today at 00:06:13
Date Registered: 28 February, 2011, 22:32:12
Location: Belgium
Posts: 1736


Total Post Ratings: +180

View Profile WWW
« Reply #12 on: 05 February, 2012, 22:08:10 »
0

Very nice Smiley
Logged

calc84maniac
Epic z80 roflpwner
Coder Of Tomorrow
LV11 Super Veteran (Next: 3000)
*
Offline Offline

Gender: Male
Last Login: Today at 05:24:14
Date Registered: 28 August, 2008, 05:09:05
Location: Right behind you.
Posts: 2737


Total Post Ratings: +376

View Profile
« Reply #13 on: 05 February, 2012, 22:11:02 »
0

Hmm, I also wonder how I'll handle file associations for gbc4nspire, which has 3 different versions with different program names (gbc4click, gbc4touch, gbc4cx)
Logged

"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman
ExtendeD
Coder Of Tomorrow
LV8 Addict (Next: 1000)
*
Offline Offline

Gender: Male
Last Login: Yesterday at 22:09:26
Date Registered: 02 January, 2010, 13:03:41
Location: France
Posts: 772

Total Post Ratings: +152

View Profile
« Reply #14 on: 05 February, 2012, 22:13:48 »
0

Excale suggests that the config file value contains {CX_program,[touchpad_program,[clickpad_program]]}.
Logged

ndlessly - Progress and insights on Ndless
Ndless / Hackspire - Third-party TI-Nspire development
Pages: [1] 2   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.43 seconds with 29 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.