Sonic and Sega Retro Message Board: Problem with Bobesh8's Sonic 1 SegaCD remake - Sonic and Sega Retro Message Board

Jump to content

Hey there, Guest!  (Log In · Register) Help
  • 2 Pages +
  • 1
  • 2
    Locked
    Locked Forum

Problem with Bobesh8's Sonic 1 SegaCD remake Reading the emulator's manual did not help

#1 User is offline Trinitronity 

Posted 23 January 2016 - 02:35 AM

  • Posts: 20
  • Joined: 21-January 16
Hello guys, TrinitroMan is here.
Not sure if this is the right place to ask that question, so I really hope it is.
Anyway, so I have downloaded this hack:
http://shc.sonicrese...rg/history13/36
And when I found out that almost all thee CDDA songs sound like amateur midis, I went ahead and replaced most of them with higher quality versions (I'm still not done with replacing, though).
So what I found out is the following:
Whenever I try to insert a song downloaded from the homepage of OCRemix, my emulator (Gens+) crashes as soon as it tries to load up that song.
However, if I download the same song by converting a Youtube upload of it into an MP3 and insert it, then my emulator does not crash.
But the thing is, not every OCRemix is uploaded on Youtube. This is especially true for every song from their Sound of Speed album (the one that is literally filled with Sonic remixes).

And sadly, the emulator's manual does not tell me what I should do to fix the crashing problem.
So how can I possibly fix the crashing problem?

Also, how could I possibly fix the problem of the (unchanged) Invinsibility music not stopping to play when the Invinsibility ended while on Green Hill Zone with changed music?
Because the Invinsibility music does stop to play when the Invinsibility ended while on Marble Zone with changed music, and both Green Hill's and Marble's new songs are ripped from Youtube using the same convertor.

Would be glad if someone could help me out there instead of moving the thread to the trash immidiately with absolutely no warning. Thanks in advance!

#2 User is offline nineko 

Posted 23 January 2016 - 06:27 AM

  • I am the Holy Cat
  • Posts: 5630
  • Joined: 17-August 06
  • Gender:Male
  • Location:italy
  • Project:I... don't even know anymore :U
  • Wiki edits:5,251
Most mp3s from OCR use weird id3 tags, try stripping them with a tag editor (such as Winamp's). As a matter of fact, removing all the tags is the first thing I do when I download songs from OCR.
This post has been edited by nineko: 23 January 2016 - 06:27 AM

#3 User is offline Trinitronity 

Posted 23 January 2016 - 07:22 AM

  • Posts: 20
  • Joined: 21-January 16
Wait, Winamp has a tag editor?
Where is it? Because I cannot find it for some reasons...

#4 User is offline Herm the Germ 

Posted 23 January 2016 - 10:45 AM

  • Hmm, not bad. Well done, doctor!
  • Posts: 1482
  • Joined: 22-April 09
  • Gender:Male
  • Location:Dresden, Saxony, Germany
  • Project:MIDI-to-SMPS-conversions, mostly. Takin' requests, too.
  • Wiki edits:5
Right click a file in your playlist, there should be an option something like "Edit Meta-Data". Alternatively, select a file in the playlist and hit Shift+E.

#5 User is offline Trinitronity 

Posted 23 January 2016 - 01:04 PM

  • Posts: 20
  • Joined: 21-January 16
Okay, I think I removed the tags now (using Herm the Germ's method), but sadly, the emulator still crashes, even after removing the tags.
Furthermore, when viewing the file preview of the MP3, I can see that the OCRemix picture is still there, so did I miss some tags or what?

#6 User is offline nineko 

Posted 23 January 2016 - 09:14 PM

  • I am the Holy Cat
  • Posts: 5630
  • Joined: 17-August 06
  • Gender:Male
  • Location:italy
  • Project:I... don't even know anymore :U
  • Wiki edits:5,251
Yeah, apparently OCR's tags are so weird that Winamp can't even remove them entirely (I use another program to do that, but I suggested Winamp since it's popular and I assumed you already had it). It's still possible that this isn't related to your issue, but since different ReMixers use different encoders to make the MP3s, the only common factor are the tags, which are written by the OCR staff themselves. To further this theory, the ID3v2 tags are placed at the beginning of the file, the best place if you want to confuse a program which isn't expecting them.

I should have replied with this detail sooner, but I wasn't at home earlier and from my previous post you can tell I hate to type on a phone.
This post has been edited by nineko: 23 January 2016 - 09:16 PM

#7 User is offline Trinitronity 

Posted 24 January 2016 - 03:31 AM

  • Posts: 20
  • Joined: 21-January 16
Wait, the ID3v2 tag is placed at the beginning of the file? Can I just remove it with a hex editor? If yes, then how can I know when the ID3v2 tag ends and should I just replace them with 00s?

#8 User is offline ValleyBell 

Posted 24 January 2016 - 05:38 AM

  • Posts: 230
  • Joined: 08-September 10
  • Gender:Male
  • Project:researching SMPS sound drivers
  • Wiki edits:10
ID3v2 tags are indeed likely to crash programs that don't expect them - especially if they include pictures.

The simplest way to remove ID3v2 tags via hex-editing is to search for the bytes "FF FB" and remove everything before, because most MP3 blocks begin with those two bytes.
Alternatively you can try to get the length of the tag block by decoding the value stored at offset 06-09. (It's a Big Endian number where only the 7 lower bits in each byte are used - I.e. 0x8F0 is stored as 00 00 11 70)
If you want to do that with multiple MP3s though, I'd probably just use a tool. I've been using Mp3tag most of the time. It's pretty powerful and I also used it to remove ID3v2 while keeping ID3v1.

#9 User is offline Trinitronity 

Posted 24 January 2016 - 09:41 AM

  • Posts: 20
  • Joined: 21-January 16
Thanks, that your idea with the FF FB bytes fixed the crashing problem.
And now, onto figuring out why the stopping of the (unchanged) Invinsibility music is so inconsistent before I can even hope to make some actual coding tweaks of my own (probably a bad way to start learning Sonic ASM).

#10 User is offline Overlord 

Posted 24 January 2016 - 02:41 PM

  • Substitute Meerkovo IT Chief
  • Posts: 16822
  • Joined: 12-January 03
  • Gender:Male
  • Location:Berkshire, England
  • Project:VGDB
  • Wiki edits:3,204
I should probably note at this point it's considered bad form to hack other people's hacks. Especially without permission. Music changing on a CD game is fair enough because that's trivial, but anything more...

#11 User is offline Trinitronity 

Posted 24 January 2016 - 03:03 PM

  • Posts: 20
  • Joined: 21-January 16
Well, I would have course not release it without the original authors permission.
If I get the permission, I could release an update version of that guy's hack.
If not, then I can still hack it for my very own entertainment and simply not release it.
In any case I would get the chance to learn some Sonic ASM hacking, and I could use my expieriences later on for my own hacks.

#12 User is offline Clownacy 

Posted 24 January 2016 - 03:20 PM

  • Layin' the Wax and Spinnin' the Sounds
  • Posts: 696
  • Joined: 06-July 13
  • Gender:Not Telling
Some folks get mad even if you don't distribute. It's just the matter of simply looking at their code.

#13 User is offline Trinitronity 

Posted 25 January 2016 - 01:53 AM

  • Posts: 20
  • Joined: 21-January 16
Well, I'm sorry, but I think that this is something to be accepted.
I mean, retail games get hacked on a daily basis, so why not hacked and fanmade games either?
That really reaks of elitism, something that I really do not like.
And hey, sometimes someone has to see someone else's implementation of a code to truly understand the code.
Yeah, I got that way of thinking thanks to the MUGEN community, where creations of other people get edited and distributed very often.

I mean, I only want to do this in order to learn Sonic ASM coding, before I can make my own original hacks (which are a bit on the ambitious side for an amateur, but should be doable by an expert).

#14 User is offline Clownacy 

Posted 25 January 2016 - 03:19 AM

  • Layin' the Wax and Spinnin' the Sounds
  • Posts: 696
  • Joined: 06-July 13
  • Gender:Not Telling
It's not surprising people think this way after how many times we've been burned before: code stealers, hack disassemblers. In a community where people often contribute code in guides and actual disassemblies, it's pretty rude to overstep that and go straight for the code someone doesn't want you to see. It's no secret that I occasionally disassemble sections of others' ROMs, usually to find the source of crashes, but even I find it slimy to do so to learn ASM. That's what guides are for; if someone wanted to help you with that, they would have. Also, 'elitist'? Really? We're trying to treat each other's work with respect, and you're going against that just to benefit yourself, and we're the bad ones?
This post has been edited by Clownacy: 25 January 2016 - 03:34 AM

#15 User is online winterhell 

Posted 25 January 2016 - 03:41 AM

  • Posts: 1138
  • Joined: 16-October 10
  • Gender:Male
Modding retail games happens, yes.
The key difference is they already make the millions out of the game, AND everybody knows the original product and who made it.

A hack of a hack is a bad form because people might assume you made everything or that you didn't credit the original author well enough.
I promise you, if you were in the reverse situation you wouldn't like someone taking your code, level layouts, sprites and whatnot and plastering them in their product.
And if you say you would be ok with it, that's because you haven't done enough stuff. Its like 'Sure, if I win the lottery I'll buy all you guys shiny cars, donate to charity etc' but when the time actually comes...

If you want to be doing this just for learning,
a) don't release it publicly or otherwise
b) couldn't you just do your changes on the original game?

P.S. Modifying retail games is most of the times still considered illegal, and you can see it being enforced from time to time by banning players.Why don't you try to modify TF2, Dota 2 or CS:GO and watch what happens.
This post has been edited by winterhell: 25 January 2016 - 03:46 AM

  • 2 Pages +
  • 1
  • 2
    Locked
    Locked Forum

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users