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 98711 times)

0 Members and 1 Guest are viewing this topic.

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 #285 on: June 13, 2016, 11:37:28 pm »
And now, some emulator news...
I finally got Temper to work on Ti nspire !
The transition to n2DLib isn't finished though as i still have to migrate input to native....
It is much faster than Hugo though.

CD games are now supported as well, just make sure to put your syscards files (syscard3.pce.tns, syscard.pce.tns...)
in the 'syscards' folder.

Controls
Touchpad : Dpad
Ctrl : Button I
Shift : Button II
Var : Button III
Del : Button IV
7 : Button V
9 : Button VI
DOC : RUN (that's how it's called, don't run lmao)
TAB : SELECT

You can download it below.
« Last Edit: June 29, 2016, 07:06:04 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 #286 on: June 14, 2016, 02:06:19 am »
Nice :D I'll have to give it a try when I get some more free time (hopefully it works on my semi-bricked calc). Keith Courage on my Nspire sounds quite fun (assuming that's not a CD game)

Also I wonder if any CD game will fit at all O.O. Aren't most early CD games using WAV-like music files that  have no lossless compression? I think Ys Book I & II is like 515 MB.
  • 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 critor

  • Full User
  • Join Date: Dec 2014
  • Location:
  • Posts: 206
  • Post Rating Ratio: +6/-0
Re: SDL/n2DLib ports for TI Nspire
« Reply #287 on: June 14, 2016, 08:27:27 am »
Temper is for emulating the Pc Engine / Turbografx.

If I remember well, you already ported Hugo which targets the same hardware.

So in which way is Temper better or worse than Hugo ?

Thanks. :)

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 #288 on: June 14, 2016, 12:31:24 pm »
Temper is for emulating the Pc Engine / Turbografx.
If I remember well, you already ported Hugo which targets the same hardware.
So in which way is Temper better or worse than Hugo ?
Thanks. :)
I would say it is better.
For once, it has a menu.
And for two, it seems to run faster and it does not do some odd bitdepth conversion like Hugo,
which is great.

I have now fixed CD games :
Simply make sure to have the cd bioses called respectively syscard.pce.tns, syscard2.pce.tns and syscard3.pce.tns
in the syscards folder.

I personally tried Megaman by PCEDEV and it seems to run fairly smoothly.
Also, the controls were not properly mapped : it's fixed too.

Quote
Also I wonder if any CD game will fit at all O.O. Aren't most early CD games using WAV-like music files that have no lossless compression? I think Ys Book I & II is like 515 MB.
They can fit, if you remove the CDDA tracks and remove the WAV info from the cue file, which is pretty easy to do.
For games that do use compressed music, you can use a ISO editor and just dummy it out.
But for games that relies on heavy cutscenes... well, there's not much we can do.
You just can't expand the NAND so easily.
« Last Edit: June 14, 2016, 01:05:16 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 #289 on: June 14, 2016, 03:48:14 pm »
Hm I'll check then. Are there any free tools to remove WAV files from cue files? Years ago I remember having an hard time just trying to find a freeware (not shareware/trial) ISO mounting software, so I can't imagine how hard it would have been to find one that lets you edit them too. Will some games crash if audio files are missing?
  • 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 #290 on: June 14, 2016, 04:46:41 pm »
Hm I'll check then. Are there any free tools to remove WAV files from cue files?
You're kidding right ?
You can do so with any text editor, here's how i did it for Megaman :
(click to show/hide)
to this :
(click to show/hide)
See what i did ?
I removed all the audio tracks info from the cue and deleted the accompagning wav files along with.

Quote
Years ago I remember having an hard time just trying to find a freeware (not shareware/trial) ISO mounting software, so I can't imagine how hard it would have been to find one that lets you edit them too.
If you're looking for a decent ISO editor, there's UltraISO on Windows that does the job pretty well.
You might be able to open some iso files with 7zip too.

Quote
Will some games crash if audio files are missing?
For CDDA tracks, no, they will still work even if you remove them.
If you are removing audio files inside the ISO however, yes, it could happen, even if you dummy them out.
  • 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 #291 on: June 14, 2016, 04:59:21 pm »
Well, the last time I tried mounting an ISO file was back in 2009. Back then I did multiple Google searches for alternatives to Daemon Tools and out of a dozen of alternatives, only one was Free. The rest were all paid or trial versions with severe limitations. So I imagined that if I also wanted the ability to edit that it would be even worse. I mean, you know in what capitalist world we live in, right? <_<

Anyway I'm glad that I was wrong (or at least, I'm glad that things changed) and that I can do it the way you described.
  • 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 #292 on: June 14, 2016, 05:59:39 pm »
Well, the last time I tried mounting an ISO file was back in 2009. Back then I did multiple Google searches for alternatives to Daemon Tools and out of a dozen of alternatives, only one was Free. The rest were all paid or trial versions with severe limitations. So I imagined that if I also wanted the ability to edit that it would be even worse. I mean, you know in what capitalist world we live in, right? <_<
I have fully switched to GNU/Linux Lubuntu since two years ago and i don't know what you're talking about. :p
All the tools i need, and yes including ISO mounting thanks to cdemu, are free and open-source.
(click to show/hide)

Quote
Anyway I'm glad that I was wrong (or at least, I'm glad that things changed) and that I can do it the way you described.
Don't forget to add the ".tns" extension inside the cue file (like i did) and to the iso file as well.
« Last Edit: June 14, 2016, 06:06:29 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 #293 on: June 14, 2016, 06:06:18 pm »
Yeah my issue was using Windows <_<
  • 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 #294 on: June 17, 2016, 06:29:45 am »
I have updated Temper and brought some well needed fixes...
Some CD games like Ys I & II did not work before... Of course, they are now working.

And yes, i tried it, it does work real hardware !  :)

Unfortunely, removing CDDA tracks is actually more complicated than i thought it would be.
The only way found to achieve that was to use bincuesplier provided with WiiEngine.
Code: [Select]
bincuespliter.exe ys.cue binThen i get the generated bin file (16.6Mb for Ys I & II) and i create a cue file for it.
Code: [Select]
FILE ys.bin.tns BINARY
TRACK 02 MODE1/2352
PREGAP 00:02:00
INDEX 01 00:00:00
And then i can play it.

Note that if the game is using compressed music (which some of them do) then there's not much you can do...
I forgot to mention that you can now change the default mapping. (not fully, only for some keys)
Supergrafx games should also work on it.

Enjoy Ys on your calc. (if you're willing to go through that...)
  • 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 #295 on: June 17, 2016, 06:33:02 am »
Ys: Best game series ever (or almost). I am unsure if I will go through the hassle, but it's nice that it's now possible to get that classic to work on a TI-Nspire. :)

The only downside is that the music is the best part in any Ys game by far, so playing those games without music makes you miss out on a lot. But it's still fun nonetheless. :)
  • 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 #296 on: June 17, 2016, 06:39:01 am »
Ys: Best game series ever (or almost). I am unsure if I will go through the hassle, but it's nice that it's now possible to get that classic to work on a TI-Nspire. :)
Not a huge fan of Ys's gameplay but i loooove ys pron.

Quote
The only downside is that the music is the best part in any Ys game by far, so playing those games without music makes you miss out on a lot. But it's still fun nonetheless. :)
I agree, that kind of sucks lol...
The ndless team was talking about implementing USB audio support but that was two years ago...
A shame really, as i even got the otg adapter and usb audio stick !
  • 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 #297 on: June 17, 2016, 06:43:56 am »
Well, Ys is quite primitive compared to other games, especially the older games. You run through enemies to attack them, for example, and unlike Final Fantasy where you get 200 different items, in Ys you have 20 max, with about 3 magic spells. However for some reasons they still managed to make them fun.

My only gripe about the older Ys games is that on the NES and SNES they are super-ultimate-mega-ultra-giga-bats***-motherf***ing hard. Unless you have the exact level requirement+armor to beat an enemy, you die in two hits and if you have one too many levels, then it takes 200 kills to level up. At least the PCE ports are more balanced.
  • 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 #298 on: June 23, 2016, 09:41:54 pm »
Here are the Ys games you can (theorically) play on TI-Nspire thanks to the emulators i have ported :
- Ys I (Master System)
- Ys I & II (PC-Engine)
- Ys III (PC-Engine, SNES and Genesis)
- Ys IV (SNES and PC-Engine)
- Ys V (SNES)

I'm not sure though if you can fit the PC-Engine version of Ys IV due to its size as i heard that many tracks were using the internal soundchip....
This is something i need to check out.

But anyway, i have released a minor update to Temper.
It's smaller and slightly faster.

I'm still looking for someone to switch the input code to native as it's harder than i thought it would be..
https://github.com/gameblabla/temper_nspire
  • 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 #299 on: June 23, 2016, 10:22:20 pm »
Actually, some Ys Book I and II and Ys III tracks use the soundchip as well. Could this be problematic?
  • 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)

 


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