How to find an ELF's revision –
05-12-2011,06:17 AM
Hi guys. N00b question I know, but is there any way to figure out the revision of OPL that a particular ELF is? When I first started compiling I never noted which revisions were which. Now I'm confused, and am trying to index all of my compiled OPL's in order to use specific ones. I am doing this in order to get certain games to run which don't run in certain sets of revisions. E.g. Tony Hawk's 3 & 4 are broken in the revision I am currently using, so I would need to use and older one which worked with these games. I was going to hold off on updating, but having noticed the recent fix for RL2 - WCE, I plan on updating to r587, but this means other games I play won't work. My laser is shot, and I am getting a new internal HDD to replace my broken one this week, so finally being able to use my RL2 with OPL would be awesome. Can only play it when I'm round at a mates at the moment. Any help would be appreciated.
What i do is name each ELF revision i make after the revision number (R586,R587, etc)
If you cant figure out one compiled revision you made from another, you can re-compile a new revision from BitBucket by going to the Changeset link and selecting the revision you want by selecting the 'commit' number. Then click the 'Get Source' link on that page and it will download that revision.
Just remember to name it something you will remember once you compiled it.
What i do is name each ELF revision i make after the revision number (R586,R587, etc)
If you cant figure out one compiled revision you made from another, you can re-compile a new revision from BitBucket by going to the Changeset link and selecting the revision you want by selecting the 'commit' number. Then click the 'Get Source' link on that page and it will download that revision.
Just remember to name it something you will remember once you compiled it.
I do it the same way as you, JNABK. But if I understood him correctly, he wants to know if there is a way to find out the revision number of his old OPL ELFs (which he didn't name after their revision number), without recompiling.
Unfortunately the revision number is not listed in OPL's 'About' screen, nor elsewhere in the GUI. Maybe one can find it in the ELF by using a HEX editor, but I doubt it (if that information would be stored there, the OPL devs would also add it to the GUI, wouldn't they?).
Another possibility: Use the filesize of the ELF for comparison, but I guess that's a pain in the ass
The only way i can think of for him to name his revisions (currently compiled ones) is to look at the dates and then name them from when he compiled them by looking at when he downloaded them. Thats only useful if he compiled each and every revision. If he missed any from OPLv0.8 to current, then the method i mentioned earlier is pretty much the only way im aware he can accurately name his revisions.
I havent seen any revision specific info in each of the source files from each revision, thats why i always edit the logo.png file in the GFX folder in addition to the ELF name.
I made my own OPL splash screen just for the revisions.
This way if i for some odd reason forgot to rename a revision, its displayed right in the splash screen.