|
-
Nov 29th, 2000, 07:09 PM
#1
Thread Starter
Lively Member
file
would it help if I gave some more on what I am doing? I am trying to de-encrypt the scores file for the game MXMania, I wan't to make a score recording program. I have tried looking with a hex editor, and I find the names of the players, but the laptimes are still scrambled. Help?
-
Nov 29th, 2000, 09:26 PM
#2
transcendental analytic
they are probably stored binary, you could backup the score file, then try getting a new score and see what changes. You probably need to read the section in either integers or longs with get statement, that is if it's not encrypted.
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Nov 29th, 2000, 09:47 PM
#3
Thread Starter
Lively Member
HEX
if i couldn't get it with a hex editor, isn't it encrypted? how do i go about reading the binary, im new to this.
-
Nov 29th, 2000, 09:51 PM
#4
Frenzied Member
A hex editor will show you what the hex values are, but not necessarily the decimal values. If it's any more than a very basic app though, it will probably have encrypted them a bit.
Harry.
"From one thing, know ten thousand things."
-
Nov 29th, 2000, 11:55 PM
#5
Thread Starter
Lively Member
code?
so what code should i use to read it in?
-
Nov 30th, 2000, 01:06 AM
#6
transcendental analytic
Code:
Open file for binary as 1
get#1, POSITION, VARIABLE
close 1
POSITON is the position from which you read, the first byte in the file is 1, the last is the length of file, can be retrieved with Lof(1). You have to either check out what bytes are changed, or try guessing by looking at the numbers (get the decimals of the hex) or you could try putting your own changes and see what happens to the table.
VARIABLE. Here you put either a long (4 bytes) or a integer(2 bytes) to get the score. If you can't find any pattern at all with the return values, it could be encrypted, and then you can't do anything about it.
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Nov 30th, 2000, 10:29 AM
#7
Thread Starter
Lively Member
ok
I will try that in my boring old high school pascal class this morning. lol.
-
Nov 30th, 2000, 11:56 AM
#8
Thread Starter
Lively Member
uh
how do i get the string values of the players names?
-
Nov 30th, 2000, 08:22 PM
#9
transcendental analytic
you place a string as variable, use space() function to prebuffer its size if you don't use a fixed length string.
strName=space(LengthOfIt)
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Nov 30th, 2000, 08:45 PM
#10
Thread Starter
Lively Member
-
Dec 1st, 2000, 12:18 AM
#11
Thread Starter
Lively Member
got it
ok, its obviously encrypeted, all it returned was "¤RB", lmao, how do i de-encrypt?
-
Dec 1st, 2000, 11:05 AM
#12
Thread Starter
Lively Member
-
Dec 1st, 2000, 01:17 PM
#13
Frenzied Member
Well I guess you either (A) figure out the encrypt/decrypt algorithm, (B) give up or (C) get the scores out of memory before they are encrypted. You'd probably need to use pointers for that though.
Harry.
"From one thing, know ten thousand things."
-
Dec 1st, 2000, 08:27 PM
#14
Thread Starter
Lively Member
bad code
had my code wrong, lol, got it for now
-
Dec 2nd, 2000, 03:12 AM
#15
Fanatic Member
Mastergoon, you can upload it to my ftp server. So, people can look at the file.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|