gitMenv / UEcastoc

This repository is a work-in-progress to create a simple unpack and packing tool of .ucas and .utoc files. If this succeeds, it would make it possible to create mods for games that use the new .ucas and .utoc file format.
GNU General Public License v3.0
85 stars 16 forks source link

Manifest error #12

Open Durandil67 opened 1 year ago

Durandil67 commented 1 year ago

Error when creating manifest for .ucas/.utoc files:

goroutine 17 [running, locked to thread]: main.ParseDependencies({0xc0004ba000, 0x40000, 0x42000}) C:/UEcastoc/manifest.go:233 +0x605 main.(*UTocData).constructManifest(0xc00001d1e0?, {0xc0000fea50?, 0x2c?}) C:/UEcastoc/manifest.go:90 +0xe5 main.createManifestFile(0x7ff80c447018?, 0xc000078000?, 0x0?, 0x1?) C:/UEcastoc/dllAPI.go:137 +0x405

nuadaxxx commented 1 year ago

Why can i not Create Manifest from main.ucas/utoc all others work. ?

goroutine 17 [running, locked to thread]: main.parseDirectoryIndex(0x7fff13b683a0?, 0x3) C:/UEcastoc/utoc.go:171 +0x7cd main.parseUtocFile({0xc00012a9d8, 0x6}, {0x7fff13d108c0, 0x0, 0x0}) C:/UEcastoc/utoc.go:327 +0xb09 main.createManifestFile(0x7fff137e7018?, 0xc000106000?, 0x0?, 0x1?) C:/UEcastoc/dllAPI.go:106 +0xd6

Cyberim commented 1 year ago

[wanted: dead] the same problem

gitMenv commented 1 year ago

Which game are you trying to unpack? Is it the game files themselves, or is it a modified game? What command did you use that led to these errors? With that information, I can look into it a little bit better.

nuadaxxx commented 1 year ago

Which game are you trying to unpack? Is it the game files themselves, or is it a modified game? What command did you use that led to these errors? With that information, I can look into it a little bit better.

Hogwarts Legacy -- Global.ucas / utoc files

(The other files work, only global not)

command = main.exe manifest global.utoc global.ucas global.json

error says something about c: but software is in d:

goroutine 17 [running, locked to thread]: main.parseDirectoryIndex(0x7fff15b983a0?, 0x3) C:/UEcastoc/utoc.go:171 +0x7cd main.parseUtocFile({0xc00000aac0, 0xb}, {0x7fff15d408c0, 0x0, 0x0}) C:/UEcastoc/utoc.go:327 +0xb09 main.createManifestFile(0x7fff15817018?, 0xc000094000?, 0x0?, 0x1?) C:/UEcastoc/dllAPI.go:106 +0xd6

nuadaxxx commented 1 year ago

are you trying to fix it or what's the status?

Mervius commented 1 year ago

I also get

panic: runtime error: index out of range [0] with length 0

goroutine 17 [running, locked to thread]:
main.ParseDependencies({0xc000824030, 0x2c, 0x30})
        C:/UEcastoc/manifest.go:233 +0x605
main.(*UTocData).constructManifest(0xc00008cf70?, {0xc0000aaa20?, 0x8?})
        C:/UEcastoc/manifest.go:90 +0xe5
main.createManifestFile(0x7fffdbad7018?, 0xc000086000?, 0x0?, 0x1?)
        C:/UEcastoc/dllAPI.go:137 +0x405

for every file I try no matter what it is. Every ucas or utoc file in Hogwarts Legacy produces that. Are there any requisites to running this or can you just run the arguments in a CLI and it'll work?

gitMenv commented 1 year ago

There are requirements on how to run the program. Have a look at the help text that is provided and ensure that you enter the commands as it is asked. I am trying to fix this by making the program in such a way that it doesn't require a manifest file anymore, but this all takes time, which I don't have a lot of. I am working on it and I will also create a tutorial on how to use the rudimentary tool once I get to that.

Mervius commented 1 year ago

I fixed it. The dll it generated was bad so i deleted it and a new one was made that worked.

gitRuhi commented 1 year ago

I fixed it. The dll it generated was bad so i deleted it and a new one was made that worked.

Can u describe it more briefly?

nuadaxxx commented 1 year ago

There are requirements on how to run the program. Have a look at the help text that is provided and ensure that you enter the commands as it is asked. I am trying to fix this by making the program in such a way that it doesn't require a manifest file anymore, but this all takes time, which I don't have a lot of. I am working on it and I will also create a tutorial on how to use the rudimentary tool once I get to that.

What is with the global.ucas/utoc and "pakchunk10optional-WindowsNoEditor" it doesn't work from all other utoc i can create a Manifest.

But they're also invisible in FModel maybe it needs another tweak I don't know.. ^^

Would be nice to get your help

narknon commented 1 year ago

Global don't have any assets. That's it.