EliotVU / Unreal-Library

UnrealScript decompiler library for Unreal package files (.upk, .u, .uasset; etc), with support for Unreal Engine 1, 2, and 3
MIT License
367 stars 86 forks source link

Support for Advent Rising (PC) #63

Open fignyafsyakaya opened 1 year ago

fignyafsyakaya commented 1 year ago

When I try to open the game's files in UE-Explorer, it raises either "EndOfStreamException" or "ArgumentOutOfRangeException"

Advent Rising - samples.zip

I guess it might be caused by the filename length written in 32-bit value, not in byte, but it's just an unconfirmed assumption. image

According to header, the package version is 146(?) - don't know if it's been dealt with before but I haven't been able to find it in the list of compatible ones.

EliotVU commented 1 year ago

Thanks for the files, it seems like this game was built on the Unreal Engine 2X (the same engine as Unreal Championship 2)

EliotVU commented 1 year ago

Hence the FCompactIndex (1-5 bytes) change to FIndex (4 bytes) (with version 145), this was later deprecated with version 178.