mafaca / UtinyRipper

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

Magic number doesn't match #1282

Open nhvu95 opened 2 years ago

nhvu95 commented 2 years ago

Game name: Rise of Kingdom Engine version: (specify engine version, if known) Platform: PC

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. Weekly releases are normally on Sunday or Monday. 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:

Sponsorship Links: