[Feature] Enhanced process detection for generic launchers (javaw.exe, etc.) #7

Open
opened 2025-11-03 21:22:31 +01:00 by sionzee · 0 comments
sionzee commented 2025-11-03 21:22:31 +01:00 (Migrated from github.com)

Currently, the application cannot reliably map processes that use generic executables like javaw.exe, python.exe, or similar launchers. This means games/applications that run through these launchers (Minecraft, modded games, Java-based tools) cannot be automatically detected and mapped to their correct Twitch categories.

Current Behavior:

  • Process detected: javaw.exe
  • No way to distinguish between Minecraft, custom modded game, or other Java application
  • User cannot create accurate mappings

Expected Behavior:

  • System should detect which specific game/application is running through the launcher
  • Automatic mapping to correct Twitch category

Possible Solutions:

  1. Window title detection - Read the window title and use it as secondary identifier
  2. Command line arguments - Parse process command line args to identify game (e.g., Minecraft uses specific jar paths)
  3. Hybrid approach - Combine process name + window title + working directory
  4. Process tree analysis - Look at parent/child processes for additional context

Technical Notes:

  • Need to handle cases where window title might not be unique or could change (languages, etc..)
  • Command line args might contain sensitive paths that need sanitization for storage
  • Performance impact should be minimal - consider caching
Currently, the application cannot reliably map processes that use generic executables like `javaw.exe`, `python.exe`, or similar launchers. This means games/applications that run through these launchers (Minecraft, modded games, Java-based tools) cannot be automatically detected and mapped to their correct Twitch categories. **Current Behavior:** - Process detected: `javaw.exe` - No way to distinguish between Minecraft, custom modded game, or other Java application - User cannot create accurate mappings **Expected Behavior:** - System should detect which specific game/application is running through the launcher - Automatic mapping to correct Twitch category **Possible Solutions:** 1. **Window title detection** - Read the window title and use it as secondary identifier 2. **Command line arguments** - Parse process command line args to identify game (e.g., Minecraft uses specific jar paths) 3. **Hybrid approach** - Combine process name + window title + working directory 4. **Process tree analysis** - Look at parent/child processes for additional context **Technical Notes:** - Need to handle cases where window title might not be unique or could change (languages, etc..) - Command line args might contain sensitive paths that need sanitization for storage - Performance impact should be minimal - consider caching
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Evobug/TKit#7
No description provided.