| 10-10-2003, 10:47 PM | #1 |
Where would I look to extract the actually code of the functions listed in common.j, I found a problem that I would like to try and fix, there is a trigger in common.j that does something similar. If I could see the code for the trigger I might be able to design some code(possibly calling functions it uses) to solve my problem. Or are we limited to use the functions listed in common.j, blizzard.j and things we make on are own(do common.j, and blizzard.j have access to libraries of functions that we don't? |
| 10-11-2003, 07:29 AM | #2 |
The native functions and constants are implemented in the game engine, so you can't see the code for those. |
| 10-11-2003, 11:54 AM | #3 |
You could if you decomplie the game engin and its dl files. I tryed posting this idea eayler cause it would alow us to see all the true fuctions of the game engin alowing use to add hiden native functions and varables such as mouse (x,y) to common j or blizzard j. I know for a fact form brent wood that there are fuctions that they did not add to blizzard j because they felt they were not needed or gave the user too much power but they are in the game engin. |
| 10-11-2003, 01:32 PM | #4 |
Well to begin with, it's very illegal and very impossible to decompile a C++ application like war3 so don't even try to think about it, no one can do that. Second Blizzard.j don't contain any hardcoded function (Native) so you can add or remove whatever you want in it, it only uses the natives from common.j |
| 10-11-2003, 01:49 PM | #5 |
It is very possable to decomple a C++ progarm I have seen it done a few times befor. |
| 10-11-2003, 10:23 PM | #6 |
Well, you can "decompile" a program into assembler, but that is quite difficult to read. |
| 10-12-2003, 12:01 AM | #7 |
It also depends very much on how it was compiled. older compilers like ones used by Visual Basic 2 makes programs that are very easy to decompile but with the newer ones it's basicaly impossible. |
| 10-12-2003, 12:14 AM | #8 |
you just need to find the right program i saw few on web a few weeks go just do a search |
| 10-12-2003, 12:06 PM | #9 |
You can decompile it with ms-dos's DEBUG, but you need the hex address. :ggani: |
| 10-12-2003, 12:26 PM | #10 |
You can always decompile into Assembler but as Nozdormu noted, that is quite hard to read so you could not really expect to get something that you could actually change in a useful way. There are some programming languages that compile not in Assembler but in a kind of intermediate code that is easier to decompile. Among that are Java and earlier versions of VB. In those you can actually decompile the original source code nearly completely. But in War3 that is a hopeless task as such a program is rather complex so any change you do is likely doing something bad. The only thing people usually achieve to do is disable copy protection and similar stuff. Game.dll on the other hand is a dll and although it is not really possible to change the interior of it you can find out what functions the dll provides. If those names are similar to native names it might provide the names of unused natives. But I think there is only a slight hope that those unused ones are not deactivated. |
| 10-12-2003, 05:25 PM | #11 | |
Quote:
Somebody who knows how ought to check *hint hint nudge nudge*. |
| 10-12-2003, 07:34 PM | #12 |
give me week or so and ill lookinto the dl files . which files do you all want and do you want me to pm it as a text file? |
| 10-12-2003, 09:19 PM | #13 |
Isn't it illegal? I am not telling you that it is illegal, I am just asking. BTW Assembler is just a nightmyre to understand |
| 10-12-2003, 09:39 PM | #14 |
It's usualy illegal to decompile copywrited programs. Taken from War3 license agreemant: Subject to the Grant of License herein above, you may not, in whole or in part, copy, photocopy, reproduce, sublicense, translate, reverse engineer, derive source code, modify, disassemble, decompile, create a source code equivalent, create derivative works based on the Program, or remove any proprietary notices or labels on the Program, or allow others to do so, without the prior consent, in writing, of the Licensor. |
| 10-12-2003, 10:41 PM | #15 |
Yes it is but we are not using it to sell a product based on there work only findind hidden fuctions and such . As long as we dont sell the code or give it to some one who does blizzard wil not really care if its used only from learning perpouse and we dont make money off of it my fiend has the scorce code for sc he has had it for years and bizzard dose not care. Asably lag is really hard to read its one step up the binarly thou. If we can get it into C or C++ then we can really see and understand all the fuctions. |
