captainys / TOWNSEMU

FM Towns Emulator "Tsugaru"
BSD 3-Clause "New" or "Revised" License
238 stars 17 forks source link

Request: Microphone support for Teo #65

Open RpiDude opened 1 year ago

RpiDude commented 1 year ago

The microphone is needed to start this game, many thanks for any support.

captainys commented 1 year ago

Thank you for your patience. Are you able to build from the source? I've just implemented a feature that let you select a .WAV file that is sent to the virtual machine's PCM-sampling register. The virtual machine will think the audio is given to the microphone input. If you are using CUI, the command is LOADWAV (or SENDWAV is alias). If you are using GUI, select "Audio"->"Select WAV File for PCM Sampling in the VM".

I hope it starts Teo.

RpiDude commented 1 year ago

Thank you for your patience. Are you able to build from the source? I've just implemented a feature that let you select a .WAV file that is sent to the virtual machine's PCM-sampling register. The virtual machine will think the audio is given to the microphone input. If you are using CUI, the command is LOADWAV (or SENDWAV is alias). If you are using GUI, select "Audio"->"Select WAV File for PCM Sampling in the VM".

I hope it starts Teo.

I'm on Windows 7, can you give me the commands for building Tsugaru and I will try it right away.

captainys commented 1 year ago

For Windows Visual C++, please follow the steps below. It will build both GUI and CUI executables.

git clone https://github.com/captainys/TOWNSEMU.git cd .\TOWNSEMU\gui\src git clone https://github.com/captainys/public.git cd .. mkdir build cd build cmake ../src cmake --build . --config Release --parallel

RpiDude commented 1 year ago

For Windows Visual C++, please follow the steps below. It will build both GUI and CUI executables.

git clone https://github.com/captainys/TOWNSEMU.git cd .\TOWNSEMU\gui\src git clone https://github.com/captainys/public.git cd .. mkdir build cd build cmake ../src cmake --build . --config Release --parallel

Ok I got it compiled but it doesn't seem to work when I pick my .wav file

celluloid-shot0009

After picking .wav file:

celluloid-shot0010

Teo - Mou Hitotsu no Chikyuu (Japan) (Version 1.0) Teo - Mou Hitotsu no Chikyuu (Japan) (Version 2.0)

Same thing

captainys commented 1 year ago

Can you try High-Fidelity Mode?

RpiDude commented 1 year ago

Can you try High-Fidelity Mode?

No difference, same thing happens.

RpiDude commented 1 year ago

Can you try High-Fidelity Mode?

Testing Teo again after a long time, well it seems like Teo - Mou Hitotsu no Chikyuu (Japan) (Version 1.0) now gets into the Setup and you can actually install the game so there is some microphone emulation active now I think, but after Setup is finished the game still crashes when you try to start the game.

Meanwhile Teo - Mou Hitotsu no Chikyuu (Japan) (Version 2.0) doesn't even get into the setup