MP3 importing problem
Moderators: Bob the Hamster, marionline, SDHawk
- The Wobbler
- A Scrambled Egg
- Posts: 2615
- Joined: Mon Oct 15, 2007 8:36 pm
- Location: Underwater
- Contact:
MP3 importing problem
I've used plenty of MP3s in OHR games before. Tonight, I try importing some, the first four work smoothly, the fifth sends the engine's file type converter into an insane panic, opening and closing repeatedly until I press escape. When it finally stops freaking out, I go to the slot where the newly imported sound should be, and... I've got another copy of an earlier sound file in its place. Anyone else seen this?
It's happening whether I import them as sound effects or music. Importing .oggs seems to work, but I really don't want to manually convert 181 files.
It's happening whether I import them as sound effects or music. Importing .oggs seems to work, but I really don't want to manually convert 181 files.
Last edited by The Wobbler on Tue Jun 15, 2010 1:30 am, edited 1 time in total.
- Pepsi Ranger
- Liquid Metal Slime
- Posts: 1419
- Joined: Thu Nov 22, 2007 6:25 am
- Location: South Florida
This happens to me all the time, especially when I try to import sound effects. It's gotten to the point where I find myself trying to "skillfully" tap the Enter button just to make sure I don't send CUSTOM into a frenzy. I have a feeling it has something to do with a wait somewhere, since it only happens on occasion. In any case, the problem is so common that I've grown to dread the moment that I need to add a new song or sound effect to the engine.
So, yeah, you're definitely not alone on this.
So, yeah, you're definitely not alone on this.
Place Obligatory Signature Here
- JSH357
- Liquid Metal Slime
- Posts: 1340
- Joined: Mon Oct 15, 2007 7:38 pm
- Location: Columbia, SC
- Contact:
It happens to me too. If you just keep letting it reload, eventually it will work out OK. Definitely a bug that needs fixing, though.
My website, the home of Motrya:
http://www.jshgaming.com
http://www.jshgaming.com
- The Wobbler
- A Scrambled Egg
- Posts: 2615
- Joined: Mon Oct 15, 2007 8:36 pm
- Location: Underwater
- Contact:
I let it keep running and while it DID work, it imported the wrong file.JSH357 wrote:It happens to me too. If you just keep letting it reload, eventually it will work out OK. Definitely a bug that needs fixing, though.
I always use Audacity. I just used it to record 180 MP3s. Reopening and converting each one will take forever.RedMaverickZero wrote:I got tired of dealing with it, so I downloaded Audacity, and it makes OGG files and they import perfectly. If you get impatient, use that. It's easy.
- Spoonweaver
- Liquid Metal King Slime
- Posts: 6247
- Joined: Mon Dec 08, 2008 7:07 am
- Location: Home
- Contact:
- The Wobbler
- A Scrambled Egg
- Posts: 2615
- Joined: Mon Oct 15, 2007 8:36 pm
- Location: Underwater
- Contact:
Is this another form of Bug 826?
http://rpg.hamsterrepublic.com/bugzilla ... cgi?id=826
There are a couple of workarounds indicated on that page to maybe try for the short-term.
http://rpg.hamsterrepublic.com/bugzilla ... cgi?id=826
There are a couple of workarounds indicated on that page to maybe try for the short-term.
I am Srime
i have only ever had the problem with .wav sound effects just failing to import at all.
you can always convert everything to .ogg beforehand in audacity, although thats not super convenient.
maybe someone could write some sort of batch file to convert all of the files in a folder to ogg, or perhaps theres a utility that already does this?
at least until custom gets it goin right, haha.
you can always convert everything to .ogg beforehand in audacity, although thats not super convenient.
maybe someone could write some sort of batch file to convert all of the files in a folder to ogg, or perhaps theres a utility that already does this?
at least until custom gets it goin right, haha.
- FnrrfYgmSchnish
- Metal Slime
- Posts: 721
- Joined: Thu Jun 18, 2009 4:37 am
- Location: Middle of Nowhere, VA
I've definitely seen this bug before, though with WAV files rather than MP3s.Bugzilla wrote:When the external mp3 converter gets called, SDL loses the key-release from the
key you pressed to confirm the conversion, so it acts as if you are holding
down ENTER (or SPACE) forever.
Just a random thought: since the problem is the program thinking you're holding down Enter, couldn't this be temporarily "sorta half-fixed" just by changing the import music/sound setup a bit? Maybe make it so that instead of the cursor staying on "import" after you've imported a file (where the "hold down Enter" effect makes it repeatedly import the first file in the directory over and over), it could move up automatically to select the song/sound name instead, where pushing Enter does nothing.
The program would still think you're pounding the Enter key as fast as you can, but at least that way it'd be doing it in a place where Enter doesn't actually do anything... so it wouldn't get in the way of people importing their sound files.
Last edited by FnrrfYgmSchnish on Tue Jun 15, 2010 1:59 pm, edited 1 time in total.
- JSH357
- Liquid Metal Slime
- Posts: 1340
- Joined: Mon Oct 15, 2007 7:38 pm
- Location: Columbia, SC
- Contact:
While we're on this bug, another one that's popped up for me a lot lately is that CUSTOM will sometimes be under the impression that I am holding down a key. (I can't remember which) Usually this happens in the middle of writing text, and a bunch of 3s or something will appear. Saving an quitting stops it, but I have to fix the text that got messed up.
My website, the home of Motrya:
http://www.jshgaming.com
http://www.jshgaming.com
- Bob the Hamster
- Liquid Metal King Slime
- Posts: 7460
- Joined: Tue Oct 16, 2007 2:34 pm
- Location: Hamster Republic (Ontario Enclave)
- Contact:
That sounds separate from the import problem (unless it happens after importing)JSH357 wrote:While we're on this bug, another one that's popped up for me a lot lately is that CUSTOM will sometimes be under the impression that I am holding down a key. (I can't remember which) Usually this happens in the middle of writing text, and a bunch of 3s or something will appear. Saving an quitting stops it, but I have to fix the text that got messed up.
Does tapping the "stuck" key unstick it?
As for <a href="http://rpg.hamsterrepublic.com/bugzilla ... d=826">bug 826</a> workarounds, I use <a href="http://sox.sourceforge.net/">SOX</a> when I want to batch convert large numbers of wav or mp3 files into ogg. Unfortunately, sox is a fairly complex command-line utility, and you have to know a little shell scripting or Batch language to be able to use it effectively.
I just went searching for something easier, and I found something good. The combination of LameDropXP and OggDropXP make it quite easy to convert a large number of mp3 files into ogg format. (and in spite of the fact that the website for these tools describes them as being for "experienced" users, they are both insanely easy to use.)
http://www.rarewares.org/mp3-lamedrop.php
http://www.rarewares.org/ogg-oggdropxpd.php
* Get both LameDrop and OggDrop
* Run LameDrop
* Drag and drop all your mp3 files onto LameDrop, and it will make WAV copies of all of them.
* Run OggDrop
* Drag and drop all of the new WAV files onto OggDrop and it will make ogg copies of all of them
* Right-click and pick close on each of the droppers when you are finished
* Throw away the WAV files if you don't want to waste the space.
Last edited by Bob the Hamster on Tue Jun 15, 2010 3:34 pm, edited 1 time in total.
- NeoSpade
- Slime Knight
- Posts: 163
- Joined: Thu Jun 10, 2010 5:52 pm
- Location: North Wales (UK)
- Contact:
I get a similar bug in the graphics editors, every so often if I close then reopen the window, CUSTOM will think I'm holding down caps lock and usually messes up my image as it gets clipped to death by the boarder.JSH357 wrote:While we're on this bug, another one that's popped up for me a lot lately is that CUSTOM will sometimes be under the impression that I am holding down a key. (I can't remember which) Usually this happens in the middle of writing text, and a bunch of 3s or something will appear. Saving an quitting stops it, but I have to fix the text that got messed up.
- Bob the Hamster
- Liquid Metal King Slime
- Posts: 7460
- Joined: Tue Oct 16, 2007 2:34 pm
- Location: Hamster Republic (Ontario Enclave)
- Contact:
Capslock is another issue. The gfx_sdl backend treats the capslock key differently than it does other keys.NeoSpade wrote:I get a similar bug in the graphics editors, every so often if I close then reopen the window, CUSTOM will think I'm holding down caps lock and usually messes up my image as it gets clipped to death by the boarder.
My solution for that is that I need to completely stop using the capslock key for any purpose whatsoever, and I need to pick some other key to replace it in the sprite editor. (suggestions welcome)
- NeoSpade
- Slime Knight
- Posts: 163
- Joined: Thu Jun 10, 2010 5:52 pm
- Location: North Wales (UK)
- Contact:
Numpad panning would be nice (but the do-ablity may be based off wheather or not the numpad is treated seperately to the number/arrow keys)James Paige wrote:My solution for that is that I need to completely stop using the capslock key for any purpose whatsoever, and I need to pick some other key to replace it in the sprite editor. (suggestions welcome)