nesrak1 / UABEA

c# uabe for newer versions of unity
MIT License
1.05k stars 135 forks source link

Lethal Company (PC) - extract and import text not working properly #291

Closed bartlomiejduda closed 8 months ago

bartlomiejduda commented 8 months ago

Describe the bug I've tried to export text from game "Lethal Company". First I've searched for the text "The autopilot will now attempt to fly to the closest safe spaceport". I've found it in "level3" file. When I've opened this file in UABEA and tried to extract all assets from it, I've got some errors (screenshot attached). I'm attaching "level3" file and log file to this report.

level3.zip

uabeacrash.log

To Reproduce Steps to reproduce the behavior:

  1. Launch UABEA
  2. Go to File > Open
  3. Select "Level 3 file"
  4. Select all assets from the list with CTRL+A
  5. Click "Export RAW"
  6. See the error message. Program will crash at this point.

Expected behavior Program should allow to export and import text from "level3" file.

Screenshots obraz

Additional context None.

nesrak1 commented 8 months ago

Did you click export raw and then select a folder? As the error suggests, the folder you're trying to export into does not exist (probably because you have a space after PlayersManager)

bartlomiejduda commented 8 months ago

Yes. I've created folder "level3_out1" and selected it for extraction. But I didn't create "Player Manager" folder (it's asset folder and it should be created automatically by the program) and I definitely haven't added any spaces to the path. So it's either error with the program or with the asset file itself. Please follow "reproduce steps" to see what I mean.

nesrak1 commented 8 months ago

If you didn't add this, then I guess it's because an asset has a slash in the name. Apparently only export dump had name filtering. Now export raw has this.

bartlomiejduda commented 8 months ago

Thanks. It works now in the newest nightly build.