Comments (3)
I was trying to parse a few assets where a positive index almost always referred to either the wrong thing, or just was out of bounds and returned null. I realised my previous parser was making a mistake in this respect.
As far as I can tell, positive indices refer to exports (i.e. assets in the same file.) After parsing a few files using this method, particularly with entity location maps, it seemed to confirm that this was the case. It also explains how different exports are related to each other.
I've always tried to make sure that the data that the parser outputs is as representative of the underlying asset as possible, so the parser will output an array when it comes across a valid import, with each item in the array referring to the object_name of the import tree (where one import refers to another.) This has ended up meaning that you're able to get the full file path from an FPackageIndex when relevant.
from johnwickparse.
Very interesting, thank you for the detailed answer. I will run more tests on my side.
from johnwickparse.
Not only your answer solved an issue I had with the value being strange (=wrong), but I can also know which specific export is the target and create links.
I'm specifically testing on /Game/Athena/Sounds/Emotes/Athena_Emote_Intensity_Music_Cue
at the moment (Fortnite). The ChildNodes of SoundNodeDelay and SoundNodeMixer were referencing some other nodes by name (e.g. SoundNodeWavePlayer), but having the exact index to target in the export list is the perfect solution as names sometimes have duplicates.
Thank you again for your help, you can close this issue.
from johnwickparse.
Related Issues (20)
- File IO Error while serializing CID_030_Athena_Commando_M_Halloween HOT 1
- consecutive underscores HOT 5
- Documentation HOT 1
- Serializing Blueprints Errors HOT 5
- Could not read MapProperty with types: ObjectProperty ObjectProperty HOT 2
- Error while attempting to serialize: paks/global.utoc? HOT 2
- Serializing Material Trips on Reference to "LinearGradient" HOT 4
- Property Error when trying to extract pakchunk100x HOT 1
- FRichCurveKey missing "value" HOT 1
- File Error: The system cannot find the path specified. (os error 3) HOT 2
- Errors when attempting to serialize Functions
- Property Error on what should be cooked json files. HOT 1
- please help me HOT 1
- extract command fails to extract files HOT 1
- I want to extract uasset files
- Use one command line for an entire folder HOT 1
- .uasset HOT 4
- Data using same key is overriden in JSON output HOT 2
- Serializing blueprints HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from johnwickparse.