| 12-30-2005, 11:04 AM | #1 |
Can anyone with some known skills make a hack to the editor so when you use [test map] iit opens the map using -window (it already uses -loadfile) I think it would be knowing the address of the loadfile and adding -window edit: noted that -window must be before -loadfile |
| 12-30-2005, 02:10 PM | #2 |
hacking the editor...... sound kinda illegal actualy, lol :p |
| 12-30-2005, 03:46 PM | #3 |
Do you mean making it open Warcraft III in a window with the test map? |
| 12-30-2005, 03:49 PM | #4 |
Yeah, I currently have to forget about the test map button and just save the map then find the folder and use the special w3x type association I made to make it open windowed if that could happen with just pressing the button would help me a lot. I do this because when you use a resolution bigger than 1024×768 windowed mode takes a lot less time to load than full screen mode. Xeth-Ban : My optimizer broke the EULA 100 times already so I don't care |
| 12-30-2005, 04:16 PM | #5 |
Did a search for it in memory... no result ... where is my hex editor .... Idea for a contest: Make a program that brakes the EULA most times ^^ Another way to do this might be to replace war3.exe with our own that send the param to a copy of war3.exe and ads -window if its not there. |
| 12-31-2005, 04:23 PM | #6 |
Here's a stupid patch for the editor that allows you to specify command line parameters for the test map button. Simply enter -window -loadmap in the textbox and hit the patch button. Another useful option could be -opengl The -loadmap option has to be the last option in the list. You'll find all other available arguments in the following thread: http://www.wc3campaigns.com/showthread.php?t=41980 Maybe we could add this option to the NoLimits patch in future versions. |
| 12-31-2005, 05:54 PM | #7 |
That is pretty useful, and now I also know that Warcraft 3 can be runned in windowed mode normally. Very helpful, good job. |
| 12-31-2005, 06:12 PM | #8 |
Did you make it pitzermike? would like the source (would want to make an automatic one) |
| 12-31-2005, 06:13 PM | #9 |
And I'd like to know how you found address ^^ |
| 12-31-2005, 09:42 PM | #10 |
Yes, I made it. I'll post both, the source code and an explanation how I found the addresses tomorrow. A happy new year everyone :) |
| 12-31-2005, 11:16 PM | #11 |
Happy new year! |
| 01-01-2006, 03:00 PM | #12 |
|
| 01-01-2006, 03:18 PM | #13 |
I used SoftICE to disassemble worldedit.exe ^^ Found the string, but... to short for me so I didn't know what to do then. ________ Who will make a automatic version first... Me or Vex ? ^^ (I'm working on a MPQ editor so I think Vex win :'( ) |
| 01-02-2006, 12:18 AM | #14 |
You could also add a new section to the executable and then add the new string to it, without messing up with the other string. Of course it would require a RVA calculator to calculate the virtual offset based on the physical offset. |
| 01-02-2006, 12:23 AM | #15 | |
Quote:
If you mean by physically changing the executable, that wouldn't work in this case as starting the editor would then fail because of the copy protection. |
