bruvzg / gdsdecomp

Godot reverse engineering tools
MIT License
1.47k stars 147 forks source link

Fix incorrect file offsets when exporting PCK #168

Closed cgytrus closed 6 months ago

cgytrus commented 7 months ago

rn it uses the argument thats passed to the function instead of the local thats actually updated lol ive tested this change with one game im REing and can confirm that it has fixed my issue

nikitalita commented 7 months ago

Thanks for the PR! Can you double check that the artifact from the build action fixed the issue?

cgytrus commented 6 months ago

yep, just tested by extracting the pck then packing it back and using --main-pack to load it, loads fine and everything seems to be working correctly

nikitalita commented 6 months ago

thank you!