Author | Message | Time |
---|---|---|
idoL | I'm making a map unlocker to help sift all the information coming out of a map when protected, then compare it to a unprotected map, my method was an attempt to try to replace the missing data with a 3rd party program, then the map will become readible again since PROEdit takes out unit string information that StarEdit requires to read it. My question is can I compare encrypted data and replace it? If not is there a way to decrypt the information when it's recieved? | March 19, 2005, 2:21 PM |
Myndfyr | I knew we'd dealt with this topic before, and when I did a search I found out that it was you who started the whole bit anyway. In case you lost the topic, it's at https://davnit.net/bnet/vL/phpbbs/index.php?topic=7825.0. [edit]I'm not familiar with the topic, and I thought I'd post this for your benefit in case you'd lost the link.[/edit] | March 19, 2005, 4:30 PM |
idoL | After awhile of researching data replacement and disassembling PROEdit I found that (what iago said) was true: [quote]251 SFileAuthenticateArchive(HANDLE hArchive,int)[/quote] was the information PROEdit was extracting, but this is the only information I can get back before it starts sending encrypted information, i'm not a hacker or a good programmer so now I come back asking you wise people for some advice. Otay? | March 19, 2005, 5:55 PM |
Quarantine | This was an interesting topic, I was looking at how a locked map compares to an unlocked one and it looked like a few changed bytes but I'd have no idea how it got that way and how to reverse the process. I think dissasembling whatever locks it might reveal some useful information. | March 19, 2005, 9:19 PM |
LoRd | If you did not already know, scm/scx files are actually MPQ's and you can extract the files from them through the use of the Storm API. It's rather simple to understand and you can find an example in clsStormAPI of Damnation. Unless the information removed is the same in all maps, I doubt you'll be able to recover it, however, I too, am unfamiliar with the subject. | March 19, 2005, 11:24 PM |
LoRd | [quote author=Snake link=topic=10963.msg104533#msg104533 date=1111254945] After awhile of researching data replacement and disassembling PROEdit I found that (what iago said) was true: [quote]251 SFileAuthenticateArchive(HANDLE hArchive,int)[/quote] was the information PROEdit was extracting, but this is the only information I can get back before it starts sending encrypted information, i'm not a hacker or a good programmer so now I come back asking you wise people for some advice. Otay? [/quote] If MPQ authentication fails, StarCraft won't attempt to extract the files from it, so you'll no longer be able to use it to play and IIRC, you can play using a patched map so that can't be how it patches them. | March 19, 2005, 11:35 PM |
idoL | 251 SFileAuthenticateArchive(HANDLE hArchive,int) is used when opening the map in StarEdit, not when playing the map. | March 20, 2005, 12:25 AM |
KkBlazekK | [quote author=LoRd[nK] link=topic=10963.msg104574#msg104574 date=1111274665] Unless the information removed is the same in all maps, I doubt you'll be able to recover it, however, I too, am unfamiliar with the subject. [/quote] I am not sure how it works either but I have used map unprotectors in the past and they work. | March 20, 2005, 1:28 AM |
Quarantine | I was thinking maybe it draws a character the Editor cannot display, and maybe the answer is not in unlocking the map but patching the editor? | March 20, 2005, 1:29 AM |
KkBlazekK | Thats a good idea.. | March 20, 2005, 2:11 AM |
idoL | [quote]patching the editor[/quote] Holy shit good idea. No, not patching the editor but making something to read the information PROEdit adds, if any. I'll dink around with that. | March 20, 2005, 4:01 AM |
Quarantine | Well, ProEdit might not be the only map locker to ever come out right? That's why I suggested stopping the editor from crashing on an unknown sprite? | March 20, 2005, 4:13 AM |
KkBlazekK | [quote author=Snake link=topic=10963.msg104601#msg104601 date=1111291284] but making something to read the information PROEdit adds, if any. [/quote] Actually, its more of a takes away I think. | March 20, 2005, 4:24 AM |
idoL | Yes we know fully that PROEdit takes some kind of information away, I like the idea of having somthing fix the editor from crashing but building an editor is just way too much work, when I do find the missing data I could use it in better ways then to patch an editor, which I doubt the creators would let me do. | March 20, 2005, 4:50 AM |
Soul Taker | I thought we already went over this. Protectors delete lots of non-essential stuff such as certain terrain information which only the map editor reads. There was once a map editor made by someone from CamSys that was done from scratch, and opened protected maps without any problems, why not go that route? | March 21, 2005, 10:09 PM |
idoL | [quote]My question is can I compare encrypted data and replace it? If not is there a way to decrypt the information when it's recieved?[/quote] | March 22, 2005, 12:35 AM |
Soul Taker | What encrypted data... | March 22, 2005, 3:49 PM |
Adron | [quote author=Snake link=topic=10963.msg104847#msg104847 date=1111451735] [quote]My question is can I compare encrypted data and replace it? If not is there a way to decrypt the information when it's recieved?[/quote] [/quote] Of course you can compare and replace encrypted data. Data is just data, encrypted or not. It may take you a while to figure out what to compare for and what to replace with though. And yes, of course there is a way to decrypt information when it's received. | March 22, 2005, 4:47 PM |
idoL | [quote author=Soul Taker link=topic=10963.msg104934#msg104934 date=1111506553] What encrypted data... [/quote] The information that my program calls from mpqcontrol is encrypted before being sent to me. I could use stormlib but I dont know C++. | March 22, 2005, 5:47 PM |
Quarantine | Like I said patching the editor would render all of the map locking routines futile thus fixing your problem for every future map protector, you just need to find out how the protector malforms the map somehow so that the editor cannot read it which shouldn't be to hard to do via dissasembly but patching the editor might violate something blizzard like so once again this is just an educated guess. | March 23, 2005, 6:21 PM |
Myndfyr | [quote author=Warrior link=topic=10963.msg105128#msg105128 date=1111602097] Like I said patching the editor would render all of the map locking routines futile thus fixing your problem for every future map protector, you just need to find out how the protector malforms the map somehow so that the editor cannot read it which shouldn't be to hard to do via dissasembly but patching the editor might violate something blizzard like so once again this is just an educated guess. [/quote] The other problem is that if Blizzard decides to patch Starcraft, you could end up having to reinstall the game if you're not smart. | March 23, 2005, 11:54 PM |