War2.ru Slogan
News: Watch live streams at War2TV and replays of
past streams at War2TV Reruns!


Welcome, Guest. Please login or register.

Login with username, password and session length
Welcome to the forums! We're glad to have you here! :) You can register your account here, then feel free to introduce yourself in the Server.War2.ru board & let us know who you are on the server.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - fois

Pages: [1] 2 3 ... 11
1) Server.War2.ru / Re: Auto obs + Auto teams {BETA test}
« on: August 01, 2021, 06:46:56 AM »
It's cool, but I don't like that you have to type commands :(

When you have to type commands it will be too complicated and many will not use it, just like it was some years ago with the host bots.


It would be nice if we can have observers working without commands, the drop down box should have the observer setting in it so you get "human, orc, random, observer"

2) Mods & Development / Re: Warcraft II Config program
« on: July 13, 2021, 05:53:45 PM »
Did that work out
It's not in good condition for now.
I can instant join/create some games, i can use some chat features and so on, but all this still too raw.
Too many things needs to be fixed/reworked, at least "guaranteed" info delivery by BNE chat.


Common problem depending on ddraw:
while at least one BNE window exist,
all war2 windows (including main) need to be same alpha=0 (transparent for mouse clicks)
BNE not exist - main return to normal/default War2Alpha

I will be appreciated for version like this
   
maybe good to have options in war2_ddraw.ini
War2Alpha=255 ;  ~ 16 to 255 ; default common transparency for war2
BNEAlpha=255; same for bne mode, 0 - invisible/non clickable ALL war2 windows while BNE exist
for testing/working period at least...


Do you have a test version so I can see what you are trying to do and get a better understanding of it? Maybe makes it easier then for me to think about a good solution



I tried to just double all the sizes/coords in the dialogs resources to get 1280x960, but War2 still switching to 640 when BNE appears then crashed.
What needs to be done so that war2 does not crash?


I don't remember how i done it but i had it working before (only in windowed mode though). I think you need to test it with cnc-ddraw, gdi ddraw has too many hardcoded "640x480" stuff.
I changed the text size and let it auto scale, that was easier to do

3) Mods & Development / Re: Warcraft II Config program
« on: July 13, 2021, 12:28:22 AM »
then i can make/finish a wrapper interface of any size (less / more than 640, depending on the user's current task: chatting / working with the tournament / etc) with the necessary functions, much more convenient than regular interface, faster than conventional drawing.

Did that work out @Available ? If not, then maybe we could create multiple battle.snp files (each one with a different resolution)

4) Server.War2.ru / Re: Streaming help
« on: April 22, 2021, 11:10:15 PM »
Check step #4 here: https://forum.war2.ru/index.php/topic,6211.0.html

Update

Can now automatically resize the cursor to match the window size + added a settings file "HardwareCursor.ini" to configure the cursor size


Also updated the ddraws/config https://forum.war2.ru/index.php/topic,5015.0.html




I have tested up a little bit in single player campaigns your plugin and looks fantastic thus far. Even though there shouldn't be any latency there, I sort of feel it's even lower now when clicking... Are you the same author who did the war2 config program or are you just sharing it ? If it's the former, I truly congratulate and I'm very grateful with you because it has been rather useful in about 1 year since have been using it. Pretty awesome to have xbrz shader available in this game. Looks pretty outstanding. Thanks for working and sharing those awesome tools for warcraft 2 !


Thanks for testing and reporting back! Yeah I made the config program, glad to hear you like it!

6) Mods & Development / Re: Plugin package
« on: April 13, 2021, 06:29:34 PM »
@Szwagier

EDIT: I found the problem, it only happened when the message was too long and it displayed the message in multiple lines.

Fixed it now, re-download the plugin from the first post

7) Server.War2.ru / How to stream Warcraft II
« on: March 21, 2021, 09:04:56 AM »
How to stream Warcraft II


1. Create a twitch account here: https://www.twitch.tv/

2. Download and install OBS: https://obsproject.com/download

3. Start OBS and go through the Auto-Configuration Wizard to set everything up

4. Download Warcraft II Config.zip and extract it into your game folder (Make sure the game is not running before you extract it)

5. Start the game and then press Alt+Enter to go to windowed mode (Do NOT minimize the window!)

6. In OBS click on the + button on "Sources" and select "Window Capture" click ok then choose the window named "[Warcraft II BNE.exe]: Warcraft II"

7. Select the window capture in OBS and upscale it to fit the screen, you can press CTRL+F to keep black bars or CTRL+S to stretch to fullscreen

8. Click on "Start Streaming" in OBS

9. Go back to Warcraft II and press Alt-Enter again to switch back to fullscreen and start playing



Note: Do not use Alt+Tab while streaming, use Alt+Enter instead (or else your stream will stop displaying the game) and make sure you never click on the minimize button in the window.

8) Mods & Development / Re: Warcraft II Config program
« on: March 19, 2021, 05:44:11 AM »
Sounds exactly right, but doesn't work(still no any transparent effect), regardless of whether "OverlayFPS = 0" or something else is used, also tried "Alpha=1" as ini file option. (win7 / xp - same no effect, can't try on win10 atm)

Am I doing the right thing by renaming this file to ddraw.dll?

Seems to work only with top level windows on xp/vista/7, but not with child windows.

https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-setlayeredwindowattributes
Quote
Windows 8:  The WS_EX_LAYERED style is supported for top-level windows and child windows. Previous Windows versions support WS_EX_LAYERED only for top-level windows.

However, I just tested it on win 7 and it seems to work fine on all windows

Added a .ini setting for it and changed the hotkey to Alt+Home

9) Mods & Development / Re: Warcraft II Config program
« on: March 18, 2021, 05:02:42 AM »
Here another one, this one got Alpha = 1 rather than Alpha = 0 and you can still click on the buttons with this one

10) Mods & Development / Re: Warcraft II Config program
« on: March 18, 2021, 04:49:52 AM »
and, if possible, a request for a special option:
if it is possible to create all BNE windows creates as a "100% transparent" by default (also good thing if this feature can be somehow switched "on the fly", same as OnTop),
then i can make/finish a wrapper interface of any size (less / more than 640, depending on the user's current task: chatting / working with the tournament / etc) with the necessary functions, much more convenient than regular interface, faster than conventional drawing.

Alt+End to toggle it.

Set "OverlayFPS=0", otherwise you can't see if it worked

11) Mods & Development / Re: Warcraft II Config program
« on: March 18, 2021, 04:08:15 AM »
1a. Ctrl + TAB does not work after exiting the game itself to "BNE"
1b. it would be better if the mouse released automatically in this case

I had it like this once but some complained and i reverted it. I can probably add it again for windowed mode though

2. is it possible to somehow increase the rendering performance of all "BNEs"? sometimes the image is not drawn completely correctly or have lacks, most likely because something is going too slowly

3. it would be nice if the new "obs" one-window feature to be optional, because interface mod allows to work with each BNE window separately, including NOT displaying the login and password inputs etc, whatever user wants.

I already fixed some redrawing bugs and also made the overlay FPS configurable via war2_ddraw.ini (0 = disabled) after watching eqs stream yesterday a bit (check first post for latest version)

Edit: Using window capture on the BNE windows will cause drawing glitches randomly (I had that problem too, don't have a solution for yet). But the 1-source trick doesn't have this problem though

and, if possible, a request for a special option:
if it is possible to create all BNE windows creates as a "100% transparent" by default (also good thing if this feature can be somehow switched "on the fly", same as OnTop),
then i can make/finish a wrapper interface of any size (less / more than 640, depending on the user's current task: chatting / working with the tournament / etc) with the necessary functions, much more convenient than regular interface, faster than conventional drawing.

Yeah I can try to add that

12) Mods & Development / Re: Warcraft II Config program
« on: March 18, 2021, 03:55:24 AM »
Wow work like a charm ty very much!

Last thing, if you still want to improve it and have time...

When you swtich between control s and control f.... When you goes in control f, you can see the personal desktop in the background, i dont know if its possible or any way to put full black boarder.

Maybe there a simple way and i just dont know it too, maybe something in obs?

Nice! Did you delete your old "display capture"? Normally it should be black with CTRL+F with window capture as long as you don't have a display capture somewhere still in OBS

13) Mods & Development / Re: Warcraft II Config program
« on: March 18, 2021, 02:06:26 AM »
It's not bad at all!! But there only one major probleme.. Every time at alt tab my obs came back to my first screen, is there any way to let it lock in the second screen? Because it's really annoying to always bring it back to my second screen lol.



Ah damn, I only got one monitor right now so I can't test it... But try this new ddraw.dll here, maybe it works

14) Mods & Development / Re: Warcraft II Config program
« on: March 16, 2021, 09:15:29 AM »
How to stream Warcraft II


1. Create a twitch account here: https://www.twitch.tv/

2. Download and install OBS: https://obsproject.com/download

3. Start OBS and go through the Auto-Configuration Wizard to set everything up

4. Download Warcraft II Config.zip and extract it into your game folder (Make sure the game is not running before you extract it)

5. Start the game and then press Alt+Enter to go to windowed mode (Do NOT minimize the window!)

6. In OBS click on the + button on "Sources" and select "Window Capture" click ok then choose the window named "[Warcraft II BNE.exe]: Warcraft II"

7. Select the window capture in OBS and upscale it to fit the screen, you can press CTRL+F to keep black bars or CTRL+S to stretch to fullscreen

8. Go back to Warcraft II and press Alt-Enter again to switch back to fullscreen and start streaming



Note: Do not use Alt+Tab while streaming, use Alt+Enter instead (or else your stream will stop displaying the game) and make sure you never click on the minimize button in the window.

15) Mods & Development / Re: Warcraft II Config program
« on: March 16, 2021, 09:09:24 AM »
Thanks. It's sad about 20 pixels. Everything else works.
Maybe add vertical centering without taking into account the titlebar (in case 20px(?) of header still fits on the screen) to let game seems really centered, not too low.

Not sure if that will work on 1280x1024, have to try it later


There are streamer version with all layers marked.
Let's Synchronize names at least (txt files). :)

Yeah, my idea was similar (giving names to the windows), but in my version many windows share the same name so you don't need many sources (e.g. Channel/Create/Join/Ladder are all "Bnet Overlay 2"). I can't know which window is what so it wouldn't work to use the same names anyways (i only know the size and the order they were created).



Anyways, I might have a better solution now. You can now record with just 1 source and window capture...

Pages: [1] 2 3 ... 11