tag:blogger.com,1999:blog-6845625574553920830.post4519666226264362808..comments2024-03-24T14:29:11.536-07:00Comments on Filthy Pants: A Computer Blog: Background Shader for RetroArchHunter K.http://www.blogger.com/profile/18379090454291486194noreply@blogger.comBlogger16125tag:blogger.com,1999:blog-6845625574553920830.post-75340728101670203172015-12-14T12:14:06.630-08:002015-12-14T12:14:06.630-08:00Looking god :) Did you happen to do any for PSX?
...Looking god :) Did you happen to do any for PSX?<br /><br />Also can anyone tell me how once you select a shader in retroarch you can select NO shade..there seems to be no option for that.NewYears1978https://www.blogger.com/profile/08289102674910982064noreply@blogger.comtag:blogger.com,1999:blog-6845625574553920830.post-64941320193147188682013-09-28T03:01:52.112-07:002013-09-28T03:01:52.112-07:00Hey, I was hoping you could help me as I cant find...Hey, I was hoping you could help me as I cant find any info anywhere. Is it possible to change the background image and filter in RetroArch for Wii? Id like to make some of my own and share them, any help you could give me would be appreciated. Thanks :)Anonymoushttps://www.blogger.com/profile/16713666087625399318noreply@blogger.comtag:blogger.com,1999:blog-6845625574553920830.post-84301556225030459192013-08-24T07:26:00.037-07:002013-08-24T07:26:00.037-07:00Hmm. I'm not sure what's up, then. It'...Hmm. I'm not sure what's up, then. It's working fine here with opengl, integer scale and lock aspect checked. With and without NTSC-RF look identical (minus the effect, of course).Hunter K.https://www.blogger.com/profile/18379090454291486194noreply@blogger.comtag:blogger.com,1999:blog-6845625574553920830.post-71114506681589095982013-08-24T06:50:55.678-07:002013-08-24T06:50:55.678-07:00Well, the problem is still there. With lock aspect...Well, the problem is still there. With lock aspect ratio and integer scale, the border (the .png) is cropped to 4:3. But the game is streched.<br /><br />In the other hand, i use OpenGL as the renderer, but if i use direct3d, the game is locked correctly (i suppose because your tv border doesn't seems to be 4:3) but in direct3d there is NO BORDER!!<br /><br />So...in opengl, let's forget about the border, it works GREAT. The issue is with the cpufilter NTSC-RF.filter. without it, everything works great. But i really like that CRAP effect!!!<br /><br />Thanks!!Julianhttps://www.blogger.com/profile/11278793088286350281noreply@blogger.comtag:blogger.com,1999:blog-6845625574553920830.post-61672030011564308752013-08-23T13:56:03.381-07:002013-08-23T13:56:03.381-07:00It looks like you didn't check the box to lock...It looks like you didn't check the box to lock the aspect ratio and/or that you didn't set the aspect to auto/4:3/whatever.<br /><br />If you're trying to use a border that has things at the top/bottom (like the old TV from your screenshots), you'll also need to check the box in RetroArch-Phoenix's 'video settings' to force integer scaling. The aspect and integer scaling are traditionally taken care of by the border shader, but since it's out of the picture in this case, we have to handle it in RetroArch itself.<br /><br />I'll get that post written this weekend if you still have problems.Hunter K.https://www.blogger.com/profile/18379090454291486194noreply@blogger.comtag:blogger.com,1999:blog-6845625574553920830.post-31518620208303884532013-08-23T13:51:24.276-07:002013-08-23T13:51:24.276-07:00Maybe i'm a noob haha, but when i use the shad...Maybe i'm a noob haha, but when i use the shaders from retroarch it looks correctly like this:<br />http://i.imgur.com/VnKGw4b.jpg<br /><br />When i use the cpu filter (and your .cfg...THANKS FOR THAT ANYWAY!!!) it looks like this:<br /><br />http://i.imgur.com/YXhVv8c.jpgJulianhttps://www.blogger.com/profile/11278793088286350281noreply@blogger.comtag:blogger.com,1999:blog-6845625574553920830.post-29461508776665795712013-08-23T09:33:31.907-07:002013-08-23T09:33:31.907-07:00@Julian
That's the beauty of RetroArch: if you...@Julian<br />That's the beauty of RetroArch: if you can use a feature on android, you can use it on PC, as well :D<br /><br />In fact, it appears that you can already select overlays from RGUI (the menu that comes up when you hit F1), under 'Input Options.'<br /><br />So, just make a blank text file named border.cfg and put these lines into it:<br />overlays = 1<br /><br />overlay0_overlay = border.png<br /><br />overlay0_full_screen = true<br /><br />overlay0_descs = 0<br /><br />Then, you can drop a png image named 'border.png' into the same directory as your cfg file and navigate to it from the overlay setting in RGUI. <br /><br />The existing borders I've posted are designed to work with non-4:3 scaling, so they'll need a little tweaking, but this should get you setup. Also, you'll want to check the box to lock aspect ratio.<br /><br />I'll still try to make a new post that goes into more detail soon. :)Hunter K.https://www.blogger.com/profile/18379090454291486194noreply@blogger.comtag:blogger.com,1999:blog-6845625574553920830.post-66953824847053208092013-08-23T09:14:11.635-07:002013-08-23T09:14:11.635-07:00Thanks!! But i'm running retroarch on my Win7,...Thanks!! But i'm running retroarch on my Win7, not on android!<br /><br />I'll wait for your post!Julianhttps://www.blogger.com/profile/11278793088286350281noreply@blogger.comtag:blogger.com,1999:blog-6845625574553920830.post-7237696474301005872013-08-23T07:13:03.275-07:002013-08-23T07:13:03.275-07:00Hi Julian,
Your best bet is probably to skip the b...Hi Julian,<br />Your best bet is probably to skip the border shader part and use the android overlay functionality to load the border instead, then you can have the filter and any other shaders running independently.<br /><br />The process for doing that is kinda hacky, so I should probably do an entire post on it, but the short version is: open your retroarch.cfg and add a line:<br />input_overlay = "path/to/overlay.cfg"<br />That overlay cfg can point to a border file instead of the normal button overlay that it uses for touchscreen inputs.<br /><br />Using this info, you're welcome to try and muddle through it. Otherwise, keep an eye on my blog and I'll get a new post up explaining the process in the next couple of days.Hunter K.https://www.blogger.com/profile/18379090454291486194noreply@blogger.comtag:blogger.com,1999:blog-6845625574553920830.post-89679000505428497292013-08-22T22:37:02.650-07:002013-08-22T22:37:02.650-07:00Hi. Great post. But i have a question, i cant use ...Hi. Great post. But i have a question, i cant use the background shader with the cpu-filters (the RF IS AWESOME) If i use only the shaders of Retroarch, works great (4:3 correct ratio) but the cpu filters instantly stretch to fullscreen (1920x1080).<br /><br />How can i use the bnes filters in 4:3? so it can adjust the correct ratio of the border shader?<br /><br />Thanks!Julianhttps://www.blogger.com/profile/11278793088286350281noreply@blogger.comtag:blogger.com,1999:blog-6845625574553920830.post-86894436512992375422012-11-03T07:57:42.090-07:002012-11-03T07:57:42.090-07:00@eadmaster
Something like that would be possible, ...@eadmaster<br />Something like that would be possible, I think, but it might be faster/easier to just have a cycling color palette so it doesn't have to calculate across a huge number of pixels.Hunter K.https://www.blogger.com/profile/18379090454291486194noreply@blogger.comtag:blogger.com,1999:blog-6845625574553920830.post-51049949342283639192012-11-03T06:59:41.190-07:002012-11-03T06:59:41.190-07:00is it possible to write a shader that compute the ...is it possible to write a shader that compute the average background color of the current scene and changes the border color accordingly?<br />(i'm interested in this for LCD screensaving purposes)eadmasterhttps://www.blogger.com/profile/00242370280361787865noreply@blogger.comtag:blogger.com,1999:blog-6845625574553920830.post-72668408404074063202012-10-21T09:53:03.733-07:002012-10-21T09:53:03.733-07:00Wow, that's really great! I'm glad to see ...Wow, that's really great! I'm glad to see these shaders getting some wider adoption :D<br /><br />Probably the best/easiest way to get in touch with them is by sending a PM from byuu's forum. I know Hyllian visits there pretty regularly and cgwg shows up sometimes, as well.<br /><br />If you don't have an account there, let me know and I can PM them for you. I think there's a delay or minimum number of posts or something before you get PM rights to prevent PM spam.<br /><br />If you do have an account but don't get a response from cgwg right away, you might also try him over at Richard Bannister's forums where he's posted some MAME shader stuff. Hyllian also frequents the #ssnes and #retroarch channels on Freenode IRC.<br /><br />I'm sure neither will mind the lack of prior notice. AFAIK, all of the shaders I've covered are licensed GPL or public domain, so no notice/permission is required. We've seen them pop up in other projects before and no one took any offense.<br /><br />If I talk to either of them before you get a chance, I'll let them know you're looking for them. :)Hunter K.https://www.blogger.com/profile/18379090454291486194noreply@blogger.comtag:blogger.com,1999:blog-6845625574553920830.post-47002652307619684732012-10-21T08:44:09.711-07:002012-10-21T08:44:09.711-07:00Hey there! I’m the developer of Boxer, a DOSBox fo...Hey there! I’m the developer of <a href="http://boxerapp.com/" rel="nofollow">Boxer</a>, a DOSBox fork for the Mac.<br /><br />I've been following BSNES shader development for a while from your blog, and you may be interested to know that the upcoming Boxer 1.4 has adopted BSNES GLSL shader support. (1.4 isn't released yet, but can be <a href="https://github.com/alunbestor/Boxer/tree/standalone" rel="nofollow">built from source</a>.) There's currently no UI for adding arbitrary shaders, but it comes with Hyllian's 5xBR shader and cgwg's crt-geom-interlaced shader (the latest versions I could get my hands on.)<br /><br />This is particularly relevant because <a href="http://www.gog.com/news/gogcom_goes_mac" rel="nofollow">GOG.com have just released a slew of DOS games for the Mac</a>, using a custom fork of Boxer 1.4pre which includes these shaders: so they can be seen in action right now. There’s a <a href="http://boxerapp.com/blog/2012/10/21/positively-agog/" rel="nofollow">writeup of the releases</a> on my blog.<br /><br />I wanted to put in a word of thanks here for showcasing these shaders, and also to ask if you could put me in touch directly with cgwg and Hyllian so I could give them my personal thanks (and my apologies for not notifying them ahead of time that Boxer includes their shaders.)Alun Bestorhttps://www.blogger.com/profile/09174902634349217934noreply@blogger.comtag:blogger.com,1999:blog-6845625574553920830.post-1533036141531273652012-09-14T05:37:23.945-07:002012-09-14T05:37:23.945-07:00@Fleedar
No, as a matter of fact, I just got that ...@Fleedar<br />No, as a matter of fact, I just got that hooked in the other day. :)Hunter K.https://www.blogger.com/profile/18379090454291486194noreply@blogger.comtag:blogger.com,1999:blog-6845625574553920830.post-33874374898180125692012-09-14T00:08:12.595-07:002012-09-14T00:08:12.595-07:00This looks fantastic! I must be behind the curve, ...This looks fantastic! I must be behind the curve, but have cgwg's CRT shaders always added NTSC blurring?Fleedarhttps://www.blogger.com/profile/09418535456501890375noreply@blogger.com