wipeout-rewrite icon indicating copy to clipboard operation
wipeout-rewrite copied to clipboard

Request / suggestion: New intro

Open Retroguru opened this issue 2 years ago • 3 comments

Take a look here: https://youtu.be/dq1GbE4f5yw

Maybe it's possible to add this as an alternative intro? The original author also commented to this YouTube video.

Retroguru avatar Aug 29 '23 19:08 Retroguru

I tried this but the game crashes when trying to use this video.

Download: yt-dlp https://youtu.be/dq1GbE4f5yw

Convert to mpeg: ffmpeg -i WipEout\ Intro\ Cinematic\ Remake\ \[dq1GbE4f5yw\].webm intro.mpeg

Then overwrite the original and try to start the game but it crashes: Abort at "src/mem.c" line 26: Failed to allocate 12718080 bytes in hunk mem

I speculated that the resolution might be why it's running out of memory. The new file is at 2560x1090 whereas the original is 320x192. Converting and downscaling allowed the game to start with the new video: ffmpeg -i WipEout\ Intro\ Cinematic\ Remake\ \[dq1GbE4f5yw\].webm -vf scale=320x192 intro.mpeg

At that rez the video still looks pretty bad so I tried to find another rez that the game would support. The highest I could get is 480x288. Looks like there would need to be a code change in order to support the high rez file.

buckmelanoma avatar Aug 31 '23 03:08 buckmelanoma

The memory for the intro movie uses the same static 4Mb pool that the rest of the game uses, thus you're limited to a ~4Mb file minus any space that was allocated before.

The-King-of-Toasters avatar Aug 31 '23 07:08 The-King-of-Toasters

Worth noting that the amount of memory can be easily adjusted here. It's just set to 4mb because that's all the game currently requires.

phoboslab avatar Aug 31 '23 10:08 phoboslab