mafaca / UtinyRipper

GUI and API library to work with Engine assets, serialized and bundle files
MIT License
2.81k stars 432 forks source link

Error message: Magic number doesn't match #1220

Open KPro1982 opened 2 years ago

KPro1982 commented 2 years ago

Game name: Valheim Engine version: 2019.4.20 Platform: (specify platform, if known)

Error message: Magic number doesn't match

Stack trace: at uTinyRipperGUI.Exporters.ShaderDXExporter.Export(ShaderWriter writer, ShaderSubProgram& subProgram) at uTinyRipperGUI.Exporters.ShaderHLSLccExporter.Export(ShaderWriter writer, ShaderSubProgram& subProgram) at uTinyRipper.Classes.Shaders.ShaderSubProgram.Export(ShaderWriter writer, ShaderType type) at uTinyRipper.Classes.Shaders.SerializedSubProgram.Export(ShaderWriter writer, ShaderType type, Boolean isTier) at uTinyRipper.Classes.Shaders.SerializedProgram.Export(ShaderWriter writer, ShaderType type) at uTinyRipper.Classes.Shaders.SerializedPass.Export(ShaderWriter writer) at uTinyRipper.Classes.Shaders.SerializedSubShader.Export(ShaderWriter writer) at uTinyRipper.Classes.Shaders.SerializedShader.Export(ShaderWriter writer) at uTinyRipper.Classes.Shader.ExportBinary(IExportContainer container, Stream stream, Func3 exporterInstantiator) at uTinyRipperGUI.Exporters.ShaderAssetExporter.Export(IExportContainer container, Object asset, String path) at uTinyRipper.Project.AssetExportCollection.Export(ProjectAssetContainer container, String dirPath) at uTinyRipper.Converters.ProjectExporter.Export(String path, GameCollection fileCollection, IEnumerable1 files, ExportOptions options) at uTinyRipper.GameStructure.Export(String exportPath, Func`2 filter) at uTinyRipperGUI.MainWindow.ExportFiles(Object data)

ds5678 commented 2 years ago

uTinyRipper has been abandoned, but you can try my AssetRipper fork. In the event that AssetRipper encounters issues while ripping your files, feel free to post an issue on that repository.

AssetRipper is actively being developed with the intent to recover games as best as possible. I encourage you to help out if you're able and willing. Code contributions can be submitted via pull requests.

If you like the work I've done and want to see it continue, please consider sponsoring me. It really does help with development. These are some of the notable things I've implemented since taking over development:

Links:

KPro1982 commented 2 years ago

Tx. AssetRipper worked.

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows


From: ds5678 @.> Sent: Tuesday, March 8, 2022 1:11:05 PM To: mafaca/UtinyRipper @.> Cc: KPro1982 @.>; Author @.> Subject: Re: [mafaca/UtinyRipper] Error message: Magic number doesn't match (Issue #1220)

uTinyRipper has been abandoned, but you can try my AssetRipperhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAssetRipper%2FAssetRipper&data=04%7C01%7C%7C2f4beef74f3e4ff8717108da014828c0%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637823706675986096%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=RDUBrq8amrT8s39v4fEzLxKguwQpWlWPOtG9EMhYtAk%3D&reserved=0 fork. In the event that AssetRipperhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAssetRipper%2FAssetRipper&data=04%7C01%7C%7C2f4beef74f3e4ff8717108da014828c0%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637823706675986096%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=RDUBrq8amrT8s39v4fEzLxKguwQpWlWPOtG9EMhYtAk%3D&reserved=0 encounters issues while ripping your files, feel free to post an issuehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAssetRipper%2FAssetRipper%2Fissues&data=04%7C01%7C%7C2f4beef74f3e4ff8717108da014828c0%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637823706675986096%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=umMY%2BiVrn7L3DUpvNUd5Ysfw0Kuv9kHN0uKMKagA8zQ%3D&reserved=0 on that repository.

AssetRipperhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAssetRipper%2FAssetRipper&data=04%7C01%7C%7C2f4beef74f3e4ff8717108da014828c0%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637823706675986096%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=RDUBrq8amrT8s39v4fEzLxKguwQpWlWPOtG9EMhYtAk%3D&reserved=0 is actively being developed with the intent to recover games as best as possible. I encourage you to help out if you're able and willing. Code contributions can be submitted via pull requestshttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAssetRipper%2FAssetRipper%2Fpulls&data=04%7C01%7C%7C2f4beef74f3e4ff8717108da014828c0%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637823706675986096%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=LjvYO9eTS207DF76hSzoF5A1eh9OD92QyPhyPMzaiBs%3D&reserved=0.

If you like the work I've done and want to see it continue, please consider sponsoring me. It really does help with development. These are some of the notable things I've implemented since taking over development:

Links:

— Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmafaca%2FUtinyRipper%2Fissues%2F1220%23issuecomment-1062213390&data=04%7C01%7C%7C2f4beef74f3e4ff8717108da014828c0%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637823706675986096%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=d%2FS7UYmQ52QgHFrQB8yrZ2i2sMlF%2BANHbwF5emwxoVc%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAKRD3G5UEWXHC4MDMYMAOF3U6666TANCNFSM5QHOTGQA&data=04%7C01%7C%7C2f4beef74f3e4ff8717108da014828c0%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637823706675986096%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=upg4FD40rtSpn60BiWPnEWzfs9kOHzw9RVoyD1TCSvc%3D&reserved=0. Triage notifications on the go with GitHub Mobile for iOShttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04%7C01%7C%7C2f4beef74f3e4ff8717108da014828c0%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637823706675986096%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=9EtpnQvF%2BsyIYaT300PRkDyPItHV3y%2FQrNmvefYloek%3D&reserved=0 or Androidhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04%7C01%7C%7C2f4beef74f3e4ff8717108da014828c0%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637823706676142310%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=aqJymhkO5YSQB5ubbdGIz4kw8MGb6X52MFTCo%2B%2FCiLI%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.***>