Join us on Discord!
You can help CodeWalrus stay online by donating here.

SDL/n2DLib ports for TI Nspire

Started by gameblabla, August 19, 2015, 08:48:31 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

gameblabla

#285
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.
  • Calculators owned: None (used to own an Nspire and TI-89)

Dream of Omnimaga

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-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

critor

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. :)

gameblabla

#288
Quote from: critor 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. :)
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.

QuoteAlso 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.
  • Calculators owned: None (used to own an Nspire and TI-89)

Dream of Omnimaga

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-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

gameblabla

Quote from: DJ Omnimaga 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?
You're kidding right ?
You can do so with any text editor, here's how i did it for Megaman :
[spoiler]
FILE track1.iso.tns BINARY
  TRACK 01 MODE1/2048
    PREGAP 00:02:00
    INDEX 1 00:00:000

FILE "stage_select.wav" WAVE
  TRACK 02 AUDIO
    PREGAP 00:02:00
    INDEX 1 00:00:000

FILE "stage_start.wav" WAVE
  TRACK 03 AUDIO
    PREGAP 00:02:00
    INDEX 1 00:00:000

FILE "mission_failed.wav" WAVE
  TRACK 04 AUDIO
    PREGAP 00:02:00
    INDEX 1 00:00:000

FILE "victory.wav" WAVE
  TRACK 05 AUDIO
    PREGAP 00:02:00
    INDEX 1 00:00:000

FILE "cutman.wav" WAVE
  TRACK 06 AUDIO
    PREGAP 00:02:00
    INDEX 1 00:00:000

FILE "fireman.wav" WAVE
  TRACK 07 AUDIO
    PREGAP 00:02:00
    INDEX 1 00:00:000

FILE "fireman.wav" WAVE
  TRACK 08 AUDIO
    PREGAP 00:02:00
    INDEX 1 00:00:000

FILE "bombman.wav" WAVE
  TRACK 09 AUDIO
    PREGAP 00:02:00
    INDEX 1 00:00:000

FILE "elecman.wav" WAVE
  TRACK 10 AUDIO
    PREGAP 00:02:00
    INDEX 1 00:00:000

FILE "gutsman.wav" WAVE
  TRACK 11 AUDIO
    PREGAP 00:02:00
    INDEX 1 00:00:000

FILE "last_boss.wav" WAVE
  TRACK 12 AUDIO
    PREGAP 00:02:00
    INDEX 1 00:00:000

FILE "wily_stage1.wav" WAVE
  TRACK 13 AUDIO
    PREGAP 00:02:00
    INDEX 1 00:00:000

FILE "boss_battle.wav" WAVE
  TRACK 14 AUDIO
    PREGAP 00:02:00
    INDEX 1 00:00:000

FILE "ending.wav" WAVE
  TRACK 15 AUDIO
    PREGAP 00:02:00
    INDEX 1 00:00:000

FILE "iceman.wav" WAVE
  TRACK 16 AUDIO
    PREGAP 00:02:00
    INDEX 1 00:00:000

FILE "wily_stage2.wav" WAVE
  TRACK 17 AUDIO
    PREGAP 00:02:00
    INDEX 1 00:00:000

FILE "victory.wav" WAVE
  TRACK 18 AUDIO
    PREGAP 00:02:00
    INDEX 1 00:00:000

FILE "title_screen.wav" WAVE
  TRACK 19 AUDIO
    PREGAP 00:02:00
    INDEX 1 00:00:000

FILE track1.iso.tns BINARY
  TRACK 20 MODE1/2048
    PREGAP 00:02:00
    INDEX 1 00:00:000
[/spoiler]
to this :
[spoiler]
FILE track1.iso.tns BINARY
  TRACK 01 MODE1/2048
    PREGAP 00:02:00
    INDEX 1 00:00:000

FILE track1.iso.tns BINARY
  TRACK 20 MODE1/2048
    PREGAP 00:02:00
    INDEX 1 00:00:000
[/spoiler]
See what i did ?
I removed all the audio tracks info from the cue and deleted the accompagning wav files along with.

QuoteYears 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.

QuoteWill 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: None (used to own an Nspire and TI-89)

Dream of Omnimaga

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-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

gameblabla

#292
Quote from: DJ Omnimaga 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? <_<
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.
[spoiler]
That means i can share it and f*** it without any restrictions :
it doesn't deny my freedom to pee whetever i want or asking for monez.
That is why DJ...
YOU MUST SWITCH TO UBUNTU NOW
YOUR LIFE DEPENDS ON IT
WINDOWS IS THE FINAL SOLUTION TO LINUX USERS LIKE US
SAVE THE JEWS LINUX ! USE UBUNTU
[/spoiler]

QuoteAnyway 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.
  • Calculators owned: None (used to own an Nspire and TI-89)

Dream of Omnimaga

Yeah my issue was using Windows <_<
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

gameblabla

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.
bincuespliter.exe ys.cue bin
Then i get the generated bin file (16.6Mb for Ys I & II) and i create a cue file for it.

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: None (used to own an Nspire and TI-89)

Dream of Omnimaga

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-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

gameblabla

Quote from: DJ Omnimaga 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. :)
Not a huge fan of Ys's gameplay but i loooove ys pron.

QuoteThe 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: None (used to own an Nspire and TI-89)

Dream of Omnimaga

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-batc-mothercing 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-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

gameblabla

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: None (used to own an Nspire and TI-89)

Dream of Omnimaga

Actually, some Ys Book I and II and Ys III tracks use the soundchip as well. Could this be problematic?
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

Powered by EzPortal