Code Monkey home page Code Monkey logo

Comments (10)

nesrak1 avatar nesrak1 commented on August 20, 2024

I need a little bit more info...
Did you open a bundle or an assets file?
If it is a bundle, are you opening by memory or file?
What version of unity is the game?

I've yet to see uabea take more than 5 seconds to open even 4gb bundles so obviously something else is going wrong.

from uabea.

drongood12 avatar drongood12 commented on August 20, 2024

I tried bundle first, but it crashed immediately when I tried to open it, which is why I had to use UAAE, I took out a file from the bundle without extension, apparently it was an asset and after that I tried to open it already in UBEA, as a result, the program just froze. In UAAE and AssetStudio, the same file opens without problems, but they have a number of drawbacks that UAAE lacks, but it seems not all

from uabea.

nesrak1 avatar nesrak1 commented on August 20, 2024

Since you got a crash with opening the bundle, can you open the bundle again and let uabea crash so you can get the stack trace? This might help me track down the issue you're having.
If you can provide a file or tell me what the game is, it may be easier for me to figure out the issue.

from uabea.

drongood12 avatar drongood12 commented on August 20, 2024
  1. Game - Rust
  2. I am using the second release, now I will try to collect the current version from the sources
    If you have this game, you can find the bundle in the game folder Bundles / shared / content.bundle
    If you do not have this game, then you can generate these files as indicated on the wikia https://wiki.facepunch.com/rust/Creating-a-server
    Personally, I did through the second method

from uabea.

drongood12 avatar drongood12 commented on August 20, 2024

stack trace:
System.ArgumentOutOfRangeException
HResult=0x80131502
Message = Non-negative number required. Arg_ParamName_Name
Source = System.Private.CoreLib
Stack trace:
at System.IO.BinaryReader.ReadBytes(Int32 count)
at AssetsTools.NET.AssetBundleFile.Unpack(AssetsFileReader reader, AssetsFileWriter writer)
at UABEAvalonia.MainWindow.DecompressToMemory(BundleFileInstance bundleInst) in C:\Users\andrew\Documents\UABEA\UABEAvalonia\MainWindow.axaml.cs:line 498
at UABEAvalonia.MainWindow.<MenuOpen_Click>d__25.MoveNext() in C:\Users\andrew\Documents\UABEA\UABEAvalonia\MainWindow.axaml.cs:line 144

from uabea.

nesrak1 avatar nesrak1 commented on August 20, 2024

Yep, getting the crash and it's because byte arrays in c# only support like 2gb or so. I thought I had updated AssetsTools.NET already to handle larger files but I guess not. I think the real issue is that memory streams are also limited by that size and will require a little bit of reworking with either writing temp files or writing directly into the decompressed file. But not really an issue with UABEA. I'll keep you posted.

from uabea.

drongood12 avatar drongood12 commented on August 20, 2024

Wonderful, thank you

from uabea.

nesrak1 avatar nesrak1 commented on August 20, 2024

Latest build opens content.bundle, let me know if it works for you.
This still won't fix actually compressed assets, but it will open uncompressed ones by skipping the decompression process.

from uabea.

drongood12 avatar drongood12 commented on August 20, 2024

Yes, bundle is now open, thanks, I also hope for a quick fix of the problem with assets

from uabea.

nesrak1 avatar nesrak1 commented on August 20, 2024

Glad it works. I pushed changes to AssetsTools.NET to support large compressed bundles so once that gets a new release, UABEA will be able to use it.

from uabea.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.