Alternatively, join us on Discord!

+-Recent Topics

SDL/n2DLib ports for TI Nspire

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

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

gameblabla

June 13, 2016, 11:37:28 pm #285 Last Edit: June 29, 2016, 07:06:04 am by gameblabla
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.

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

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

June 14, 2016, 12:31:24 pm #288 Last Edit: June 14, 2016, 01:05:16 pm by gameblabla
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.

DJ 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?

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.

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

gameblabla

June 14, 2016, 05:59:39 pm #292 Last Edit: June 14, 2016, 06:06:29 pm by gameblabla
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.

DJ Omnimaga

Yeah my issue was using Windows <_<

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

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

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 !

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

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

DJ Omnimaga

Actually, some Ys Book I and II and Ys III tracks use the soundchip as well. Could this be problematic?

Powered by EzPortal