nikita36078 / J2ME-Loader

A J2ME emulator for Android.
Apache License 2.0
1.77k stars 198 forks source link

Inaccurate sound on various games #491

Open mbc07 opened 5 years ago

mbc07 commented 5 years ago

To avoid spamming the Issue Tracker I'll consolidate some sound issues I found across various games here as they all seem related to each other...

Emulator version: 1.4.3-play

Game version: (separating by publisher) Gameloft

Glu Mobile

Vivendi Games Mobile

Game resolution: All of them are the biggest 240x320 JAR releases (those versions always end being the Nokia N95, S60, SE C905 or SE K800 editions) except for Crash Nitro Kart 2 which is a 334 KB release that works fine on whatever screen resolution you configure in J2ME-Loader.

Device: Sony Xperia X Dual (F5122)

Android version: 8.0.0

Description of the issue: All of the listed games experience at least one of these sound issues:

Background music doesn't loop and sound effects won't play while background music is playing (affected: nearly all Gameloft games) The game will play only the background music, only once and stop, then it'll play only the sound effects. On some cases the background music simply doesn't play at all and only the sound effects can be heard. Testing the same games on a real phone (a SE W705 on my case), both background music and sound effects play fine and simultaneously and the music always loop correctly.

Delay at end of background music, sound effects play at low volume and randomly stop working (affected: Crash Mutant Island, Crash Nitro Kart 2, Soul of Darkness, Zombie Infection 2) While the background music and sound effects play simultaneously on these games as they should, the sound effects play at a lower volume than the background music and sometimes stop completely until the next stage, chapter or checkpoint. Also, there's always around 1 or 2 seconds of silence when the background music ends and restart playing, breaking the "seamless" loop behavior exhibited when playing those same games on a real phone.

Volume adjustment doesn't work correctly (affected: DJ Hero and Guitar Hero games from Glu Mobile) To properly reproduce this issue, you'll need a version of the games that have network features enabled (the N95 edition, for example). These specific game versions allowed connecting to the internet to display leader-boards and also to download MP3 versions of the songs, to be used instead of the crappy MIDI songs during gameplay. Unfortunately, the Glu Mobile servers hosting those files shut down long ago and the game will show a network error if you try to download the MP3 songs nowadays when asked in-game.

Fortunately, I still have those files (attached all below except for Guitar Hero 6 -- phone refuses copying them complaining they're copy protected), so, make sure to put them on the root of your internal storage (e.g Internal Storage\DJH_DATA, Internal Storage\GH_DATA, etc) before starting a network-enabled version of these games in J2ME-Loader. You'll now you did it correctly if the game show a badge next to the song name on the song list in-game (a black vinyl with red label on DJ Hero, a vinyl with "mp3" wrote on top on Guitar Hero).

Now, the actual issue. While you're playing the game with the MP3 songs on a real phone, if you miss a note, the game lowers the volume of the music a little, raising it again to the previous level on the next successfully hit note. But on J2ME-Loader, the music volume will lower when you miss but it'll never raise again, even after successfully hitting notes. Sounds like not a big deal, but if you complete a song, go play another and then miss a note on the new song, the music volume will again be lowered a little more, never raising again. Long story short, after missing some notes in some songs the music will be completely muted and you'll need to restart the game.

DJH_DATA.zip GH_DATA.zip

AdityaMH commented 5 years ago

The real problem is, music file in cache sometime corrupted, sometime can't playing music and sfx at same time. Maybe thats why sometime music/sfx mute completely until you restart game.

nikita36078 commented 5 years ago

I think I found out what's wrong with the volume in DJ Hero. Fixed now :)

oatmeal01 commented 4 years ago

most 240x320 games for nokia n95, n73 has low volume thats why i choose to download games for n6280, n6300 k800i.