• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

Text to byte, assetbundle and some doubts

Joined
Apr 21, 2010
Messages
442
Reaction score
150
So, I was messing with Dragon Nest Mobile APK and found out how to "see" the assetbundle assets with AssetBundleExtractor.

The problem is... I can't edit the files I extract (the text ones are .bytes.txt, for example... shop.bytes is exported to shop.bytes-CAS31451985013515151953.txt). Is there a way to edit the assets at a assetbundle or .ab file? Like, I need to put a new shop.byte file inside the assetbundle file without importing the .txt version to replace a preexisted one on assetbundle file.
 
Infinity Games Owner
[VIP] Member
Joined
Sep 12, 2019
Messages
120
Reaction score
19
Yes, you can edit assets within an AssetBundle (.ab) file without importing a .txt version to replace an existing one. Here's a general outline of how you might approach this:

  1. Extract the AssetBundle File:
    • First, extract the contents of the AssetBundle file using a tool like Unity Assets Bundle Extractor (UABE) or similar software. This will give you access to the individual assets contained within the AssetBundle.
  2. Edit the Asset:
    • Locate the shop.bytes file within the extracted contents. This is the file you want to modify.
    • Make the necessary edits to the shop.bytes file using a text editor or appropriate software for the file format. Ensure that you save the file with the same name and format.
  3. Repack the AssetBundle:
    • After making the edits, you need to repack the modified assets back into an AssetBundle.
    • Use a tool like UABE to create a new AssetBundle or replace the existing one with your modified shop.bytes file.
  4. Integrate the Modified AssetBundle:
    • Once you have the modified AssetBundle, integrate it back into your project. This might involve replacing the original AssetBundle file with the modified one or updating references to the AssetBundle in your project's code.
  5. Testing:
    • Finally, test your project to ensure that the modifications you made to the shop.bytes file are working as intended within your application.
Remember to always make backups of your original files before making any modifications, especially when working with asset files in game development. Also, keep in mind that modifying game assets might violate the terms of service or copyright agreements, so make sure you have the necessary rights or permissions to modify the assets.
 
Joined
Apr 21, 2010
Messages
442
Reaction score
150
Yes, you can edit assets within an AssetBundle (.ab) file without importing a .txt version to replace an existing one. Here's a general outline of how you might approach this:

  1. Extract the AssetBundle File:
    • First, extract the contents of the AssetBundle file using a tool like Unity Assets Bundle Extractor (UABE) or similar software. This will give you access to the individual assets contained within the AssetBundle.
  2. Edit the Asset:
    • Locate the shop.bytes file within the extracted contents. This is the file you want to modify.
    • Make the necessary edits to the shop.bytes file using a text editor or appropriate software for the file format. Ensure that you save the file with the same name and format.
  3. Repack the AssetBundle:
    • After making the edits, you need to repack the modified assets back into an AssetBundle.
    • Use a tool like UABE to create a new AssetBundle or replace the existing one with your modified shop.bytes file.
  4. Integrate the Modified AssetBundle:
    • Once you have the modified AssetBundle, integrate it back into your project. This might involve replacing the original AssetBundle file with the modified one or updating references to the AssetBundle in your project's code.
  5. Testing:
    • Finally, test your project to ensure that the modifications you made to the shop.bytes file are working as intended within your application.
Remember to always make backups of your original files before making any modifications, especially when working with asset files in game development. Also, keep in mind that modifying game assets might violate the terms of service or copyright agreements, so make sure you have the necessary rights or permissions to modify the assets.
Chat GPT doesnt know the correct answer :ROFLMAO:

Its not even possible to extract anything with UABE (.bytes I mean), only .txt versions of them with bad encoding/encrypted versions etc
Also, havent find any way to add new assets to a .assetbundle or .ab file '-'
 
Back
Top