Distinguish Oolite and Oolite Debug version?

General discussion for players of Oolite.

Moderators: winston, another_commander

Post Reply
User avatar
hiran
Theorethicist
Posts: 2403
Joined: Fri Mar 26, 2021 1:39 pm
Location: a parallel world I created for myself. Some call it a singularity...

Distinguish Oolite and Oolite Debug version?

Post by hiran »

If you just know the path to some Oolite installation, is there a secure way to tell whether it is the 'normal' or the 'debug' version just by looking at the files?
Sunshine - Moonlight - Good Times - Oolite
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: Distinguish Oolite and Oolite Debug version?

Post by Cody »

I've probably misunderstood*, but debug versions have odd numbers (1.91), whereas normal versions have even numbers (1.90).




It's Sunday, and I ain't had my morning caffeine fix yet!
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6682
Joined: Wed Feb 28, 2007 7:54 am

Re: Distinguish Oolite and Oolite Debug version?

Post by another_commander »

Regarding Windows 64-bit and Oolite version 1.90:
1. The debug version installs the folder <gameInstallFolder>/AddOns and inside it the folder Basic-debug.oxp along with all its files. The "normal" version does not install these folders.
2. The game executable of the "normal" version has a size of 5,472,768 bytes. The debug release executable has a size of 6,234,112 bytes.
User avatar
hiran
Theorethicist
Posts: 2403
Joined: Fri Mar 26, 2021 1:39 pm
Location: a parallel world I created for myself. Some call it a singularity...

Re: Distinguish Oolite and Oolite Debug version?

Post by hiran »

another_commander wrote: Sun Aug 22, 2021 9:51 am
Regarding Windows 64-bit and Oolite version 1.90:
1. The debug version installs the folder <gameInstallFolder>/AddOns and inside it the folder Basic-debug.oxp along with all its files. The "normal" version does not install these folders.
2. The game executable of the "normal" version has a size of 5,472,768 bytes. The debug release executable has a size of 6,234,112 bytes.
Number one sounds like a good criteria. Number two looks a bit volatile as future builds will definitely modify file sizes.

I will try the first one then... :-)

Edit: I can confirm the Linux version behaves the same way.
Sunshine - Moonlight - Good Times - Oolite
User avatar
Cholmondely
Archivist
Archivist
Posts: 5365
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: Distinguish Oolite and Oolite Debug version?

Post by Cholmondely »

hiran wrote: Sun Aug 22, 2021 9:57 am
another_commander wrote: Sun Aug 22, 2021 9:51 am
Regarding Windows 64-bit and Oolite version 1.90:
1. The debug version installs the folder <gameInstallFolder>/AddOns and inside it the folder Basic-debug.oxp along with all its files. The "normal" version does not install these folders.
2. The game executable of the "normal" version has a size of 5,472,768 bytes. The debug release executable has a size of 6,234,112 bytes.
Number one sounds like a good criteria. Number two looks a bit volatile as future builds will definitely modify file sizes.

I will try the first one then... :-)

Edit: I can confirm the Linux version behaves the same way.
So I've three versions on my desktop which I use: Oolite 1.77, Oolite 1.90 & Oolite 1.9TR (debug version) all labelled accordingly. The old version is good for old OXP's (before cim's changes), and Spara had me add the debug version for his tutorial on the SothisTC oxp.
Comments wanted:
Missing OXPs? What do you think is missing?
Lore: The economics of ship building How many built for Aronar?
Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
User avatar
hiran
Theorethicist
Posts: 2403
Joined: Fri Mar 26, 2021 1:39 pm
Location: a parallel world I created for myself. Some call it a singularity...

Re: Distinguish Oolite and Oolite Debug version?

Post by hiran »

Cholmondely wrote: Sun Aug 22, 2021 10:40 am
hiran wrote: Sun Aug 22, 2021 9:57 am
another_commander wrote: Sun Aug 22, 2021 9:51 am
Regarding Windows 64-bit and Oolite version 1.90:
1. The debug version installs the folder <gameInstallFolder>/AddOns and inside it the folder Basic-debug.oxp along with all its files. The "normal" version does not install these folders.
2. The game executable of the "normal" version has a size of 5,472,768 bytes. The debug release executable has a size of 6,234,112 bytes.
Number one sounds like a good criteria. Number two looks a bit volatile as future builds will definitely modify file sizes.

I will try the first one then... :-)

Edit: I can confirm the Linux version behaves the same way.
So I've three versions on my desktop which I use: Oolite 1.77, Oolite 1.90 & Oolite 1.9TR (debug version) all labelled accordingly. The old version is good for old OXP's (before cim's changes), and Spara had me add the debug version for his tutorial on the SothisTC oxp.
...and the Oolite Communicator requires the debug version to be launched - the others do not contain the Debug Console protocol and thus would never speak to the communicator.

Since the current version is able to automatically launch Oolite (it just needs to be configured where Oolite is installed) in future it checks and warns the user if no debug version is found.
Sunshine - Moonlight - Good Times - Oolite
Post Reply