Skip to content

Bug: jpeg command won't automatically create subdirectories #1809

@timmycelle

Description

@timmycelle

Describe the bug

When I run the command jpeg test/screenshot 100 in the developer console, it'll try to create p2ce/screenshots/test/screenshot.jpg with max quality. For some reason, though, it won't automatically create the subdirectory(s) and will therefore not create the .jpg. Meaning you'd need to get out of your way to create the directory manually, which is annoying.

To Reproduce

  1. Open Strata Source game, like P2:CE.
  2. Type in jpeg test/screenshot in the console and enter.
  3. See Portal 2 Community Editiong/p2ce/screenshots/, the test directory wasn't automatically created.

Issue Map

No map

Expected Behavior

Automatically create all subdirectories and then the desired .jpg file when for example running jpeg test/screenshot.

Operating System

Windows 10 22H2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: BugThis is a problem with something that should be working one way, but isn't.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions