Announcement: Be excellent to each other.


Caravel Forum : DROD Boards : Bugs : Exported hold does not import (file corrupted)
New Topic New Poll Post Reply
Poster Message
Joke Adam
Level: Goblin
Rank Points: 16
Registered: 04-11-2025
IP: Logged
icon Exported hold does not import (file corrupted) (+1)  
I don't know whether it is a Drod bug or a user error (mine), but here goes. Got a new computer. Installed Drod (The second sky) from GOG Galaxy. Exported two homemade holds from the old computer into files. The first imported perfectly, the second one (of course the biggest one) did not, error message was "File corrupted".
What I tried:
- a new export and import with another filename
- added a roach to change the hold, exported and imported again
These did not work. Any idea what to try next?
04-11-2025 at 09:17 PM
View Profile Send Private Message to User Show all user's posts Quote Reply
mrimer
Level: Legendary Smitemaster
Avatar
Rank Points: 5460
Registered: 02-04-2003
IP: Logged
icon Re: Exported hold does not import (file corrupted) (+2)  
Hi, sorry for the inconvenience. Would you please
* confirm the game OS and version (in the top-right corner of the Title Screen)
* share the size of the hold file that's failing to import?

These might provide clues as to the problem.
04-11-2025 at 11:25 PM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores This architect's holds Quote Reply
Joke Adam
Level: Goblin
Rank Points: 16
Registered: 04-11-2025
IP: Logged
icon Re: Exported hold does not import (file corrupted) (+1)  
Thanks for looking into the issue!
The version (both old and new) is 5.1.1.539. I found this number in the top left corner, nothing to see in the top right corner though. The size of the file is 27 kB.

[Last edited by Joke Adam at 04-12-2025 07:16 AM]
04-12-2025 at 07:14 AM
View Profile Send Private Message to User Show all user's posts Quote Reply
mrimer
Level: Legendary Smitemaster
Avatar
Rank Points: 5460
Registered: 02-04-2003
IP: Logged
icon Re: Exported hold does not import (file corrupted) (+1)  
Thanks! I anticipate we'll be providing a 5.2 build on GOG in the near future once the version is officially released here on the Caravel Forum. Would it be alright if you posted the hold file that can't import here so we can troubleshoot whether this issue is fixed in the latest version?
04-12-2025 at 06:34 PM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores This architect's holds Quote Reply
Joke Adam
Level: Goblin
Rank Points: 16
Registered: 04-11-2025
IP: Logged

File: koninginrijk.hold (26.8 KB)
Downloaded 6 times.
License: Public Domain
icon Re: Exported hold does not import (file corrupted) (+2)  
Many thanks! I still think there might be some user error here. The hold is not ready at all and might contain (character scripting) errors. It's my daughter's and I did not revise everything. Could that cause an issue?
Here's the file.
04-13-2025 at 02:46 PM
View Profile Send Private Message to User Show all user's posts Quote Reply
hyperme
Level: Smitemaster
Avatar
Rank Points: 1498
Registered: 06-23-2006
IP: Logged
icon Re: Exported hold does not import (file corrupted) (+2)  
Tried importing this in 5.2, and it did not import. Looking in it via the debugger, and it appears to fail when importing a scripted character, due to a bad speech reference.

That points to a problem somewhere, since DROD shouldn't be exporting bad speech references.

____________________________
[Insert witty comment here]
Qzvlkx?
04-23-2025 at 05:20 PM
View Profile Send Private Message to User Show all user's posts High Scores This architect's holds Quote Reply
skell
Level: Legendary Smitemaster
Avatar
Rank Points: 3876
Registered: 12-28-2004
IP: Logged

File: sofies koningingrijk.hold (29.1 KB)
Downloaded 3 times.
License: Public Domain
icon Re: Exported hold does not import (file corrupted) (+2)  
I checked the hold with my DROD Hold Tool to see if it can tell me anything of interest and here are some random thoughts:
- The problematic speech has ID 10068
- It's in room 1W on Level paleis2
- There are two monsters in that room, both are characters but only one of them has the problematic speech (it's the monster at position 10,8)
- It's the second command (index=1) in that character

There are 4 more speeches with the same problem with IDs 10069, 10070, 10071 and 10072.

I've attached a hold that replaces the problematic commands with Move(-99, -99) and it seems to import into TSS.

Would still be great if we can figure out what caused it.

@hyperme in TCB I encountered once an interesting bug - by copy pasting speech that had a sound file attached to it and then removing the sound from the pasted speech it also removed the data which broke the link in the original speech. I don't think it works like that in TSS anymore (or maybe it does?) and it's link to data, not speech, but figured I'll share it in case it causes some dots to get connected.

____________________________
My website
04-23-2025 at 07:33 PM
View Profile Send Private Message to User Send Email to User Visit Homepage Show all user's posts High Scores This architect's holds Quote Reply
Joke Adam
Level: Goblin
Rank Points: 16
Registered: 04-11-2025
IP: Logged
icon Re: Exported hold does not import (file corrupted) (+2)  
Thank you so much everyone! I was able to import the hold modified by @skell. Can't wait to show my daughter, she'll love it!
05-12-2025 at 03:07 PM
View Profile Send Private Message to User Show all user's posts Quote Reply
New Topic New Poll Post Reply
Caravel Forum : DROD Boards : Bugs : Exported hold does not import (file corrupted)
Surf To:


Forum Rules:
Can I post a new topic? No
Can I reply? No
Can I read? Yes
HTML Enabled? No
UBBC Enabled? Yes
Words Filter Enable? No

Contact Us | CaravelGames.com

Powered by: tForum tForumHacks Edition b0.98.9
Originally created by Toan Huynh (Copyright © 2000)
Enhanced by the tForumHacks team and the Caravel team.