Comments (13)
what's the full code
from cue4parse.
error is fixed now but thank you anyways :)
from cue4parse.
The issue is happening again after verifying my game files, here is the full code:
var provider = new DefaultFileProvider(@"C:\Program Files\Epic Games\Fortnite\FortniteGame\Content\Paks", SearchOption.TopDirectoryOnly, true);
provider.Initialize();
var guid = new FGuid("00000000000000000000000000000000");
var aes = new FAesKey("3FE5C589D219E71EE15FEB8FA9BC6B6224BB58AA826A0FA1D997D92E0D8DB23A");
provider.SubmitKey(guid, aes);
var texture = provider.LoadObject<UTexture2D>(@"/Game/UI/Foundation/Textures/Icons/Backpacks/T-Icon-Backpacks-773-Carabus-L"); //error throws on this line
from cue4parse.
provider.LoadMappings() after submitkey
from cue4parse.
the exception still gets thrown
from cue4parse.
I just tested it and there's absolutely no issue if you do everything right
initialize the provider, submit keys, load mappings, load object
from cue4parse.
Did I do everything correctly in the code I provided above? I'm really not sure what else there is to do. Is your working code different than mine?
from cue4parse.
Also, you can't see it in the code snippet but as I mentioned earlier, the exception isn't thrown when the texture is loaded, it's thrown when I called the Decode method
from cue4parse.
because you have no mappings
from cue4parse.
idk man, even with loading the mappings the exception still throws:
var provider = new DefaultFileProvider(@"C:\Program Files\Epic Games\Fortnite\FortniteGame\Content\Paks", SearchOption.TopDirectoryOnly, true);
provider.Initialize();
provider.LoadMappings();
var guid = new FGuid("00000000000000000000000000000000");
var aes = new FAesKey("0x3FE5C589D219E71EE15FEB8FA9BC6B6224BB58AA826A0FA1D997D92E0D8DB23A");
provider.SubmitKey(guid, aes);
var texture = provider.LoadObject<UTexture2D>(@"/Game/UI/Foundation/Textures/Icons/Backpacks/T-Icon-Backpacks-773-Carabus-L");
texture.Decode();
from cue4parse.
provider.LoadMappings() after submitkey
...
from cue4parse.
still throws even if i put it after submitkey lol
from cue4parse.
then paste and edit https://github.com/FabianFG/CUE4Parse/blob/master/CUE4Parse.Example/Program.cs
from cue4parse.
Related Issues (20)
- New Wiki Page - Linux HOT 1
- Stream overread due to incorrect `SkeletalMesh.HasRayTracingData` flag HOT 5
- UE4Config not found HOT 1
- Exported PSA Sequence data has incorrect FirstRawFrame value
- Mesh Vertex Paint Data (.umap) HOT 8
- PSK morph data is exported incorrectly for meshes with overlapping vertices HOT 3
- Request for a new feature : Can you please make it compatible with BINKA audio HOT 1
- Failed to Export PSK meshes saying "Object reference not set to an instance of an object".
- ColorVertexData missing
- Strange code, might need to be fixed?
- Update for the finals
- Snowbreak support needs update HOT 1
- CUE4Parse.Example.csproj can't load CUE4Parse.csproj
- Why _chunkIndex is private?
- Support for AnimCurveCompressionCodec_ACL
- Animation extracting seems not work on Wuthering waves HOT 2
- Does PSA files contain morph data? HOT 3
- acl/core/ansi_allocator.h No such file or directory HOT 1
- [FR] Support for deserializing 5.1+ maps with WorldPartition HOT 3
- Potionomics - Unhandled exception of type 'System.ExecutionEngineException' in Unknown module. HOT 2
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 cue4parse.