CODE Code related to making the main.unity3d file load extra .resourceFile (1 Viewer)

FusionFall.org

Website Owner
Staff member
Website Owner
Member
I discovered how the game loads the .resourceFile asset bundles
I need to modify the code that I printed in the screenshot
to include this, for loading a new asset bundle FFOrderedDict([('version', 776514), ('fileName', 'Retro_shared_part3.resourceFile')]),
I tried using the command xdtdata['m_CharacterCreation'] = "example", but that didn't work and it gave me an error

I think you can call append on the list

I had just figured this out, but my command doesn't work. Can you help fix it? Below is my command : xdtdata['m_CharacterCreation'].append(FFOrderedDict([('version', 776499), ('fileName', 'NewResourceFile.resourceFile')])) Instead of adding what I intended, it just adds this FFOrderedDict()

FFOrderedDict doesn't take any constructor parameter of such type

data = FFOrderedDict()
data['version'] = 776499
data['fileName'] = 'resourceFile'
xdtdata['m_CharacterCreation'].append(data)

ver2['m_PaidZone'] =
ver1['m_PaidZone'] =
 

Attachments

  • mainunitycode.txt
    1.3 KB · Views: 33
Top