At the moment of writing this bug, there are only 2 versions of app-arch/lha in Portage: 1. 114i_p20201004 2. 114i_p20210328 Both versions and even in fact the latest commit at the time of writing this bug report, 4f193b1e98700aa2bc9dfeef11943efc1f036154, are capable of reproducing these bugs. The bug has been reported to upstream: https://github.com/jca02266/lha/issues/46 As discussed in the issue, this has been tested on amd64 and arm64, and both architectures on all 3 commits exhibit the same bug. What should we do with games-fps/quake1-data and app-arch/lha in the meantime?
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.