-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unsupported file format: !C-l #18
Comments
Hello there! What I mean by "raw YM" is that YM files are in fact LHA archive files that contain the "actual" YM file within them. So if you have something like 7zip installed, open up your YM file with that, to reveal the inner YM file, extract that, and feed that to the script instead. Its fiddly I know, but unfortunately LHA files are a bit tricky to support in Python so this is the only workaround I have at the moment! Here's the converted VGM: Best, |
By the way your project looks very cool. Out of interest what sound chip are you wanting to get this music running on? |
I've just updated the script to have a better command line parser. It now reports a more helpful error if the YM file fed to it is the LHA archive rather than the inner YM binary. |
Thx Simon, your tool is perfect for SN76489 Chip on Sega Megadrive.. https://segaretro.org/SN76489 |
No worries, glad you found it useful! I knew there was an SN in the Sega Master System, but I didn't know until now that there was one in the Megadrive too! |
BTW if the megadrive sound chip is similar to the master system, it has a LFSR tap on bit 16 for periodic noise, so that define in the script probably needs modifying for your music. |
Hi Simon, I tried for a new remake in progress..I have messages below |
Hi Simon,
I tried to use your tool to convert a ym music that we currently use in a game remake.
./ym2sn.py Return_to_Genesis1.ym ENV: set shape 0 hold=True [31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] Parsing YM file... YM Format: !C-l Traceback (most recent call last): File "./ym2sn.py", line 2164, in <module> main() File "./ym2sn.py", line 2123, in main ym = YmReader(fd) File "./ym2sn.py", line 617, in __init__ self.__parse_header() File "./ym2sn.py", line 680, in __parse_header raise Exception('Unsupported file format: ' + ym_format) Exception: Unsupported file format: !C-l
Have we forgotten something ?
Bravo ! for this great tool
Return_to_Genesis1.ym.zip
Our remake
http://www.z-team.fr/return2genesis.html
The text was updated successfully, but these errors were encountered: