Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - SpiroH

Pages: 1 ... 41 42 [43] 44 45 ... 51
631
TI-Nspire / Re: nTris - Tetris for nSpire -
« on: September 22, 2012, 05:35:29 pm »
I noticed that those bmps are real bmps, so if I don't like graphics, I can change them ? O.O
Yeah! Well, shortly (tomorrow?) you'll be able to change a lot of things.

Nice work.
Thanks! Btw, you should remove the double post. That's the reason (i think?) someone has given you a negative point.

It looks pretty nice, but now the screenie disappeared.  D:
What do you mean by screenie? I'm not sure i understand what you mean. Is it screenshot (F7)? If it is, well it works fine by me!?

632
TI-Nspire / Re: nTris - Tetris for nSpire - SDL implementation
« on: September 22, 2012, 11:45:04 am »
The author might actually have quit the community. This happens more often with Nspire coders since 2011 due to what TI did to Ndless a few times. Glad someone is picking this up again, though. :D
Thanks DJ_O. Yeah, i was following the hardware clues. Of course, nowadays we have the abstract software overlays all around the place (some are quite slow mind you, does .net ring the bell?). OTOH, some are quite cute and really ease the programmer's life after the initial jargon overhead. Short, i'm changing the initial project almost completely, i'm keeping the name tho. :P Have been reading a little about hoffa's SDL port effort, and decided to port yet another simple tetris clone from here: http://code.google.com/p/simple-tetris-clone/. I dunno if we can motivate young students to do some programming, but this is the basic idea. ndless is a good opportunity and i'm positive ExtendeD will find some fix someday to TI's nag!
Here is the simple sdl example:
  
For the moment, i'm just showing it off. Next i'll provide the source code after i've removed some ugly comments. ;)
Limitation: atm the program's 3 bitmaps MUST be installed at a fixed location: "ndless/nTris" folder. So, make sure all 3 bitmaps files are transferred to that folder. This is due to the fact that, to my surprise, the SDL_loadBMP nspire implementation appears to take only absolute paths. The program itself ('nTris-sdl.tns') can be placed anywhere. I know we can later replace the smaller bitmaps by a bitmap description in software. Maybe i'll do it later... Oh, this only works on the CX models! Please visit the original site for instructions, but they're trivial as usual. Have fun.

633
TI-Nspire / Re: nTris - Tetris for nSpire -
« on: September 20, 2012, 06:31:49 pm »
Could you make it a zip file by any chance? I'm having trouble opening it on a Mac
Sure!

634
TI-Nspire / Re: nCraft (3D minecraft-like game for the nspire)
« on: September 20, 2012, 06:12:36 pm »
Are there any emulators that don't need a rom (or can generate one, like wabbitemu)?
Well, sometimes some wikis have useful info. Have you visited this one? http://www.omnimaga.org/index.php?PHPSESSID=a4554c1b800ff1ff857e72d0dd28ab04&topic=12378.0 . Give it a go. It's worth the time spent. :P


635
TI-Nspire / Re: nTris - Tetris for nSpire - Update for CX
« on: September 20, 2012, 05:42:13 am »
Continuing with my ndless explorations, i've decided to ressurrect this popular and funny project, because it brings me back some of my almost forgotten memories. I guess the author 'wRieden' has gone on vacation. Hope he doesn't mind. :) So, i've updated to make it ready for Nspire CX (gray-color!). I think i did it in some way. Try it out and tell if it works and if you can manage to make some points (cx is a bit faster). Please find attached the source and .tns. Maybe some game experts want to add some color. The cx 'pain' was mostly due to the timers having different addresses. nTrisCX should also run in non-cx systems. Have fun.

636
Calculator C / Re: C Programming Books Or Tutorials?
« on: September 19, 2012, 07:47:19 am »
I'd like to know if anyone would recommend any books on C programming.  I want to get going on C programming but there are so many different books on it.  Should I get a book or just watch tutorials?  What tutorials are good?
1.Start with a good tutorial, this one, for example: http://computer.howstuffworks.com/c23.htm/printable; 2. Do some simple programming (there are tons of C source code samples in the net); 3. If you don't get bored, buy a good book (scan its contents beforehand) it will help you to clear up some doubts. Here is a good and cheap (<$10) one: http://www.amazon.com/Book-C-Al-Kelley/dp/0805368604. Yeah, it looks old (1984) but so is the language (1972): http://en.wikipedia.org/wiki/C_language
LBNL, do not wait for the best choice, maybe it will never come up. So the answer to your question is: you'll need both: tutorial(s)+book(s). Good readings.


637
News / Re: A new graphical SDK for Ndless
« on: September 17, 2012, 09:46:37 am »
Nice to hear this :)
Did you have to adapt some parts of the original sourcecode of 'Fire'?
No, not at all, only the resolution and commented-out a single code line (you may check the source). So is quite portable. Cheers.

638
News / Re: A new graphical SDK for Ndless
« on: September 17, 2012, 09:33:14 am »
Hi, critor+ExtendeD+all: The new ndless SDK works just fine.Thanks!
Just for fun i've compiled a known SDL demo with a suggestive name 'Fire' by David Ashley: http://www.libsdl.org/projects/fire/

Maybe some newcomers will enjoy it too.

639
TI-Nspire / Re: kArmTI - TI-Nspire emulator with skin
« on: September 13, 2012, 06:26:06 pm »
Hi Wayne, I haven't yet tested it from a usb stick. But i'll do it and i'll get back to you asap. But, it smells like some important files are missing...
Regards,

Edit: I've tried the USB-Boot of kArmTI_v1.30 and it works just fine in my system. Below are:
1. The minimum files you'll need (well, SKINS can also be skipped but it's just that it looks beter for me :)):
    
2. The boot Options i used:
 

Also, i've started with a clean registry! So, in principle it should work from a usb drive. I'm using a cheap EMTEC4GB drive. Hope it helps,

640
TI-Nspire / Re: XML2TXT, XML2LUA, TXT2XML, LUA2XML and 2TNS
« on: September 13, 2012, 06:20:43 pm »
Thank you all for the nice remarks and excuse me for the late response.

By the way, what language is this written in ? Any chance it would compile on other platform ?
The language is c++. Well, it relies on windows IXMLDOMDocument interface, but it shouldn't too difficult to find some equivalent in the unix/mac-world. Right now, i don't have much time, but asap i'll try to split the GUI and make a simpler console app that should be easy enough to port. I'll see what i can do.

Quote from: adriweb
It looks like there are still some   &quot;   chars here and there ?  (in the example lua file)
Thanks! Yeah, sorry about that. Hope is fixed now. Please check attachment.

Also, this was a first version to test the 'concept'. The previous problem was due to a weird escape-sequence not being detected in TXT2XML utility. It's possible that some others will surface with different lua scripts. We'll get them then. ;)  I've also added a 'save' button to the XML2TXT utility, so that the user can save the text/lua-script rather then use the clipboard.

Cheers,

641
TI-Nspire / XML2TXT, XML2LUA, TXT2XML, LUA2XML and 2TNS
« on: September 11, 2012, 06:24:12 pm »
Hi, I've been playing around with the weird xml usage by TI. I'm not sure if what i'm going to present to you is of any interest to the programmers community in general but i've decided to do it, anyway. What started me with this type of thing was the need to quickly send a text document to the Nspire calculator, without having to use the tiny in-calc editor. So, i've looked around in omnimaga site and i found first the TNS2XML  in-calc utility, which allows you to grab the xml content of a tns doc via a hook, without going thru the hassle of having to decrypt the tns (btw, a clever idea). That was my starting point, i could finally get hold of the xml content. But, alas, looking inside the xml, the text was not clear at all. So, how could you recover back the embedded text? It had to be there (hidden) somehow!? A second look into the xml and i've found some clues on how that could eventually be done. Well, i think i did it with my XML2TXT utility. Just drop a 'Problem.xml' on top of it, and in principle it should present you at the bottom window the embedded text inside the xml.
     

Secondly, what about the other way around? How on earth could we encode a text-file and send it the calc. We need to prepare an xml file that can be understood by the Nspire. Next, we need to encrypt and compress it, short make it a tns-doc file. Luckly, this latter step had already been accomplished via the 'luna' utility (link below). So, i was left with the task of transforming the text-file into a suitable xml format that could then be post-processed by the 'luna' utility to produce the final 'tns' doc. Now, we only need to send it to the calc and open it up. This brings me to my second utility TXT2XML, that does just that, it encodes the text-file into xml and with the help of 'luna' produces a 'tns' file, ready to be openned in-calc. After some more digging, i thought it would be interesting to do the same for 'lua' scripts. Here, the generated xml has different xml-elements. So i've adjusted both previous utilities to also handle the lua scripts.
     
To clear up a bit more the explanation, i emphasize the fact that the TXT2XML utility actually does a bit more than just the xml generation, it also creates the respective 'tns' files with the help of 'luna'.

You can download luna-v0.3a.zip here. To be able to generate 'tns' files, you'll need to extract the 2 files 'luna.exe' and 'libeay32.dll' and place both in the same directory as the 2 utilities TXT2XML and XML2TXT.

As already said above, i'm not sure if this can be useful for people, but at least for me it was fun to develop and use them with the nspire emulator. See if it suits you in any way. There may exist some compatbility issues, which i'll try to tackle later.

Enjoy,
SpiroH

P.S: I know this is rather basic stuff for many of you, but i think it can be helpful for newcomers to the nspire environment.




642
Art / Re: DJ Omnimaga's changes logo!
« on: September 11, 2012, 04:26:24 pm »
In the 2nd case, one would think that Justin Bieber released an album made of pop covers of Iron Maiden songs O.O
... Yep, I must admit i've skipped the 'metal' thing. ::) But hey, come on, don't you have to keep an open mind these days? Crosby Stills Nash: http://www.metrolyrics.com/got-to-keep-open-lyrics-crosby-stills-nash.html. Or is that too oldish for you?

643
Art / Re: DJ Omnimaga's changes logo!
« on: September 11, 2012, 09:57:28 am »
I like it! But i think is a bit too boyish for my age. My (roundish) hint
Spoiler For Spoiler:


644
TI-Nspire / Re: kArmTI - TI-Nspire emulator with skin
« on: September 10, 2012, 04:51:42 pm »
Hi Jonius7!
Something's wrong. When I open v30 of kArmTI, nothing happens. I opened it several times. Later I checked task manager and there were 5 process of kArmTi_v30, all with about 68k ram loaded. Usually it takes 100000k
I'm really sorry it has happenned to you! Can you please be more specific and tell me what OS you're using so that i can try to reproduce the problem? I can assure you it works just fine in my win7 64-bit box without a hitch. So, tell me more, maybe we can help.

Quote from: Jonius7
Also, there's a bug I realised recently, if you leave the emulator idle for a while, the arrow keys refuse to work afterwards. (This might be a bug with the emulator itself, not the kArmTI component)
Well, if you leave the emulator idle for a while, naturally, it enters the power saving-mode (it thinks is running on batteries ;)). Have you tried to wake it up by pressing the power button ?

Quote from: Jonius7
I like the v1.13 skins much better than the current ones (because it also includes non-cas skins!)
Of course, your skin mileage may vary. No problem with that. :)

Nice to hear from you again and thanks for the feedback.
Cheers,







645
This is the main reason why hackers are so active. TI like M$, Apple, etc only care about the dough and not that much about the students.That's the sad and raw reality. So, I say, thumbs up to the hackers community. :thumbsup:

Pages: 1 ... 41 42 [43] 44 45 ... 51