• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 10:13
CET 16:13
KST 00:13
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
RSL Revival - 2025 Season Finals Preview8RSL Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12
Community News
ComeBackTV's documentary on Byun's Career !10Weekly Cups (Dec 8-14): MaxPax, Clem, Cure win4Weekly Cups (Dec 1-7): Clem doubles, Solar gets over the hump1Weekly Cups (Nov 24-30): MaxPax, Clem, herO win2BGE Stara Zagora 2026 announced15
StarCraft 2
General
ComeBackTV's documentary on Byun's Career ! Micro Lags When Playing SC2? When will we find out if there are more tournament Weekly Cups (Dec 8-14): MaxPax, Clem, Cure win RSL Revival - 2025 Season Finals Preview
Tourneys
Sparkling Tuna Cup - Weekly Open Tournament $100 Prize Pool - Winter Warp Gate Masters Showdow $5,000+ WardiTV 2025 Championship Winter Warp Gate Amateur Showdown #1 RSL Offline Finals Info - Dec 13 and 14!
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 504 Retribution Mutation # 503 Fowl Play Mutation # 502 Negative Reinforcement Mutation # 501 Price of Progress
Brood War
General
Klaucher discontinued / in-game color settings Anyone remember me from 2000s Bnet EAST server? BGH Auto Balance -> http://bghmmr.eu/ How Rain Became ProGamer in Just 3 Months FlaSh on: Biggest Problem With SnOw's Playstyle
Tourneys
[BSL21] LB QuarterFinals - Sunday 21:00 CET Small VOD Thread 2.0 [Megathread] Daily Proleagues [BSL21] WB SEMIFINALS - Saturday 21:00 CET
Strategy
Simple Questions, Simple Answers Game Theory for Starcraft Current Meta Fighting Spirit mining rates
Other Games
General Games
Stormgate/Frost Giant Megathread General RTS Discussion Thread Nintendo Switch Thread Mechabellum PC Games Sales Thread
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
Mafia Game Mode Feedback/Ideas Survivor II: The Amazon Sengoku Mafia TL Mafia Community Thread
Community
General
US Politics Mega-thread The Games Industry And ATVI Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine YouTube Thread
Fan Clubs
White-Ra Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece Movie Discussion!
Sports
2024 - 2026 Football Thread Formula 1 Discussion
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
TL+ Announced Where to ask questions and add stream?
Blogs
The (Hidden) Drug Problem in…
TrAiDoS
I decided to write a webnov…
DjKniteX
James Bond movies ranking - pa…
Topin
Thanks for the RSL
Hildegard
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1554 users

[Fix] Icons in fullscreen mode with iccup antihack - Page 2

Forum Index > BW General
Post a Reply
Prev 1 2 3 Next All
xboi209
Profile Blog Joined June 2011
United States1173 Posts
April 06 2013 00:42 GMT
#21
I'm pretty sure wLauncher just reads the InstallPath from the registry which is located here: HKEY_CURRENT_USER\Software\Blizzard Entertainment\Starcraft
For your exe file above, edit it so that it looks for the iccup.ini file in the same directory rather than the registry. Also, any reason why 2 dialog boxes appear?
http://www.reddit.com/r/broodwar/
quirinus
Profile Blog Joined May 2007
Croatia2489 Posts
Last Edited: 2013-04-06 04:28:40
April 06 2013 04:27 GMT
#22
2 dialog boxes? Which ones? What do they say?

It looks in the registry (first 32 bit, then 64 bit) for the folder where the iCCup Launcher is installed (the Launcher uninstall reg key has the path).

If it finds it in registry, it just assumes the ini file is in that folder, and checks if it's really present.
      If it's there, it proceeds to read the MainExe under the BW section, and adds ddemulate.
      If it doesn't find the ini file in that location, i opens up an "open file" dialog so you can select it.
If it doesn't find it in the registry, it opens up an "open file" dialog so you can select it.

In both cases if you don't select the file, or it's not named right, it gives an error and shuts down.
It also gives an error if it can't read the section/key and then shuts down as well.

Edit: LOL how didn't I think of that, yea the wLauncher probably searches the registry every time it starts. Lame. It's going to be harder to fix it like that.
All candles lit within him, and there was purity. | First auto-promoted BW LP editor.
xboi209
Profile Blog Joined June 2011
United States1173 Posts
April 06 2013 05:27 GMT
#23
It's the one that asks you if you want to run it or not, before admin privs. are requested.
http://www.reddit.com/r/broodwar/
quirinus
Profile Blog Joined May 2007
Croatia2489 Posts
Last Edited: 2013-04-06 17:12:30
April 06 2013 17:03 GMT
#24
One asks if you want to run it in admin mode, and the other asks for permission to edit the ini file. It's normal for unlisted programs I think. Say "Yes" to both.
All candles lit within him, and there was purity. | First auto-promoted BW LP editor.
xboi209
Profile Blog Joined June 2011
United States1173 Posts
Last Edited: 2013-04-06 19:39:09
April 06 2013 18:12 GMT
#25
I meant that I see 2 of these before admin privileges are requested:
[image loading]
EDIT: Figured it out, if you right click and run as admin, only one of those boxes appear but if you just plainly run it, 2 will appear.
And still, could you just edit it so that it only looks in the current directory and silently run
http://www.reddit.com/r/broodwar/
quirinus
Profile Blog Joined May 2007
Croatia2489 Posts
April 06 2013 21:29 GMT
#26
Of course, the first line in the code makes it ask for admin privileges. Most of AutoIt scripts get blocked by Windows without that. You also need admin privileges to edit stuff in the program files, haven't really tried running without it, but I think it wouldn't work. If you removed it, I think windows would still make one additional dialog box, depending on your security/privacy/trust settings.

Why would I make it run only in the current directory? The point of the script is that the script finds the ini file automatically, so people don't need to look for it themselves. If it can't find the ini file it simply asks for you to select it.

Why would you make it run silently if it's a stand-alone patch? Usually when you run a patch you want to know the result. I'm not sure what you mean with silent. For me silent is that it doesn't produce any programmed message boxes (results/errors). Windows message boxes are another thing, I don't include them in the silent description.


Here's the version you asked for, though:
exe file
script file

It doesn't ask for any admin rights, and edits only the ini file in the folder it's in.

Code:
+ Show Spoiler [silent mode, only in folder] +
;Made by Quirinus from [url=http://www.teamliquid.net]www.teamliquid.net[/url]
;http://www.teamliquid.net/forum/viewmessage.php?topic_id=406058
;6th April 2013.
;This script adds "ddemulate" to the StarCraft path that iCCup Launcher uses to start StarCraft.
;This fixes dissapearing rank icons on iCCup for most users. Some users report increased loading time for StarCraft.

;has to be in the folder where iccup.ini is (iccup launcher folder)
$ini_path = @WorkingDir & "\iccup.ini"

If (FileExists($ini_path) == 1) Then
$bw_section = "StarCraft: Brood War"
$bw_key = "MainExe"
$bw_path_value = IniRead($ini_path, $bw_section, $bw_key, "Not_Found")
If ($bw_path_value == "Not_Found") Then
Exit
EndIf

;===== Applies the patch if it's not there already =====
If (StringInStr($bw_path_value, '"ddemulate"') == 0) Then
$bw_path_value = $bw_path_value & ' "ddemulate"'
IniWrite($ini_path, $bw_section, $bw_key, $bw_path_value)
EndIf
EndIf
Exit
All candles lit within him, and there was purity. | First auto-promoted BW LP editor.
JohnBall
Profile Joined December 2008
Brazil1272 Posts
April 06 2013 22:35 GMT
#27
Hey, I was skeptical at first but I'm posting here to confirm that this fix indeed works. Thanks a lot OP.
perfecting the art of five pool forever
xboi209
Profile Blog Joined June 2011
United States1173 Posts
April 06 2013 23:03 GMT
#28
I don't mind having it ask for admin privileges but 2 security warning dialogs are annoying. I'm going to pack this with a batch file that I'm making for iCCup. It'll include a bunch of fixes for Starcraft and it's going to be uploaded on iCCup's website
http://www.reddit.com/r/broodwar/
quirinus
Profile Blog Joined May 2007
Croatia2489 Posts
April 07 2013 01:41 GMT
#29
On April 07 2013 08:03 xboi209 wrote:
I don't mind having it ask for admin privileges but 2 security warning dialogs are annoying. I'm going to pack this with a batch file that I'm making for iCCup. It'll include a bunch of fixes for Starcraft and it's going to be uploaded on iCCup's website


Ah awesome, that explains it then.
All candles lit within him, and there was purity. | First auto-promoted BW LP editor.
xboi209
Profile Blog Joined June 2011
United States1173 Posts
Last Edited: 2013-04-07 03:05:32
April 07 2013 01:44 GMT
#30
I do need help with my batch file though, there's 2 problems with it:
1) My registry is being overwritten even though there's a check to see if the key exists or not
2) The code checks for the value of the key and if the value is incorrect, it checks another value, the value is always considered correct however

+ Show Spoiler +
:na
reg query "%regpath%" /v "%regvalue%">nul || echo Game Data Port does not exist, setting Game Data Port to 6112 & REG ADD "HKCU\Software\Battle.net\Configuration" /v "Game Data Port" /t "REG_DWORD" /d "6112" /f>Nul & goto 6112

:6112
reg query "%regpath%" /v "%regvalue%" | find /i "17e0">nul
if errorlevel 0 (
Start UPNPConsole.exe add "6112" "UDP" "6112" "True" "StarCraft"
echo Opened port 6112 via UPNP
netsh advfirewall firewall add rule name="Starcraft 6112" dir=in action=allow protocol=UDP localport=6112>nul
echo Created firewall rule for port 6112
set 6112=6112
goto starcraftx1
) else (
goto 6113
)


I'd highly appreciate it if you can help me out on this one
http://www.reddit.com/r/broodwar/
quirinus
Profile Blog Joined May 2007
Croatia2489 Posts
Last Edited: 2013-04-07 02:47:26
April 07 2013 02:47 GMT
#31
There's also Battle.net\Configuration in the 64 bit part of the reg, dunno if it's important or not.

No idea on the batch file (as I said, I don't know batch very well :<), I'll try to take a deeper look into it later. The first line under :na seems to be broken in two though.
All candles lit within him, and there was purity. | First auto-promoted BW LP editor.
xboi209
Profile Blog Joined June 2011
United States1173 Posts
Last Edited: 2013-04-07 07:59:46
April 07 2013 03:06 GMT
#32
Fixed the post, wasn't broken in my batch file.

EDIT:
I fixed my first problem, guess I needed to look at that a bit more but here is the correct code
+ Show Spoiler +
:na
reg query "%regpath%" /v "%regvalue%"2>nul
if errorlevel 1 (
echo Game Data Port does not exist, setting Game Data Port to 6112
REG ADD "HKCU\Software\Battle.net\Configuration" /v "Game Data Port" /t "REG_DWORD" /d "6112">nul
goto 6112
) else (
goto 6112
)


EDIT2: fixed the second problem :D
http://www.reddit.com/r/broodwar/
quirinus
Profile Blog Joined May 2007
Croatia2489 Posts
April 07 2013 19:09 GMT
#33
On April 07 2013 12:06 xboi209 wrote:
Fixed the post, wasn't broken in my batch file.

EDIT:
I fixed my first problem, guess I needed to look at that a bit more but here is the correct code
+ Show Spoiler +
:na
reg query "%regpath%" /v "%regvalue%"2>nul
if errorlevel 1 (
echo Game Data Port does not exist, setting Game Data Port to 6112
REG ADD "HKCU\Software\Battle.net\Configuration" /v "Game Data Port" /t "REG_DWORD" /d "6112">nul
goto 6112
) else (
goto 6112
)


EDIT2: fixed the second problem :D


Awesome! :D

Are you sure it's just enough to change it there and nowhere else?
All candles lit within him, and there was purity. | First auto-promoted BW LP editor.
dM-White
Profile Joined February 2007
Chile341 Posts
April 07 2013 19:26 GMT
#34
awesome! worked!! thanks dude!
can you do the same for Wlauncher and fix fish server icons t.t ???

regards
Op dM- @West || http://DisturbedMind.net || https://discord.gg/ePERqJp
quirinus
Profile Blog Joined May 2007
Croatia2489 Posts
April 07 2013 19:41 GMT
#35
On April 08 2013 04:26 dM-White wrote:
awesome! worked!! thanks dude!
can you do the same for Wlauncher and fix fish server icons t.t ???

regards


Yea, I was trying, but wLauncher is more fucked up, so it's harder with my limited knowledge. I'm still pondering on a solution...

Maybe xboi has an idea.
All candles lit within him, and there was purity. | First auto-promoted BW LP editor.
xboi209
Profile Blog Joined June 2011
United States1173 Posts
April 07 2013 20:43 GMT
#36
If wLauncher was translated into English then I would at least take a quick look.
http://www.reddit.com/r/broodwar/
Rekzr
Profile Blog Joined September 2010
Australia92 Posts
Last Edited: 2013-05-28 20:08:30
May 28 2013 20:08 GMT
#37
How did you guys go with doing the same for fish, I have just spent the entire night trying to fix this one. cant see the rank numbers displaying, I cant find anyway to ddemulate sc in wlauncher.
quirinus
Profile Blog Joined May 2007
Croatia2489 Posts
May 28 2013 20:19 GMT
#38
On May 29 2013 05:08 Rekzr wrote:
How did you guys go with doing the same for fish, I have just spent the entire night trying to fix this one. cant see the rank numbers displaying, I cant find anyway to ddemulate sc in wlauncher.


We didn't. :<
wlauncher is gay like that
All candles lit within him, and there was purity. | First auto-promoted BW LP editor.
Golgotha
Profile Blog Joined January 2011
Korea (South)8418 Posts
May 29 2013 00:21 GMT
#39
can u guys tell me what this fix does? icon problem? I don't think ive had this problem.
xboi209
Profile Blog Joined June 2011
United States1173 Posts
May 29 2013 00:23 GMT
#40
It's where you can't see icons and lat bars
http://www.reddit.com/r/broodwar/
Prev 1 2 3 Next All
Please log in or register to reply.
Live Events Refresh
WardiTV 2025
11:00
Championship Sunday
Classic vs SHINLIVE!
TBD vs Clem
WardiTV2395
ComeBackTV 1844
TaKeTV 671
Rex169
CosmosSc2 96
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Rex 169
CosmosSc2 96
StarCraft: Brood War
Calm 6145
Rain 3757
Horang2 1615
EffOrt 1283
Shuttle 1280
Soma 910
GuemChi 787
Stork 607
Light 404
firebathero 276
[ Show more ]
hero 275
Last 173
ggaemo 171
Hyun 164
Rush 164
Sharp 144
Mini 133
Bonyth 83
soO 72
Barracks 63
Movie 52
Sea.KH 45
ToSsGirL 30
Killer 27
HiyA 20
Terrorterran 20
910 19
zelot 13
GoRush 12
SilentControl 10
Dota 2
Gorgc7059
singsing3849
qojqva2546
Pyrionflax293
XcaliburYe225
Counter-Strike
allub228
Heroes of the Storm
Khaldor434
Liquid`Hasu212
Other Games
B2W.Neo1686
DeMusliM429
Hui .388
Fuzer 317
KnowMe106
Mew2King106
Liquid`VortiX74
Organizations
Other Games
PGL675
StarCraft: Brood War
Kim Chul Min (afreeca) 16
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 13 non-featured ]
StarCraft 2
• HeavenSC 14
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• HappyZerGling65
League of Legends
• Jankos2818
Upcoming Events
Ladder Legends
1h 48m
BSL 21
4h 48m
StRyKeR vs TBD
Bonyth vs TBD
Replay Cast
17h 48m
Wardi Open
20h 48m
Monday Night Weeklies
1d 1h
WardiTV Invitational
2 days
Replay Cast
3 days
WardiTV Invitational
3 days
ByuN vs Solar
Clem vs Classic
Cure vs herO
Reynor vs MaxPax
Replay Cast
5 days
Sparkling Tuna Cup
6 days
Liquipedia Results

Completed

Acropolis #4 - TS3
RSL Offline Finals
Kuram Kup

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
BSL Season 21
Slon Tour Season 2
CSL Season 19: Qualifier 1
WardiTV 2025
META Madness #9
eXTREMESLAND 2025
SL Budapest Major 2025
ESL Impact League Season 8
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22

Upcoming

CSL Season 19: Qualifier 2
CSL 2025 WINTER (S19)
BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
Big Gabe Cup #3
OSC Championship Season 13
Nations Cup 2026
ESL Pro League Season 23
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.