You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm attempting to use JFortniteParse to load a Unreal map. However, because the map is a single file, without uexp and ubulk files split out, AbstractFileProvider.loadGameFile returns null. Attempting to modify the code to work around this doesn't work, as Package is hard-coded to look up all the export data in the uexp file.
A bit of Googling suggests that I can force Unreal to split out those files by changing a couple settings in my project's Engine.ini file. After making this change, then attempting to re-save the map, both in-place and as a copy in a different folder, it still saves only as a single file, even after shutting down and restarting Unreal.
I'm kind of lost now. What do I have to do to be able to load and process the data in this map?
The text was updated successfully, but these errors were encountered:
I'm no expert at these things, but it looks like what splitting the file data out does is turn the asset file into an index and put the data in the other files. So I thought to try editing AbstractFileProvider to tell it that the data file and the asset (index) file are one and the same in that case:
val uexp = saveGameFile(path.substringBeforeLast(".") + ".uexp") ?: uasset
And... it almost worked. But when I go to load the map, FPackageFileSummary parsing blows up when it tries to read a truly absurd number of generations (23.6 million), reaching the end of the file partway through. So clearly it's not that simple.
I'm attempting to use JFortniteParse to load a Unreal map. However, because the map is a single file, without uexp and ubulk files split out,
AbstractFileProvider.loadGameFile
returns null. Attempting to modify the code to work around this doesn't work, asPackage
is hard-coded to look up all the export data in the uexp file.A bit of Googling suggests that I can force Unreal to split out those files by changing a couple settings in my project's Engine.ini file. After making this change, then attempting to re-save the map, both in-place and as a copy in a different folder, it still saves only as a single file, even after shutting down and restarting Unreal.
I'm kind of lost now. What do I have to do to be able to load and process the data in this map?
The text was updated successfully, but these errors were encountered: