Go Back   Team17 Forum > Game Chat & Support > Older Titles > Worms Armageddon

Reply
 
Thread Tools Display Modes
Old 1 Jun 2009, 16:16   #1
CyberShadow
Moderator
 
CyberShadow's Avatar
 
Join Date: July 2005
Location: Moldova, Eastern Europe
wkColorFix

This is a WormKit module which attempts to solve the palette problems on Vista and newer Windows versions.

Idea from here.

EDIT: As this module is still getting a lot of downloads, I'll just point out: You shouldn't need this module if you are using the latest Beta update. You can download the newest Beta update for Worms Armageddon from here.
Attached Files
File Type: zip wkColorFix.zip (11.1 KB, 8582 views)
__________________
Worms Armageddon maintainer. Latest version: W:A 3.7.2

W:A devblog | WormKit (W:A extension framework) | Help and FAQs

Last edited by CyberShadow; 1 Mar 2011 at 14:18. Reason: Updated regarding new update
CyberShadow is online now   Reply With Quote
Old 1 Jun 2009, 16:36   #2
robowurmz
 
robowurmz's Avatar
 
Join Date: May 2005
Location: Scotland
Send a message via MSN to robowurmz
Considering not all of us can read Russian, what does it do?
__________________
ヽ(´ー`)ノ
robowurmz is offline   Reply With Quote
Old 1 Jun 2009, 16:41   #3
CyberShadow
Moderator
 
CyberShadow's Avatar
 
Join Date: July 2005
Location: Moldova, Eastern Europe
If the name doesn't tell you anything, you probably don't need it.
__________________
Worms Armageddon maintainer. Latest version: W:A 3.7.2

W:A devblog | WormKit (W:A extension framework) | Help and FAQs
CyberShadow is online now   Reply With Quote
Old 1 Jun 2009, 21:40   #4
raffie
 
raffie's Avatar
 
Join Date: December 2004
Location: Belgium
Wow, this is awesome. Does seem to do what the name says on my Vista setup! (I only got the colour bug sometimes and minimizing fixed it)
__________________
www.RigidAttackForce.com
raffie is offline   Reply With Quote
Old 1 Jun 2009, 22:06   #5
CyberShadow
Moderator
 
CyberShadow's Avatar
 
Join Date: July 2005
Location: Moldova, Eastern Europe
quoted:
Originally Posted by raffie View Post
Wow, this is awesome. Does seem to do what the name says on my Vista setup! (I only got the colour bug sometimes and minimizing fixed it)
Anything in palette.log related to that one?
__________________
Worms Armageddon maintainer. Latest version: W:A 3.7.2

W:A devblog | WormKit (W:A extension framework) | Help and FAQs
CyberShadow is online now   Reply With Quote
Old 2 Jun 2009, 02:15   #6
franpa
 
franpa's Avatar
 
Join Date: March 2006
Location: Australia, QLD, Brisbane
Send a message via MSN to franpa
quoted:
Originally Posted by google translation
If the claw is still torment the problem with a color palette of whist, or G, then use http://slil.ru/27448619 program, I wrote it myself както it suspends work at the time of activity eksplorera WA. Помещаете в катлог с WA, запускаете ее, она стартует WA и на время игры останавливает потоки експлорера (если игру свернуть - експлорер продолжает работать пока не развернете опять). Place in the printed catalog from WA, run it, it starts in WA and the game stops the flow of eksplorera (if you turn the game - eksplorer continued to work until you deploy again). По завершению игры сама прога закрывается. At the end of the game program itself is closed. Както быстро и похабно накидал на дельфе, если комуто надо сорс - пишите 246-532-750 Както quickly and pohabno nakidal at Delphi if necessary komuto Source - write 246-532-750
Sounds like it suppresses explorer.exe processes while the game runs or only while in focus?

Works here under Windows 7 x86 (32bit) build 7100 Release Candidate. I did not perceive any instances of Explorer.exe being closed o_O




EDIT: loses colours in the frontend when I try to sign into WormNET or right after I press "start game" after entering teams in an offline game. Nothing is logged in Palette.log and in-game (gameplay) seems to work fine.

Image "1" colours are fine
Image "2" colours go awry when that screen is loading.
Attached Images
File Type: jpg correct colours.jpg (18.4 KB, 5319 views)
File Type: jpg incorrect colours.jpg (26.1 KB, 5297 views)
__________________
Core i7 920 @ 2.66GHZ
ASUS P6T Mother Board
6GB DDR3 1600 RAM
500GB SATA2 HDD
Auzentech Forte
Nvidia Geforce 560Ti 2048MB PCI-E (latest drivers)
Windows 7 Home Premium x64
Thermaltake 750watt Toughpower Power Supply
Thermaltake Armor+ MX case.

http://home.exetel.com.au/franpa/

Last edited by franpa; 2 Jun 2009 at 02:37.
franpa is offline   Reply With Quote
Old 2 Jun 2009, 08:36   #7
Balee
 
Balee's Avatar
 
Join Date: November 2008
Location: Budapest
I take it this wont cause desynchronisations if the other player doesnt have it?
Balee is offline   Reply With Quote
Old 2 Jun 2009, 08:36   #8
boobl
 
boobl's Avatar
 
Join Date: April 2009
Location: Moscow
Well, if you really curious about that post on worms.org.ua, I can translate it, as good as I can.

quoted:
If someone is still having problems with pallette under Vista or Windows 7, you can use this program, I wrote it for myself someday. It stops explorer.exe when WA is active.
You just put it in WA folder, launch it, it starts WA, and when you are playing, it stops every thread in explorer.exe process (if you minimize WA, explorer.exe will work well, until you restore WA back). The program closes when you close WA too. lalala
And then CS asks him for sources, so he could make wk module.
boobl is offline   Reply With Quote
Old 2 Jun 2009, 10:40   #9
raffie
 
raffie's Avatar
 
Join Date: December 2004
Location: Belgium
quoted:
Originally Posted by CyberShadow View Post
Anything in palette.log related to that one?
Sorry, I guess what I said sounded a bit confusing. I ment before I used the wkColorFix, I got the colourbug some of the time, and minimizing fixed it. Now I haven't seen it happen anymore!
__________________
www.RigidAttackForce.com
raffie is offline   Reply With Quote
Old 2 Jun 2009, 11:40   #10
CyberShadow
Moderator
 
CyberShadow's Avatar
 
Join Date: July 2005
Location: Moldova, Eastern Europe
quoted:
Originally Posted by Balee View Post
I take it this wont cause desynchronisations if the other player doesnt have it?
It won't.
__________________
Worms Armageddon maintainer. Latest version: W:A 3.7.2

W:A devblog | WormKit (W:A extension framework) | Help and FAQs
CyberShadow is online now   Reply With Quote
Old 2 Jun 2009, 21:34   #11
pisto
 
pisto's Avatar
 
Join Date: February 2006
Location: Chettifregate
Send a message via MSN to pisto Send a message via Skype™ to pisto
quoted:
You just put it in WA folder, launch it, it starts WA, and when you are playing, it stops every thread in explorer.exe process (if you minimize WA, explorer.exe will work well, until you restore WA back). The program closes when you close WA too
what if wa crashes? Is there any chance that you have explorer locked up?

btw even if not, good job!
pisto is offline   Reply With Quote
Old 2 Jun 2009, 22:24   #12
CyberShadow
Moderator
 
CyberShadow's Avatar
 
Join Date: July 2005
Location: Moldova, Eastern Europe
quoted:
Originally Posted by pisto View Post
what if wa crashes? Is there any chance that you have explorer locked up?
That's a good point. I tried to add a hook to ExitProcess (this will work because the catch-all exception handler will still make W:A exit normally), but it looks like madCodeHook doesn't like it when I hook ExitProcess...
__________________
Worms Armageddon maintainer. Latest version: W:A 3.7.2

W:A devblog | WormKit (W:A extension framework) | Help and FAQs
CyberShadow is online now   Reply With Quote
Old 2 Jun 2009, 22:40   #13
boobl
 
boobl's Avatar
 
Join Date: April 2009
Location: Moscow
I just tested one thing

Dll code

code ::

BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
{
switch (reason)
{
case DLL_PROCESS_ATTACH:
MessageBox(0, "process attach", "attach", 0);
break;
case DLL_PROCESS_DETACH:
MessageBox(0, "process detach", "detach", 0);
break;
case DLL_THREAD_ATTACH:
MessageBox(0, "thread attach", "attach", 0);
break;
case DLL_THREAD_DETACH:
MessageBox(0, "thread detach", "detach", 0);
break;
}
return TRUE;
}



and program

code ::
int main(int argc, char argv[])
{
HINSTANCE hDll = LoadLibrary("test.dll");
*((DWORD*)(0)) = 1;
return 0;
}



at first it shows "process attach", but even after AV, it shows "process detach".

upd: my precious indentation. destroyed. bawwww
boobl is offline   Reply With Quote
Old 3 Jun 2009, 09:21   #14
CyberShadow
Moderator
 
CyberShadow's Avatar
 
Join Date: July 2005
Location: Moldova, Eastern Europe
I didn't think that would work, good idea. Zip in first post updated.
__________________
Worms Armageddon maintainer. Latest version: W:A 3.7.2

W:A devblog | WormKit (W:A extension framework) | Help and FAQs
CyberShadow is online now   Reply With Quote
Old 3 Jun 2009, 10:09   #15
canofworms
 
canofworms's Avatar
 
Join Date: May 2004
Location: On a chair
Thank you - been looking for a solution this
__________________
Others may know me as lsproc
canofworms is offline   Reply With Quote
Old 3 Jun 2009, 18:09   #16
Paulos
 
Paulos's Avatar
 
Join Date: August 2008
Location: Frydek-Mistek
Send a message via ICQ to Paulos Send a message via MSN to Paulos
Nice module. However, a new Explorer window launches after the game exits...
__________________
http://3dworms.eu - czech Worms 3D & Worms 4 website full of information

Oh and my English is not very good.
Paulos is offline   Reply With Quote
Old 3 Jun 2009, 20:21   #17
CyberShadow
Moderator
 
CyberShadow's Avatar
 
Join Date: July 2005
Location: Moldova, Eastern Europe
quoted:
Originally Posted by Paulos View Post
Nice module. However, a new Explorer window launches after the game exits...
Stop pressing any keys that might cause that while the module isn't running, and it won't.
__________________
Worms Armageddon maintainer. Latest version: W:A 3.7.2

W:A devblog | WormKit (W:A extension framework) | Help and FAQs
CyberShadow is online now   Reply With Quote
Old 4 Jun 2009, 03:18   #18
franpa
 
franpa's Avatar
 
Join Date: March 2006
Location: Australia, QLD, Brisbane
Send a message via MSN to franpa
Why does this module prevent logging colour stealing to palette.log?
__________________
Core i7 920 @ 2.66GHZ
ASUS P6T Mother Board
6GB DDR3 1600 RAM
500GB SATA2 HDD
Auzentech Forte
Nvidia Geforce 560Ti 2048MB PCI-E (latest drivers)
Windows 7 Home Premium x64
Thermaltake 750watt Toughpower Power Supply
Thermaltake Armor+ MX case.

http://home.exetel.com.au/franpa/
franpa is offline   Reply With Quote
Old 4 Jun 2009, 07:46   #19
Gnork
 
Gnork's Avatar
 
Join Date: January 2007
Location: %ROOT%\Worm32.Gnork.W:A
I had some strange side effects in win7 - after exiting the game some pinned icons on the taskbar got changed - suddenly of got the icon of the snipping tool for live mail, and the sticky notes icon for windows explorer... rebooting made it change back to normal. Any idea how that is possible? It happened twice since I'm using this wkColourfix, but it's not consistent.
Gnork is offline   Reply With Quote
Old 4 Jun 2009, 08:33   #20
franpa
 
franpa's Avatar
 
Join Date: March 2006
Location: Australia, QLD, Brisbane
Send a message via MSN to franpa
clear your icon cache. google can help with that task.
__________________
Core i7 920 @ 2.66GHZ
ASUS P6T Mother Board
6GB DDR3 1600 RAM
500GB SATA2 HDD
Auzentech Forte
Nvidia Geforce 560Ti 2048MB PCI-E (latest drivers)
Windows 7 Home Premium x64
Thermaltake 750watt Toughpower Power Supply
Thermaltake Armor+ MX case.

http://home.exetel.com.au/franpa/
franpa is offline   Reply With Quote
Old 4 Jun 2009, 09:49   #21
Gnork
 
Gnork's Avatar
 
Join Date: January 2007
Location: %ROOT%\Worm32.Gnork.W:A
quoted:
Originally Posted by franpa View Post
clear your icon cache. google can help with that task.
Why would i have to clean out the icon cache on a fresh install which is running for just two weeks?
Gnork is offline   Reply With Quote
Old 4 Jun 2009, 10:29   #22
franpa
 
franpa's Avatar
 
Join Date: March 2006
Location: Australia, QLD, Brisbane
Send a message via MSN to franpa
because icon corruption/randomness is usually caused by a corrupt/full icon cache?
__________________
Core i7 920 @ 2.66GHZ
ASUS P6T Mother Board
6GB DDR3 1600 RAM
500GB SATA2 HDD
Auzentech Forte
Nvidia Geforce 560Ti 2048MB PCI-E (latest drivers)
Windows 7 Home Premium x64
Thermaltake 750watt Toughpower Power Supply
Thermaltake Armor+ MX case.

http://home.exetel.com.au/franpa/
franpa is offline   Reply With Quote
Old 4 Jun 2009, 10:37   #23
pisto
 
pisto's Avatar
 
Join Date: February 2006
Location: Chettifregate
Send a message via MSN to pisto Send a message via Skype™ to pisto
this bug dates back to win2000 or xp. mmmm @ Microsoft
pisto is offline   Reply With Quote
Old 4 Jun 2009, 11:15   #24
Balee
 
Balee's Avatar
 
Join Date: November 2008
Location: Budapest
Strange, if you apply it for XP, the game freezes for 1-2-3 seconds every time you press something, like adding a team.

Good thing the color bug isnt (really) present in XP so I dont have to use it
Balee is offline   Reply With Quote
Old 4 Jun 2009, 12:08   #25
franpa
 
franpa's Avatar
 
Join Date: March 2006
Location: Australia, QLD, Brisbane
Send a message via MSN to franpa
csrss.exe, can you do something similar with this process without adverse effects Cybershadow?
__________________
Core i7 920 @ 2.66GHZ
ASUS P6T Mother Board
6GB DDR3 1600 RAM
500GB SATA2 HDD
Auzentech Forte
Nvidia Geforce 560Ti 2048MB PCI-E (latest drivers)
Windows 7 Home Premium x64
Thermaltake 750watt Toughpower Power Supply
Thermaltake Armor+ MX case.

http://home.exetel.com.au/franpa/
franpa is offline   Reply With Quote
Old 4 Jun 2009, 12:39   #26
CyberShadow
Moderator
 
CyberShadow's Avatar
 
Join Date: July 2005
Location: Moldova, Eastern Europe
I don't know. Suspending csrss would require administrative rights, too. Why don't you try? You can suspend processes with Process Explorer.

Balee: that could be the side effect of some other program running in the background. Can someone with XP confirm if this is/isn't happening on all XP setups?
__________________
Worms Armageddon maintainer. Latest version: W:A 3.7.2

W:A devblog | WormKit (W:A extension framework) | Help and FAQs
CyberShadow is online now   Reply With Quote
Old 4 Jun 2009, 14:12   #27
franpa
 
franpa's Avatar
 
Join Date: March 2006
Location: Australia, QLD, Brisbane
Send a message via MSN to franpa
I tried ^_^" it freezes the Windows 7 GUI forcing me to do a manual reboot :O
__________________
Core i7 920 @ 2.66GHZ
ASUS P6T Mother Board
6GB DDR3 1600 RAM
500GB SATA2 HDD
Auzentech Forte
Nvidia Geforce 560Ti 2048MB PCI-E (latest drivers)
Windows 7 Home Premium x64
Thermaltake 750watt Toughpower Power Supply
Thermaltake Armor+ MX case.

http://home.exetel.com.au/franpa/
franpa is offline   Reply With Quote
Old 5 Jun 2009, 10:31   #28
boobl
 
boobl's Avatar
 
Join Date: April 2009
Location: Moscow
Lol, freezing/terminating csrss is really not what you want to do.
By the way, attachment in the first post doesnt seem to work.

upd: Oh, looks like all attachments are dead links now. Gotta wait till fixed then.

Last edited by boobl; 5 Jun 2009 at 10:36.
boobl is offline   Reply With Quote
Old 5 Jun 2009, 10:35   #29
franpa
 
franpa's Avatar
 
Join Date: March 2006
Location: Australia, QLD, Brisbane
Send a message via MSN to franpa
confirmed, attachment is missing.
__________________
Core i7 920 @ 2.66GHZ
ASUS P6T Mother Board
6GB DDR3 1600 RAM
500GB SATA2 HDD
Auzentech Forte
Nvidia Geforce 560Ti 2048MB PCI-E (latest drivers)
Windows 7 Home Premium x64
Thermaltake 750watt Toughpower Power Supply
Thermaltake Armor+ MX case.

http://home.exetel.com.au/franpa/
franpa is offline   Reply With Quote
Old 5 Jun 2009, 10:49   #30
thomasp
User Mod
 
thomasp's Avatar
 
Join Date: August 2001
Location: The United Kingdom
The issue with attachments has been reported to the admins and will be fixed as soon as possible.
__________________
The views and comments expressed by me do not represent those of Team17 - mainly because I don't work for Team17 nor do I have any contact with them - I just help moderate their forum.
--
Official Mac Campaigner Now with Intel Inside!
--
Quotes from Douglas Adams:
"I wrote an ad for Apple: 'Macintosh - We might not get everything right, but at least we knew the century was going to end.'"
"The Macintosh may only have 10% of the market, but it's clearly the top 10%."
thomasp is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:37.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.