Author Topic: Confused about --list-components  (Read 1572 times)

Offline AL|EN

  • Planewalker
  • *****
  • Posts: 391
  • Gender: Male
Confused about --list-components
« on: November 06, 2015, 02:09:16 PM »
Hi, suppose that we have such code inside tp2:

Code: [Select]
//////////////////////////////////////////////////////
// Allow Mages to scribe memorized spells onto scrolls
//////////////////////////////////////////////////////
BEGIN @116 SUBCOMPONENT @115 DESIGNATED 115 // Scrolls can be scribed everywhere
GROUP @1   // PnP tweaks
REQUIRE_PREDICATE ENGINE_IS ~tob bgee bg2ee iwdee~ @90

OUTER_SET Restrictions = 0
INCLUDE "atweaks/lib/115-scribe_scrolls.tpa"


BEGIN @117 SUBCOMPONENT @115 DESIGNATED 117 // Scrolls can only be scribed at inns and strongholds
GROUP @1   // PnP tweaks

when i use '.\setup-atweaks.exe --nogame --list-components .\setup-atweaks.tp2 0', I get such output:
Code: [Select]
...
~.\SETUP-ATWEAKS.TP2~ #0 #115 // Allow Mages to scribe memorized spells onto scrolls -> Scrolls can be scribed everywhere: v4.40b3
~.\SETUP-ATWEAKS.TP2~ #0 #117 // Allow Mages to scribe memorized spells onto scrolls -> Scrolls can only be scribed at inns and strongholds: v4.40b3
...

isn't it sould be something like this:

Code: [Select]
...
~.\SETUP-ATWEAKS.TP2~ #0 #115 // Allow Mages to scribe memorized spells onto scrolls: v4.40b3
~.\SETUP-ATWEAKS.TP2~ #0 #116 // Allow Mages to scribe memorized spells onto scrolls -> Scrolls can be scribed everywhere: v4.40b3
~.\SETUP-ATWEAKS.TP2~ #0 #117 // Allow Mages to scribe memorized spells onto scrolls -> Scrolls can only be scribed at inns and strongholds: v4.40b3
...
« Last Edit: November 06, 2015, 02:31:18 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 Mike1072

  • Planewalker
  • *****
  • Posts: 298
  • Gender: Male
Re: Confused about --list-components
« Reply #1 on: November 06, 2015, 07:22:45 PM »
There are only 2 components:

"Scrolls can be scribed everywhere" (DESIGNATED 115)
"Scrolls can only be scribed at inns and strongholds" (DESIGNATED 117)

There is no separate "Allow Mages to scribe memorized spells onto scrolls" component. That's just the label that these components are grouped under.

Offline The Imp

  • Planewalker
  • *****
  • Posts: 288
  • Gender: Male
Re: Confused about --list-components
« Reply #2 on: November 07, 2015, 10:20:30 AM »
Aka, you can only install one of the components. Or neither.

Offline AL|EN

  • Planewalker
  • *****
  • Posts: 391
  • Gender: Male
Re: Confused about --list-components
« Reply #3 on: November 08, 2015, 11:26:52 AM »
Thanks,it is clear to me
« Last Edit: November 08, 2015, 11:27:43 AM 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 AL|EN

  • Planewalker
  • *****
  • Posts: 391
  • Gender: Male
Re: Confused about --list-components
« Reply #4 on: November 15, 2015, 02:57:02 PM »
One more issue:
I'm using single weidu.exe called setup-wiedu.exe:


Code: [Select]
& 'D:\Gry\BG\Tools\setup-weidu.exe' --no-exit-pause  --nogame --list-components "D:\Gry\BG\BiG World Downloads\bg1ub-14.0_beta_151114\bg1ub\setup-bg1ub.tp2" 0
This is my output:

Code: [Select]
[D:\Gry\BG\Tools\setup-weidu.exe] WeiDU version 23801
This is a non-stable version. Unless you're sure about what you're doing, consider downgrading.
ERROR: Cannot perform auto-update, going ahead anyway!
        Sys_error("setup-weidu.exe: No such file or directory")
ERROR: No translation provided for @0
Continuing despite error.
ERROR: No translation provided for @2
Continuing despite error.
ERROR: No translation provided for @3
Continuing despite error.
ERROR: No translation provided for @4
Continuing despite error.
ERROR: No translation provided for @5
Continuing despite error.
ERROR: No translation provided for @7
Continuing despite error.
ERROR: No translation provided for @8
Continuing despite error.
ERROR: No translation provided for @9
Continuing despite error.
ERROR: No translation provided for @10
Continuing despite error.
ERROR: No translation provided for @12
Continuing despite error.
ERROR: No translation provided for @13
Continuing despite error.
ERROR: No translation provided for @14
Continuing despite error.
ERROR: No translation provided for @17
Continuing despite error.
ERROR: No translation provided for @18
Continuing despite error.
ERROR: No translation provided for @21
Continuing despite error.
ERROR: No translation provided for @22
Continuing despite error.
ERROR: No translation provided for @23
Continuing despite error.
ERROR: No translation provided for @24
Continuing despite error.
ERROR: No translation provided for @26
Continuing despite error.
ERROR: No translation provided for @58
Continuing despite error.
ERROR: No translation provided for @59
Continuing despite error.
ERROR: No translation provided for @89
Continuing despite error.
ERROR: No translation provided for @94
Continuing despite error.
ERROR: No translation provided for @100
Continuing despite error.
ERROR: No translation provided for @101
Continuing despite error.
ERROR: No translation provided for @102
Continuing despite error.
ERROR: No translation provided for @103
Continuing despite error.
ERROR: No translation provided for @104
Continuing despite error.
ERROR: No translation provided for @116
Continuing despite error.
ERROR: No translation provided for @219
Continuing despite error.
ERROR: No translation provided for @4000
Continuing despite error.
ERROR: No translation provided for @4100
Continuing despite error.
ERROR: No translation provided for @4200
Continuing despite error.
~D:\GRY\BG\BIG WORLD DOWNLOADS\BG1UB-14.0_BETA_151114\BG1UB\SETUP-BG1UB.TP2~ #0 #0 // UNDEFINED STRING:   @0: v14.0_beta_151114
~D:\GRY\BG\BIG WORLD DOWNLOADS\BG1UB-14.0_BETA_151114\BG1UB\SETUP-BG1UB.TP2~ #0 #1 // UNDEFINED STRING:   @2: v14.0_beta_151114
~D:\GRY\BG\BIG WORLD DOWNLOADS\BG1UB-14.0_BETA_151114\BG1UB\SETUP-BG1UB.TP2~ #0 #2 // UNDEFINED STRING:   @3: v14.0_beta_151114
~D:\GRY\BG\BIG WORLD DOWNLOADS\BG1UB-14.0_BETA_151114\BG1UB\SETUP-BG1UB.TP2~ #0 #3 // UNDEFINED STRING:   @4: v14.0_beta_151114
~D:\GRY\BG\BIG WORLD DOWNLOADS\BG1UB-14.0_BETA_151114\BG1UB\SETUP-BG1UB.TP2~ #0 #4 // UNDEFINED STRING:   @5: v14.0_beta_151114
~D:\GRY\BG\BIG WORLD DOWNLOADS\BG1UB-14.0_BETA_151114\BG1UB\SETUP-BG1UB.TP2~ #0 #5 // UNDEFINED STRING:   @7: v14.0_beta_151114
~D:\GRY\BG\BIG WORLD DOWNLOADS\BG1UB-14.0_BETA_151114\BG1UB\SETUP-BG1UB.TP2~ #0 #6 // UNDEFINED STRING:   @8: v14.0_beta_151114
~D:\GRY\BG\BIG WORLD DOWNLOADS\BG1UB-14.0_BETA_151114\BG1UB\SETUP-BG1UB.TP2~ #0 #7 // UNDEFINED STRING:   @9: v14.0_beta_151114
~D:\GRY\BG\BIG WORLD DOWNLOADS\BG1UB-14.0_BETA_151114\BG1UB\SETUP-BG1UB.TP2~ #0 #8 // UNDEFINED STRING:   @10: v14.0_beta_151114
~D:\GRY\BG\BIG WORLD DOWNLOADS\BG1UB-14.0_BETA_151114\BG1UB\SETUP-BG1UB.TP2~ #0 #9 // UNDEFINED STRING:   @12: v14.0_beta_151114
~D:\GRY\BG\BIG WORLD DOWNLOADS\BG1UB-14.0_BETA_151114\BG1UB\SETUP-BG1UB.TP2~ #0 #10 // UNDEFINED STRING:   @13: v14.0_beta_151114
~D:\GRY\BG\BIG WORLD DOWNLOADS\BG1UB-14.0_BETA_151114\BG1UB\SETUP-BG1UB.TP2~ #0 #11 // UNDEFINED STRING:   @14: v14.0_beta_151114
~D:\GRY\BG\BIG WORLD DOWNLOADS\BG1UB-14.0_BETA_151114\BG1UB\SETUP-BG1UB.TP2~ #0 #12 // UNDEFINED STRING:   @17: v14.0_beta_151114
~D:\GRY\BG\BIG WORLD DOWNLOADS\BG1UB-14.0_BETA_151114\BG1UB\SETUP-BG1UB.TP2~ #0 #13 // UNDEFINED STRING:   @18: v14.0_beta_151114
~D:\GRY\BG\BIG WORLD DOWNLOADS\BG1UB-14.0_BETA_151114\BG1UB\SETUP-BG1UB.TP2~ #0 #14 // UNDEFINED STRING:   @21: v14.0_beta_151114
~D:\GRY\BG\BIG WORLD DOWNLOADS\BG1UB-14.0_BETA_151114\BG1UB\SETUP-BG1UB.TP2~ #0 #15 // UNDEFINED STRING:   @22: v14.0_beta_151114
~D:\GRY\BG\BIG WORLD DOWNLOADS\BG1UB-14.0_BETA_151114\BG1UB\SETUP-BG1UB.TP2~ #0 #16 // UNDEFINED STRING:   @23: v14.0_beta_151114
~D:\GRY\BG\BIG WORLD DOWNLOADS\BG1UB-14.0_BETA_151114\BG1UB\SETUP-BG1UB.TP2~ #0 #17 // UNDEFINED STRING:   @24: v14.0_beta_151114
~D:\GRY\BG\BIG WORLD DOWNLOADS\BG1UB-14.0_BETA_151114\BG1UB\SETUP-BG1UB.TP2~ #0 #18 // UNDEFINED STRING:   @26: v14.0_beta_151114
~D:\GRY\BG\BIG WORLD DOWNLOADS\BG1UB-14.0_BETA_151114\BG1UB\SETUP-BG1UB.TP2~ #0 #19 // UNDEFINED STRING:   @58: v14.0_beta_151114
~D:\GRY\BG\BIG WORLD DOWNLOADS\BG1UB-14.0_BETA_151114\BG1UB\SETUP-BG1UB.TP2~ #0 #20 // UNDEFINED STRING:   @59: v14.0_beta_151114
~D:\GRY\BG\BIG WORLD DOWNLOADS\BG1UB-14.0_BETA_151114\BG1UB\SETUP-BG1UB.TP2~ #0 #21 // UNDEFINED STRING:   @89: v14.0_beta_151114
~D:\GRY\BG\BIG WORLD DOWNLOADS\BG1UB-14.0_BETA_151114\BG1UB\SETUP-BG1UB.TP2~ #0 #22 // UNDEFINED STRING:   @94: v14.0_beta_151114
~D:\GRY\BG\BIG WORLD DOWNLOADS\BG1UB-14.0_BETA_151114\BG1UB\SETUP-BG1UB.TP2~ #0 #23 // UNDEFINED STRING:   @100: v14.0_beta_151114
~D:\GRY\BG\BIG WORLD DOWNLOADS\BG1UB-14.0_BETA_151114\BG1UB\SETUP-BG1UB.TP2~ #0 #24 // UNDEFINED STRING:   @101: v14.0_beta_151114
~D:\GRY\BG\BIG WORLD DOWNLOADS\BG1UB-14.0_BETA_151114\BG1UB\SETUP-BG1UB.TP2~ #0 #25 // UNDEFINED STRING:   @102: v14.0_beta_151114
~D:\GRY\BG\BIG WORLD DOWNLOADS\BG1UB-14.0_BETA_151114\BG1UB\SETUP-BG1UB.TP2~ #0 #26 // UNDEFINED STRING:   @103: v14.0_beta_151114
~D:\GRY\BG\BIG WORLD DOWNLOADS\BG1UB-14.0_BETA_151114\BG1UB\SETUP-BG1UB.TP2~ #0 #27 // UNDEFINED STRING:   @104: v14.0_beta_151114
~D:\GRY\BG\BIG WORLD DOWNLOADS\BG1UB-14.0_BETA_151114\BG1UB\SETUP-BG1UB.TP2~ #0 #28 // UNDEFINED STRING:   @116: v14.0_beta_151114
~D:\GRY\BG\BIG WORLD DOWNLOADS\BG1UB-14.0_BETA_151114\BG1UB\SETUP-BG1UB.TP2~ #0 #29 // UNDEFINED STRING:   @219: v14.0_beta_151114
~D:\GRY\BG\BIG WORLD DOWNLOADS\BG1UB-14.0_BETA_151114\BG1UB\SETUP-BG1UB.TP2~ #0 #30 // UNDEFINED STRING:   @4000: v14.0_beta_151114
~D:\GRY\BG\BIG WORLD DOWNLOADS\BG1UB-14.0_BETA_151114\BG1UB\SETUP-BG1UB.TP2~ #0 #31 // UNDEFINED STRING:   @4100: v14.0_beta_151114
~D:\GRY\BG\BIG WORLD DOWNLOADS\BG1UB-14.0_BETA_151114\BG1UB\SETUP-BG1UB.TP2~ #0 #32 // UNDEFINED STRING:   @4200: v14.0_beta_151114
~D:\GRY\BG\BIG WORLD DOWNLOADS\BG1UB-14.0_BETA_151114\BG1UB\SETUP-BG1UB.TP2~ #0 #33 // Mal-Kalen, the Ulcaster Ghost: v14.0_beta_151114


Do I really have to use setup-(tp2name).exe and launch it exactly inside mod directory? Could you please remove such limitation?

« Last Edit: November 15, 2015, 02:59:30 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: Confused about --list-components
« Reply #5 on: November 15, 2015, 04:23:43 PM »
As I said about ENTER to exit, WeiDU expects to be running interactively with a TP2 when the running instance is called setup-something. Call you WeiDU instance weidu.exe and it will behave much more sanely when used on the command line (for instance, you need neither --nogame nor --no-exit-pause in order to use --list-components). Edit: when the current working directory (CWD) does not match up with the coded paths in the TP2, you can get missing-translation errors and such. I can't do anything about that; such is the problem with relative paths. Start WeiDU from the right CWD.
« Last Edit: November 15, 2015, 04:30:14 PM by Wisp »

 

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