We're on Discord! Please join our server now if you don't want to miss anything! (More info) | Join the UCC4 contest! (More info)

* WalrusIRC

You need to have 5 posts and not be part of restricted usergroups in order to use the WalrusIRC embedded shoutbox. However, you can also access our IRC channel called #CodeWalrus via EFnet.

Author Topic: SDL/n2DLib ports for TI Nspire  (Read 98720 times)

0 Members and 2 Guests are viewing this topic.

Offline xlibman

  • Omni founder & CW co-founder
  • CodeWalrus Staff
  • Super User
  • Moderator
  • Forum Maintenance
  • Original 5
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 19053
  • Post Rating Ratio: +101/-5
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • DJ Omnimaga music store
  • Gender: Male
Re: SDL/n2DLib ports for TI Nspire
« Reply #75 on: September 09, 2015, 06:19:05 am »
Do you plan to add support for old dumps to the emulator? That might be best since 99.9% of the sites out there provides old dumps. Not that I encourage people to download ROMs, but since most people will do it anyway, if this emulator becomes popular then your ticalc.org ratings and reviews will all say it doesn't work or it's fake.

Also I didn't know SpiroH was still around. Shortly after the Omnimaga<>CodeWalrus split happened, he seemed to have vanished entirely... O.O


Anyway now my calc no longer boots. I tried a reset but it remains stuck on the clock icon, frozen. >.< Once I fix it (if I can) I'll try the new version


EDIT: @gameblabla , sorry but the new update doesn't work for me. It still says Failed to load ROM and I tried every single ROM I could find, including homebrews. So either the problem is still there or my calc is busted. I tried deleting the config folder afterward, to no avail.
« Last Edit: September 09, 2015, 06:36:08 am by DJ Omnimaga »
  • Calculators owned: TI-84 Plus C Silver Edition, TI-84 Plus CE, Casio fx-CG10
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nintendo Switch, Playstation TV

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

Offline gameblabla

  • Super User
  • Join Date: May 2015
  • Location:
  • Posts: 800
  • Post Rating Ratio: +15/-7
  • TI-nspire porter
Re: SDL/n2DLib ports for TI Nspire
« Reply #76 on: September 09, 2015, 01:38:08 pm »
Ok, so i didn't removed all the checks, something i did Today.
DJ, could you please try again ?

I'm so sorry this happened.
But when something works on your calc and emulators and you expect the same thing for other calculators
when this is not the case, you can't do really anything...

EDIT: Pushed another update and it not longer randomly crash with yours roms, DJ.
It seems more stable, now. Thankfully
Re-download it again DJ and try again.
It was really another issue ala PocketSNES (except not directory related)
« Last Edit: September 09, 2015, 02:11:22 pm by gameblabla »
  • Calculators owned: TI Nspire CX, TI-89

Offline xlibman

  • Omni founder & CW co-founder
  • CodeWalrus Staff
  • Super User
  • Moderator
  • Forum Maintenance
  • Original 5
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 19053
  • Post Rating Ratio: +101/-5
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • DJ Omnimaga music store
  • Gender: Male
Re: SDL/n2DLib ports for TI Nspire
« Reply #77 on: September 09, 2015, 03:14:10 pm »
No problem. It's the difference between each Nspires and OSes that really makes it a nightmare for developers. I'll try the new version tonight if I am not falling alseep beforehand. :3=
  • Calculators owned: TI-84 Plus C Silver Edition, TI-84 Plus CE, Casio fx-CG10
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nintendo Switch, Playstation TV

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

Offline gameblabla

  • Super User
  • Join Date: May 2015
  • Location:
  • Posts: 800
  • Post Rating Ratio: +15/-7
  • TI-nspire porter
Re: SDL/n2DLib ports for TI Nspire
« Reply #78 on: September 09, 2015, 09:00:43 pm »
So like i said, the new version is more stable and it does not do funny crashes on old dumps.
I did a video of Picodrive running on my Ti Nspire CX :


As you can see, it runs pretty cool.
« Last Edit: September 09, 2015, 09:26:02 pm by gameblabla »
  • Calculators owned: TI Nspire CX, TI-89

Offline xlibman

  • Omni founder & CW co-founder
  • CodeWalrus Staff
  • Super User
  • Moderator
  • Forum Maintenance
  • Original 5
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 19053
  • Post Rating Ratio: +101/-5
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • DJ Omnimaga music store
  • Gender: Male
Re: SDL/n2DLib ports for TI Nspire
« Reply #79 on: September 10, 2015, 12:39:20 am »
Ok, so i didn't removed all the checks, something i did Today.
DJ, could you please try again ?

I'm so sorry this happened.
But when something works on your calc and emulators and you expect the same thing for other calculators
when this is not the case, you can't do really anything...

EDIT: Pushed another update and it not longer randomly crash with yours roms, DJ.
It seems more stable, now. Thankfully
Re-download it again DJ and try again.
It was really another issue ala PocketSNES (except not directory related)

Sorry, I still get "Failed to load ROM" on every single ROM file I try. Are you sure you pushed the changes, though? Because it still says PicoDrive SDL v1.35 on the screen, like the last two builds I tried. In the zip file, it says the file is more recent but it behaves identically.
« Last Edit: September 10, 2015, 12:41:58 am by DJ Omnimaga »
  • Calculators owned: TI-84 Plus C Silver Edition, TI-84 Plus CE, Casio fx-CG10
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nintendo Switch, Playstation TV

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

Offline gameblabla

  • Super User
  • Join Date: May 2015
  • Location:
  • Posts: 800
  • Post Rating Ratio: +15/-7
  • TI-nspire porter
Re: SDL/n2DLib ports for TI Nspire
« Reply #80 on: September 10, 2015, 12:55:25 am »
Sorry, I still get "Failed to load ROM" on every single ROM file I try. Are you sure you pushed the changes, though? Because it still says PicoDrive SDL v1.35 on the screen, like the last two builds I tried. In the zip file, it says the file is more recent but it behaves identically.
lol, i removed every ROM check, it should not say that.
You must be accidently using an old version.
I attached it with a different name so you don't get confused.

And yes, i forgot to change the PicoDrive 1.35 SDL thingy name, i need to change it.
(it no longer use SDL)
« Last Edit: September 10, 2015, 12:58:13 am by gameblabla »
  • Calculators owned: TI Nspire CX, TI-89

Offline xlibman

  • Omni founder & CW co-founder
  • CodeWalrus Staff
  • Super User
  • Moderator
  • Forum Maintenance
  • Original 5
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 19053
  • Post Rating Ratio: +101/-5
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • DJ Omnimaga music store
  • Gender: Male
Re: SDL/n2DLib ports for TI Nspire
« Reply #81 on: September 10, 2015, 12:59:47 am »
Nah, I downloaded the file from your latest link.

To make sure my calc did not remain stuck with an old version, I deleted the on-calc copy, refreshed the file list, then sent the new one to it. Unless the TI-Nspire OS acts like Facebook and never actually delete stuff, I can't see how I am accidentally using an old version. I even saved the zip file with a different name.


EDIT: It looks like the Github version is definitively an old one you accidentally re-uploaded, or it remained frozen in time due to maybe Github server/cache issues? Because the new version you just attached behaves differently now.

Now instead of failing to open any ROM, my calc reboots everytime I try to launch any ROM.
« Last Edit: September 10, 2015, 01:05:57 am by DJ Omnimaga »
  • Calculators owned: TI-84 Plus C Silver Edition, TI-84 Plus CE, Casio fx-CG10
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nintendo Switch, Playstation TV

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

Offline gameblabla

  • Super User
  • Join Date: May 2015
  • Location:
  • Posts: 800
  • Post Rating Ratio: +15/-7
  • TI-nspire porter
Re: SDL/n2DLib ports for TI Nspire
« Reply #82 on: September 13, 2015, 02:07:01 am »
So yeah, DJ's TI Nspire has really weird issues with his TI Nspire .
If you want to use PicoDrive,
i still suggest using No-Intro dumps or your own clean dumps , using a device like Retrode.
Like i said, old dumps can provoke weird crashes. (perhaps due to bad cheksums ?)

Anyways, so after Picodrive, i decided to work on Hugo, a NEC-PC Engine game.
So yay, it works on my calc.
Too bad, i won't be able to include CD emulation though because the cd code is unfortunely non-portable
and linux-specific.... yeah

So the games work great but the colors are wrong and the speed is not that great. (still somewhat playable though)
I doubt i will be able to switch to n2DLib for that emulator though, hugo is a huge mess.

EDIT: Side note but i forgot to mention that PocketSNES has now proper support for Ndless 3.6/3.9 Exam Mode compatible,
which i also did.
Critor told me that it can't be used for cheating anyways so they accepted it but cw decided not to allow it so...
Oh well.
« Last Edit: September 13, 2015, 02:37:43 am by gameblabla »
  • Calculators owned: TI Nspire CX, TI-89

Offline xlibman

  • Omni founder & CW co-founder
  • CodeWalrus Staff
  • Super User
  • Moderator
  • Forum Maintenance
  • Original 5
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 19053
  • Post Rating Ratio: +101/-5
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • DJ Omnimaga music store
  • Gender: Male
Re: SDL/n2DLib ports for TI Nspire
« Reply #83 on: September 14, 2015, 01:00:33 am »
Oh if Ndless for exams can't be used to cheat then we can always accept it, although we would need to investigate. I was sure that it was entirely dedicated for cheating.

Also nice to see a NEC PC Engine emu for the Nspire. When I have a chance, I'll give it a try. Also yeah I doubt implementing support for CD games would be of any use. A CD-ROM/R/RW is 700 MB large, while the Nspire only has around 128 MB of disk space.
  • Calculators owned: TI-84 Plus C Silver Edition, TI-84 Plus CE, Casio fx-CG10
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nintendo Switch, Playstation TV

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

Offline Adriweb

  • Full User
  • CodeWalrus Supporter
  • *
  • Join Date: Jan 2015
  • Location: France & Canada
  • Posts: 433
  • Post Rating Ratio: +7/-1
    • Adriweb
    • @Adriweb
    • Adriweb
    • @UC-UIrbk5SuaUCvnV6SQvt-Q
    • /u/Adriweb
    • Adriweb
    • TI-Planet.org
  • Gender: Male
Re: SDL/n2DLib ports for TI Nspire
« Reply #84 on: September 14, 2015, 02:19:34 am »
Actually, from what we've discussed on TI-Planet chat, a version of Ndless that's not hardcoded for specific path (like, either the non-PTT or the PTT one) is better, not only against potential cheating (something related to the absolute path of the startup folder, for instance...), but also for being able to properly run ndless apps that could be used to unbrick devices, for instance (in fact, critor did exactly that with a device in PTT and there was no other way!).
I believe Gameblabla is working on PR with a patch replacing the several instances of the hardcoded string by a function call that gives the proper path depending on the mode.
  • Calculators owned: TI-Nspire CX CAS, TI-Nspire CX, TI-Nspire CAS (x3), TI-Nspire (x2), TI-Nspire CM-C CAS, TI-Nspire CAS+, TI-80, TI-82 Stats.fr, TI-82 Plus, TI-83 Plus, TI-83 Plus.fr USB, TI-84+, TI-84+ Pocket SE, TI-84+ C Silver Edition, TI-84 Plus CE, TI-89 Titanium, TI-86, TI-Voyage 200, TI-Collège Plus, TI-Collège Plus Solaire, 3 HP, some Casios
Co-founder & co-administrator of TI-Planet and Inspired-Lua

Offline xlibman

  • Omni founder & CW co-founder
  • CodeWalrus Staff
  • Super User
  • Moderator
  • Forum Maintenance
  • Original 5
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 19053
  • Post Rating Ratio: +101/-5
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • DJ Omnimaga music store
  • Gender: Male
Re: SDL/n2DLib ports for TI Nspire
« Reply #85 on: September 14, 2015, 02:50:07 am »
Aah I see. I think such tool would be a must. It could probably be uploaded in CW archives too, if the original authors are fine with it. But ideally, any version of Ndless uploaded on CW should have a download link that points to the original files, so that you don't have to update multiple sites everytime Ndless is updated.

The only thing that would be against the CW rules is a file which its main purpose is to cheat, such as PTTKiller or an Ndless fork that kills exam mode, as well as tutorials on how to cheat or bypass exam mode after it has been set.
  • Calculators owned: TI-84 Plus C Silver Edition, TI-84 Plus CE, Casio fx-CG10
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nintendo Switch, Playstation TV

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

Offline gameblabla

  • Super User
  • Join Date: May 2015
  • Location:
  • Posts: 800
  • Post Rating Ratio: +15/-7
  • TI-nspire porter
Re: SDL/n2DLib ports for TI Nspire
« Reply #86 on: September 16, 2015, 12:50:03 am »
After seeing critor's news about one of my old game Helicopt3rs and remembering how bad the TI Nspire port was,
i decided to improve it a bit.



Helicopt3rs was a Swing Copters clone i originally did for 3DO.
TAB to turn and ESC to quit the game. (and save your highscore)

Here are the results :
Everything is contained in one single file, it's much smaller, it's works with Ndless Exam Mode-compatible
and mostly importantly, it runs faster too.

You can download it in the attachments below.

About Ndless Exam Mode:
I do not intend to publish it here until it's ready.
The reason why is because it still relies on hardcoded paths and when in PTT-mode,
it does not start applications in the startup folder. (Could be done with a workaround i guess)
  • Calculators owned: TI Nspire CX, TI-89

Offline xlibman

  • Omni founder & CW co-founder
  • CodeWalrus Staff
  • Super User
  • Moderator
  • Forum Maintenance
  • Original 5
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 19053
  • Post Rating Ratio: +101/-5
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • DJ Omnimaga music store
  • Gender: Male
Re: SDL/n2DLib ports for TI Nspire
« Reply #87 on: September 16, 2015, 01:24:29 am »
I didn't know you made that game. I know that LD Studios made Swing Copters. Your port looks nice too. I'll definitively have to try it when I have a chance. Also I understand about Ndless Exam mode.


Also I didn't know you made games for the 3DO. I think there are only 20 official games available for it but I didn't know that console had any homebrew programmers. EDIT Actually it's the Virtual Boy that only had 20 games. The 3DO seems to have many more, except that I heard that only one or two exclusives were good.

EDIT (Sept 16) I have now created a topic for 3DO, at https://codewalr.us/index.php?topic=712.0 , so if you wonder where your posts went, then they're now there. :)
« Last Edit: September 16, 2015, 07:49:36 am by DJ Omnimaga »
  • Calculators owned: TI-84 Plus C Silver Edition, TI-84 Plus CE, Casio fx-CG10
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nintendo Switch, Playstation TV

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

Offline xlibman

  • Omni founder & CW co-founder
  • CodeWalrus Staff
  • Super User
  • Moderator
  • Forum Maintenance
  • Original 5
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 19053
  • Post Rating Ratio: +101/-5
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • DJ Omnimaga music store
  • Gender: Male
Re: SDL/n2DLib ports for TI Nspire
« Reply #88 on: September 17, 2015, 07:25:00 am »
@gameblabla, congrats, your SNES and Sega Genesis emulators are now on CW headlines. :)
  • Calculators owned: TI-84 Plus C Silver Edition, TI-84 Plus CE, Casio fx-CG10
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nintendo Switch, Playstation TV

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

Offline gameblabla

  • Super User
  • Join Date: May 2015
  • Location:
  • Posts: 800
  • Post Rating Ratio: +15/-7
  • TI-nspire porter
Re: SDL/n2DLib ports for TI Nspire
« Reply #89 on: September 17, 2015, 10:22:15 pm »
I have improved and re-released Where's Derpy for Ti Nspire CX,
a port of a flash game by pepperpunk.
For this new re-release, i have switched to n2DLib and made some minor improvements.
The game is much smaller too and runs faster.


You can download it here.

Quote
@gameblabla, congrats, your SNES and Sega Genesis emulators are now on CW headlines. :)
Yay, i'm on headlines. thx
Now, what happens next ?
  • Calculators owned: TI Nspire CX, TI-89

 


You can also use the following HTML or bulletin board code to share it on your page or forum signature!


Also do not forget to check our affiliates below.
Planet Casio TI-Planet Calc.news BroniesQC BosaikNet Velocity Games