srrDB / pyrescene

MIT License
56 stars 11 forks source link

Can't rebuild RELOADED release #9

Closed MRiCEQB closed 1 month ago

MRiCEQB commented 11 months ago

Hi all,

I'm trying to rebuild Splinter.Cell.Chaos.Theory-RELOADED but none of the RAR versions (184 version tried) match the packer that RELOADED used. I read that RELOADED used some kind of custom packer and that this issue has been resolved in 2016 (https://bitbucket.org/Gfy/pyrescene/issues/107/hi2u-and-reloaded-rar-files). Is there any flag that forces pyRescene to try the RELOADED modifications while testing for a compatible RAR version? I saw in the source code that it was tested with Street.Fighter.V-RELOADED, which was released 10 years after Splinter.Cell.Chaos.Theory-RELOADED - so I hoped that Splinter Cell won't be an issue. I am using the latest commit as of this writing and I currently don't know what to do from here :(

itzoke commented 1 month ago

Splinter.Cell.Chaos.Theory-RELOADED

Is compressed using RAR5 which is not supported.

MRiCEQB commented 1 month ago

Splinter.Cell.Chaos.Theory-RELOADED

Is compressed using RAR5 which is not supported.

The release was pred on May 26th 2006. RAR5 was released in April 2013.

itzoke commented 1 month ago

So it seems we have an incorrect detection of RAR5.

Grabbing large enough data piece size for testing.
RAR5 files are not yet supported!
$ rar vt Splinter.Cell.Chaos.Theory-RELOADED/rld-scct.rar 

RAR 6.23   Copyright (c) 1993-2023 Alexander Roshal   1 Aug 2023
Trial version             Type 'rar -?' for help

Archive: Splinter.Cell.Chaos.Theory-RELOADED/rld-scct.rar
Details: RAR 4, volume

        Name: rld-scct.iso
        Type: File
        Size: 4641294336
 Packed size: 49999903
       Ratio: -->
       mtime: 2006-05-26 12:30:20,132000000
  Attributes: ..A....
  Pack-CRC32: BC9BA3C3
     Host OS: Windows
 Compression: RAR 1.5(v29) -m3 -md=64K
MRiCEQB commented 1 month ago

That's strange, I never got this error on my end. pyReScene tried like all exe files I had and just came to the conclusion that it can't find a suitable version to rebuilt this release.

itzoke commented 1 month ago

It seems to be related to which rar versions are in the preprar folder. Removing any version >= 5.50 resolves that part. Looks like the -ma4 flag isn't correctly set

itzoke commented 1 month ago

It seems that this is just one of those releases that won't rescene (some work on a specific OS only).