Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. The Cayo Perico Heist
      2. Find Lobbies & Players
      3. Guides & Strategies
      4. Vehicles
      5. Content Creator
      6. Help & Support
    2. Red Dead Online

      1. Frontier Pursuits
      2. Find Lobbies & Outlaws
      3. Help & Support
    3. Crews

    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. Grand Theft Auto Series

    2. GTA VI

      1. St. Andrews Cathedral
    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
    6. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
    7. GTA III

      1. Guides & Strategies
      2. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Movies & TV
      5. Music
      6. Sports
      7. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    3. Gangs

    1. Announcements

    2. Support

    3. Suggestions

[REL|ALPHA|SRC] SA Version Checker


Sacky

Recommended Posts

San Andreas Version Checker Alpha 2

 

This tool checks the hash of your San Andreas executable (gta_sa.exe) and reports to you the Version of the executable you are running, for now it only works with the Supported Executables (because I don’t have any others at my disposal) however I would like to extend this to many other versions, which is why I am calling this Alpha, I expect other Alpha’s will have much more support for other versions.

 

Usage: Simply extract the downloaded executable to any directory where your gta_sa.exe is located.

Release/Source: http://gtasync.com/?p=10

License: This work is released under the Commons Attribution-Noncommercial-Share Alike 2.5 Australia License (http://creativecommons.org/licenses/by-nc-sa/2.5/au/)

 

If you get an unknown version please report the MD5 String here (or send me a copy of the executable through PM).

 

Supported Versions:

- Version 1.0 US HOODLUM

- Version 1.0 US

- Version 1.0 US Shark and Stefan188

- Version 1.0 US HOODLUM No-Intro Patch

- Version 1.01 US

- Version 2.0 US

- Version 1.0 EU

- Version 1.0 EU Cracked

- Version 1.01 EU Cracked

- Version 1.01 Deviance

Edited by Sacky
Link to post
Share on other sites

If yo usay it only supports the 1.0, How would it know if you have 1.01 or 2.00?

 

It only says if you have 1.00 or not?

Link to post
Share on other sites

 

If yo usay it only supports the 1.0, How would it know if you have 1.01 or 2.00?

 

It only says if you have 1.00 or not?

 

At the moment, but I'm releasing it here so people can tell me the MD5 codes of the versions the tool doesn't know about (the tool supplies the MD5 code). Also Alpha 2 has support for 1.0 EU Cracked.

Link to post
Share on other sites

I don't think it is a good idea to check the version using checksums (CRC, MD5, whatever). My personal gta_sa.exe, which is v1.0 US HOODLUM, is patched and tweaked many times with many patches, and your tool says its hash is unknown.

If I change the only byte in my exe, the MD5 string will be different than for the unmodded one. How can the tool recognize what version I am running then?

 

Another note: how may I report my hash string, if it's a console application with no GUI and without a copy-paste ability? Should I re-print the string by myself?

Link to post
Share on other sites

 

My personal gta_sa.exe, which is v1.0 US HOODLUM, is patched and tweaked many times with many patches, and your tool says its hash is unknown.

 

Well technically if you've patched its not the same executable, and a different version. However I could use merkle hashing tree's to alleviate this problem or maybe just byte recognition, which I was originally going to use except without an array of different executables at hand it is very hard for me to do that without producing false positives.

 

 

Another note: how may I report my hash string, if it's a console application with no GUI and without a copy-paste ability? Should I re-print the string by myself?

 

Or just copy it down... However the next version will come with a file dump.

Edited by Sacky
Link to post
Share on other sites

c8a31567f7279889cff09e49f3b8ce7a

 

Hash for Hoodlum v1.0 US that has been patched with Alexander's no-intro patch, which also removes EAX and nVidia startup "bull-crap".

 

But yeah, it would be better to have some kind of byte-recognition code, ideally being able to say what the base EXE is, and what popular patches have been made to it. Cool project tho. smile.gif

Link to post
Share on other sites

 

But yeah, it would be better to have some kind of byte-recognition code, ideally being able to say what the base EXE is, and what popular patches have been made to it. Cool project tho.

 

I'm thinking it would be better to split the file bytes up into 25kb sections then hash each one, and then match those hashes.

Link to post
Share on other sites

No offence, but this tool is almost useless until you support more exe's.

 

I mean, it will tell you your exe only if your using a 1.0 Hoolum Exe...

Well I don't need the program then do I? tounge.gif

 

Once there's much more support, this could become a VERY handy tool.

Link to post
Share on other sites

Update:

 

http://gtasync.com/?p=10

 

The Second version of this software aims to support more executables and iron out some of the user problems the old one was having.

 

New Features Include:

- Unknown Hash’s now dumped to samd5.txt

- Support for Version 1.0 US

- Support for Version 1.0 US Shark and Stefan188

- Support for Version 1.0 US HOODLUM No-Intro Patch

- Support for Version 1.01 US

- Support for Version 2.0 US

- Support for Version 1.0 EU

- Support for Version 1.0 EU Cracked

- Support for Version 1.01 EU Cracked

- Support for Version 1.01 EU Deviance

Link to post
Share on other sites

The extra versions + source will be useful, good work icon14.gif

 

Just to add a bit to what Seeman said, there's a mod called Trains For GTA which works by patching the exe. However the patching depends on what options the user specifies, so accounting for every hash is probably more effort than it's worth with the current method. But you might add a line about that to the readme or dox.

 

Ed; An actual readme would be useful too tounge.gif

Link to post
Share on other sites

yeah, there are some patches I have on my game:

http://public.sannybuilder.com/GTASA_PATCHES/

 

So, there possibly will be zillion MD5 hashes for various combinations of these patches.

 

Checking not the whole exe, but a part of it, is probably better; maybe you should read the exe header for the time it was compiled or something like that, to find out the base version number (1.0, 1.1, 2.0) at least?

Edited by Seemann
Link to post
Share on other sites
Update:

 

http://gtasync.com/?p=10

 

The Second version of this software aims to support more executables and iron out some of the user problems the old one was having.

 

New Features Include:

- Unknown Hash�s now dumped to samd5.txt

- Support for Version 1.0 US

- Support for Version 1.0 US Shark and Stefan188

- Support for Version 1.0 US HOODLUM No-Intro Patch

- Support for Version 1.01 US

- Support for Version 2.0 US

- Support for Version 1.0 EU

- Support for Version 1.0 EU Cracked

- Support for Version 1.01 EU Cracked

- Support for Version 1.01 EU Deviance

Link Dont working confused.gif

Link to post
Share on other sites

Hi all!

 

My number is:

 

99166d25f941355a866b14d427c927d1 (1.0us gta version)

 

Sacky, can you help me with this unknown version??

 

I've noted that with gta_sa.exe version, run correctly the Alexander's tools (Vehicle add and up&down light). Unfortunately doesn't work correctly the SA limit adjuster.

 

If i use the gta_sa.exe 1.0 EU run the Limit Adjuster, bat not the alexander's tool.

 

Thanks.

 

Link to post
Share on other sites

Sorry...

 

I've forgot a little specification smile.gif

 

"I've noted that with this gta_sa.exe 1.0 us version, the Alexander's tools (Vehicle add and up&down light) run correctly . Unfortunately, the streaming memory hack about the last SA limit adjuster alpha 7, doesn't work correctly.

 

If I use the gta_sa.exe 1.0 EU run the Limit Adjuster, but not the alexander's tool".

Link to post
Share on other sites

 

Sacky, can you help me with this unknown version??

 

Could you send me a copy of that executable through PM, I have my suspicions that it isn't 1.0 US.

Link to post
Share on other sites
Hari_Vatanan

I've used your SA Version Checker and it says that my gta_sa.exe is unknown.

 

The hash: 12b30440e5cebaad65ed936fdc60fcac (US 1.0)

Link to post
Share on other sites

 

I've used your SA Version Checker and it says that my gta_sa.exe is unknown.

 

Have you used any patches? Could you send me a copy of your executable through PM.

Link to post
Share on other sites

Ok, I read the whole topic.

 

I get the gist of this "tool"...

 

But wtf is the purpose? blush.gif I can't think of not one use for this "tool". blush.gif

 

-derty

Link to post
Share on other sites
Hari_Vatanan

 

I've used your SA Version Checker and it says that my gta_sa.exe is unknown.

 

Have you used any patches? Could you send me a copy of your executable through PM.

Oh, I just noticed something. Firstly, my gta_sa.exe is "modified". I've used Alexander's vehicle audio aditor tool to change some vehicle sounds, etc. Yet, I had made a backup of my original gta_sa.exe which then I checked with the SA Version Checker and it said Version 1.0 US HOODLUM. As conclusion, I'm mostly sure that the cause the SA Version Checker at first didn't successfully checked my version was because I've changed some sounds within the executable, and so, basically, I own a modified Version 1.0 US HOODLUM gta_sa.exe.

Link to post
Share on other sites

@ above: Same here. I think I have the HOODLUM exe. It's a US v1.0 install, the disc on my dusty shelf getting...dusty.

 

My hash - 4c6fa3b270e7028b31381761d08656d9

 

I have the FPS hardmodded. Not too many of these though, so I doubt it matters. Just wanted to see how it works.

 

Can we include this with SAS4? Might cut back on the "WHY WONT IT WORK" messages. lol.gif

Edited by ceedj
Link to post
Share on other sites

 

Can we include this with SAS4? Might cut back on the "WHY WONT IT WORK" messages.

 

Go ahead smile.gif, Just scan the MD5 when first injected into memory (maybe tounge.gif), or just before you hook into SA

Link to post
Share on other sites

Hey sacky, great tool, it works for meh. I'm using a US hoodlum 1.0 smile.gif But I edited the exe with Alexander's menu editor to add more languages and it now shows a unknown exe, what should I do? send exe via PM?

 

hash: 9ef40b73ee990a97204778a47c8fddab

Link to post
Share on other sites
Hey sacky, great tool, it works for meh. I'm using a US hoodlum 1.0 smile.gif But I edited the exe with Alexander's menu editor to add more languages and it now shows a unknown exe, what should I do? send exe via PM?

 

hash: 9ef40b73ee990a97204778a47c8fddab

The reason why it does this is the following:

 

MD5 is (like CRC32 or such things) a checksum-algorhytm. So this means it is an mathematical polynom which is used to compare files or other types of data (Strings,...). If you change an single bit the whole polynom will change and this gives another hash. So if you patched your EXE with Alexander's menu your exe is not exactly the same as the US 1.0 hoodlum. The polynom changes cause there are some bits diffrent and that's what gives another hash.

 

So Sacky's tool just calculate these hashes and compares them to these people post here. If it found something it will show you to which EXE Version the hash belongs.

 

Pretty simple I think ^^

 

So I don't think that you need to send the exe through PM to Sacky

Link to post
Share on other sites
Hey sacky, great tool, it works for meh. I'm using a US hoodlum 1.0  smile.gif But I edited the exe with Alexander's menu editor to add more languages and it now shows a unknown exe, what should I do? send exe via PM?

 

hash: 9ef40b73ee990a97204778a47c8fddab

The reason why it does this is the following:

 

MD5 is (like CRC32 or such things) a checksum-algorhytm. So this means it is an mathematical polynom which is used to compare files or other types of data (Strings,...). If you change an single bit the whole polynom will change and this gives another hash. So if you patched your EXE with Alexander's menu your exe is not exactly the same as the US 1.0 hoodlum. The polynom changes cause there are some bits diffrent and that's what gives another hash.

 

So Sacky's tool just calculate these hashes and compares them to these people post here. If it found something it will show you to which EXE Version the hash belongs.

 

Pretty simple I think ^^

 

So I don't think that you need to send the exe through PM to Sacky

Yeah, I know what it does, i readed the whole topic. Just if he wanted my exe so it can be added to the list or something smile.gif

Link to post
Share on other sites

 

Hey sacky, great tool, it works for meh. I'm using a US hoodlum 1.0  But I edited the exe with Alexander's menu editor to add more languages and it now shows a unknown exe, what should I do? send exe via PM?

If you use one tool - use it up to the end... If you use tools Sacky - use only them...

Link to post
Share on other sites

 

Hi all!

 

My number is:

 

99166d25f941355a866b14d427c927d1 (1.0us gta version)

 

Sacky, can you help me with this unknown version??

 

I've noted that with gta_sa.exe version, run correctly the Alexander's tools (Vehicle add and up&down light). Unfortunately doesn't work correctly the SA limit adjuster.

 

If i use the gta_sa.exe 1.0 EU run the Limit Adjuster, bat not the alexander's tool.

 

Thanks.

 

 

 

Hi sacky!

 

sorry for the delay wink.gif

Now i've a 1.0 Us HOODLUM version and i haven't any problem.

 

(i've forgot that my old version 99166d25f941355a866b14d427c927d1 was modified by patch)

 

TNX!

 

Link to post
Share on other sites

But What Is This Even For? JUST compatibility? Is this for developing some kind

of app that will bridge the gaps in versions?

 

 

derty grows hair, pulls it out
Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.