MisterTea / MAMEHub

Netplay-capable multi-machine emulator
http://www.mamehub.com
118 stars 29 forks source link

Suggestion: changes to internal resolution or .inp recording #363

Open SuperDavid2 opened 8 years ago

SuperDavid2 commented 8 years ago

When I use the normal version of MAME and want to record something, I normally record using the -aviwrite feature and then upscale the video from there. Unlike on regular MAME, CSUME seems to always record with double the internal resolution of the game I want to record and the -snapsize command does not work properly to let me record the game at the native resolution. This wouldn't matter to me if I could take the replay (.inp file) I made and play it back using a regular copy of MAME or UME, however, when I try to playback a recording made from CSUME (0.154 in this case) on either MAME (0.154) or UME (also 0.154), the playback instantly stops and says "playback ended reason: out of sync". So I'd like to either be able to record using aviwrite at the correct resolution (256x224 recording at 256x224 rather than 512x448) or be able to make a .inp file that can be played on a regular version of MAME and record the .avi there.

MisterTea commented 8 years ago

MAMEHub does this on purpose. To understand why, you need to know two things:

  1. MAMEHub also records the GUI so the chats can be included in the recording
  2. The chat UI looks like crap and consumes a significant portion of the screen at lower resolutions.
SuperDavid2 commented 8 years ago

I understand that now that you've explained it, but it hasn't been made clear to me whether or not -snapsize could still be changed to force CSUME to record the resolution I want it to record at. I know with regular MAME, I can use -snapsize to get whatever weird resolution I want such as 100x100. Also, you didn't mention anything about if you know why the .inp files aren't compatible with regular versions of MAME. I know on older versions of MAMEHub, they did work correctly. Thanks for responding.

MisterTea commented 8 years ago

I'll look into supporting -snapsize

SuperDavid2 commented 8 years ago

Thanks. It would be greatly appreciated if a custom -snapsize was supported.

al-Afdal commented 8 years ago

Interesting that you are unable to play back .inp files with their corresponding MAME version. I tested that pretty extensively a while back for the same reason of dumping multiplayer sessions to video, and the playback always worked for me. Is this a new issue?

SuperDavid2 commented 8 years ago

I have made a replay using csmame.exe (0.146) and had no problem using the .inp file with MAME 0.146. However, on csume.exe (0.154 and 0.160) any replays I have made instantly stop with that "out of sync" message when playing them back on regular MAME.