Post reply

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:
Subject:
Message icon:

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)?:

shortcuts: hit alt+s to submit/post or alt+p to preview


Topic Summary

Posted by: cmorgan
« on: August 24, 2010, 02:36:52 PM »

Suggest swapping the old interactive exit

Code: [Select]
// Display the readme at the end!
ACTION_IF FILE_EXISTS ~solarom\README-SolaRomance.%LANGUAGE%.txt~ THEN BEGIN
  AT_INTERACTIVE_EXIT ~bash -O nocaseglob -c '# open * '~
END
AT_INTERACTIVE_EXIT ~bash -O nocaseglob -c 'open * '~

// EOF: Setup-Solaufein.tp2

for the bigg's new version

 README ~solarom\README-SolaRomance.%LANGUAGE%.txt~
Posted by: Eric P.
« on: August 24, 2010, 12:26:48 PM »

Just reporting in case this is important:

At the end of installing this mod, every item in my BGII game directory opens (files, folders, even the game and the BGConfig program launch). This never happened with the previous version of the mod, but only with the latest version at the time of this post.

The last part of the .tp2 looks like this, and may be the cause for this unwanted behavior:

Code: [Select]
// Display the readme at the end!
ACTION_IF FILE_EXISTS ~solarom\README-SolaRomance.%LANGUAGE%.txt~ THEN BEGIN
  AT_INTERACTIVE_EXIT ~bash -O nocaseglob -c '# open * '~
END
AT_INTERACTIVE_EXIT ~bash -O nocaseglob -c 'open * '~

// EOF: Setup-Solaufein.tp2

Intuition tells me that the use of the * character is what causes every item to open. The obvious fix would be to replace the block with a simple command to open the readme specifically.

Thanks and happy modding,
Eric
(Who has apparently lost his ppg account)