After extracting the file's contents to the "Steam > steamapps > common > Dead or Alive 5 Last Round" directory, I used game.bat to launch the game. My keys weren't remapped until I launched your BetterKeyboardLayout executable. Also, seems that I need to launch your .exe for each new instance of DoA5, i.e., the keys become remapped to their original puke-inducing configuration if I close the game and relaunch it. Is this all working as intended?
From your instructions in the mod description tab, it looked like you noted that we (the mod users) could either extract the downloaded archive files to the directory I specified above and launch the batch file to enable the mod or, alternatively, launch both the game executable and BetterKeyboardLayout.exe to enable the mod. So, it seems that, for me, the first method of enabling the mod doesn't work, if I've understood it properly.
I made the executable to auto-close once you exit the game since you only need it when you're playing. The executable should be on the same folder as the batch file for it to work.
Here's the intended process - Once you run the batch file, both game.exe and BetterKeyboardLayout.exe will launch - Once you exit the game, BetterKeyboardLayout.exe will auto-close itself
I added the auto-close function for convenience. I wouldn't want to close the executable every time i exit the game. Everything is mostly automatic if you can make the batch file work.
A couple of minutes ago (and before checking to see if you replied here) I decided to figure out how to automatically launch an executable in response to another program's launch. One of the paths led me to the realization that this operation can be performed with a a couple of lines in a batch file. I haven't delved much into the programming world so I didn't even know what a batch file was until seeing that. So I went to check (with notepad) the contents of the batch file that was extracted from my download of your archive and realized it contained almost exactly what was suggested in my search. Funny stuff.
But something is screwy with it, the batch file that is. I see where you've put "./DOA5LR.ini" which looks to me like a prompt to have the game launch with the proper settings, those defined in the ini file. Something I was intending to include in my initial post was that, when the game is launched through the batch file, the game starts with the same default resolution that it did at its inaugural launch. I know I had this typed out at some point, but I guess I had decided that this information may not have been relevant enough to consider. What I'm thinking now though, is that this is very relevant if I understand the purpose of the quoted bit of code in the batch file. Now that I'm looking, I actually don't see the ini file in the same directory as the game executable. After looking around a bit, I found the location of the settings file (under My Documents > KoeiTecmo > DOA5LR). My guess was that the batch file operation executions ceased when the ini file wasn't found (i.e., the game launches -> can't find ini file -> halts remaining execution, your BKL), but I moved the ini file to the same folder as the batch file and unfortunately got the same result.
Halp
Edit: I spoke too soon on getting the same result! Copying the ini file to the same directory as everything else did fix the issue of BetterKeyboardLayout.exe not launching. However, the resolution settings are still defaulted.
Edit2: I spoke too soon on speaking too soon...it's a complete anomaly to me how everything worked for the batch file's launch prior to the first edit. It hasn't worked for the few attempts after the edit.
Edit3: After a little research and operating under the assumption that the commands in the batch file halted after the bit with the ini file, I decided to experiment with prepending the two execution lines with "call" instead of "start" so as to have simultaneous instead of sequential execution, at least I think that's how they work from what bare-bones info I read. I found that prepending the game.exe line with call and leaving the BetterKeyboardLayout.exe line with the start prepend did indeed yield a batch file that would launch the second executable properly (prepending the second executable line with call also works, but also results in a persisting cmd window). Now my only problem is the incorrect resolution settings! Any ideas?
Question: when I go to remap the keys, only certain keys work. For instance, 7-9 on the numeric keypad can be used, but 1-6 cannot. Is this normal? Or am I doing something wrong? Regardless; thanks for uploading this file; hard to believe that they didn't include a way to reconfigure the keys. It's a PC release for crying out loud.
17 comments
From your instructions in the mod description tab, it looked like you noted that we (the mod users) could either extract the downloaded archive files to the directory I specified above and launch the batch file to enable the mod or, alternatively, launch both the game executable and BetterKeyboardLayout.exe to enable the mod. So, it seems that, for me, the first method of enabling the mod doesn't work, if I've understood it properly.
Here's the intended process
- Once you run the batch file, both game.exe and BetterKeyboardLayout.exe will launch
- Once you exit the game, BetterKeyboardLayout.exe will auto-close itself
I added the auto-close function for convenience. I wouldn't want to close the executable every time i exit the game. Everything is mostly automatic if you can make the batch file work.
A couple of minutes ago (and before checking to see if you replied here) I decided to figure out how to automatically launch an executable in response to another program's launch. One of the paths led me to the realization that this operation can be performed with a a couple of lines in a batch file. I haven't delved much into the programming world so I didn't even know what a batch file was until seeing that. So I went to check (with notepad) the contents of the batch file that was extracted from my download of your archive and realized it contained almost exactly what was suggested in my search. Funny stuff.
But something is screwy with it, the batch file that is. I see where you've put "./DOA5LR.ini" which looks to me like a prompt to have the game launch with the proper settings, those defined in the ini file. Something I was intending to include in my initial post was that, when the game is launched through the batch file, the game starts with the same default resolution that it did at its inaugural launch. I know I had this typed out at some point, but I guess I had decided that this information may not have been relevant enough to consider. What I'm thinking now though, is that this is very relevant if I understand the purpose of the quoted bit of code in the batch file. Now that I'm looking, I actually don't see the ini file in the same directory as the game executable. After looking around a bit, I found the location of the settings file (under My Documents > KoeiTecmo > DOA5LR). My guess was that the batch file operation executions ceased when the ini file wasn't found (i.e., the game launches -> can't find ini file -> halts remaining execution, your BKL), but I moved the ini file to the same folder as the batch file and unfortunately got the same result.
Halp
Edit: I spoke too soon on getting the same result! Copying the ini file to the same directory as everything else did fix the issue of BetterKeyboardLayout.exe not launching. However, the resolution settings are still defaulted.
Edit2: I spoke too soon on speaking too soon...it's a complete anomaly to me how everything worked for the batch file's launch prior to the first edit. It hasn't worked for the few attempts after the edit.
Edit3: After a little research and operating under the assumption that the commands in the batch file halted after the bit with the ini file, I decided to experiment with prepending the two execution lines with "call" instead of "start" so as to have simultaneous instead of sequential execution, at least I think that's how they work from what bare-bones info I read. I found that prepending the game.exe line with call and leaving the BetterKeyboardLayout.exe line with the start prepend did indeed yield a batch file that would launch the second executable properly (prepending the second executable line with call also works, but also results in a persisting cmd window). Now my only problem is the incorrect resolution settings!
Open My Documents and go to the directory below
Click and Copy
Open game.bat
Replace the Dot with the directory you copied
Save the file
You're ready to go.
:-)
*Working File Uploaded