Skip to content

Decompiler ignores output filename for textures. #826

Closed

Description

@kristiker

Describe the bug

Trying this command in CS2 files.

./decompiler.exe --input "C:/Program Files (x86)/Steam/steamapps/common/Counter-Strike Global Offensive/game/csgo/pak01_dir.vpk" --vpk_filepath "weapons/models/knife/knife_css/materials/composite_inputs/knife_css_pos_pfm_cd404cd7.vtex_c" -d -o "a.png"

Produces knife_css_pos_pfm_cd404cd7.png instead of a.png

Expected behavior

a.png

Relevant log output or exception with stacktrace

No response

What game does this happen in

CS2 and others

Reference file in a Source 2 game

weapons/models/knife/knife_css/materials/composite_inputs/knife_css_pos_pfm_cd404cd7.vtex_c

What version of VRF are you using?

10.1.0 add0258 on Microsoft Windows NT 10.0.19045.0 (GPU: Intel(R) UHD Graphics 620, Driver: 4.6.0 - Build 31.0.101.2127)

Activity

  1. added
    BugSomething isn't working correctly.
    on Jul 30, 2024
  2. added
    ExportingRelated to exporting files or data
    on Oct 8, 2026
  3. added this to the 20.0 milestone on Nov 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working correctly.ExportingRelated to exporting files or data

    Type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions