Closed GregLebreton closed 1 year ago
What's your emscripten version? Can you try to update?
Is it possible to make the MEMORY_HUNK higher for upscaled textures loading for example ? ;)
Yes.
emscripten version: 2.0.12 Build passes after updating the project (git pull), Thanks. About the MEMORY_HUNK extension, it would be to play the remake of the intro video (https://www.youtube.com/watch?v=dq1GbE4f5yw) I reencoded the video in MPEG but it crashes due to lack of MEMORY_HUNK. I loved Wipeout and I respect your job for keeping the code true to the base game, really! But I would like to play it full HD resolution with upscaled textures!
Cool video; haven't seen that before!
You can specify the size of the hunk here. It's currently set to 4 MB. Very little for a modern game, but enough for Wipeout.
plmpeg needs to allocate 3 pictures (in YUV) + the rgba framebuffer. Should be about 8 MB (+ what the rest of the game needs); I'd try 16 MB, but setting MEM_HUNK_BYTES
to up to 4 GB shouldn't be a problem either.
Edit: as for textures: we currently don't have a mechanism to load anything else than the compressed TIM files (.cmp) from the original game. Also, we don't have upscaled textures :]
I try 16 MB and 4096 MB, it compiles, but crashes when launching ./wipegame:
inserted atlas texture ( 32x 32) at ( 45, 14)
load: wipeout/common/rock.prm
load: wipeout/common/mine.prm
load: wipeout/common/miss.prm
load: wipeout/common/shld.prm
load: wipeout/common/shld.prm
load: wipeout/common/ebolt.prm
open music track 5
Abort at "src/mem.c" line 26: Failed to allocate 9400320 bytes in hunk mem
For the upscaled textures, I can make them, if the game can handle them...
Wasm build ok
Hi there, try to dockerise to building of the web version but it crashes because of the file race.o Here are the logs (simple make wasm form Linux Debian 11:
Great project by the way! Is it possible to make the MEMORY_HUNK higher for upscaled textures loading for example ? ;)