Openrocket Android motor issue

mntanabob

Member
Joined
Jan 16, 2017
Messages
10
Reaction score
21
Is there a fix for the motor error you get when trying to download motors from Thrustcurve in the Android version?

Line 2: root element does not match. Expecting www.thrustcurve.org/2008....got www.thrustcurve.org2015....
 

Cabernut

Well-Known Member
Joined
Oct 15, 2015
Messages
1,384
Reaction score
7
Android ver 13.11 is kind of broken though. Can't run sims because you can't download motors because of the issue mentioned above. I don't know of any workarounds at the moment. I also don't know of any developer working on the Android version currently. They're all focused on the desktop version, debugging and testing for the upcoming release. The Android code hasn't been changed in 4 years.

I personally might be able to help fix the Android version soon as I'm a low-level OR contributor and am familiar with Android development. Looks like it could be an easy fix, perhaps just change "2008" to "2015" in the code somewhere.
 

Cabernut

Well-Known Member
Joined
Oct 15, 2015
Messages
1,384
Reaction score
7
Yeah, I couldn't even get it to install...

Make sure you've allowed installing from unknown sources. Check in the security settings. Then download the .apk file, tap it in a file browser to start install. Once installed, its ok to disable installing from unknown sources if you like.
 

eclindholm

Member
Joined
Jun 2, 2009
Messages
8
Reaction score
0
I would expect the issue would be Openrockets as we are reading their web data. idealy, it should be in a .cfg file so it can be modified in the future.
 

Kyle Adler

Member
Joined
Sep 7, 2019
Messages
7
Reaction score
0
Hey guys, I've found a way to solve the issue. Though I have very little android development experience, the error seemed like all you had to do was replace any thrustcurve2008 query with a thrustcurve2015 one. So that's what I did, and it fixed it. There are still some other issues with mass components and fin fillets, but with this fix it allows you to run sims.

Instructions:
1) Download oponrocket apk from site
2) Decompile with a tool like APK Easy Tool
3) Search file for "openrocket" to find the folder of queries
4) Open all with something like Notepad++
5) Find and replace all "2008" with "2015"
6) Recompile and put onto phone

Let me know if you have any questions.
 

Zeke Johnson

Well-Known Member
Joined
Sep 4, 2019
Messages
83
Reaction score
53
Brain fart. I have been trying to get the Thrust Curve app to work.

Disregard my last post.
 
Top