SCALER xBRZ (SDL1)

Here you can discuss the development of patches.

Re: xBRZ - High quality image scaling support for DOSBox

Postby kolano » 2014-9-13 @ 15:48

If you check back through my prior posts here (i.e. on page 2) you should find links to where Hyllian, the xBR author, provided a HLSL compatible (i.e. *.fx) version of the more up to date 5xBR-v3.8a/b/c.
Last edited by kolano on 2014-9-15 @ 16:21, edited 1 time in total.
User avatar
kolano
Oldbie
 
Posts: 518
Joined: 2010-12-26 @ 21:03

Re: xBRZ - High quality image scaling support for DOSBox

Postby 2mg » 2014-9-14 @ 18:44

Quick question: DOSBox supports OGL, why not GLSL/.cg filters?

Also, to be on topic, xBRZ - waiting for Zenju...
2mg
Newbie
 
Posts: 30
Joined: 2014-3-21 @ 12:52

Re: xBRZ - High quality image scaling support for DOSBox

Postby maxoda » 2014-9-26 @ 19:56

2mg wrote:Quick question: DOSBox supports OGL, why not GLSL/.cg filters?

Also, to be on topic, xBRZ - waiting for Zenju...



The official build of Dosbox doesn't seem to be worried about shaders, so other builds like gulikoza and Daum are doing it for now. All emulators with shader support have to choose a single format and they're not agreeing on one just yet.
So depending on the point of view one could ask why not HLSL? A few other projects use it too.
Maybe you just need one specific shader ported to FX format. I found most I needed already ported.
Just to see XBR and XBRZ functional in Dosbox is a great step.
maxoda
Newbie
 
Posts: 2
Joined: 2014-9-26 @ 17:52

Re: xBRZ - High quality image scaling support for DOSBox

Postby maxoda » 2014-9-26 @ 20:23

i guess I can't post something new in the dosbox patches topic, right? I tried , without success.
maxoda
Newbie
 
Posts: 2
Joined: 2014-9-26 @ 17:52

Re: xBRZ - High quality image scaling support for DOSBox

Postby Dominus » 2014-9-26 @ 20:47

No, you will need to post in the dev forum and then someone will move it eventually. The hurdle is there to keep that forum somewhat clean, that each topic is a patch or mod or... And not just people posting questions and whatnot there
User avatar
Dominus
DOSBox Moderator
 
Posts: 7381
Joined: 2002-10-03 @ 09:54
Location: Vienna

Re: xBRZ - High quality image scaling support for DOSBox

Postby fingers2013 » 2014-9-30 @ 21:41

What a fantastic image resizer! I'm definitely going to make use of it in some of my projects! :happy:

If anyone is looking for the broken byuu.org link from the first post of this thread, it is now available here - http://board.byuu.net/viewtopic.php?f=10&t=2248
User avatar
fingers2013
Newbie
 
Posts: 1
Joined: 2014-9-30 @ 16:43
Location: Victoria Canada

Re: xBRZ - High quality image scaling support for DOSBox

Postby kolano » 2014-10-01 @ 02:39

fingers2013 wrote:What a fantastic image resizer! I'm definitely going to make use of it in some of my projects! :happy:

If anyone is looking for the broken byuu.org link from the first post of this thread, it is now available here - http://board.byuu.net/viewtopic.php?f=10&t=2248


Yeah, unfortunately Byuu ran into some problems with his hosting provider which caused a variety of issues with his forums. He's still working on getting new ones up, but it seems like it may take a while.
User avatar
kolano
Oldbie
 
Posts: 518
Joined: 2010-12-26 @ 21:03

Re: xBRZ - High quality image scaling support for DOSBox

Postby kolano » 2015-1-17 @ 09:00

kolano wrote:
fingers2013 wrote:What a fantastic image resizer! I'm definitely going to make use of it in some of my projects! :happy:

If anyone is looking for the broken byuu.org link from the first post of this thread, it is now available here - http://board.byuu.net/viewtopic.php?f=10&t=2248


Yeah, unfortunately Byuu ran into some problems with his hosting provider which caused a variety of issues with his forums. He's still working on getting new ones up, but it seems like it may take a while.


DosBOX Compatible 5xBR-v3.8 Shader.7z
User avatar
kolano
Oldbie
 
Posts: 518
Joined: 2010-12-26 @ 21:03

Re: xBRZ - High quality image scaling support for DOSBox

Postby Rod Primitive » 2015-1-26 @ 20:02

ZenJu wrote:dosbox.conf should be setup with the following configuation:
output=surface
fullresolution=original
scaler=none
aspect=false
fullscreen=true

Hi ZenJu! Is this all we need to do? And, since later SVN builds have xBRZ implemented, should we switch out scaler=none to scaler=xbrz while letting the other commands be as they are here?
User avatar
Rod Primitive
BANNED
 
Posts: 212
Joined: 2014-11-23 @ 19:44

Re: xBRZ - High quality image scaling support for DOSBox

Postby ZenJu » 2015-1-26 @ 20:12

Hi ZenJu! Is this all we need to do? And, since later SVN builds have xBRZ implemented, should we switch out scaler=none to scaler=xbrz while letting the other commands be as they are here?


The text is rather long, but this section gives the answer:

Note: the updated version v3 will automatically apply these setttings. So you can simply copy the .exe into your Dosbox directory and start it.
User avatar
ZenJu
Newbie
 
Posts: 36
Joined: 2010-7-04 @ 12:05

Re: xBRZ - High quality image scaling support for DOSBox

Postby Rod Primitive » 2015-1-26 @ 20:17

Update 2: I suppose this works just fine with latest Daum build as well?

Update: Ugh, I'm a retard. :dead:
It was so simple to set it all up. I'm in love with this scaler! :-D

What .exe? This one?
Sorry if I'm asking the obvious, this is a bit new to me.
User avatar
Rod Primitive
BANNED
 
Posts: 212
Joined: 2014-11-23 @ 19:44

Re: xBRZ - High quality image scaling support for DOSBox

Postby ykhwong » 2015-1-28 @ 22:58

Rod Primitive wrote:Update 2: I suppose this works just fine with latest Daum build as well?

Update: Ugh, I'm a retard. :dead:
It was so simple to set it all up. I'm in love with this scaler! :-D

What .exe? This one?
Sorry if I'm asking the obvious, this is a bit new to me.



You can find the DOSBox 0.74 + xBRZ with save states from the xbrz project.
http://sourceforge.net/projects/xbrz/files/DOSBox/

The latest xbrz patch for DOSBox from ZenJu does not include scaler=xbrz.
(I fiddled with the patch to provide the scaler option in the daum builds for convenience.)
Basically with the above dosbox.conf setup (output=surface, scaler=none, fullscreen=true), it just forces to use the xbrz scaler.
ykhwong
Oldbie
 
Posts: 627
Joined: 2004-3-17 @ 15:35

Re: xBRZ - High quality image scaling support for DOSBox

Postby Rod Primitive » 2015-1-28 @ 23:36

ykhwong wrote:The latest xbrz patch for DOSBox from ZenJu does not include scaler=xbrz.
(I fiddled with the patch to provide the scaler option in the daum builds for convenience.)
Basically with the above dosbox.conf setup (output=surface, scaler=none, fullscreen=true), it just forces to use the xbrz scaler.

So what you're saying is that by setting output=surface, scaler=none, fullscreen=true activates xBRZ in Daum? We do not need to set scaler to =xBRZ then?
User avatar
Rod Primitive
BANNED
 
Posts: 212
Joined: 2014-11-23 @ 19:44

Re: xBRZ - High quality image scaling support for DOSBox

Postby Rod Primitive » 2015-1-29 @ 20:24

Can someone verify this for me?
User avatar
Rod Primitive
BANNED
 
Posts: 212
Joined: 2014-11-23 @ 19:44

Re: xBRZ - High quality image scaling support for DOSBox

Postby ykhwong » 2015-1-30 @ 04:05

Rod Primitive wrote:So what you're saying is that by setting output=surface, scaler=none, fullscreen=true activates xBRZ in Daum? We do not need to set scaler to =xBRZ then?


I mean the "scaler=xbrz" is Daum build-specific, which requires scaler=xbrz, output=surface, fullscreen=true to activate the xbrz scaling. On the other hand, the other builds that implement the xbrz scaling may not need to set scaler=xbrz at all.
ykhwong
Oldbie
 
Posts: 627
Joined: 2004-3-17 @ 15:35

Re: xBRZ - High quality image scaling support for DOSBox

Postby Rod Primitive » 2015-1-30 @ 11:50

ykhwong wrote:
Rod Primitive wrote:So what you're saying is that by setting output=surface, scaler=none, fullscreen=true activates xBRZ in Daum? We do not need to set scaler to =xBRZ then?


I mean the "scaler=xbrz" is Daum build-specific, which requires scaler=xbrz, output=surface, fullscreen=true to activate the xbrz scaling. On the other hand, the other builds that implement the xbrz scaling may not need to set scaler=xbrz at all.

Ah, now I understand. :)
User avatar
Rod Primitive
BANNED
 
Posts: 212
Joined: 2014-11-23 @ 19:44

Re: xBRZ - High quality image scaling support for DOSBox

Postby ZuTheSkunk » 2015-7-10 @ 01:53

ZenJu wrote:DOSBox v0.74 + xBRZ + Save States support:
http://sourceforge.net/projects/xbrz/files/DOSBox/

Please forgive me for being a complete newbie, but how do I install this? Do I just put this in the main DosBox directory? Or do I put this in a separate directory? If it's the latter, then how do I run this? It has no exe file or anything.
ZuTheSkunk
Newbie
 
Posts: 2
Joined: 2015-7-10 @ 01:50

Re: xBRZ - High quality image scaling support for DOSBox

Postby Dominus » 2015-7-10 @ 06:05

Click on that link and READ
User avatar
Dominus
DOSBox Moderator
 
Posts: 7381
Joined: 2002-10-03 @ 09:54
Location: Vienna

Re: xBRZ - High quality image scaling support for DOSBox

Postby ZuTheSkunk » 2015-7-10 @ 07:09

Dominus wrote:Click on that link and READ

I completely missed that, sorry about that! Thank you very much.
ZuTheSkunk
Newbie
 
Posts: 2
Joined: 2015-7-10 @ 01:50

Re: xBRZ - High quality image scaling support for DOSBox

Postby Lord Nightmare » 2015-9-30 @ 01:05

My main problem with the hqx and especially xbrz scalers in general is not lack of technical merit on the part of the scalers: It is the fact that all of them (except for some clean-room rewritten-from-math versions) are licensed in such a way as to make it difficult or impossible to use them in commercial software.

This is why you rarely if ever see these algorithms in anything commercial.

HQX is LGPL2.1 licensed, which is not too bad but can't be safely/easily used on apps sold in the apple app store (and may have issues with google app store as well, unclear).

xBR/xBRZ, I've seen several versions, some of which are GPLV3, some GPLV2, some LGPLV3, some LGPLv2.1, with possibly no regard to the license of the project they were forked from, if it was more restrictive (which is, of course, illegal). Obviously anything GPL is forbidden from the apple app store, and may also be from the google app store, again unclear.

I've also (unlike HQX) yet to see a full mathematical description of the xBR/xBRZ algorithms which would allow a separate, permissively licensed code version to be created from scratch and not run into problems inherent in 'looking at GPL code to write BSD/MIT code'

Hence, I'm avoiding xBR until I can see a textual description of how it works.

Also, the post on byuu's forum (which did have some information) got deleted in a forum purge, and without that I have zero clue how it works.

For legal reasons to protect myself from potential lawsuits from Hyllian (or any other xBR/xBRZ contributors) re:GPL, I refuse to look at the GPL licensed code for fear of 'infecting' my own personal BSD-licensed upscaler codebase with GPL.

LN
"When life gives you zombies... *CHA-CHIK* ...you make zombie-ade!"
Lord Nightmare
Newbie
 
Posts: 28
Joined: 2003-9-19 @ 04:11
Location: PA, USA

PreviousNext

Return to DOSBox Patches

Who is online

Users browsing this forum: No registered users and 2 guests