Summary: | =games-fps/quake1-data-2.40-r1 is broken because there are no versions of app-arch/lha that support Quake CD archives | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Michał Dec <moog621> |
Component: | Current packages | Assignee: | Gentoo Games <games> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | chewi, moog621 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/jca02266/lha/issues/46 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Michał Dec
2024-05-04 11:58:01 UTC
I found a solution. The file "resource.1" needs to be copied from the CD and renamed to anything as long as it has a ".exe" extension. That way, `lha` will correctly guess its type and successfully access the archive. Info that helped: https://quakewiki.org/wiki/Resource.1 Since this is known to be compressed with -lh5, I just dug through the source code of `lha`. It didn't take long, the file extension hinting isn't very deep into lharc.c. |