Page 2 of 3 FirstFirst 1 2 3 LastLast
Results 11 to 20 of 21

Thread: Capture game window for streaming

  
  1. #11

    Default Re: KeeperFX Unofficial - Alpha 2080

    Quote Originally Posted by theleo_ua View Post
    ok, now I got it why you have black bars - because your window has titlebar, which eat some pixels

    To solve this, you can use dxwnd to hide titlebar from keeperfx window
    I will give it a try, but they are really few pixel of black bar I can go with it!

  2. #12

    Default Re: Capture game window for streaming

    I managed to record in OBS studio with the screen capture method.
    However, the aspect ratio is bad, and the image is stretched to fit in 16/9 format instead of 4/3.
    I tried to resize the canvas but I ended with a black video.
    I don't know exactly how to fix this.

    Anyone tried to record with DosBox ?

  3. #13

    Default Re: Capture game window for streaming

    Quote Originally Posted by Lionel90 View Post
    However, the aspect ratio is bad, and the image is stretched to fit in 16/9 format instead of 4/3.
    add this in dosbox cfg:


    1) Easiest way:

    aspect=true
    output=opengl


    2) Harder way (if easiest doesn't work):

    fullresolution=1600x1200
    #please type your desktop resolution
    #if problem still exists - try to use 4:3 resolution for fullcreeen (your monitor should support it)
    #so please google your monitor model and resolutions it can support, and select highest 4:3 from there (but better to use your desktop resolution, I bet it's possible to configure dosbox for add black pillarboxes for DK)

    windowresolution=1280x960
    #please type your windowed resolution

    output=opengl

    aspect=false
    scaler=normal2x

    Quote Originally Posted by Lionel90 View Post
    I managed to record in OBS studio with the screen capture method.
    However, the aspect ratio is bad, and the image is stretched to fit in 16/9 format instead of 4/3.
    I tried to resize the canvas but I ended with a black video.
    I don't know exactly how to fix this.

    Anyone tried to record with DosBox ?
    I tried to record both in doxbox and in keeperfx, but - I only use windowed mode (I don't play any game in fullscreen) and only use game capture mode for dosbox (which has "output = opengl" option in cfg) and only use window capture mode for keeper fx

    Results:


    DosBox:

    Example with bad cfg (ini) settings (a lot of lags in game): https://www.youtube.com/watch?v=RXnA...e_polymer=true

    Example with good cfg (ini) settings from gog (no lags in game): https://www.youtube.com/watch?v=kRXj...e_polymer=true


    KeeperFX: https://www.youtube.com/playlist?lis...e_polymer=true

    If you have any questions, ask please.


    For now - what I have got:


    In DosBox - you need:

    1) Good cfg (ini) settings for correct performance without lags (you can find them in gog version or ask me to upload cfg)

    2) OpenGL renderer ("output = opengl" in DosBox cfg). Please note, that gog version does not have OpenGL turned on, so you need to do this manually (or ask me for cfg)

    OpenGL is required to make game capture of obs possible


    In KeeperFX I used DxWND software to run it in window (launched DxWND from administrator) and used window capture in OBS (launched OBS from administrator). Please read this thread from the very beginning, because I told a lot of information about OBS and KeeperFX settings, maybe they will be helpful for you
    Last edited by theleo_ua; May 11th, 2020 at 02:51.

  4. #14

    Default Re: Capture game window for streaming

    Thanks for the advices.
    Btw I am using a laptop, with screen resolution 1920*1080.
    See you in a few days after some testings

  5. #15

    Default Re: Capture game window for streaming

    Quote Originally Posted by Lionel90 View Post
    Thanks for the advices.
    Welcome

    Quote Originally Posted by Lionel90 View Post
    Btw I am using a laptop, with screen resolution 1920*1080.
    Then:

    1) Easiest way:

    aspect=true
    output=opengl


    2) Harder way (if easiest doesn't work):

    fullresolution=1920x1080

    windowresolution=1280x960

    output=opengl

    aspect=false
    scaler=normal2x


    3) Also, could you please go to windows display settings and give me screenshot with list of all resolutions you can set for your desktop? Or just type them in text here. I want to know, what is the highest 4:3 resolution your laptop can support

    Quote Originally Posted by Lionel90 View Post
    See you in a few days after some testings
    GL

  6. #16

    Default Re: Capture game window for streaming

    Quote Originally Posted by theleo_ua View Post
    Welcome

    3) Also, could you please go to windows display settings and give me screenshot with list of all resolutions you can set for your desktop? Or just type them in text here. I want to know, what is the highest 4:3 resolution your laptop can support
    Here we go (in french, yeah)
    Click image for larger version. 

Name:	screenreso.png 
Views:	3 
Size:	36.2 KB 
ID:	1993

    In both DxWnd and Dowbox, I'm having some problems with the mouse in windowed mode
    and I'm using my good old Dkgold CD which fortunatly didn't suffer a lot.
    Last edited by Lionel90; May 18th, 2020 at 18:56.

  7. #17

    Default Re: Capture game window for streaming

    Quote Originally Posted by Lionel90 View Post
    Here we go (in french, yeah)
    Ok, please try next doxbox settings:

    fullresolution=1400x1050

    windowresolution=1400x1050

    output=opengl

    aspect=false
    scaler=normal2x


    Does it works, when you play in fullscreen?


    Quote Originally Posted by Lionel90 View Post
    In both DxWnd and Dowbox, I'm having some problems with the mouse in windowed mode
    and I'm using my good old Dkgold CD which fortunatly didn't suffer a lot.
    What exact problems - could you please tell me more details?

  8. #18

    Default Re: Capture game window for streaming

    Here is what happens with DxWnd, as soon as I touch my mouse
    I also still have to do some size adjustments



    In DosBox it is a speed problem, I'm trying to fix this another day.

  9. #19

    Default Re: Capture game window for streaming

    Quote Originally Posted by Lionel90 View Post
    In DosBox it is a speed problem, I'm trying to fix this another day.
    Whic exact speed problem? You mean game speed is too fast? Then use ctrl+F11 ctrl+F12 to slowdown

    Quote Originally Posted by Lionel90 View Post
    Here is what happens with DxWnd, as soon as I touch my mouse
    I attached my DxWND settings for keeperfx, try them
    Attached Files Attached Files

  10. #20

    Default Re: Capture game window for streaming

    update, it's now working great with Dosbox after some mouse sensitivity tweaking. OBS does the job
    DxWnd, still has mouse issue, even with your config file.
    I'm investigating

Similar Threads

  1. [Enhancement] - Window Mode
    By Auxin in forum KeeperFX
    Replies: 2
    Last Post: June 6th, 2014, 14:47
  2. can you run the official editor in a window?
    By darkkingkongman in forum KeeperFX
    Replies: 1
    Last Post: March 13th, 2014, 15:55
  3. Problem with in game Map (Spy Window)
    By SwordsforDinner in forum DK2 Troubleshooting
    Replies: 1
    Last Post: May 15th, 2012, 02:19
  4. Can't run DKGold in a window what so ever
    By Combat-Enforcer in forum DK1 Troubleshooting
    Replies: 7
    Last Post: July 19th, 2010, 15:26

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •