For EvilTeletubby -> the answer is starcraft. They saw

I'm actually wondering the same thing though.
Forum Index > BW General |
thunk
United States6233 Posts
For EvilTeletubby -> the answer is starcraft. They saw ![]() I'm actually wondering the same thing though. | ||
Response
United States1936 Posts
On April 02 2008 13:37 thunk wrote: I was thinking of switching to a linux box, but sc was actually a deciding factor. I'll look into your blog. For EvilTeletubby -> the answer is starcraft. They saw ![]() I'm actually wondering the same thing though. maybe they just enjoy coding? either way im glad they do it its awesome for the rest of us!:-D | ||
[X]Ken_D
United States4650 Posts
What software do people use to compile the dephile\pascal code? I can write very basic ASM, but how much assembly would I need to know? I use to write only in DOS enviroment with pascal code and an inline assembly. | ||
il0seonpurpose
Korea (South)5638 Posts
| ||
ossguy
Canada20 Posts
On April 02 2008 13:26 EvilTeletubby wrote: How did both of you guys get into coding, if you don't mind me asking? I started coding around Grade 8 or Grade 9. My first language was (unfortunately) Visual Basic, but I quickly moved into C++. I started coding simple programs that would do math I had recently learned like calculating the length of the hypotenuse of a right-angle triangle given the lengths of the other two sides. I also wrote programs to organize some of the data coming from my broadband router, namely the number of accesses per port in a day. I learned most of my C++ from experimentation, high school programming classes, and books like Sams Teach Yourself C++ in 21 Days. More recently, I have been learning how to code through courses at the University of Waterloo and working on open source projects such as the Linux kernel, GNU wdiff, and Wine. While much of my knowledge has come from formal education, all of it could have been picked up from elsewhere. To be a coder, it's good to have an analytical or mathematical mind otherwise you probably won't enjoy it. To get started, I would suggest getting a C or C++ book and then reading the source code for a simple project like Gnome Mines. I would highly recommend installing a distribution of GNU/Linux for programming. It's much easier to get development tools for GNU/Linux than for Windows or Mac OS. I recommend getting involved in some open source projects if you want to learn how to code. Pick a project you like and get on the developers' mailing list. It's probably best to get involved with a smaller project than with something like Firefox or the Linux kernel at first. I have primarily described coding resources for C and C++. These are most useful for those that eventually want to work on something like StarCraft. But there are lots of other areas of programming that are equally as useful. A big field today is web programming, using JavaScript, PHP, Ruby, and Python to name a few. If you like the language to do the work for you, you might want to start there. Also, Python is being used increasingly for non-web applications, such as those on the OLPC. I can try to answer specific questions about coding, but my time is somewhat limited. If someone wants to start a new thread on coding and there is interest, we could continue these sorts of discussions there. | ||
ossguy
Canada20 Posts
On April 02 2008 13:37 thunk wrote: I was thinking of switching to a linux box, but sc was actually a deciding factor. I'll look into your blog. I've been running StarCraft exclusively on GNU/Linux for a while now. I had some performance problems at first, but I fixed them by using these instructions (see UsefulRegistryKeys for how to update these keys). Now it's running problem-free. If you have any questions about running StarCraft on GNU/Linux through Wine, I can probably help. | ||
tec27
United States3690 Posts
On April 03 2008 05:44 [X]Ken_D wrote: I got the source code for ChaosLauncher, but I was wondering if there is a reference documents somewhere. What software do people use to compile the dephile\pascal code? I can write very basic ASM, but how much assembly would I need to know? I use to write only in DOS enviroment with pascal code and an inline assembly. You use Delphi to compile Delphi code ![]() | ||
ossguy
Canada20 Posts
On April 03 2008 02:15 GoSuPlAyEr wrote: Show nested quote + On April 02 2008 13:37 thunk wrote: For EvilTeletubby -> the answer is starcraft. They saw ![]() I'm actually wondering the same thing though. maybe they just enjoy coding? either way im glad they do it its awesome for the rest of us!:-D The reason I did it was primarily because I was frustrated that StarCraft was wasting power (particularly on my laptop where wasting power means reducing battery life) and making my CPU fan spin furiously. I could have just fixed it for myself, but it only requires a little more work to make my patch available to anyone so I did that. I also made the patch because I like a challenge and I knew a bit about how to fix it. It definitely required me to expand my knowledge, especially on how to use a debugger and how to analyze a program without high-level source code. | ||
ossguy
Canada20 Posts
On April 03 2008 05:44 [X]Ken_D wrote: I got the source code for ChaosLauncher, but I was wondering if there is a reference documents somewhere. Are you interested in writing your own plugin? If so, what sort of plugin do you want to write? I haven't used ChaosLauncher so I can't help you with the reference documents, but I could help you with general knowledge of how StarCraft works. I can write very basic ASM, but how much assembly would I need to know? It really depends on what you're doing. I had some knowledge of x86 assembly before writing StarCraft Power Saver, but I had to learn a lot more to write the patch. You may want to write some simple programs then compile them and disassemble them to learn assembly. I suggest using IDA Pro Freeware. It's got a lot of neat features, including graphing, which is extremely helpful when trying to understand assembly code. | ||
ossguy
Canada20 Posts
On April 03 2008 08:56 il0seonpurpose wrote: Man, no bnet? No. You can blame Blizzard and players that cheat for that. Blizzard has an obligation to make games fair for everyone and when people cheat on Battle.net, Blizzard must choose between allowing cheating (which makes some people upset) and adding "protections" to their games so that they are harder to modify for cheating purposes. Blizzard has chosen to add "protections". Unfortunately, it is impossible to differentiate between modifications done for cheating purposes and modifications done to make StarCraft use less CPU power so by adding "protections", Blizzard has made it much harder for people like me and R1CH to legitimately fix their games when they're broken. If you don't want Blizzard to do this, first and foremost do not cheat. Fewer people cheating means less reason for Blizzard to add "protections" to their games. Secondly, speak up on forums when there are problems. If StarCraft is consuming too much power or doesn't work natively on GNU/Linux, brings this up on forums (especially the official Battle.net forums) and sign a petition if there is one. As an example, there is a petition to add GNU/Linux installers for Blizzard games you can sign. Doing this will make Blizzard aware of what features and fixes people want. If you want similar functionality to StarCraft Power Saver and want to use Battle.net, try out R1CH's CPU Savior (or Saver). It's discussed on another thread. Be aware that when modifying StarCraft in any way, there is always a chance that Blizzard will prevent you from using Battle.net (see the ChaosLauncher announcement). It just happens that Blizzard has chosen to disallow the type of modification that StarCraft Power Saver uses but has not (yet) disallowed the type of modification that ChaosLauncher (and CPU Savior) uses. | ||
[X]Ken_D
United States4650 Posts
On April 04 2008 01:55 ossguy wrote: Show nested quote + On April 03 2008 05:44 [X]Ken_D wrote: I got the source code for ChaosLauncher, but I was wondering if there is a reference documents somewhere. Are you interested in writing your own plugin? If so, what sort of plugin do you want to write? I haven't used ChaosLauncher so I can't help you with the reference documents, but I could help you with general knowledge of how StarCraft works. It really depends on what you're doing. I had some knowledge of x86 assembly before writing StarCraft Power Saver, but I had to learn a lot more to write the patch. You may want to write some simple programs then compile them and disassemble them to learn assembly. I suggest using IDA Pro Freeware. It's got a lot of neat features, including graphing, which is extremely helpful when trying to understand assembly code. Disassembly, that sounds like a nightmare for me. I wish I am able to modify ChaosPlugin autoreplay saver to include replay with text and not save before 2 minutes. ADVLoader can do that, but I don't like the way replay number already has a set number instead of looking at the last file number. I often get corrupt replays with ADVLoader. In reality, I would have to start off something really simple such as make ChaosPlugin not save before 2 minutes ![]() | ||
ossguy
Canada20 Posts
On April 03 2008 08:56 il0seonpurpose wrote: Man, no bnet? I forgot to mention this in my last post: You can use StarCraft Power Saver with Internet games, just not through Battle.net. There are applications such as Gamer's Internet Tunnel that will make people able to see your LAN games over the Internet. This probably isn't an option for competitions, but for your average recreational game of StarCraft over the Internet, it should work fine. Of course, people will be able to cheat more easily when using this setup than with Battle.net, but allowing StarCraft modifications is the whole point and one can't distinguish between modifications made for cheating and modifications made for improving the game. Just make sure you're playing with people you trust not to cheat and you'll be fine. | ||
tec27
United States3690 Posts
On April 04 2008 02:19 [X]Ken_D wrote: You'd pretty much have to write a completely new plugin to add RWT, btw Show nested quote + On April 04 2008 01:55 ossguy wrote: On April 03 2008 05:44 [X]Ken_D wrote: I got the source code for ChaosLauncher, but I was wondering if there is a reference documents somewhere. Are you interested in writing your own plugin? If so, what sort of plugin do you want to write? I haven't used ChaosLauncher so I can't help you with the reference documents, but I could help you with general knowledge of how StarCraft works. I can write very basic ASM, but how much assembly would I need to know? It really depends on what you're doing. I had some knowledge of x86 assembly before writing StarCraft Power Saver, but I had to learn a lot more to write the patch. You may want to write some simple programs then compile them and disassemble them to learn assembly. I suggest using IDA Pro Freeware. It's got a lot of neat features, including graphing, which is extremely helpful when trying to understand assembly code. Disassembly, that sounds like a nightmare for me. I wish I am able to modify ChaosPlugin autoreplay saver to include replay with text and not save before 2 minutes. ADVLoader can do that, but I don't like the way replay number already has a set number instead of looking at the last file number. I often get corrupt replays with ADVLoader. In reality, I would have to start off something really simple such as make ChaosPlugin not save before 2 minutes ![]() ![]() ![]() | ||
![]()
MasterOfChaos
Germany2896 Posts
![]() Almost all info available about Chaoslauncher/BWLauncher4 is found here: http://www.bwprogrammers.com/modules.php?name=Forums&file=viewtopic&t=1071 A good replay with text(which saves the text inside the replay) is hard to code. A simple one, which just reads the strings from memory and saves them to a textfile is doable. The 2minute thing would be easy if you had the source for RepAnalyzer.dll, but I forgot to include that one. Basically all things Chaosplugin can do are very simple and do not require disassembling SC. As free IDEs I'd recommend either Turbo Delphi Explorer or Visual Studio Express (or if you have access to MSDNAA Professional) | ||
Homeless
Germany69 Posts
On March 31 2008 18:57 syplovessy wrote: 'E:\Starcraft\Starcraft.exe' is not a StarCraft: Brood War 1.15.2 executable; th e expected MD5 checksum is 8f35e0719fa15e56b6605e67b19ba97c Same problem here. I'm using a german copy of starcraft, guess that's the problem!? Edit: So the MD5 checksum of my (german) Starcraft.exe is af031ff7d41610c08a00d28d112965c2. You maybe want to add it to the code. ![]() | ||
ossguy
Canada20 Posts
On April 09 2008 02:19 Homeless wrote: Show nested quote + On March 31 2008 18:57 syplovessy wrote: 'E:\Starcraft\Starcraft.exe' is not a StarCraft: Brood War 1.15.2 executable; th e expected MD5 checksum is 8f35e0719fa15e56b6605e67b19ba97c Same problem here. I'm using a german copy of starcraft, guess that's the problem!? Edit: So the MD5 checksum of my (german) Starcraft.exe is af031ff7d41610c08a00d28d112965c2. You maybe want to add it to the code. ![]() Unfortunately, I can't just add the MD5 checksum without first checking to see if the same method of patching would work on the German StarCraft executable. If I just added the MD5, it is possible that the patch would cause a German version of StarCraft to crash because the German StarCraft executable might be organized differently than the English StarCraft executable. So if I had a German StarCraft executable, I could add support for the German version of StarCraft to StarCraft Power Saver. However, I don't own a German version of StarCraft and the license you agree to when you install StarCraft prevents you from sharing your StarCraft executable with me. If you e-mailed Blizzard Entertainment and received written permission from them to give me your German StarCraft executable, then you could send me your German StarCraft executable and I could add support for the German version of StarCraft to StarCraft Power Saver. You could also buy a second copy of the German version of StarCraft and send it to me. Please don't send me your StarCraft executable unless you can prove you have the legal right to do so. The above applies to any non-English version of StarCraft, not just German. I would be happy to add support for other languages if you follow the above instructions. I admit the steps are time-consuming, but I'm afraid I don't have the time or the money to follow through on them myself. I will always accept help from the StarCraft community, though. | ||
![]()
MasterOfChaos
Germany2896 Posts
| ||
.Ix
Philippines266 Posts
is there any way to get chaoslauncher + Power Saver / CPU Savior running on wine + ubuntu? i tried chaoslauncher and it gave me weird errors. ![]() | ||
| ||
![]() StarCraft 2 StarCraft: Brood War Britney Dota 2![]() ![]() Sea ![]() Calm ![]() Rain ![]() Horang2 ![]() Jaedong ![]() Mind ![]() GuemChi ![]() JYJ397 Harstem ![]() [ Show more ] Counter-Strike Other Games singsing3026 Happy717 B2W.Neo598 XBOCT560 Pyrionflax406 hungrybox310 SortOf275 Fuzer ![]() Lowko142 Mew2King69 Dewaltoss34 ZerO(Twitch)23 JuggernautJason13 Organizations
StarCraft 2 • StrangeGG StarCraft: Brood War![]() • AfreecaTV YouTube • intothetv ![]() • Kozan • IndyKCrew ![]() • LaughNgamezSOOP • Migwel ![]() • sooper7s League of Legends |
Monday Night Weeklies
PiGosaur Monday
OSC
Code For Giants Cup
The PondCast
Replay Cast
SC Evo Complete
Classic vs uThermal
SOOP StarCraft League
CranKy Ducklings
[BSL 2025] Weekly
[ Show More ] SOOP StarCraft League
Sparkling Tuna Cup
uThermal 2v2 Circuit
|
|