No keyboard input when using a .bat file or ZDL
Moderators: GZDoom Developers, LZDoom Developers, UZDoom Developers
Forum rules
Please be as descriptive as possible in your posts (list your hardware and operating system, the version of the source port you are using, any mods you are running and how they're being loaded, etc.)
This will help others to give you a solution!
Please be as descriptive as possible in your posts (list your hardware and operating system, the version of the source port you are using, any mods you are running and how they're being loaded, etc.)
This will help others to give you a solution!
-
Yellow2206
- Posts: 19
- Joined: Fri Apr 26, 2019 1:14 pm
- Graphics Processor: Intel (Modern GZDoom)
No keyboard input when using a .bat file or ZDL
(EDIT there is no problem anymore
Last edited by Yellow2206 on Sun Jun 02, 2019 5:28 am, edited 3 times in total.
-
Rachael
- Posts: 13978
- Joined: Tue Jan 13, 2004 1:31 pm
- Preferred Pronouns: She/Her
Re: No keyboard input when using a .bat file or ZDL
What is your keyboard? What kind of cable does it use?
-
Yellow2206
- Posts: 19
- Joined: Fri Apr 26, 2019 1:14 pm
- Graphics Processor: Intel (Modern GZDoom)
Re: No keyboard input when using a .bat file or ZDL
Sorry didnt notice you replied i have an Steelseries m800 with usb 3.0 if thats what you mean by cable if not i use the one it came with.Rachael wrote:What is your keyboard? What kind of cable does it use?
[duplicate post deleted - Enjay]
-
Enjay
-

- Posts: 27501
- Joined: Tue Jul 15, 2003 4:58 pm
- Location: Scotland
Re: No keyboard input when using a .bat file or ZDL
I wonder if somehow GZDoom is trying to use a bad ini file or something when run from a bat/zdl? Problem is, it's kind of hard to type "whereisini" at the console when the keyboard doesn't work.
-
Rachael
- Posts: 13978
- Joined: Tue Jan 13, 2004 1:31 pm
- Preferred Pronouns: She/Her
Re: No keyboard input when using a .bat file or ZDL
You can do "gzdoom -norun +whereisini" to figure that out. It should work from a .bat or .zdl too.
-
Yellow2206
- Posts: 19
- Joined: Fri Apr 26, 2019 1:14 pm
- Graphics Processor: Intel (Modern GZDoom)
Re: No keyboard input when using a .bat file or ZDL
i am able to use the menu and type in the console its just when i go into a level it doesnt work neither the mouse which is a g502Enjay wrote:I wonder if somehow GZDoom is trying to use a bad ini file or something when run from a bat/zdl? Problem is, it's kind of hard to type "whereisini" at the console when the keyboard doesn't work.
-
Yellow2206
- Posts: 19
- Joined: Fri Apr 26, 2019 1:14 pm
- Graphics Processor: Intel (Modern GZDoom)
Re: No keyboard input when using a .bat file or ZDL
just tried it and it gave me an errorRachael wrote:You can do "gzdoom -norun +whereisini" to figure that out. It should work from a .bat or .zdl too.
-
Enjay
-

- Posts: 27501
- Joined: Tue Jul 15, 2003 4:58 pm
- Location: Scotland
Re: No keyboard input when using a .bat file or ZDL
If you can type at the console, you should be able to type whereisini there and see which ini file GZDoom is using.
It shouldn't cause an error on the command line though (it works fine when I do it).
[edit]
I just remembered that there was a bug with 4.0.0 where using -norun caused a crash. It's been fixed in the latest git builds. You could use the following instead:
gzdoom +logfile log.txt +whereisini
Then quite and open up the file log.txt that GZDoom would have created.
[/edit]
It shouldn't cause an error on the command line though (it works fine when I do it).
[edit]
I just remembered that there was a bug with 4.0.0 where using -norun caused a crash. It's been fixed in the latest git builds. You could use the following instead:
gzdoom +logfile log.txt +whereisini
Then quite and open up the file log.txt that GZDoom would have created.
[/edit]
-
Yellow2206
- Posts: 19
- Joined: Fri Apr 26, 2019 1:14 pm
- Graphics Processor: Intel (Modern GZDoom)
Re: No keyboard input when using a .bat file or ZDL
ohhhh right its probably cause i put it in a .bat file whoops thanks for the suggestionEnjay wrote:If you can type at the console, you should be able to type whereisini there and see which ini file GZDoom is using.
It shouldn't cause an error on the command line though (it works fine when I do it).
-
Enjay
-

- Posts: 27501
- Joined: Tue Jul 15, 2003 4:58 pm
- Location: Scotland
Re: No keyboard input when using a .bat file or ZDL
See my edited post above (edited while you were typing). There is a bug with GZDoom 4.0.0 and -norun.
-
Yellow2206
- Posts: 19
- Joined: Fri Apr 26, 2019 1:14 pm
- Graphics Processor: Intel (Modern GZDoom)
Re: No keyboard input when using a .bat file or ZDL
i managed to find where the ini is being used and had to import my normal ini into that folder which when i checked the location didn't even exist
-
Yellow2206
- Posts: 19
- Joined: Fri Apr 26, 2019 1:14 pm
- Graphics Processor: Intel (Modern GZDoom)
Re: No keyboard input when using a .bat file or ZDL
just notice that ill try after i check if after creating the ini file in the newly created folder will workEnjay wrote:Edit, see my edited post above (edited while you were typing). There is a bug with GZDoom 4.0.0 and -norun.
-
Enjay
-

- Posts: 27501
- Joined: Tue Jul 15, 2003 4:58 pm
- Location: Scotland
Re: No keyboard input when using a .bat file or ZDL
Curious. As a matter of interest, where was it using? And where is your copy of GZDoom? If it is in Program Files, that could be your problem. The special permissions of the Program Files folder can cause problems. GZDoom should be in a folder that is not inside Program files.
-
Yellow2206
- Posts: 19
- Joined: Fri Apr 26, 2019 1:14 pm
- Graphics Processor: Intel (Modern GZDoom)
Re: No keyboard input when using a .bat file or ZDL
the only reason im not screenshot is because i don't know how but my main doom folder is in E:\DOOM (idk how but its over 70 gb) and the ini its for some reason using is in C:\Users\Yellow2206\Appdata\Roaming/Gzdoom/Gzdoom.ini which in the roaming folder doesn't exist and still doesn't work even though i created the same folder name and ini thereEnjay wrote:Curious. As a matter of interest, where was it using? And where is your copy of GZDoom? If it is in Program Files, that could be your problem. The special permissions of the Program Files folder can cause problems. GZDoom should be in a folder that is not inside Program files.
-
Enjay
-

- Posts: 27501
- Joined: Tue Jul 15, 2003 4:58 pm
- Location: Scotland
Re: No keyboard input when using a .bat file or ZDL
I'd be surprised of your appdata/roaming folder doesn't exist because it's a folder created by the system and a lot of programs use it. It is usually hidden though.
My guess is that there is something screwey about your e:\doom folder that prevents GZDoom writing an ini to it. Are you running GZDoom from inside a compressed folder (zip file or similar)? Is the drive write protected somehow?
The printscreen key takes a screenshot in GZDoom (and in windows it copies the screen to the clipboard which you can then paste into a paint program of some sort).
My guess is that there is something screwey about your e:\doom folder that prevents GZDoom writing an ini to it. Are you running GZDoom from inside a compressed folder (zip file or similar)? Is the drive write protected somehow?
The printscreen key takes a screenshot in GZDoom (and in windows it copies the screen to the clipboard which you can then paste into a paint program of some sort).