OpenClaw icon indicating copy to clipboard operation
OpenClaw copied to clipboard

xBRZ support

Open ghost opened this issue 5 years ago • 10 comments

hi! I would love to try this game on xBRZ, would be a massive plus for this open source implementation. thanks!

ghost avatar Nov 15 '20 09:11 ghost

Hi, what do you mean by xBRZ ? Like just using upscaled textures generated by xBRZ filter - https://sourceforge.net/projects/xbrz/ ?

pjasicek avatar Nov 15 '20 15:11 pjasicek

on the fly, yes.

ghost avatar Nov 15 '20 18:11 ghost

Hello, are you considering adding XBRZ? I already use it with the kega emulator and the quality with xbrz is really perfect its changes completely, it would be good if you seriously consider adding it.

AAide avatar Apr 09 '21 21:04 AAide

I already use bilinear filtering from wine and it improves the visuals from the original game. But xbrz would be the right path!

ghost avatar Apr 09 '21 21:04 ghost

No such plans since it's been some time I worked on this project. Anyway, it would not be as easy as just swapping the textures and it magically working. There are several issues:

  • The level format revolves around having pixels as its coordinates - so if the textures would get upscaled, it would not suddenly worked
  • My XML actor format uses pixels as dimensions
  • The image format within Claw (*.PID) has x and y offsets for 2D animations - would not be easily possible with PNGs

pjasicek avatar Apr 09 '21 21:04 pjasicek

Yes but its makes the game slightly blurry the bilinear, I could use the xbrz from reshad, but it's not really terrible, compare to xbrz on emulator, the quality is less good, even if I put xbrz4 which is the maximum that I have found for reshad

I already use bilinear filtering from wine and it improves the visuals from the original game. But xbrz would be the right path!

AAide avatar Apr 09 '21 21:04 AAide

All I can do, directly with SDL2, is to use linear filtering:

Original (without linear filtering):

image

With linear filtering:

image

pjasicek avatar Apr 09 '21 21:04 pjasicek

Here is the best I got with reshade with the hqX4 shader

without hqx4 OpenClaw_b4Is9TujDv

with hqx4 OpenClaw_3F0Ep1ORH4

my setting hqx4 OpenClaw_VrLIxivgNh

AAide avatar Apr 09 '21 22:04 AAide

Can we have some samples with xbrz?? Yes, I noted you are not that active on the project anymore sir. Its okay. I would like to see this project finished with videos and xbrz/similar filter options. But its okay. I will find the way to improve a bit the original game. Thanks

ghost avatar Apr 10 '21 03:04 ghost

Maybe scaleFX ? https://youtu.be/PdJXYA8Wmj4

ghost avatar Apr 10 '21 03:04 ghost