SOMEBODY HELP ME!!!

  • perssphere07
    30th Aug 2020 Member 0 Permalink

    This problem has resolved. THANKS FOR jacob1!

    ================================================================

    I want to compile TPT in my PC and add some my own feature(mod), so I read the instruction of the wiki. I've downloaded VS 2019 (Community), install all of the instruction said(installed python too), installed XP support, login to Microsoft Account and downloaded Required Librarys. And now, I've double-clicked the vsproject.py... and IT DIDN'T WORK!!! Project File didn't appear!!! I can't find any .SLN Files! There no changes in that directory! I've did all things what I can do, but it didn't work! SOMEBODY HELP ME!!!

     

    Hardware 128GB SSD, 98GB Used, 20GB Left

    4GB RAM, Intel Core i5-7200U CPU @ 2.50GHz, GPU Intel HD Graphics 620(Isn't good)

    My system Windows 10 Version 21H1(May 2021 Update) Build 19043.1024; Installed KB5003173

    Visual Studio 2019 16.8.0 (16.8.30711.63), Installer version 2.8.3074.1022

    Python 3.9.5 64-bit

    Browser Edge 91.0.864.37

     

    PLEASE HELP ME!!!

    Edited 18 times by xphere07. Last: 31st May 2021
  • LBPHacker
    30th Aug 2020 Developer 0 Permalink
    Define "didn't work".
  • jacob1
    30th Aug 2020 Developer 0 Permalink
    After clicking on vsproject.py, did you open the project? It should be ready now.
  • perssphere07
    30th Aug 2020 Member 0 Permalink

    Project file didn't appear! There's no any .SLN Files.

  • jacob1
    31st Aug 2020 Developer 0 Permalink
    Try running the script from cmd.exe, that way you can see if any errors show up. The script definitely should generate a .sln.
  • perssphere07
    31st Aug 2020 Member 0 Permalink

    Isn't working...

    Edited once by computerexpert07. Last: 31st Aug 2020
  • jacob1
    31st Aug 2020 Developer 0 Permalink
    Well, once you're able to run it from cmd.exe like I said, we should be able to tell what the problem is. It will print a message, which you should copy paste here.
  • perssphere07
    31st Aug 2020 Member 0 Permalink
    File "<stdin>", line 1
    SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape
  • jacob1
    3rd Sep 2020 Developer 1 Permalink
    That error doesn't look like one from the script. It looks like a mistake in the way you tried to run it from the command line. I'm guessing you did "python C:\Users\..." or something.

    Try holding shift and right clicking in the folder with the source code, this should make an option "open command window here" appear (or powershell these days, maybe?). Then run the script from there, with just 'python vsproject.py'.
  • perssphere07
    3rd Sep 2020 Member 0 Permalink

    YAY IT WORKS! HOORAY! HAIL JACOB!!!

    Edited once by computerexpert07. Last: 11th Sep 2020