EdwardPiwowar / BBA

1 stars 0 forks source link

Using CLI #1026

Closed ThorvaldAagaard closed 3 days ago

ThorvaldAagaard commented 3 days ago

Only two dots in front of the file image

To get it to use image

I had to append "\" to the directory

 --BBSA_FOLDER "D:\GitHub\ben\UCBC 2024\BBA convention cards\"

This seems not to use CURRENT_ARCHIVE

BBA.exe --CURRENT_ARCHIVE "D:\GitHub\ben\" --ARCHIVE_FILE output_6 --AUTOBID --HAND .\input_6.bba --BBSA_FOLDER "D:\GitHub\ben\UCBC 2024\BBA convention cards\" --CC1 RoboSayc.bbsa --CC2 RoboSayc.bbsa --DD 0 --SD 1

as output files are written to the BBA-directory

I tried with "\" and without

ThorvaldAagaard commented 3 days ago

No I was wrong BBSA_FOLDER did not work and I copied the .bbsa to the BBA-directory

Would be nice if I could see where it is loaded from.

EdwardPiwowar commented 3 days ago

A bit confusing. *.bbsa files are CCs. Don't use --CURRENT_ARCHIVE. Use the full path --ARCHIVE_FILE file_name.

ThorvaldAagaard commented 3 days ago

I want BBA to read the BBSA from one folder an store the output in another

I used

--BBSA_FOLDER "D:\GitHub\ben\UCBC 2024\BBA convention cards\"

for the cc and

--CURRENT_ARCHIVE "D:\GitHub\ben\"

for the output

I will remove BBSA and use full path, but what about output?

neither seemed to work

EdwardPiwowar commented 3 days ago

BBA don't read '--HAND .\input_6.bba', use 'input_6.bba' (or full path).

ThorvaldAagaard commented 3 days ago

That is the same, and it is reading the file fine, and also storing the output, but in the BBA-folder and not in CURRENT_ARCHIVE

EdwardPiwowar commented 3 days ago

The new BBA will create subfolders. https://github.com/EdwardPiwowar/BBA/issues/137#issuecomment-2495513618

ThorvaldAagaard commented 3 days ago

It did not create any folders for me

image

image

EdwardPiwowar commented 3 days ago

try --ARCHIVE_FILE "D:\GitHub\ben\BBA\output_6" (without --CURRENT_ARCHIVE) or manually create D:\GitHub\ben\BBA or I don't know

ThorvaldAagaard commented 3 days ago

Ok, will use full path on next execution

EdwardPiwowar commented 3 days ago

Current exe 8712

ThorvaldAagaard commented 3 days ago

Using full path got the files in the right place