Author Topic: How to remove all "Press ENTER to exit."  (Read 1107 times)

Offline AL|EN

  • Planewalker
  • *****
  • Posts: 391
  • Gender: Male
How to remove all "Press ENTER to exit."
« on: November 06, 2015, 12:26:12 PM »
Hi,
I'm unable to get anything from weidu because "Press ENTER to exit." hangs processing of the script:
Code: [Select]
.\setup-atweaks.exe --nogame --list-languages .\setup-atweaks.tp2 | Out-File -FilePath .\1.txt -Encoding default -NoClobber -Forcethis command is hang because "Press ENTER to exit." waits for 'enter key' which cannot be pressed. I think it should be removed everywhere.

« Last Edit: November 06, 2015, 12:29:22 PM by AL|EN »
Project Infinity public BETA - mod manager for Infinity Engine games
Modder's Guide to Github - you cannot have progress without committing changes

Offline Wisp

  • Moderator
  • Planewalker
  • *****
  • Posts: 1176
Re: How to remove all "Press ENTER to exit."
« Reply #1 on: November 13, 2015, 08:34:02 AM »
setup-mymod.exe wants an ENTER because setup-mymod.exe is only meant to be run interactively (you click on it, a command prompt opens, you are bugged and annoyed). There must be an ENTER to exit or the command prompt would close as soon as setup-mymod.exe was finished, before the user would have had a chance to see what happened. You can either do the sane thing and not use setup-mymod.exe, or you can add --no-exit-pause to your current list of arguments (documentation is available through --help, but like many other options, it's not in the readme).

Offline AL|EN

  • Planewalker
  • *****
  • Posts: 391
  • Gender: Male
Re: How to remove all "Press ENTER to exit."
« Reply #2 on: November 13, 2015, 04:17:17 PM »
Thanks, this switch allow me to export components list to file.
Project Infinity public BETA - mod manager for Infinity Engine games
Modder's Guide to Github - you cannot have progress without committing changes

 

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Name: Email:
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image
Type the letters shown in the picture:
What color is grass?:
What is the seventh word in this sentence?:
What is five minus two (use the full word)?: