TSX support in OpenMSX.

Página 3/6
1 | 2 | | 4 | 5 | 6

Por Manuel

Ascended (19469)

Imagen del Manuel

18-09-2021, 20:41

saccopharynx wrote:

but a contradictory example is just right in front of our eyes in the quoted comment above. Who are the emulator users? Software analysts are a group of them, in my opinion. Therefore, the format does not only have potential for analysis and preservation, but also benefits for some groups of users, such as software analysts.

I don't see it. To analyse the software with an emulator, the TSX format doesn't help. It only helps if you want to analyse it in raw bytes format, and that is what TSX can store. (Just like CAS.) If you want to analyse the software in openMSX, it doesn't matter whether it's loaded from WAV, CAS or TSX.

So I still don't see how adding this format benefits any emulator user.

Por CASDuino

Champion (341)

Imagen del CASDuino

18-09-2021, 21:24

Manuel wrote:

So I still don't see how adding this format benefits any emulator user.

It doesn't really. There are a few cassette games that had to be hacked to work in CAS format that work without hacking in TSX but DSK or ROM files exist of them anyway and as you're on an emulator it's easy to use them..

Both formats have their pros and cons but the biggest pro of adding TSX to OpenMSX official build would be to stop the never ending debate about adding TSX to the official OpenMSX build.

Por Manuel

Ascended (19469)

Imagen del Manuel

18-09-2021, 21:43

CASDuino wrote:

Both formats have their pros and cons but the biggest pro of adding TSX to OpenMSX official build would be to stop the never ending debate about adding TSX to the official OpenMSX build.

LOL! (Thanks, that made my day Smile)

Por pgimeno

Champion (328)

Imagen del pgimeno

18-09-2021, 21:44

Scenario: Marty has an original copy of Avenger. This program contains blocks that are not recorded in Kansas Standard. This user prefers to convert the tape to a digital copy so that it will last more than his ageing cassette deck, and has no means (or no will) of obtaining a cracked copy.

Marty decides to record the tape in a WAV file. Not being very familiar with the requisites, he records the WAV in 48KHz 16-bit stereo, ending up with an 80 MB file. Well it's big, but at least it works flawlessly in OpenMSX. But crap, Avenger is too hard for him, so he looks for cheats. If he changes a certain sequence of bytes, he can use infinite lives. But how to do it with a WAV?

You've left poor Marty unable to play Avenger!

Marty can, of course, convert the WAV to TSX (and realize how much shorter 50 KB is than 80 MB, and wonder why his favourite emulator does not support it), and then patch it in that format, then convert back to WAV and play in OpenMSX. If Marty learns all that, his frustration at OpenMSX not supporting that format natively in the first place will be big.

So yes, TSX is useful for Marty, an OpenMSX user.

Por Manuel

Ascended (19469)

Imagen del Manuel

18-09-2021, 23:20

If I were Marty, I'd use a disk version of the game and cheat that. Or use the emulator to poke the lives variable.
I do think you overestimate Marty's capabilities if you expect him to patch the TSX file.
Did people ever patch TSX files, in the non-Kansas format part?

Por CASDuino

Champion (341)

Imagen del CASDuino

18-09-2021, 23:33

Manuel wrote:
CASDuino wrote:

Both formats have their pros and cons but the biggest pro of adding TSX to OpenMSX official build would be to stop the never ending debate about adding TSX to the official OpenMSX build.

LOL! (Thanks, that made my day Smile)

Glad to be of service. Lol
Just my cranky old man view after having to deal with TSX files for too many years (4 years).

Por bore

Master (169)

Imagen del bore

18-09-2021, 23:37

As for the whole loading TSX in OpenMSX, wouldn't it be better for OpenMSX to support running scripts when requested to load an unsupported format?
Then TSX to WAV-conversion could be done in an external tool that could be maintained by whoever wants it.
Surely such a tool already exists if anyone is the least interested to write TSX data to a tape for usage on real hardware.

Also, please don't ever claim that the desire for TSX support is for data preservation.
If anyone believes that claim they may lose data if they convert their captures to TSX for that purpose.

Por CASDuino

Champion (341)

Imagen del CASDuino

18-09-2021, 23:39

Manuel wrote:

If I were Marty, I'd use a disk version of the game and cheat that. Or use the emulator to poke the lives variable.
I do think you overestimate Marty's capabilities if you expect him to patch the TSX file.
Did people ever patch TSX files, in the non-Kansas format part?

Using ZX Blockeditor it could be done easily but using a text editor you could find the same sequence in the CAS and edit that in the same way. However Marty is using an emulator so why not use the DSK version which loads faster? 1200 baud of TSX? 3760 baud of CAS? Dsk loading speeds? No brainer.

Por CASDuino

Champion (341)

Imagen del CASDuino

18-09-2021, 23:48

bore wrote:

As for the whole loading TSX in OpenMSX, wouldn't it be better for OpenMSX to support running scripts when requested to load an unsupported format?
Then TSX to WAV-conversion could be done in an external tool that could be maintained by whoever wants it.
Surely such a tool already exists if anyone is the least interested to write TSX data to a tape for usage on real hardware.

Also, please don't ever claim that the desire for TSX support is for data preservation.
If anyone believes that claim they may lose data if they convert their captures to TSX for that purpose.

The tools do exist already. It probably would be easier for OpenMSX to have an option to point to Natalias existing python scripts and exes than add it to the code. Or at least that would be my thinking, however I have not looked at the code of OpenMSX to see how easy that would be.

The data preservation aspect is an argument that those who like and use TSX files use regularly even though, as you said, in converting from WAV to TSX you are actually losing information so it's not acurate preservation. Pros and cons.

Por saccopharynx

Master (175)

Imagen del saccopharynx

19-09-2021, 04:56

Manuel wrote:
saccopharynx wrote:

but a contradictory example is just right in front of our eyes in the quoted comment above. Who are the emulator users? Software analysts are a group of them, in my opinion. Therefore, the format does not only have potential for analysis and preservation, but also benefits for some groups of users, such as software analysts.

I don't see it. To analyse the software with an emulator, the TSX format doesn't help. It only helps if you want to analyse it in raw bytes format, and that is what TSX can store. (Just like CAS.) If you want to analyse the software in openMSX, it doesn't matter whether it's loaded from WAV, CAS or TSX.

So I still don't see how adding this format benefits any emulator user.

Analysing software is not always easy, especially when the software is protected and meant to confuse the analyst. That is why the analyst has sometimes to look for out-of-the-box and complementary ways that would assist in understanding software intricacy. One of those ways is data comparison. Therefore, a more readable format may help in better understanding what a complex piece of software does, for example, by having the knowledge of what the raw data looks like. And by raw data I do not necessarily mean code, but encoded data blocks. You cannot directly look at WAV raw data and understand what that is. You would need external tools to transform that raw data. To make things worse, if such data is encoded using a proprietary format, you might not even find a tool.

I apply data comparison on daily basis as part of my job analysing software on different architectures such as ARM and x64-86, and I have done it with software for MSX as well. So, I think I have a little of idea of what I am talking about and the possible benefits that TSX could bring. But it is hard to see the value of more readable raw data, such as the one that TSX can represent, until you put hands on that because you need it for some reason. I formerly was against TSX, but I then changed my mind when I saw the potential.

Regarding CAS vs TSX, I do not see supporting CAS already as a strong argument to rule out TSX, because TSX can be used to store data blocks that CAS cannot!

As I said before, emulator users can also be software analysts, so I see the format benefits. Obviously, we are never going to get to an agreement. Some people, like you, have a point of view, and some people, like me, have a different point of view!!!

Página 3/6
1 | 2 | | 4 | 5 | 6