Fixing games that require the NDS Microphone in Drastic
-
@SartreFan It could be, since the
drastic
binary should be the same. But I don't see the script that the FAQ references in their distro.What you could try is
- Find out the Alsa device ID - try using
arecord -l
from the command line and record the numbers. - Edit
/home/pi/.profile
by runningnano /home/pi/.profile
and add the 2 settings at the end of the file:
export DRASTIC_MIC_EN=1 export DRASTIC_MIC_NAME="hw:X,Y"
replacing X and Y with the values of the ALSA ids from the previous step. Then reboot and give it a try.
- Find out the Alsa device ID - try using
-
@mitu Thank you for the reply. I tried adding that but it still gave the same error. The hardware setting for the usb microphone would have been hw:1,0 but still came back as hw:0,1 in the error log. This was in the runcommand log
Found game in database: titled Grand Theft Auto - Chinatown Wars. EEPROM backup: 2000 bytes
Failed to load backup file.
No custom cheat file at /opt/retropie/configs/nds/drastic/cheats/Grand Theft Auto - Chinatown Wars (USA) (En,Fr,De,Es,It).cht.
Checking cycle hacks for gamecode 45584759
Performing recompiler base block translation (2000800 2380000).
Calling recompiler event update handler (@ 0x8490130).
Remapping ITCM limit from 2000000 to 2000000
Remapping DTCM from 27e0000, 4000 to 27e0000, 4000
DTCM moved off of main RAM, remapping main RAM to it.
ERROR: Unable to open audio capture device hw:0,1 (No such file or directory)/opt/retropie/supplementary/runcommand/runcommand.sh: line 1007: 1629 Aborted /opt/retropie/emulators/drastic/drastic "/home/pi/RetroPie/roms/nds/Grand Theft Auto - Chinatown Wars (USA) (En,Fr,De,Es,It).zip"
~ -
@SartreFan It may be because it's trying the open the 1st Mic device, which would be at
hw:0:1
. Unfortunately I don't have an USB mic to test - can you post the output ofarecord -l
? -
**** List of CAPTURE Hardware Devices ****
card 1: Device [USB PnP Sound Device], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0 -
@mitu where is the drastic.sh located? I couldnt find it in the roms folder, config folder or emulator folder.
-
@edmaul69 The
drastic.sh
is the name of the package file (scriptmodule), the installed emulator is simplydrastic
and it should be in/opt/retropie/emulators/drastic/drastic
. -
@mitu ok. So the guy above had posted the 2 lines to add to the drastic.sh, but looking at it on github i dont know where the lines need to be added. I put them where you stated but that didnt do anything.
-
@edmaul69 The
drastic.sh
script is used only for installation, not for running the emulator, so they wouldn't be added there. Are you referring to the lines I posted ? -
@mitu yes. A guy previously posted adding them to the drastic.sh. So i was confused about where i would put them in there. I understand the .sh is for installing it. Just trying to understand what the other dude posted.
-
@edmaul69 Ah, I glossed over that line. It's actually not for RetroPie, but for the Odroid Arena scripts, that's why you can't find it.
-
@mitu ok. Makes sense.
-
@mitu so that workaround is not compatible with Retropie?
-
@Chuck_B It might be, but it looks like my previous hint didn't work and I don't have a microphone to test it myself.
-
@Chuck_B I made a post about this issue on the Drastic forum back in January but had no reply. This is a comment the developer made in May 2017 about further development so it might eventually get addressed
"Finally, I do want to say that I really want to get another release out (and some sub-forums here), and I apologize that I haven't despite saying a few times already that I was planning on it. To be totally honest I've been having some hard times and it's been hard to sit down and focus on things like this, but I'm really hoping that will change soon."
And another update June, 2017
"I also intend to work on getting the Raspberry Pi version in a better state, and then I can most likely release more or less equivalent builds for Linux and Windows PCs (just x86 desktop, not Windows Phone)"
-
@SartreFan he's been pretty silent about rpi development since then. So I'm not holding my breath. He did say that open sourcing drastic may be something that happens eventually, so that may be the best we can hope for.
-
My friends, i think i have found the solution to make those games working. I have to test them later today (my kids are not letting me too free). If anyone is interested please reply and i hope to have some good news untill tomorrow.
-
@soulfunkdjx Any news?
-
https://retropie.org.uk/forum/topic/21826/newer-version-of-drastic-compatible-with-raspberry-pi/36
this should solve your problem its a later revision of drastic compiled for odroid that is also compatable with rpi by all accounts fixes any games with mic requirements and also solves the issue with the emu running in the background after exit should be a simple case of swap out the binary
-
Sorry for the delay guys. I fixed it and the game actually works. This is what you have to do.
SSH/Putty to your Pi or plug a keyboard and press F4 to get local command prompt.
cd /opt/retropie/emulators
sudo mv drastic drastic.old
sudo wget https://github.com/Retro-Arena/binaries/raw/master/odroid-xu4/drastic.tar.gz
sudo tar -xvf drastic.tar.gz
ls -lah (validate file/folders are in place, just make sure you see folder called "drastic")
sudo reboot
Just to understand we have downloaded Drastic version 2.5.0.4 which has only released for Odroid and for good luck it is working on retropie too!!!! The latest release for retropie was 2.5.0.3. With the new update 2.5.0.4 seems to bypass the microphone problem.
-
@soulfunkdjx thank you for sharing.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.