-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
issue exporting non package raw files #26
Comments
I tried with a ini file from valorant seems to be working fine. Can share the error you are getting and possibly code too? @joric |
Managed to get the reader for a package with |
@MinshuG It kind of works, but apparently not for 5.1. I am trying to read '/Stalker2/Content/GameLite/GameData/ItemPrototypes/WeaponPrototypes.cfg'
# package path = 'Stalker2/Content/GameLite/GameData/ItemPrototypes/WeaponPrototypes'
package = provider.try_load_package(package_path)
if not package:
reader = provider.get_reader(package_path)
if reader:
filename += '.cfg'
print('writing "%s" ...' % filename)
with open(filename, 'wb') as f:
f.write(reader.read())
else:
print('get_reader failed at', package_path)
continue But it doesn't seem consistent. Sometimes data is 0 bytes, sometimes it's larger than needed. Maybe it's because Stalker2 is UE5.1 not 5.0? E,g, here's `/Stalker2/Content/GameLite/GameData/QuestPrototypes.cfg pulls extra data comparing with FModel
And for Stalker2/Content/GameLite/GameData/ItemPrototypes/WeaponPrototypes reader.read() returns 0 bytes though it should be 102kb. Alignment perhaps? |
maybe UE 5.1 containers (.utoc/.pak) aren't supported |
ok, in theory it would be: Epic Launcher -> Login -> Unreal Engine -> Library -> + -> 5.1.1 -> Install -> find UnrealPak.exe -> check the correct flags and use [not tested] |
If you’re gonna use UnrealPak, might as well just use FModel since it’s may more user friendly. |
ok, thanks a lot. Didn't know about that tool... |
#23 (comment)
The text was updated successfully, but these errors were encountered: