autch / piemu

Aquaplus P/ECE ("piece") emulator on SDL
Other
22 stars 6 forks source link

Increasing the window size in Piemu #3

Open Paragonias opened 2 years ago

Paragonias commented 2 years ago

Hello! I love your and nsawa-san's work on a P/ECE emulator, thank you for making it. m(_ _)m

I tried both the original Piemu by nsawa-san and your SDL version and in the old Piemu version from 20030430 it was possible to enter fullscreen mode by pressing [Alt] + [Enter]. Is there a way to enter fullscreen mode in the SDL version of Piemu, or at least increase the size of the emulator window?

Thank you in advance for your reply. よろしくお願いいたします。

P.S. 一応日本語で書きたいと思いましたが、やっぱり私の日本語がまだ弱く過ぎて ごめんなさい

autch commented 2 years ago

Older p/emu was built with SDL1; it has built-in feature to enter fullscreen mode by Alt+Enter. Recent p/emu is built with SDL2, it doesn't have Alt+Enter feature.

If you just want to enlarge window size in recent branch, adjust resolution multiplier in ui_init() function: https://github.com/autch/piemu/blob/ea7ce8a23b1fc9a6815577e7af439a6d6c528951/main.c#L79 edit * 4 to your taste.

If you're porting p/emu to some console hardware (eg GameShell), force fullscreen mode by applying this patch: https://gist.github.com/autch/c87c97953ed9c252a87ee1cc40ffeace

Resurrecting Alt+Enter feature will require more work to do...

Paragonias commented 2 years ago

I tried compiling the source code into a new EXE, but I'm just not able to do it myself, unfortunately. Would you be able to compile it on your end?

Below I attatched a screenshot of how big the emulator window is for me, the notepad window would be the size I would like it to be, at 3x the current size. Screen resolution is 1920x1080.

Screenshot (24) .

I would be greatful if you could compile it, but if you don't have the time that's okay.

autch commented 2 years ago

piemu_3x_ea7ce8.zip

Compiled in VS2019, install "Visual C++ 2019 Redistributables" if you cannot run this.

Paragonias commented 2 years ago

Thank you for your new build, it looks amazing already. However, I noticed that there is no sound. I ran the older an older Piemu version from 2007 and the sound works just fine on that one.

Do you know how to fix the sound not playing? As a test program on the piece.pfi I used 猪名川で売ろう.

Screenshot (28)

atalarikt99 commented 9 months ago

Sorry for bumping through this issue, but I think it'd be good to see the sound issue fixed. よろしくお願い致します。