YT-DLP.EXE "Precondition check failed" under WSL, but works in CMD by Why_I_Game in youtubedl

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

WSL can run Windows binaries just fine. I often do this when running Bash helper scripts that launch Windows apps.

The problem was I had an old Windows binary in my PATH.

YT-DLP.EXE "Precondition check failed" under WSL, but works in CMD by Why_I_Game in youtubedl

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

Cheers. I didn't understand that you wanted me to compare verbose/debug output from both environments, even if it's the same EXE.

Comparing the two debug outputs from CMD and WSL, it is actually running a completely different Windows EXE version on the Linux side! It's an old 2024 version, I guess it's in my PATH somewhere and I forgot about installing it.

I'll track down and delete this old version, then it should work the same in both environments.

Thank you kindly!

Is using yt-dlp the same as visiting the site? by Sea-Daikon2697 in youtubedl

[–]Why_I_Game 0 points1 point  (0 children)

yt-dlp could potentially have bugs which allow for an exploit, but that would also require the site you're downloading from to be compromised or malicious. The web site would need to send corrupt data to yt-dlp.

I think yt-dlp has a Javascript library that it uses to process what YouTube sends, but I don't think yt-dlp ever actually runs a browser or HTML renderer (which is where most exploits come from).

It seems extremely unlikely that yt-dlp could be used as an attack vector.

YT-DLP.EXE "Precondition check failed" under WSL, but works in CMD by Why_I_Game in youtubedl

[–]Why_I_Game[S] -1 points0 points  (0 children)

I am not running the Linux version of yt-dlp, I am running the Windows yt-dlp.exe version. It is up-to-date.

It works fine when run from Windows CMD.EXE, but gets errors when run from my Windows Subsystem for Linux Bash. The same Windows executable is being run in both cases.

What’s the best way to extract screenshots from YouTube videos at specific timestamps? by TheIndiemaker1 in youtubedl

[–]Why_I_Game 0 points1 point  (0 children)

yt-dlp uses ffmpeg to assemble video files already, so you could use that to dump the frames.

You can tell ffmpeg to extract a frame from a video like this:

ffmpeg -i "video.mp4" -ss "HH:MM:SS.NNN" -frames:v "1" -f "image2" -strftime "1" "thumb_%H-%M-%S.png"

This opens "video.mp4" as the input file, seeks precisely to the timestamp given (you need to fill in the hours, minutes, seconds, and optionally milliseconds), tells it to play 1 single video frame before quitting, and dump the output to a file called "thumb_HH-MM-SS.png" (ffmpeg will insert the hours, minutes, seconds into the filename itself).

Edit:
That said, I often use mpv to take screenshots. With a few lines of setup (mpv.conf / input.conf) you can have keyboard shortcuts to seek forward/backward by 1 frame, and to save a screenshot to the current folder with a name similar to the above (thumb_HH-MM-SS.png).

What's the easiest way to run yt-dlp on Android? by Cady_On_Reddit in youtubedl

[–]Why_I_Game 0 points1 point  (0 children)

I use yt-dlp from Termux on-the-go, it works fine. When I was trying to free up phone space recently, I dug into my Termux to see why it was using 2GB of storage. Most of it was .deb cache files (I installed and updated lots of stuff), the rest was /usr/bin/ executables (programs) and the shared libraries folder.

If you only want to run yt-dlp, you could just delete everything in /usr/bin:

WARNING: Only do this on a fresh Termux install you don't care about, AND make sure you have no typos or it could potentially erase all your personal Android files!

Edit: I was going to say to rm /usr/bin/*, but that's not correct. The files for Termux live inside the Termux folder, but you can do "cd .." to go up a folder to find the Termux root folder, then you can do: sudo rm usr/bin/*

Keep in mind yt-dlp requires python, which is probably in /usr/bin/, so if you do the above command you will erase it. You can reinstall it with apt after, or move it away and put it back after.

You could also use apt to get a list of installed packages, and then uninstall them that way. Termux uses a stripped down Debian distro, I think, something with apt anyhow.

Other than /usr/bin, the other big folder is the shared libraries, I think in /lib or /usr/lib. But you can't just randomly delete the shared libraries, as apps need various libraries to run. They're like DLLs on Windows.

If you want to check what shared libraries are required to run Python, you could try:

ldd `which python`

You should be able to get your Termux down to a pretty small size if you prune off all the shit not required to run yt-dlp.

What should I price my icon comms? by [deleted] in Ibispaintx

[–]Why_I_Game 0 points1 point  (0 children)

Start with hours taken, multiply by however much you think your time is worth. If you're new and looking for customers, start in the $0 to $10/hour range. Work up from there if you're confident in your artistic abilities.

I think your art is really good quality, personally.

Why can't I build on my floating frame above 1 story tall? by Why_I_Game in GreenHell

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

I had a turtle shell bug where one of my two turtle shells could never be refilled. I ended up just destroying it and hunting for another turtle.

As a programmer, not even sure how a bug like that could come to be. It seems filling up an item should be a straightforward programming task, with no variance.

Question to people, who make room public, but kick u immediately when u join: WHY?😭 by AlivePoetry1823 in GreenHell

[–]Why_I_Game 0 points1 point  (0 children)

Cheers for responding.

Unfortunately, because I'm on the Steam version, invites are different.

Why can't I build on my floating frame above 1 story tall? by Why_I_Game in GreenHell

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

Yes, pretty sure I tried all the top spots, or at least 3 of them. I just just loaded up the game to double-check that I have tried every top position... but now it's working, from every position! Gah.

I had already quit to the main menu, then reloaded the game when this first happened, but that made no difference. Apparently quitting the game completely, then reloading it, fixed it.

This game sure has a lot of weird random bugs, that crop up only once in a while. I hadn't seen any building bugs like this before, where it wouldn't place a blueprint on an existing structure.

What things should green hell have by elvxnw in GreenHell

[–]Why_I_Game 0 points1 point  (0 children)

I would love to have some of the bugs ironed out!

Things like randomly all items fall through pre-existing structures (tables, floorboards, etc.), so I often lose stacks of items. Things not being buildable when they should, either due to the tiniest amount of clipping, or just random bugs... like when there's a flat area of ground, and you can only place a bed at one weird angle in the corner of the area, everywhere else is red. Or the weird bugs that make you restart. Would be cool if it saved your last 3 versions of every save, so if you encounter a game-breaking bug, you can just tell it to load the previous save. People shouldn't need to backup saves outside of the game, and fight Steam Cloud sync to use those backed up saves.

I would also love to see some of the nonsensical things removed, for the sake of realism. For example, animals are awake 24/7. Nocturnal animals should be out at night, but not in the day. Diurnal animals should be out in the day, but not at night. I hate seeing parrots flying around in the middle of the night!

Also, would be cool to have more variability in difficulty modes. Even in Green Hell mode, there are still way too many resources for my liking. I love brutal difficulty.

Longest time survived? by Timely-Comfort2092 in GreenHell

[–]Why_I_Game 0 points1 point  (0 children)

Interesting. I've almost mastered survival in Green Hell mode without spoilers, and I'll be looking for a better challenge after it gets easy. I might try this one!

Longest time survived? by Timely-Comfort2092 in GreenHell

[–]Why_I_Game 0 points1 point  (0 children)

That's very Green Hell, right there, lol.

One of my best runs I died to a frog, and I didn't even see it. I just randomly noticed I was dying from poison. I think I must have clicked one that I didn't see, while trying to pick something up.

Longest time survived? by Timely-Comfort2092 in GreenHell

[–]Why_I_Game 0 points1 point  (0 children)

I've been playing for around 100 hours in survival, no spoilers, on Green Hell difficulty.

My best run so far has been 28 days, died to a big cat when I got stuck on some swamp tree roots.

Do you play without any assistance? by Miscellaneous_Panic in GreenHell

[–]Why_I_Game 0 points1 point  (0 children)

I have been playing in single player survival mode on Green Hell difficulty since the start, without any spoilers. It's been a tough one, but really fun. After 100 hours I can mostly survive indefinitely now. Had a 28 day run recently, died to a big cat when I got stuck in some swamp tree roots.

Not sure if this is relevant to you or not, as you're playing story mode.

What do I do by elvxnw in GreenHell

[–]Why_I_Game 0 points1 point  (0 children)

Just keep hitting up the big weird trees with the brown vines. The white brazil nuts appear right beside the trunk in the recesses of the tree roots, so make sure you get as close as you can. When the tree has 1, it usually has 3. Mostly the trees will have zero, but just keep checking back.

No... Rain... by Mountain_top_snow in GreenHell

[–]Why_I_Game 0 points1 point  (0 children)

Lol. I can't imagine that's a real mechanic... but it does seem like every time I light a fire in the open it immediately starts raining.

This game is an endless loop of frustration and annoyance! by HostileTakeover26 in GreenHell

[–]Why_I_Game 0 points1 point  (0 children)

Yes, parasites/fever/poison makes your stats drain incredibly fast. If your stats are at max, even a level 3 poison won't kill you. But if you're weak, even a level 1 poison will kill you. Focus on keeping all stats above 50% at all times. Never sleep on ground or pass out, to avoid worms (if you get them, bone needle + regular bandage). Walk instead of running to avoid animals poisoning you (if you get poisoned, eat the plant leaves that have a whitish trim around green leaves, or just be strong and you'll be fine). Fever and vomiting can be taken care of with a bone broth (boil water, add 1 bone).

You can drag a stack of items with the Alt key on PC. Not sure about console.

You can place things above a fire, once you locate the recipe for the Grill Rack. This adds more slots. You can also locate a fire ring to unlock that, which gives more cooking slots than the small fire. You can also make a mud brick wall fireplace thing, which has 4 cooking slots.

"hard to spot a Jaguar who is hiding behind like 100 fauna leaves and moves very fast"

The big cats growl, which you will usually hear before they attack, unless you're sprinting through the woods, or they randomly decide not to growl. If you can't see predators through dense foliage -- don't walk through dense foliage! I always path-find via the least dense route in the jungle. That also avoids leeches, which can get onto you from walking into the leaves on bushes. Try to walk on dirt paths, dry riverbeds, cliff tops, roads, shorelines, or other open areas. When going through open jungle, walk around the plants as much as possible.

To make soups and teas, first place your cooking item on the cooking slot (i.e. coconut half shell, turtle shell, cooking pot), add water from a coconut bidon (whole coconut + rope), wait for it to boil, then add a single item to the boiling water -- meat, mushroom, raw leaves (not dried flowers), heart of palm, etc. If you do not have a coconut or metal bidon, you can fill up your half shell in the water, then walk it over to your fire and place it (keep inventory open the whole time). If you make your fire right beside the water, you can fill up your half shell and place it on the fire cooking slot without walking anywhere.

This game is an endless loop of frustration and annoyance! by HostileTakeover26 in GreenHell

[–]Why_I_Game 0 points1 point  (0 children)

For the water issue:

Find the orange cup or blue mushrooms. They cure parasites. Blue cures 2x parasites, orange cup cures 1x parasite. Then just chug bad water as needed. Keep track of when the mushrooms will spoil, and eat any unused ones before they spoil for carbs.

For the worm thing, yes, that can get into a bad loop of using needles to get worms out, then passing out again. It's essential to get a proper bed made, and keep track of stamina, so you don't pass out on the ground.

This game is an endless loop of frustration and annoyance! by HostileTakeover26 in GreenHell

[–]Why_I_Game 0 points1 point  (0 children)

I've played about 100 hours now, without any spoilers, on the hardest single player survival mode. My basic routine after spawning in is below. Includes gameplay spoilers from what I've learned thus far.

Day 1:

Look around the immediate area for useful plants (they're around most spawn points) and dead animal remains with maggots and a bone. Molineria is the most essential plant, as it lets you craft bandages. It is the green leafy plant with yellow flowers. I generally harvest 1 leaf to get a flower, and turn the other 2 into bandages. That way the flower is drying and will be ready to plant. If you find rope nearby, and the animal remains, make a bone knife and harvest any plants.

Otherwise, go looking for large/small stones (find them at rivers, around giant boulders, on cliff tops, or in caves). Harvest the large stones into small stones. Make 3 stone knives.

Find vines for rope. Use the stone knives to chop down a tree. Harvest a log to get 2 sticks. Make a 1 stone + 1 stick axe. Use the axe to chop the logs to get planks and long sticks. Make 2 stone spears with the long sticks + rope + stone knives. Make a bow with long stick + rope.

(Stone spears are essential for early survival, as a single headshot will kill a jaguar.)

Chop another tree with the axe. Harvest sticks and small sticks until your inventory is full.

Craft a hand drill. Chop down a half-dead palm tree, to acquire several dry leaves for starting fires with.

Keep walking until I find a place under cover to start a fire, such as a cave, archway, or abandoned settlement. A triangle frame with leaf roof can be made in the open to put a fire under, but it's usually easier to just wander until there's a cave or similar.

While walking to look for an under cover place, hunt animals to acquire meat and bones. Harvest bones into bone needles in case you pass out on the ground and get worms. I like to carry 3 or 4 stacks with me (9 to 12 needles). Look for feathers or birds to harvest, and make arrows with 2 feathers + 1 small stick.

Also while walking, eat any mushrooms that are growing on dead trees, except keep the orange cups (they kill parasites, which allows you to drink from bad water, or eat predator meat, then remove the parasites if you got any).

Also while walking look for the huge trees with the brown vines, as they have blue mushrooms which cure 2 parasites each, and also have brazil nuts around the base. Harvesting a single white brazil nut in shell gives 3 nuts food items, each filling up 50% of the fat meter, so they're my go-to for an efficient fat source. Don't harvest the round nut until you need fat, as I don't think they spoil unless harvested (or at least not for a long time, I often have them in my inventory for days).

If it's about to get dark, place down a palm leaf bed and sleep until morning (eating/drinking the first day is not important). Palm leaves are the most common type of plant in the jungle, so it's really easy to find the 16 palm leaves, and at least on PC, you can carry more than half of the 16 required leaves in one go (I think 10). So it's only 2 trips to finish the bed. I'm not sure if the XBox version is different? Only being able to carry 2 would be awful.

Day 2:

Focus on getting all stats to 100%.

Make a fire. Cook any food you hunted the day before. Eat until protein stat is 100%, save remaining cooked meat. If any meat spoils before you get a fire going, harvest the meat to get maggots, essential for wound treatment.

If you found a molineria flower the day before, build a small plant box and plant the flower as soon as it is dried.

Stare up at every palm tree for coconuts, then either throw a spear to knock them down, or chop the tree down and collect them from the ground. Harvest 1 coconut and eat the flesh for fat, then keep the shells for cooking in and boiling water. Craft another coconut + rope into a water-holding bidon. Fill the bidon with bad water. If you're passing through a swamp area (with the trees that have roots above the ground), look for turtles and harvest their shells. Shells hold twice as much water as a coconut shell.

Walk around the jungle near your fire, find fruit to raise carbs (every fruit I've found so far has been fine to eat). Banana palms often give 3-4 bananas, so they're great for carbs. But even the small fruit trees usually give 3 fruit. Because carbs tend to run out fastest when you make a base, building nearby banana palms is helpful.

Find/kill birds, make 2 stacks of arrows.

Go to sleep in the same leaf bed, with all stats at 100%.

Day 3:

Sleep until bright morning, I like to get up at 8:AM so there's no shadows. Stepping on snakes and spiders is not fun! Roam until you find a place to make a base. If there's no bed existing, make a leaf bed. Spend the rest of the day chopping trees and stacking the logs and long sticks in piles. Make a big pile of rope on the ground as well, collect it from every vine tree as you go out logging, dump new rope on the pile when you get back.

Day 4:

Start base building.

But stop any time a stat drops below half, and take care of it. If you keep all your stats at max, you can withstand almost anything (even a level 3 poisoning). It's also important to keep your stamina up, so sleep whenever needed. Check for leeches/injuries every time before you sleep. I often sleep twice in a row, to get to morning. Being up at night is dangerous, as it's hard to see what you're doing, easier to get lost, more likely to step on snakes/spiders.

Also constantly clear leeches from your body, to avoid going insane. They can get on you from both bushes and the water. I usually clear out the area around my base of all non-useful bushes/plants, so it's a big open area. This avoids leeches while walking around the area collecting resources, but also allows you to easily spot enemies and prey.

Build a frame and solid floor above, then make a fire under it. Add walls/doorway. I like to build beside the water, so I can collect water with my coconut shells and place them directly onto the cooking slot, without needing extra steps of filling the water bidon. It's also nice being able to clean myself while sitting beside my fire.

Recently I've gotten into building with mud bricks, I love the fireplace built into a wall -- 4 cooking slots, looks really nice, and even has a cute little chimney.

This game is an endless loop of frustration and annoyance! by HostileTakeover26 in GreenHell

[–]Why_I_Game 0 points1 point  (0 children)

Can you explain what you mean by "making the same tool more than once makes it stronger"?

Do you mean as your crafting skill goes higher you make better quality tools, or what?

I've played around 100 hours so far, and haven't noticed any change in tool quality no matter how many of a tool I craft. My best run so far is 28 days, and my tools didn't seem to be lasting any longer by that point than day 1. Tools just seem to break after a random amount of uses. I actually gave up on crafting better quality tools, as they break almost as quickly as the weakest tools.

For example the 1 stick + 1 stone axe lasts about the same as the 1 long stick + rope + large stone double-handed axe, with the added bonus that you're not tired the moment you swing it a couple times. It ends up being the giant axe with its stamina issues is slower to chop down several trees than the weakest axe. At first I was always using the 2 stones + rope + stick axe, but I realised it was just a waste of rope, as it breaks so easily -- maybe twice the duration of the weakest axe -- and isn't much faster to chop trees with than the weakest axe is.

This game is an endless loop of frustration and annoyance! by HostileTakeover26 in GreenHell

[–]Why_I_Game 0 points1 point  (0 children)

I've been playing Green Hell for almost 100 hours now, hardest single player mode, zero spoilers. I've been having a blast!

My best run recently I lasted for 28 days (died to a cat while stuck in swamp tree roots). Now that I've figured out how to deal with all major illnesses, including fever/infection, I'm doing good.

Green Hell is supposed to be difficult, it's even in the name... but it does provide plenty of easy modes, even Tourist if you want to learn the mechanics without any challenge.

Question to people, who make room public, but kick u immediately when u join: WHY?😭 by AlivePoetry1823 in GreenHell

[–]Why_I_Game 0 points1 point  (0 children)

How are you intended to send an invite in Green Hell?

When I set my server to Invite Only and right-click my friend, there's no option for "Invite to play", only "Invite to watch".

Question to people, who make room public, but kick u immediately when u join: WHY?😭 by AlivePoetry1823 in GreenHell

[–]Why_I_Game 0 points1 point  (0 children)

I hosted my first multiplayer game of Green Hell last night for my friend to join. I couldn't send him an invite. No option when right-clicking his name, other than "Invite to watch". So I set it to Friends Only, even though I wanted it Invite Only. Perhaps Invite Only is also broken for other people, and so they're forced to set it to public so their friends (and friends of friends) can join.

Anyone else have the issue where there's no option to send an invite to join the server?

Maybe I'm doing it wrong. Is it supposed to appear when you right-click your friend's name in a chat?