-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple Hooked Processes #170
Comments
Can you give some more details? Are you trying to start the same game multiple times? What game is it? |
It's called NexusTK. Yes I am attempting to open multiple clients. |
It's quite common on old games that they're checking the window title and disallow to start another instance if there's already a window with the given title. It's easy to change the title but I'm not sure if this is really something cnc-ddraw should "fix", would probably be something a separate game patch should be doing |
It's entirely due to cnc-draw, as natively I can launch as many as I want, and also with Dxwnd I can launch as many as I want. It's not a mutex lock on the application, it's a lock in cnc. |
Ah okay, cool... Will have a look soon. I run games multiple times with cnc-ddraw just fine (There isn't any lock in cnc-ddraw), but I will debug it and maybe I'll find out what's wrong with it |
Weird, it seems to lock for me. Maybe it's one of my settings on cnc? |
Using an older version, I am still unable to open multiple clients. It will also close the main folder if it is open. Using the latest release. Could you post your .ini? |
I've been using all default settings, only enabled windowed mode. Maybe try the debug build and let it generate a debug log? #44 |
Attached. Ran it windowed for first open, then 2nd open it never actually opens, cursor just changes to load |
Nothing too useful in it, but you seem to have compatibility modes enabled. Try to disable them. (It says Windows 7 Ultimate, but the build says windows 11) |
Oh oops. was trying different things. New log here. If you'd like me to upload my game version somewhere, let me know and I can. |
The first log was showing a dirty exit (you clicked on the X button), this one here is showing a clean exit. I guess the logs you uploaded were both from the working instance and not from the second non-working one. Yeah, maybe upload your game and I'll try with it |
https://drive.google.com/file/d/1x5HZTlUjEDi6hPZ7PglbJBerfyE-994I/view?usp=sharing This is the client with the debug ddraw |
Ahhh, okay so it does force single instance .thanks! |
The log was uploaded after attempting the 2nd instance.
I will post a Google drive link shortly.
…________________________________
From: FunkyFr3sh ***@***.***>
Sent: Saturday, September 17, 2022 5:07:17 PM
To: CnCNet/cnc-ddraw ***@***.***>
Cc: Curry, Dustin ***@***.***>; Author ***@***.***>
Subject: Re: [CnCNet/cnc-ddraw] Multiple Hooked Processes (Issue #170)
NetApp Security WARNING: This is an external email. Do not click links or open attachments unless you recognize the sender and know the content is safe.
The first log was showing a dirty exit (you clicked on the X button), this one here is showing a clean exit.
I guess the logs you uploaded were both from the working instance and not from the second non-working one.
Yeah, maybe upload your game and I'll try with it
—
Reply to this email directly, view it on GitHub<#170 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AIXKYVTASPOLDJM26DUMO4TV6YXILANCNFSM6AAAAAAQOZKP2Q>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Cannot launch multiple processes with the same DDRAW.
The text was updated successfully, but these errors were encountered: