Page 3 of 3

Re: NHL PS2 SSH files

Posted: Sun May 02, 2021 11:40 pm
by ikskoks
Why don't you just use cmd https://i.imgur.com/ZGUaVZy.png

or Python IDLE https://i.imgur.com/DIwJ7gT.png


Also, there is a free version of Wing IDE, just look it up...

Re: NHL PS2 SSH files

Posted: Mon May 03, 2021 12:55 am
by jlnhlfan
"Why don't you just use cmd?"

Because cmd does the same thing, as do IDLE and WING

Here's cmd's error: File "C:\Users\User\Desktop\NHL_2002_PS2_Tool.py", line 7
<!DOCTYPE html>
^
SyntaxError: invalid syntax

Here's IDLE's error:

Invalid syntax

And here's WING'S error:

File "c:/Users/User/Desktop/NHL_2002_PS2_Tool.py", line 1, in <module>
<html lang="en" data-color-mode="auto" data-light-theme="light" data-dark-theme="dark">
Syntax Error: invalid syntax: <string>, line 1, pos 1

I would like to acquire your power... the power to have the script actually work.

Re: NHL PS2 SSH files

Posted: Mon May 03, 2021 1:00 am
by jlnhlfan
And even when I copy the script from GitHub, I still encounter problems, such as the first error and the constant need to delete crucial text.

Re: NHL PS2 SSH files

Posted: Mon May 03, 2021 1:09 am
by ikskoks
Wait a second... why do you have "<!DOCTYPE html>" in there? xD
Are you saving this script with "Save page as" option or something?

If you really need to do it like this, you should go to "raw" version first
https://raw.githubusercontent.com/bartl ... S2_Tool.py
You can't have any HTML in the Python script...

Otherwise, just copy script's content to notepad and save it as new ".py" file.

Re: NHL PS2 SSH files

Posted: Mon May 03, 2021 1:22 am
by jlnhlfan
I spot someone who has supernatural powers. Otherwise, you wouldn't be getting this error.

Re: NHL PS2 SSH files

Posted: Mon May 03, 2021 1:25 am
by jlnhlfan
Finally got it to work, but with some irony.

The script says "can't flip image", but the image ended up being flipped in the output.

Re: NHL PS2 SSH files

Posted: Mon May 03, 2021 1:30 am
by jlnhlfan
But now... how would I reimport it?

Re: NHL PS2 SSH files

Posted: Mon May 03, 2021 9:57 am
by ikskoks
There is no support for reimport in my script, only export.

Re: NHL PS2 SSH files

Posted: Mon May 03, 2021 4:09 pm
by jlnhlfan
I see. Guess I'll go back to the PC version, then.