*UPDATES!* ESRGAN AI Upscaling (HiRes packs now possible!)

All the inane chatter goes in here. If you're curious about whether we will support a game, post HERE not in General Discussion :)

Moderator: ScummVM Team

Post Reply
User avatar
criezy
ScummVM Developer
Posts: 832
Joined: Sat Sep 23, 2006 10:41 am
Location: West Sussex, UK

Re: *UPDATES!* ESRGAN AI Upscaling (HiRes packs now possible!)

Post by criezy »

That comment from Eugene refers to the possibility of using ESRGAN as a real time scaler to upscale the game to a higher resolution.

Another approach discussed in this thread is to use ESRGAN to generate a set of upscaled assets beforehand, and modify ScummVM to render the game directly at higher resolution using those assets (instead of using the original resolution and scaling the display on the fly). In term of development, this is a lot of work that needs to be done separately for each engine, and is unlikely to be integrated in the official ScummVM. And the user also has a lot of work to do as due to copyright reasons the distribution of such assets is not possible (unless the copyright holders agree to it), and thus each user would need to generate their own upscaled assets, for example using ESRGAN on assets extracted from their original copy of the game. But such an approach remain technically possible, even if not very practical, and for example work is being done in a separate fork (https://github.com/MiLO83/scummvmext) for the SCI engine.

Since Curse of Monkey Island is not an SCI game, that work will not help though and somebody would need to do similar work for the SCUMM engine. So don't expect it to be available any time soon, or even ever. It could happen but I would not hold my breath.
ZTylerDurden
Posts: 3
Joined: Thu Sep 09, 2021 2:51 pm

Re: *UPDATES!* ESRGAN AI Upscaling (HiRes packs now possible!)

Post by ZTylerDurden »

criezy wrote: Thu Sep 09, 2021 9:26 pm That comment from Eugene refers to the possibility of using ESRGAN as a real time scaler to upscale the game to a higher resolution.

Another approach discussed in this thread is to use ESRGAN to generate a set of upscaled assets beforehand, and modify ScummVM to render the game directly at higher resolution using those assets (instead of using the original resolution and scaling the display on the fly). In term of development, this is a lot of work that needs to be done separately for each engine, and is unlikely to be integrated in the official ScummVM. And the user also has a lot of work to do as due to copyright reasons the distribution of such assets is not possible (unless the copyright holders agree to it), and thus each user would need to generate their own upscaled assets, for example using ESRGAN on assets extracted from their original copy of the game. But such an approach remain technically possible, even if not very practical, and for example work is being done in a separate fork (https://github.com/MiLO83/scummvmext) for the SCI engine.

Since Curse of Monkey Island is not an SCI game, that work will not help though and somebody would need to do similar work for the SCUMM engine. So don't expect it to be available any time soon, or even ever. It could happen but I would not hold my breath.
Great explanation. Thank you!

Is there a scumm dev tool to extract/dump the game's textures?
User avatar
sev
ScummVM Lead
Posts: 2129
Joined: Wed Sep 21, 2005 1:06 pm
Contact:

Re: *UPDATES!* ESRGAN AI Upscaling (HiRes packs now possible!)

Post by sev »

ZTylerDurden wrote: Fri Sep 10, 2021 1:25 am Is there a scumm dev tool to extract/dump the game's textures?
There are no textures. There are pictures for backgrounds and sprites for objects, all are in a quite bizarre format. But for actors, there is a whole separate language that directs which parts of the actor to draw and at what position and time (see the list of opcodes here). To browse through those you may use tools like ScummEX.


Eugene
ZTylerDurden
Posts: 3
Joined: Thu Sep 09, 2021 2:51 pm

Re: *UPDATES!* ESRGAN AI Upscaling (HiRes packs now possible!)

Post by ZTylerDurden »

sev wrote: Fri Sep 10, 2021 12:36 pm
ZTylerDurden wrote: Fri Sep 10, 2021 1:25 am Is there a scumm dev tool to extract/dump the game's textures?
There are no textures. There are pictures for backgrounds and sprites for objects, all are in a quite bizarre format. But for actors, there is a whole separate language that directs which parts of the actor to draw and at what position and time (see the list of opcodes here). To browse through those you may use tools like ScummEX.


Eugene
Awesome thank you. I'm gonna take a look.
Post Reply