Author Topic: STarKos YM generator, STARK2YM  (Read 4350 times)

0 Members and 1 Guest are viewing this topic.

Offline mr_lou

  • 6128 Plus
  • ******
  • Posts: 3.092
  • Country: dk
    • index.php?action=treasury
    • 8-bit Memoirs - a Blu-ray diskmag-like eBook about the 8-bit era
  • Liked: 1261
  • Likes Given: 2508
STarKos YM generator, STARK2YM
« on: 10:12, 28 November 10 »
Trying to generate some YM files from some of my SKS files isn't going that well.

I know I can create YM files using WinAPE, but
1) I don't use Windows
2) It doesn't feel right to need to play the music before being able to get a YM file out of it
3) It seems logical that the STARK2YM tool on the STarKos DSK would do a better job, since it knows exactly how the format is built.

But the YM files STARK2YM generates for me are firstly quite large, up to 160 kb in size, and secondly I can't play them with either of the two YM players I have on my system.

ymplayer says "Error in loading file 1.YM: Unknow YM format !"
and Markus' Java YM Player just kinda hangs there.

Any ideas?

Offline redbox

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.751
  • Country: gb
    • redbox
  • Liked: 326
  • Likes Given: 267
Re: STarKos YM generator, STARK2YM
« Reply #1 on: 11:49, 28 November 10 »
I know I can create YM files using WinAPE, but
1) I don't use Windows

Sorry, I don't know the solution to your problem but I too have been having problems with AY files.

WinAPE doesn't appear to record them properly - it does whilst caching the file to disk but then when it finishes the file becomes 2kb odd in size and isn't right.

I wanted to use Kit AY to turn YM recorded files into AY files to play with the low footprint player.

It would be nice to have a set of utilities that work with YM playback and conversion...!

Offline almasys

  • CPC464
  • **
  • Posts: 13
  • Liked: 6
  • Likes Given: 0
Re: STarKos YM generator, STARK2YM
« Reply #2 on: 13:18, 28 November 10 »
I know I can create YM files using WinAPE, but
1) I don't use Windows
I'm running WinAPE using WINE on Mac OS X 10.6, it works fine.

Offline arnoldemu

  • Supporter
  • 6128 Plus
  • *
  • Posts: 5.336
  • Country: gb
    • Unofficial Amstrad WWW Resource
  • Liked: 2274
  • Likes Given: 3478
Re: STarKos YM generator, STARK2YM
« Reply #3 on: 12:42, 29 November 10 »
Trying to generate some YM files from some of my SKS files isn't going that well.

I know I can create YM files using WinAPE, but
1) I don't use Windows
2) It doesn't feel right to need to play the music before being able to get a YM file out of it
3) It seems logical that the STARK2YM tool on the STarKos DSK would do a better job, since it knows exactly how the format is built.

But the YM files STARK2YM generates for me are firstly quite large, up to 160 kb in size, and secondly I can't play them with either of the two YM players I have on my system.

ymplayer says "Error in loading file 1.YM: Unknow YM format !"
and Markus' Java YM Player just kinda hangs there.

Any ideas?
yeah it's generating uncompressed ym files.
Try LHAing them, then renaming that to .ym and try again.

The ym files that most players can play are lha compressed files, and within the archive is the ym data itself.
My games. My Games
My website with coding examples: Unofficial Amstrad WWW Resource

Offline mr_lou

  • 6128 Plus
  • ******
  • Posts: 3.092
  • Country: dk
    • index.php?action=treasury
    • 8-bit Memoirs - a Blu-ray diskmag-like eBook about the 8-bit era
  • Liked: 1261
  • Likes Given: 2508
Re: STarKos YM generator, STARK2YM
« Reply #4 on: 16:24, 29 November 10 »
yeah it's generating uncompressed ym files.
Try LHAing them, then renaming that to .ym and try again.

Thanks for the explanation.
It doesn't seem to change anything though, but maybe my version of LHA on Ubuntu is the reason. I'll try LHA'ing one of the STARK2YM generated YM files on my Amiga later. :-)

Offline redbox

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.751
  • Country: gb
    • redbox
  • Liked: 326
  • Likes Given: 267
Re: STarKos YM generator, STARK2YM
« Reply #5 on: 17:00, 29 November 10 »
Ah, so that's why it's not working on my PC.

I renamed test.ym that WinAPE outputs to test.ym.lha and then used 7-Zip to uncompress it  :)

Offline mr_lou

  • 6128 Plus
  • ******
  • Posts: 3.092
  • Country: dk
    • index.php?action=treasury
    • 8-bit Memoirs - a Blu-ray diskmag-like eBook about the 8-bit era
  • Liked: 1261
  • Likes Given: 2508
Re: STarKos YM generator, STARK2YM
« Reply #6 on: 18:06, 29 November 10 »
Doesn't change anything to LHA it on my Amiga either. It won't play.  :(
"Error in loading file 1.ym: Unknow YM format !"

Any other suggestions?

Offline robcfg

  • Supporter
  • 6128 Plus
  • *
  • Posts: 2.318
  • Country: se
  • 8-Bit Technomancer
    • index.php?action=treasury
  • Liked: 1031
  • Likes Given: 2476
Re: STarKos YM generator, STARK2YM
« Reply #7 on: 18:42, 29 November 10 »
There a couple of YM revisions with minor differences, but most probabky your player expects a YM3 or YM3B file while modern players/convertes generate YM5 files.


Check the first bytes of the YM files and if they are in fact YM5, try a YM3 or YM3B with your player.


It shouldn't be difficult to convert them if that's the problem.

Offline mr_lou

  • 6128 Plus
  • ******
  • Posts: 3.092
  • Country: dk
    • index.php?action=treasury
    • 8-bit Memoirs - a Blu-ray diskmag-like eBook about the 8-bit era
  • Liked: 1261
  • Likes Given: 2508
Re: STarKos YM generator, STARK2YM
« Reply #8 on: 19:46, 29 November 10 »
There a couple of YM revisions with minor differences, but most probabky your player expects a YM3 or YM3B file while modern players/convertes generate YM5 files.

I checked with a Hex-Editor, and you're right. It appears to be a YM5 file. How do I convert them to YM3? I'm thinking about releasing these YM files, so therefor it has to be a format that can be played on most players.

Offline mr_lou

  • 6128 Plus
  • ******
  • Posts: 3.092
  • Country: dk
    • index.php?action=treasury
    • 8-bit Memoirs - a Blu-ray diskmag-like eBook about the 8-bit era
  • Liked: 1261
  • Likes Given: 2508
Re: STarKos YM generator, STARK2YM
« Reply #9 on: 20:13, 29 November 10 »
Solved.

I'm so stupid. When exporting the files using ManageDsk it included the AMSDOS header. Doh!

Offline Executioner

  • Supporter
  • 6128 Plus
  • *
  • Posts: 783
  • Country: au
  • WinAPE Developer
    • WinAPE
  • Liked: 391
  • Likes Given: 60
Re: STarKos YM generator, STARK2YM
« Reply #10 on: 05:32, 30 November 10 »
I'm so stupid. When exporting the files using ManageDsk it included the AMSDOS header. Doh!

You know you can export the files directly from WinAPE by opening the disk editor (CTRL-SHIFT-F1) and just drag/drop the files. There is a checkbox to turn AMSDOS headers on/off.

Offline mr_lou

  • 6128 Plus
  • ******
  • Posts: 3.092
  • Country: dk
    • index.php?action=treasury
    • 8-bit Memoirs - a Blu-ray diskmag-like eBook about the 8-bit era
  • Liked: 1261
  • Likes Given: 2508
Re: STarKos YM generator, STARK2YM
« Reply #11 on: 08:05, 30 November 10 »
You know you can export the files directly from WinAPE by opening the disk editor (CTRL-SHIFT-F1) and just drag/drop the files. There is a checkbox to turn AMSDOS headers on/off.

That's good to know, but something I'm not likely to ever use, because I don't use Windows.

ManageDsk also has an option of exporting without headers. I just didn't see/remember about it.

(Yes, ManageDsk is also a Windows tool, but it works with Wine. WinAPE doesn't work with Wine, at least not last time I checked).

Offline Executioner

  • Supporter
  • 6128 Plus
  • *
  • Posts: 783
  • Country: au
  • WinAPE Developer
    • WinAPE
  • Liked: 391
  • Likes Given: 60
Re: STarKos YM generator, STARK2YM
« Reply #12 on: 02:06, 01 December 10 »
Sorry mr_lou, didn't read the whole thread properly. I haven't tried WinAPE on WINE (or WINE at all for that matter), but almasys says it works above on Mac.

WinAPE doesn't appear to record them properly - it does whilst caching the file to disk but then when it finishes the file becomes 2kb odd in size and isn't right.

Is this actually a problem, or have you figured it out? I think WinAPE initially creates the uncompressed YM file, then compresses it using LHA when you close the output file or the emulator.


Offline redbox

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.751
  • Country: gb
    • redbox
  • Liked: 326
  • Likes Given: 267
Re: STarKos YM generator, STARK2YM
« Reply #13 on: 10:27, 01 December 10 »
Is this actually a problem, or have you figured it out? I think WinAPE initially creates the uncompressed YM file, then compresses it using LHA when you close the output file or the emulator.

Yes I figured it out - to get the uncompressed file, I rename the file WinAPE generates to have the extension .LHA and then inside there is the .YM5 file that I can extract.  :)