Jump to content

Zayyeh

Members
  • Posts

    3
  • Joined

Zayyeh's Achievements

Refugee

Refugee (1/15)

0

Reputation

  1. Adding files to sharedresources1.assets In a game I'm editing there are resources.assets and four sharedresourcesX.assets. I added a resource to empty sharedresourcesX.assets file, which contains only PreloadData. How to let mainData know about resource you add to sharedresourcesX.assets file? mainData simply does not see this file.. No problem when I add it to resources.assets, but I want to add it to sharedresourcesX.assets so all modded resources will be contained in one place. in ResourceManager file I have something like 0 vector m_DependentAssets 0 Array Array (149 items) 0 int size = 149 [0] 0 ResourceManager_Dependency data 0 PPtr<Object> m_Object 0 int m_FileID = 1 0 int m_PathID = 634 0 vector m_Dependencies 0 Array Array (1 items) 0 int size = 1 [0] 0 PPtr<Object> data 0 int m_FileID = 2 0 int m_PathID = 422 but I can't figure out what to do here. In mainData I can see something like this: 0 PreloadData Base 1 string m_Name = "" 0 vector m_Assets 0 Array Array (5 items) 0 int size = 5 [0] 0 PPtr<Object> data 0 int m_FileID = 1 0 int m_PathID = 10210 [1] 0 PPtr<Object> data 0 int m_FileID = 1 0 int m_PathID = 11998 [2] 0 PPtr<Object> data 0 int m_FileID = 1 0 int m_PathID = 11999 [3] 0 PPtr<Object> data 0 int m_FileID = 1 0 int m_PathID = 12000 [4] 0 PPtr<Object> data 0 int m_FileID = 1 0 int m_PathID = 12001 Any help would be really appreciated!
  2. Thank you very much. This advice helped me. I also noticed that file id should be as UABE shows when mainData is opened, not when you open individual .assets file. In my example, resources.assets shows File_Id 0, mainData 1. I specified 1 in UnnamedAsset of ResourceManager type. But it also seems that I was mistaken with bundles. I don't have m_Container and only have resources.assets and couple of sharedresourcesX.assets files. Thanks again! EDIT: Make sure you enter only lower case letters in path/filename in UnnamedAsset of ResourceManager type, or it won't work.
  3. Applying path to added texture2D DerPopo, First of all, let me say to you that your tool already helped me immensely with my project (I'm creating Mod for different 2D game). Using UABE, I was able to change IsReadable flag to true and thus, make possible to change hue of the textures in game. I've come to the point where I need to add my own files to the bundle (textures for now). Using UABE I managed to successfully add needed texture. Problem is that I can't seem to figure out how to apply needed path to this texture (or should I say create a reference to this texture). The only PreloadData file I found in a bundle just points to the all .assets files, w/o mentioning texture names. If I open mainData file, I can see my newly added texture but w/o path (like portraits/enemies/thistexture). Could you please suggest how to solve this issue? Is it possible or it really depends on the game?
×
×
  • Create New...