0 Members and 1 Guest are viewing this topic.
br.com.pinter.tqrespec.core.UnhandledRuntimeException: Error loading text resource at br.com.pinter.tqrespec/br.com.pinter.tqrespec.tqdata.Txt.preload(Txt.java:70) at br.com.pinter.tqrespec/br.com.pinter.tqrespec.Main$2.call(Main.java:180) at br.com.pinter.tqrespec/br.com.pinter.tqrespec.Main$2.call(Main.java:170) at javafx.graphics/javafx.concurrent.Task$TaskCallable.call(Task.java:1426) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.lang.Thread.run(Thread.java:833)Caused by: java.io.IOException: StorageType not implemented: 0 at br.com.pinter.tqdatabase/br.com.pinter.tqdatabase.models.StorageType.lambda$valueOf$1(StorageType.java:38) at java.base/java.util.Optional.orElseThrow(Optional.java:403) at br.com.pinter.tqdatabase/br.com.pinter.tqdatabase.models.StorageType.valueOf(StorageType.java:38) at br.com.pinter.tqdatabase/br.com.pinter.tqdatabase.data.ArcFile.<init>(ArcFile.java:123) at br.com.pinter.tqdatabase/br.com.pinter.tqdatabase.data.ResourceReader.<init>(ResourceReader.java:38) at br.com.pinter.tqdatabase/br.com.pinter.tqdatabase.data.ResourceReader$Builder.build(ResourceReader.java:99) at br.com.pinter.tqdatabase/br.com.pinter.tqdatabase.Text.loadText(Text.java:129) at br.com.pinter.tqdatabase/br.com.pinter.tqdatabase.Text.loadTextFromAllPaths(Text.java:112) at br.com.pinter.tqdatabase/br.com.pinter.tqdatabase.Text.preload(Text.java:83) at br.com.pinter.tqrespec/br.com.pinter.tqrespec.tqdata.Txt.preload(Txt.java:68) ... 5 more
x3tagSkillStormBlizzard=Blizzardx3tagSkillStormBlizzardDesc=Cast a whirlwind of icy air that slows and freezes your enemies.
I just started playing TQ AE again (2.10.5) and ran into a strange problem with TQRespec (0.11.2), which I haven't noticed previously in an older version of the tool. When I start TQRespec it throws an error message:Spoiler for Hiden: Code: [Select]br.com.pinter.tqrespec.core.UnhandledRuntimeException: Error loading text resource at br.com.pinter.tqrespec/br.com.pinter.tqrespec.tqdata.Txt.preload(Txt.java:70) at br.com.pinter.tqrespec/br.com.pinter.tqrespec.Main$2.call(Main.java:180) at br.com.pinter.tqrespec/br.com.pinter.tqrespec.Main$2.call(Main.java:170) at javafx.graphics/javafx.concurrent.Task$TaskCallable.call(Task.java:1426) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.lang.Thread.run(Thread.java:833)Caused by: java.io.IOException: StorageType not implemented: 0 at br.com.pinter.tqdatabase/br.com.pinter.tqdatabase.models.StorageType.lambda$valueOf$1(StorageType.java:38) at java.base/java.util.Optional.orElseThrow(Optional.java:403) at br.com.pinter.tqdatabase/br.com.pinter.tqdatabase.models.StorageType.valueOf(StorageType.java:38) at br.com.pinter.tqdatabase/br.com.pinter.tqdatabase.data.ArcFile.<init>(ArcFile.java:123) at br.com.pinter.tqdatabase/br.com.pinter.tqdatabase.data.ResourceReader.<init>(ResourceReader.java:38) at br.com.pinter.tqdatabase/br.com.pinter.tqdatabase.data.ResourceReader$Builder.build(ResourceReader.java:99) at br.com.pinter.tqdatabase/br.com.pinter.tqdatabase.Text.loadText(Text.java:129) at br.com.pinter.tqdatabase/br.com.pinter.tqdatabase.Text.loadTextFromAllPaths(Text.java:112) at br.com.pinter.tqdatabase/br.com.pinter.tqdatabase.Text.preload(Text.java:83) at br.com.pinter.tqrespec/br.com.pinter.tqrespec.tqdata.Txt.preload(Txt.java:68) ... 5 moreThe reason for this message is the "Text\Text_EN.arc" file, which I have modified to add text for a new skill. What I did is add these lines to "skills.txt":Code: [Select]x3tagSkillStormBlizzard=Blizzardx3tagSkillStormBlizzardDesc=Cast a whirlwind of icy air that slows and freezes your enemies.Is it a known issue that modifications to the English text file break TQRespec?
Your changes in the text should work. The .arc is being created in a way that is not parsed correctly by TQRespec. The message "StorageType not implemented: 0" from the stacktrace above means a field in the .ARC that should be 1(uncompressed) or 3(compressed), is set as 0. How did you create this .arc ? If you tell me the tool and options used, maybe I can reproduce and fix this issue.
ArchiveTool.exe Text\Text_EN.arc -update skills.txt .\ 9
Quote from: epinter on 30 August 2022, 15:45:48Your changes in the text should work. The .arc is being created in a way that is not parsed correctly by TQRespec. The message "StorageType not implemented: 0" from the stacktrace above means a field in the .ARC that should be 1(uncompressed) or 3(compressed), is set as 0. How did you create this .arc ? If you tell me the tool and options used, maybe I can reproduce and fix this issue.I placed the modified "skills.txt in the TQ AE folder and then used the "ArchiveTool.exe" that comes with the game.The command was:Code: [Select]ArchiveTool.exe Text\Text_EN.arc -update skills.txt .\ 9
I published a new version(0.11.3) with the problem fixed.
Downloaded and opened the respec tool. But for some reason i can't chose the charecter that i want to edit? It only shows 3 out of 5 charecters in the select menu, but when i click the "watch chraecters" button, i can see the one i wanna edit, but i can't make the respec tool to open it.I can only archive and explore the charecter, but not open it to edit.Any advice?
Quote from: Zjapper on 22 August 2023, 20:58:21Downloaded and opened the respec tool. But for some reason i can't chose the charecter that i want to edit? It only shows 3 out of 5 charecters in the select menu, but when i click the "watch chraecters" button, i can see the one i wanna edit, but i can't make the respec tool to open it.I can only archive and explore the charecter, but not open it to edit.Any advice?See if the characters appears in the list as "Mod". Mod characters editing are not supported.At some point, THQ Nordic told they would support multiple simultaneous mod in Titan Quest, since then I kept waiting the feature to appear in the game to start development in TQRespec, and they never released the feature. I will take look at this when I have free time, but no promises.