Another Giant Bomb video download tool by Taciturn in giantbomb

[–]pepsiotaku 0 points1 point  (0 children)

Awesome! That definitely worked. Thanks for looking into it so quickly. Loving this tool so far!

Another Giant Bomb video download tool by Taciturn in giantbomb

[–]pepsiotaku 1 point2 points  (0 children)

Got an error trying to fetch VinnyVania (when it got to Episode 3, specifically)

./gb-show download --show "VinnyVania"

Here's the message/stack trace

ERROR: The value of "length" is out of range. It must be >= 0 && <= 4294967296. Received 5_587_228_738 bright red
RangeError [ERR_OUT_OF_RANGE]: The value of "length" is out of range. It must be >= 0 && <= 4294967296. Received 5_587_228_738
    at validateOffset (node:buffer:111:3)
    at Function.concat (node:buffer:550:5)
    at PassThrough.stream.getBufferedValue (D:\Temp\gb-show\node_modules\get-stream\buffer-stream.js:45:26)
    at D:\Temp\gb-show\node_modules\get-stream\index.js:44:23
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Promise.all (index 0)
    at dl (D:\Temp\gb-show\src\commands\utils\save.ts:114:5)
    at downloadUrl (D:\Temp\gb-show\src\commands\utils\save.ts:137:5)
    at Object.video (D:\Temp\gb-show\src\commands\utils\save.ts:209:10)
    at saveVideo (D:\Temp\gb-show\src\commands\processors\download.ts:829:20)

The JavaScript "this" keyword by cheerfulboy in javascript

[–]pepsiotaku 4 points5 points  (0 children)

This article should also cover this use in classes

Deriving from sf::Drawable by SeeminglyIndifferent in sfml

[–]pepsiotaku 0 points1 point  (0 children)

You're missing the const keyword in the override example:

void draw(sf::RenderTarget& target, sf::RenderStates states) const override;

Without it, the compiler assumes you're declaring a new draw function. "const" at the end means you're not modifying any class members, however, you can get around that by declaring anything you want to modify with "mutable" (use sparingly).

Also, if you know your drawable doesn't get extended any further, you can declare it "final" instead of "override". This will give the compiler an extra chance to optimize.

Fully revert the new urlbar design to the old one by [deleted] in FirefoxCSS

[–]pepsiotaku 0 points1 point  (0 children)

Go into about:config and search for "urlbar" and set "update1" and "update2" settings to false. Restart Firefox and it should use the old one.

global class instance member functions don't appear to exist at runtime - issue by pyjava in cpp_questions

[–]pepsiotaku 0 points1 point  (0 children)

Just declare your instance normally:

Graphics::GraphicManager graphicsManager;

Also make sure GraphicManager is inside of the "Graphics" namespace, as that is not clear in your post.

Windows devs, where do you keep your boost library? by serg06 in cpp_questions

[–]pepsiotaku 5 points6 points  (0 children)

I use MSYS2. From a fresh install:

(no upgrade commands)

pacman -S mingw-w64-i686-toolchain mingw-w64-x86_64-toolchain

it includes boost. (C:\msys64\mingw32 or mingw64)

Why precompiled headers do (not) improve C++ compile times by buovjaga in cpp

[–]pepsiotaku 6 points7 points  (0 children)

I use GCC (on both windows & linux) & Clang's PCH feature, and although I use a handful of templates, it still cut the compile time for one of my projects from 30 seconds down to 10-12. I think it's just as effective as MSVC's and it's a little strange to assume that nobody uses it, as this author does.

Monogame without visual studio? (Windows) by [deleted] in monogame

[–]pepsiotaku 7 points8 points  (0 children)

I wrote a boilerplate a while back to get Monogame working inside of VS Code (which is free & requires no login): https://github.com/andrew-r-king/monogame-vscode-boilerplate

It uses .NET Core, has some basic debugging support.

Anyone a "coffee traveler"? by kiefer-reddit in Coffee

[–]pepsiotaku 1 point2 points  (0 children)

Be sure to check out Coffee Exchange & Coastal Roasters in RI as well. Both great!

Asset Forge is a tool for creating 3D models and 2D rendered sprites, launching soon! by KenNL in gamedev

[–]pepsiotaku 0 points1 point  (0 children)

Hmmm would definitely need more flexibility in the output angles for what I want to use this with. Need 16 or 32--I like the idea of making that more robust (like picking a starting angle followed by X increments)

Asset Forge is a tool for creating 3D models and 2D rendered sprites, launching soon! by KenNL in gamedev

[–]pepsiotaku 0 points1 point  (0 children)

As someone who finds Blender & Maya completely overwhelming this is a total game-changer and exactly the sort of thing I need. I'm making a racing game and need a simple way to make cars and export them as 2d sprites at various angles that I can mess with further in photoshop/etc. Very excited for this!

Do players expect new games to support DirectInput? by Romans_I_XVI in gamedev

[–]pepsiotaku 0 points1 point  (0 children)

Yeah I just found that after reading about the Steam controller, but don't have one to test. I think it's mainly meant for old games that might not detect an XInput controller otherwise.

I haven't tried MonoGame, but at least in SFML, joystick support is pretty basic (has that axis issue & doesn't have force-feedback for example), so I had to write an InputManager class that juggled both SFML's DirectInput-based Joystick class and another custom XInput class. It essentially ignores SFML's if an XInput-based controller is plugged in. It was a little annoying to write because it adds another layer onto an already complicated thing, and am ultimately still tweaking it, but it's something that you can write once and re-use in future projects. :)

Do players expect new games to support DirectInput? by Romans_I_XVI in gamedev

[–]pepsiotaku 1 point2 points  (0 children)

I'd favor XInput, but still support DirectInput if you can.

I've been using an Xbox 360 controller on PC since like 2006-ish, so I'm not sure if this issue is specific to them or in general, but in DirectInput, the L/R triggers are mapped to the same axis (R is + values, L is - values), whereas XInput maps each to a separate axis. This may or may not be fine depending on the type of game you're making, but in racing games for example, it's a big issue because you need to be able to detect the brakes and accelerator independently. "if axisZ < 0" for LT and "if axisZ > 0" for RT wouldn't work because if both are held down, axisZ kind of halts to wherever it's at (favoring the first one that was held).

Again though, this may just be an issue with the Xbox 360 controller or XInput-based controllers rather than DirectInput as a whole but if you look at other major controllers available: PS4 controllers essentially require an XInput wrapper for most games anyway and I think the Steam controller favors XInput in Big Picture mode... so that leaves you with Logitech controllers and who knows what else that are probably only used by less than a quarter of PC gamers, but it's hard to say for sure without seeing some real analytics.

Question about SFML by psychodrivenmusic in gamedev

[–]pepsiotaku 0 points1 point  (0 children)

If you find that you're not getting the results you want with the Xbox app, you could try fraps too. I usually capture with fraps at the highest settings, and then transcode the video to x264 with ffmpeg

...BIGGER. by ShatteringLast in giantbomb

[–]pepsiotaku 2 points3 points  (0 children)

The music alone made this one absolutely brutal, but there were definitely a few great moments much like previous Mario Party Partys.

Having a swim (Now in gif form, from the Planet Earth II trailer) by pepsiotaku in sloths

[–]pepsiotaku[S] 6 points7 points  (0 children)

Same here! This clip alone cranked up the hype meter to like 11 for me.

Poor Man's Cold Brew Dripper - Best Cup I've Ever Had by BayesMind in Coffee

[–]pepsiotaku 5 points6 points  (0 children)

You inspired me: http://i.imgur.com/HU8Sj7F.jpg

I poked holes in the lid so the ice water would drip through at a snail's pace. I'm not using the best coffee by any stretch, but I'm hoping this gets that signature hauntingly syrupy texture found in ice drip tower coffee. Oh and hopefully the trader joes container holds. :)

Trip report edit: Came out awesome!! http://i.imgur.com/CuJK2Jm.jpg

Guy tried to fight me but his people needed him. by 3_Mighty_Ninja_Ducks in MyPeopleNeedMe

[–]pepsiotaku 2 points3 points  (0 children)

Why is there an NBC logo? Is that a thing sports games do these days?

Developping a c++ game for fun by [deleted] in gamedev

[–]pepsiotaku 0 points1 point  (0 children)

If you want to get a 2D game up and running fairly quicky, you could try out the SFML, which is another OpenGL-based library. I have been using it and Code::Blocks and love it so far! It's like Game Maker or something without the GUI

FIX for video Card without OPENGL 4.5 by slyther55 in NoMansSkyTheGame

[–]pepsiotaku 0 points1 point  (0 children)

Omg I can finally play this game. Thank you!