An Open Rocket Problem

marintse

Member
Joined
Jul 25, 2017
Messages
23
Reaction score
8
Hope I'm posting this in the right place. I don't know where else to go.
There is a glitch in a part of Open Rocket: When you are building a design and choose the following nosecone - Rocketarium BT-70 7.5" - it will NOT save the design. Instead it will show ERROR MESSAGE - ERROR OPENING FILE. EXCEPTION LOADING STREAM: MALFORMED XML IN INPUT.
 

neil_w

OpenRocketeer
TRF Supporter
Joined
Jul 14, 2015
Messages
15,443
Reaction score
9,452
Location
Northern NJ
Hmm, works OK for me.

Are you saying it won't *save*, or it won't *re-open*? What version of OR are you running? If the problem is in re-opening, can you post the ORK file?
 

SiboVG

OpenRocket Developer
Joined
Feb 27, 2022
Messages
88
Reaction score
130
Location
Leuven, Belgium
There was indeed an issue with saving when a component from the part database contains characters such as a double quote (see GitHub issue). My recommendation is to load the rocketarium part, then change one of the nose cone parameter and then change it back. This will cause the component preset to be marked as Custom instead of 'Rocketarium BT-70 7.5"'.

So: change e.g. the shape paramater to 0.9, then changing it back to 1 and save again. Opening the .ork file should now work.

This issue has been fixed after the 22.02 release and will be included in the next release.

PS: @neil_w the issue is with re-opening the file, not with saving it.

PPS: @marintse if you post your .ork file here we can manually fix it so you can continue where you left off.
 

marintse

Member
Joined
Jul 25, 2017
Messages
23
Reaction score
8
The error message appears when I attempt to re-open the .ork file. It is attached.
 

Attachments

  • ARC24.ork
    708 bytes · Views: 0

marintse

Member
Joined
Jul 25, 2017
Messages
23
Reaction score
8
Hmm, works OK for me.

Are you saying it won't *save*, or it won't *re-open*? What version of OR are you running? If the problem is in re-opening, can you post the ORK file?
PS - I am using the very latest .ork -- 22.02
 

Grog6

Well-Known Member
TRF Supporter
Joined
Jul 18, 2021
Messages
910
Reaction score
795
Location
Oak Ridge TN
Is there a reason to save it as a binary file; seem like an "open" program would save in an ascii file, for easy modification. I used to do binary files, but when storagew became huge and cheap, I never looked back.
 

neil_w

OpenRocketeer
TRF Supporter
Joined
Jul 14, 2015
Messages
15,443
Reaction score
9,452
Location
Northern NJ
It's actually a zip file. If you change the extension from ORK to ZIP, you can unzip it and look inside. The file we're discussing is a plain text XML file inside the ZIP. The other thing that might be in there is a folder of texture (decal) images. That's why it needs to be an archive, to hold the extra binary data of images. We might also shove other stuff in there in the future.

But it's quite open for you to explore and edit.
 
Top