KEMBAR78
DIRECTOR: Add multiple resources in exe using ProjectorArchive by hari01584 · Pull Request #5056 · scummvm/scummvm · GitHub
Skip to content

Conversation

@hari01584
Copy link
Contributor

  1. Moved ProjectorArchive declaration to archive.h
  2. getRawExeName to get executable file name without overriding from --start-movie parameter
  3. Used multiarchive to detect and add resource files to searchman

hari01584 added 3 commits May 29, 2023 18:32
This patch uses ProjectorArchive to extract multiple resources embedded into executable files, additionally a new function getRawExe is defined which gets raw exe file name without --start-movie overriding it.
Solves the problem for finding multiple resource files like `ModTB.DXR` in 'mcluhan', uses 'mcluhan.exe' to extract resources and add them to SearchMan.
ProjectorArchive was giving memory leak and build failures due to not deleting unwrapped stream after use
…ully

Initially for a bad file that didn't exist, the ProjectorArchive was throwing up, now however implemented gracefully loading.
Fixed error and termination for `Majestic.bin`, the path it tried to look up was `Majestic` from detection entry.
@sev- sev- marked this pull request as ready for review May 29, 2023 17:34
@sev-
Copy link
Member

sev- commented May 29, 2023

Thanks!

@sev- sev- merged commit 832d7d2 into scummvm:master May 29, 2023
@lephilousophe lephilousophe added the GSoC Part of a Google Summer of Code project label Jul 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

GSoC Part of a Google Summer of Code project

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants