vgmrips

The forum about vgm files
It is currently 2017-12-14, 14:53:20

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: 2017-12-06, 23:43:00 
Offline

Joined: 2015-12-08, 3:01:17
Posts: 8
So I have been extracting data from virtually every MegaDrive ROM I can find, but the tool fails to convert from a number of different files. The error that GEMS2MID outputs is usually something along the line of "Jumping to invalid index xxxxx!" before the program crashes with "gems2mid.exe has stopped working". This happens either right before it gets to track 1 or after a certain amount of tracks. The DAC function works properly, however, and these strangely mostly play perfectly with no crashes with GEMSPlay. I am so furious that I can't get MIDIs from some of these. :x
Here are some of the ROMs that I have extracted data from that are problematic with GEMS2MID:
- Andre Agassi Tennis (JE) (REV 01) [c][!]
- Andre Agassi Tennis (JU) (REV 00) [!]
- Pirates! Gold (Beta)
- Pirates! Gold (U) [!]
- Simpsons, The - Bart's Nightmare (W) [!]
- Smurfs, The (E) [!]
- Spirou (E) [!]
- Star Trek - The Next Generation (U) (REV 00) [!]
- Star Trek - The Next Generation (U) (REV 01) [!]
- Sylvester & Tweety in Cagey Capers (Beta)
- Sylvester & Tweety in Cagey Capers (W) [!]
- WWF Royal Rumble (W) [!]
- WWF Wrestlemania Arcade (W) (Aug 1995) [!]
- WWF Wrestlemania Arcade (W) (Sep 1995)

Can this program be updated to fix at least some of these games (and more, if there are any)? I appreciate your help.


Top
 Profile  
 
 Post subject:
PostPosted: 2017-12-07, 8:32:57 

Staff Staff
Programmers Programmers
Musicians Musicians
Contributors Contributors
Offline
User avatar

Joined: 2011-12-01, 20:20:07
Posts: 2883
Location: Germany
Maybe those game use GEMS 2.8? In that case the format of internal file pointers is slightly different.

Some time ago I updated gems2mid to support that version of the format as well, but I apparently never posted it anywhere. (I probably just posted the link in IRC - that unfortunately happens a lot.)
Try this version, maybe it works. (You might need to use additional parameters if the format autodetection goes wrong.)


Top
 Profile  
 
 Post subject:
PostPosted: 2017-12-07, 18:09:45 
Offline

Joined: 2015-12-08, 3:01:17
Posts: 8
Doesn't work. In fact, that's the version I was using. I tried setting the pointer format option to 2.8 but it doesn't work. I'm confused as to why these ROMs fail...
Have you tried converting any of the ROMs I listed? Then maybe you could replicate what I'm facing...


Top
 Profile  
 
 Post subject:
PostPosted: 2017-12-07, 22:16:35 

Staff Staff
Programmers Programmers
Musicians Musicians
Contributors Contributors
Offline
User avatar

Joined: 2011-12-01, 20:20:07
Posts: 2883
Location: Germany
I haven't converted those games, no. I might have a try tomorrow or sometime during the weekend.
I also don't have rips of some of those games you listed. So far I can find Simpsons, Smurfs and Sylvester & Tweety in my archives. Those might be my test cases for now.


Top
 Profile  
 
 Post subject:
PostPosted: 2017-12-09, 19:17:35 

Staff Staff
Programmers Programmers
Musicians Musicians
Contributors Contributors
Offline
User avatar

Joined: 2011-12-01, 20:20:07
Posts: 2883
Location: Germany
As it turned out, the Smurfs game uses the "goto" sequence command to make the songs loop.
I never encountered this command in the games I tested, which is why didn't notice that it doesn't work at all in gems2mid. (It also doesn't work properly in GEMSPlay due to a typo.)

There are 2 things that gems2mid does wrong:
1. The offset (that is part of the jump) is treated as absolute file offset while it should be relative. (This causes the message.)
2. It doesn't detect jumping to previous parts of the song, so even if it would work, it would then end up in an endless loop.

Here is a fixed version that fixes both issues. If you're interested in the actual fix, you can look here.
Now it also doesn't crash in case of invalid offsets. Instead it just stops converting the current track.


Top
 Profile  
 
 Post subject:
PostPosted: 2017-12-10, 7:59:29 
Offline

Joined: 2015-12-08, 3:01:17
Posts: 8
Sorry to bother you, but that GEMS2MID EXE seems to be for GEMSSCAN, not GEMS2MID. You must have accidently compiled the wrong file. The C file is correct, though, but I don't know how to compile it.

Admin edit: Removed fullquote.


Top
 Profile  
 
 Post subject:
PostPosted: 2017-12-10, 10:14:11 

Staff Staff
Programmers Programmers
Musicians Musicians
Contributors Contributors
Offline
User avatar

Joined: 2011-12-01, 20:20:07
Posts: 2883
Location: Germany
Ah, oops. Sorry, I indeed accidentally picked the wrong file. (I have a sort of special process for compiling these small tools.)

I fixed the archive, please download again.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group