Comments (5)
I'd need to see the files you're talking about. I've never experienced this issue.
I can't think of any immediate reason why any code in the parser would strip underscores in any way, strings are usually represented as a length and a buffer, so they're not even null-terminated. The only parsing that goes on is to ensure UTF-8 compliance, (or in some cases, UTF-16, which then gets converted to UTF-8.)
My first thought is that that's just how the data is represented in the file. You can sort of try to confirm this using a hex editor. It could also be possible that whatever data you're after is being dropped by an unknown structure, which is not unheard of. If this were the case however, it's unusual that it would work at all in any case.
from johnwickparse.
Thanks for the speedy reply.
Please see attached for a sample uasset/uexp pair (hoping that works).
After the ITM_037 entry, the next entry seems to be truncated to just ITM. Based on "ItemID_117_6F1FA31F452C60041595208CCAED321E":56, I believe it should read ITM__116.
There are several instances of this occurring throughout the file when serialized, as well as with other files.
.
from johnwickparse.
I can't seem to find any indication that it's not being serialized properly. Any of the missing ITM_ values, such as (ITM_019) are simply not present in the name map (you can check this by hex editing the uasset file.)
from johnwickparse.
Thanks again for the reply.
There are a few items that don't exist; as you mentioned, ITM_019 is one of them (along with 021, 026, 027, to name a few). The game appears to use two ID systems: one which is prefaced with ITM, and another which is the ItemID property, and ITM_001 is not necessarily ItemID: 1.
The parser correctly notes the ItemID of the items, but shows them only as ITM. For instance, ITM_037 (ItemID 55) you see:
},
"ITM_037":{
"export_type":"RowStruct",
"ItemID_117_6F1FA31F452C60041595208CCAED321E":55,
"ItemNameID_118_78CF4DCD438E1C10ADEE2D951C83C0BE":"TX_NA_ITM_037",
"DetailTextID_119_9EDA66264756DC5D79E5B2889F249818":"TX_CO_ITM_037",
while the next item entry is for ItemID 56, which should be ITM__116, but is identified as only ITM:
},
"ITM":{
"export_type":"RowStruct",
"ItemID_117_6F1FA31F452C60041595208CCAED321E":56,
"ItemNameID_118_78CF4DCD438E1C10ADEE2D951C83C0BE":"TX_NA_ITM",
"DetailTextID_119_9EDA66264756DC5D79E5B2889F249818":"TX_CO_ITM",
There are a few others items with ItemID (about 188) where the ItemID is parsed correctly, but the ITM identifier (not sure if correct term) is not (e.g. ItemID 53 should be ITM__115, 103 should be ITM__117, &c, but they only show up as ITM. The ItemIDs are correct though).
I can send the serialized file, but I'm not sure how to readily point to the exact locations.
from johnwickparse.
As far as I can tell, the file is being serialized properly. I was asking for an example of some data that was in the file itself, which you can view in a hex editor. The data that's "not there" in your case is not in the file.
from johnwickparse.
Related Issues (20)
- FPackageIndex::get_package for index>0 ? HOT 3
- Documentation HOT 1
- Serializing Blueprints Errors HOT 5
- Some errors HOT 11
- 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.