Maradonna90 / NewGAN-Manager

A tool to generate and manage xml configs for the Newgen Facepack.
GNU General Public License v3.0
171 stars 34 forks source link

[BUG] Can't open image directory in NewGAN-Manager and invalid RTF file #155

Closed Keyneee closed 8 months ago

Keyneee commented 1 year ago

Describe the bug I followed the steps on the tutorial but when I click on the image directory on newgan manager the only option I have is desktop. I also encountered a problem with rtf files where I included my own team's regen in the file and in the manager an invalid rtf file error popped out. To try and fix this I put my preferred newgan facepack on my desktop and used an rtf file that excluded my own team newgen but I am still unable to generate the faces on my fm23.

To Reproduce(Newgan image directory issue) Steps to reproduce the behavior: Downloaded v1.3.1 Installed Walked through the steps to create the RTF file Opened NewGAN-Manager Created profile Select profile Click button to right of 'Select Image Directory' field.

To Reproduce(Newgan invalid RTF file issue) Steps to reproduce the behavior: Downloaded v1.3.1 Installed Walked through the steps to create the RTF file Opened NewGAN-Manager Created profile Select profile Click the RTF file Click the Generate button

Expected behavior I expect to be able to see my C drive and select files from it and be able to use my rtf file

Screenshot (3) Screenshot (5)

Desktop (please complete the following information):

OS: Windows 11

**_Log file:

2022-12-24 11:58:06,180 | NewGAN App: Starting Application_** 2022-12-24 11:58:06,180 | NewGAN App: Select File... 2022-12-24 11:58:10,712 | NewGAN App: Created file-dialog 2022-12-24 11:58:10,712 | NewGAN App: RTF file: C:\Users\user\OneDrive\Documents\Sports Interactive\Football Manager 2023\Regen2023.rtf 2022-12-24 11:58:13,968 | NewGAN App: Updating generation label 2022-12-24 11:58:17,413 | NewGAN App: Select Folder... 2022-12-24 11:58:20,135 | NewGAN App: Start Replace Faces 2022-12-24 11:58:20,135 | NewGAN App: Error window Folder Scandinavian is missing in the image directory: 2022-12-24 11:58:22,680 | NewGAN App: Select Folder... 2022-12-24 11:58:46,964 | NewGAN App: Start Replace Faces 2022-12-24 11:58:46,965 | NewGAN App: rtf: C:\Users\user\OneDrive\Documents\Sports Interactive\Football Manager 2023\Regen2023.rtf 2022-12-24 11:58:46,965 | NewGAN App: img_dir: C:\Users\user\OneDrive\Desktop\DF11 NewGan Facepack (FM Edition)\DF11 NewGan Facepack (FM Edition)/ 2022-12-24 11:58:46,965 | NewGAN App: profile: fm23 regen 2022-12-24 11:58:46,965 | NewGAN App: mode: Generate 2022-12-24 11:58:47,108 | NewGAN App: Error window The RTF file is invalid!: 2022-12-24 11:58:56,463 | NewGAN App: switch profile: No Profile 2022-12-24 11:58:56,463 | NewGAN App: catch same values 2022-12-24 11:58:56,463 | NewGAN App: Refresh Input Buttons 2022-12-24 11:59:04,165 | NewGAN App: switch profile: Fm23 2022-12-24 11:59:04,165 | NewGAN App: Refresh Input Buttons 2022-12-24 11:59:05,363 | NewGAN App: Select Folder... 2022-12-24 11:59:08,088 | NewGAN App: Select File... 2022-12-24 11:59:11,139 | NewGAN App: Created file-dialog 2022-12-24 11:59:11,139 | NewGAN App: RTF file: C:\Users\user\OneDrive\Documents\Sports Interactive\Football Manager 2023\Regen2023.rtf 2022-12-24 11:59:12,259 | NewGAN App: Start Replace Faces 2022-12-24 11:59:12,260 | NewGAN App: rtf: C:\Users\user\OneDrive\Documents\Sports Interactive\Football Manager 2023\Regen2023.rtf 2022-12-24 11:59:12,260 | NewGAN App: img_dir: C:\Users\user\OneDrive\Desktop\DF11 NewGan Facepack (FM Edition)\DF11 NewGan Facepack (FM Edition)/ 2022-12-24 11:59:12,260 | NewGAN App: profile: Fm23 2022-12-24 11:59:12,260 | NewGAN App: mode: Generate 2022-12-24 11:59:12,387 | NewGAN App: Error window The RTF file is invalid!:

Maradonna90 commented 8 months ago

if youre rtf file is wrong, you did something wrong generating it. Not sure why its not showing your C Drive. Re-Open if issue persists.