• Welcome to the Cricket Web forums, one of the biggest forums in the world dedicated to cricket.

    You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join the Cricket Web community today!

    If you have any problems with the registration process or your account login, please contact us.

*Official* ICC2002 Editing Developments

IsuraE

School Boy/Girl Captain
Just to clarify, are all the numbers there for 1 player (ie all 13 lines are for just saggers). We should be able to use educated guesses to figure out the rest of data format. It seems logically organized, so probably batting attributes then bowling attributes follow.
 

IsuraE

School Boy/Girl Captain
By the way, maybe someone should try to contact empire, there might be a chance that they will release atleast the format of the data file.
 

Neil Pickup

Cricket Web Moderator
Good idea WRT contacting Empire.

All those 13 lines are for Saggers. And there are several more lines of data for non-wicketkeepers too..

Would very much like Empire to give us some info here!
 

Magrat Garlick

Global Moderator
Neil Pickup said:
Just so you know the status:

00 C9 B8 40 BIRTHDATE 00 06 52 6F 6E 61 6C 64 FORENAME 07 53 61 67 67 65 72 73 SURNAME 03 52 41 53 INITIALS 31 SALARY 00 00 00 38 00 00 00 2D 00 00 00 20 NATIONALITY 20 00 80 C0 02 EF 04 07 38 00 00 24 00 93 07 00 00 00 00 00 00 00 00 5A 00 00 00 07 00 D6 01 00 00 04 00 00 00 08 0F 15 84 00 03 73 00 90 07 00 00 00 00 00 00 00 00 9A 00 00 00 17 00 0E 03 00 00 15 00 00 00 19 01 01 0A 00 00 08 00 00 00 01 02 00 00 00 00 00 00 4F 00 00 00 02 00 00 00 00 00 00 00 00 00 2A 01 04 0F 00 00 0A 00 9C 07 00 00 00 00 00 00 00 00 5A 00 00 00 02 00 45 00 00 00 01 00 00 00 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 19 00 0C 00 00 00 00 6F 00 0C 02 19 00 0C 00 00 00 00 6F 00 0C 02 19 00 0C 00 00 00 00 6F 00 0C 02 19 00 0C 00 00 00 00 6F 00 0C 02 19 00 0C 00 00 00 00 6F 00 0C 02 19 00 0C 00 00 00 00 6F 00 0C 02 19 00 0C 00 00 00 00 6F 00 0C 02 19 00 0C 00 00 00 00 6F 00 0C 02 19 00 0C 00 00 00 00 6F 00 0C 02 19 00 0C 00 00 00 00 6F 00 0C 02 19 00 0C 00 00 00 00 6F 00 0C 02 19 00 0C 00 00 00 00 6F 00 0C 02 7D 82 00 00 00 00 00 C0 03 00 00 00 00 00 00 C0 03 00 00 00 04 00 91 91 7F AA 8A 05 0C C8 DE 02 30 00 00 00 0E 00 01 80 38 0E 00 00 00 00 00 00 00 00 00

Is the Hexadecimal code for Ronald Saggers (without the text) - the colours show how far I've got with deciphering it...

I now need a break, others are welcome to keep up the work.
I'd hazard a guess that those 01, 02, 03 might be for controlling "front foot preferences, bowling preferences" etc. :duh: Try to change them and see if it crashes...
 

Graham

3rd Umpire
What I really want is a fix to stop spinners wrecking the international game!
Will that eventually be a possibility Neil?
 

Neil Pickup

Cricket Web Moderator
Samuel_Vimes said:
I'd hazard a guess that those 01, 02, 03 might be for controlling "front foot preferences, bowling preferences" etc. :duh: Try to change them and see if it crashes...
All of the players' attributes and stats are covered in those offsets (digits) - it's just a case of finding which is which. And it takes a long, long time.

Graham - very, very unlikely. All we can do here is to edit the starting databases, and whilst this may serve to allow us to reduce the spinners' abilities at the start, it won't help reduce future genius rookies. The only way it would change would be an outrageously lucky (i.e. more fortunate than me clean bowling Tendulkar on three successive balls) edit in the main cricket.exe file.

Unless we get some more information, that is :)
 

Magrat Garlick

Global Moderator
Neil Pickup said:
All of the players' attributes and stats are covered in those offsets (digits) - it's just a case of finding which is which. And it takes a long, long time.
Heh. What I meant was, the small numbers are probably the preferences (as there are few of them) while the bigger numbers are the actual batting/bowling abilities. Just a guess though.
 

Eclipse

International Debutant
Sweet I will have a go today.

It would be so sweet if somone could creat an Editor. I sadly dont have that much coding skill as of yet but I can help cracking the code.
 

IsuraE

School Boy/Girl Captain
Neil, what do you think the first two lines in the file are. Since your listing for saggers starts on line three. I'm hacking away slowly at the moment...
 

Cloete

International Captain
Keep up the good work everyone. Hopefully it will be done sooner or later. Has anyone tried contacting Empire?
 

Neil Pickup

Cricket Web Moderator
IsuraE said:
Neil, what do you think the first two lines in the file are. Since your listing for saggers starts on line three. I'm hacking away slowly at the moment...
Not at all sure yet.

Cloete - not yet.
 

Magrat Garlick

Global Moderator
Things are improving. Although this has been done on the ICC 2000 demo, I'm pretty sure the coding is the same for all databases.

Marvan Atapattu's file, with the same format as Neil is using - will be edited as soon as more progress is made:

D9 40 00 06 BIRTHDATE 4D 61 72 76 61 6E FORENAME 08 41 74 61 70 61 74 74 75 SURNAME 03 4D 53 41 INITIALS 80 00 00 00 SALARY 89 00 00 00 73 00 00 00 80 NATIONALITY 27 CONTRACT 00 E0 TYPE OF GAMES PLAYED F0 02
Game type 1:A9 1F NUMBER OF RUNS 24 NOT OUTS B6 00 INNINGS 1B CENTURIES 81 00 MATCHES C4 07 DEBUT 00 00 00 NUMBER OF BALLS FACED 00 00 00 00 00 FD 00 HIGHEST SCORE01 "H.S. NOT OUT" 00 1F 00 FIFTIES 0C 00 00 00 05 CATCHINGS AND STUMPINGS 00 00 00

The same system goes for these numbers. Game types are: 1 = First Class, 2 = Tests, 3 = ODIs, 4 = List A. The batting statistics must be closed with one line of 30 zeroes and C6 07, followed by another of 32 zeroes.
Tests: 3B 06 05 39 00 03 20 00 C6 07 00 00 00 00 00 00 00 00 DF 00 00 00 04 00 09 00 00 00 01 00 00 00

ODIs: E8 0A 0A 5A 00 03 5C 00 C6 07 00 00 00 00 00 00 00 00 84 00 01 00 15 00 11 02 00 00 02 00 00 00

Useless lines: 00 00 00 00 00 00 00 00 C6 07 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

These are "last year"s batting statistics, using the same system.

FC: 06 00 00 01 00 00 01 00 D0 07 00 00 00 00 00 00 00 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00

Tests: F1 01 02 10 00 01 09 00 D0 07 00 00 00 00 00 00 00 00 D8 00 01 00 01 00 0C 00 00 00 00 00 00 00

ODIs: FC 02 02 16 00 01 17 00 00 00 00 00 00 00 00 00 00 00 77 00 01 00 07 00 55 00 00 00 00 00 00 00

Yet to be uncovered:

E0 80 00 26 60 51 00 5A 01 00 00 03 13 00 00 02 00 03 00 0C 00 00 00 01 09 00 00 01 30 03 00 14 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 36 00 0C 00 00 00 00 52 00 0C 02 36 00 0C 00 00 00 00 52 00 0C 02 36 00 0C 00 00 00 00 52 00 0C 02 36 00 0C 00 00 00 00 52 00 0C 02 36 00 0C 00 00 00 00 52 00 0C 02 36 00 0C 00 00 00 00 52 00 0C 02 36 00 0C 00 00 00 00 52 00 0C 02 36 00 0C 00 00 00 00 52 00 0C 02 36 00 0C 00 00 00 00 52 00 0C 02 36 00 0C 00 00 00 00 52 00 0C 02 36 00 0C 00 00 00 00 52 00 0C 02 36 00 0C 00 00 00 00 52 00 0C 02 80 80 00 00 00 00 00 C0 03 00 00 00 00 00 00 C0 03 00 00 00 04 D8 A0 49 56 0A 86 0D 08 A8 BC 01 38 00 00 00 FB 01 01 80 91 FB 01 00 00 00 00 00 00 00 00 80 54 DA
 
Last edited:

gio

U19 Cricketer
Whenever I run the program provided on the cricketgames site, it opens and closes again in a flash. Is it because I have ICC 2001? What directory should the program be in?
 

Magrat Garlick

Global Moderator
gio said:
Whenever I run the program provided on the cricketgames site, it opens and closes again in a flash. Is it because I have ICC 2001? What directory should the program be in?
It should close in a flash - it works correctly then. What you need is a hex editor - one of which can be downloaded further up the site. The program should be in the same directory as the ICC program.

Now, if you have followed the instructions on the cricketgames site, a new file should be created called - well, whatever you have chosen to call it. Let's call it "decrypteddatat.txt". What you now do is, open it with the hex editor, and just change the numbers around. With a bit of luck, you should be able to find what's going on in the file.
 

gio

U19 Cricketer
thanks sam, i discovered that i wasnt using the prgram prpoerly. What i did was use C:\ prompt (Start>accesories) and ran it from there. Anyway, i have created the decrypted files and I'm trying to figure everything else.

How are these databses generally structured? is it easier to convert to binary and then into base10, or should you just stick with hex? how are letters usually represented?
 

Magrat Garlick

Global Moderator
gio said:
How are these databses generally structured? is it easier to convert to binary and then into base10, or should you just stick with hex? how are letters usually represented?
Some numbers it could be useful to convert into hex - others not. You'd better just test it out, i.e. change the numbers, encrypt the file and save it, then run ICC and see what kind of changes that are made.

Letters are represented as ASCII code (I think) when decrypted.
 

octobertiger

Cricket Spectator
okay, i'm trying to get the prog to work, but still having no luck. I'm running it on a Windows 98 system without Visual Studio.net installed.

Will that stop me regardless of what I enter?

I go to winfile, and enter in the run command:

CONVDB.EXE DATAT.DB AAAAA.TXT

and nothing happens! No new prog appears!

Can anyone help so I can get cracking on ze code too?

8D
 

Top