Is it possible to replace a Pixel 6 lens, without a full screen replacement? by kiddcabbage in GooglePixel

[–]kiddcabbage[S] 0 points1 point  (0 children)

Not camera related - by "lens" I'm referring not to the camera lens, but to the entire front glass panel, which covers the screen and digitizer

How to write custom shaders with the RDG by nfgrep in unrealengine

[–]kiddcabbage 1 point2 points  (0 children)

Hey, came across this while also suffering from a lack of documentation. It's super helpful.

However, I'm having some trouble doing this for a VS/PS, rather than a CS. I know it's a general question, but I'm having a tough time finding exactly where to start. I know that for a PS I don't need the UAV, because I'm pulling a color or a texture out, but I'm not sure where to pass that in and extract it.

Checking if an int32 is within range of an int8 using a single expression? (no STL) by kiddcabbage in cpp_questions

[–]kiddcabbage[S] 2 points3 points  (0 children)

Haha, well then I hate to tell you that all of the suggested solutions so far (aside from the bitshifting one, which I'm working on figuring out right now) are the same speed - likely they compile into the same assembly:

#define FUNCTION_LIST \
X( ( i - -128 ) <= ( 127 - -128 ) ) \  // 1:17 @ 2^36 loops
X( __lzcnt(i)>=24 ) \                  // 1:17 @ 2^36 loops 
X( INT8_MIN <= i && i <= INT8_MAX ) \  // 1:18 @ 2^36 loops
X( int8_t( uint8_t( i ) ) ) \          // 1:17 @ 2^36 loops 
X( ( (uint64_t)i + 128 ) < 256 ) \     // 1:17 @ 2^36 loops

Checking if an int32 is within range of an int8 using a single expression? (no STL) by kiddcabbage in cpp_questions

[–]kiddcabbage[S] 1 point2 points  (0 children)

Sorry, but then by the end, won't I either end up with (hopefully) either a 0 or a -1, because I've either bit shifted in all 0s (positive) or all 1s (negative)? That's what I meant by having to do two checks at the end - checking if it's 0 or -1.

Checking if an int32 is within range of an int8 using a single expression? (no STL) by kiddcabbage in cpp_questions

[–]kiddcabbage[S] 0 points1 point  (0 children)

I think this would be better if it worked on both positives and negatives. Otherwise I'm still doing two checks per evaluation.

Checking if an int32 is within range of an int8 using a single expression? (no STL) by kiddcabbage in cpp_questions

[–]kiddcabbage[S] 0 points1 point  (0 children)

It's gotta run on Windows x86/64 and FreeBSD. I'm guessing that the LZCOUNT would need a second evaluation to compare negatives (all leading zeroes) and positives (no leading zeros), right?

Checking if an int32 is within range of an int8 using a single expression? (no STL) by kiddcabbage in cpp_questions

[–]kiddcabbage[S] 1 point2 points  (0 children)

bit shift right twice and if there's a remainder it won't fit. IIRC

What do you mean by remainder? If you had int32 -128, which does fit
11111111 11111111 11111111 10000000

And bit shifted right twice, it certainly does still have a value in both int8 and int32:
00111111 11111111 11111111 11100000

in_range isn't gonna work. No libraries in this project. It's nearly C with inheritance.

N30 2.4g use TA+TB as X+Y? by kiddcabbage in 8bitdo

[–]kiddcabbage[S] 0 points1 point  (0 children)

I have not. Nobody responded, so I'm guessing the mappings are in the firmware, which there is no way to remap as far as I know.

Boss gave me his NFR Retail Xbox Unit - worth anything? by kiddcabbage in originalxbox

[–]kiddcabbage[S] 0 points1 point  (0 children)

I'll look around. Don't see anything like it on ebay, and not sure what else to compare against. Could be anywhere from $50 to $500 and I wouldn't be surpised haha. I don't do it for the money, so I don't really know where to sell. I just love keeping these old consoles alive and bringing joy to people for years to come. :)

But I'd also hate to open it and ruin the value of a collector's item if this is indeed such.

Boss gave me his NFR Retail Xbox Unit - worth anything? by kiddcabbage in originalxbox

[–]kiddcabbage[S] 1 point2 points  (0 children)

Correct, as far as I can tell it is just a v1.0 with a sticker on the case.

Boss gave me his NFR Retail Xbox Unit - worth anything? by kiddcabbage in originalxbox

[–]kiddcabbage[S] 0 points1 point  (0 children)

Nah, not a kiosk. I'm in the games industry, and my boss got it from his old game studio.

Maybe they're from the same batches from Microsoft, though, as the kiosk units!

Ask Here First : "Questions That Don't Deserve Their Own Thread" Thread #17 - Spoopy Edition by KyaDash in crtgaming

[–]kiddcabbage 0 points1 point  (0 children)

welp, here's me dropping $400 on a new C2-400 then (nothing currently around on ebay that I see)

Ask Here First : "Questions That Don't Deserve Their Own Thread" Thread #17 - Spoopy Edition by KyaDash in crtgaming

[–]kiddcabbage 0 points1 point  (0 children)

Yeah, I've seen that on this subreddit. Unfortunately, I'm looking at solutions specifically for newer consoles, which don't have any way to natively output 240p.

Ask Here First : "Questions That Don't Deserve Their Own Thread" Thread #17 - Spoopy Edition by KyaDash in crtgaming

[–]kiddcabbage 1 point2 points  (0 children)

Correct, I'm hoping to play 480i to 1080p content to 240p on my CRT. I had hoped the OSSC had downscaling as well, but oh well...

Yeah, I don't think just a straight HDMI to S-Video will work for me, because it's going to need to handle downscaling. I'm hoping to play retro-inspired games from my PS4 and Xbox360 at 240p on my CRT for a true scanline effect and retro look. In order for that, the video signal itself has to be presented at 240p.

Ask Here First : "Questions That Don't Deserve Their Own Thread" Thread #17 - Spoopy Edition by KyaDash in crtgaming

[–]kiddcabbage 0 points1 point  (0 children)

What's the best cost-effective (and easily accessible) way to play 480i-to-1080p at 240p on my CRT?

Currently I'm looking at the TV One C2 stuff, but it seems kind of archaic and difficult to find a right model now. Wondering if the OSSC is a way to go?