The rules have been updated, read them now: Rules!

NHL PS2 SSH files

Get your graphics formats figures out here! Got details for others? Post here!
User avatar
ikskoks
Moderator
Posts: 860
Joined: Thu Jul 26, 2012 5:06 pm
Location: Poland, Łódź
Has thanked: 489 times
Been thanked: 219 times
Contact:

Re: NHL PS2 SSH files

Post by ikskoks » Sun May 02, 2021 11:40 pm

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...

jlnhlfan
beginner
Posts: 26
Joined: Wed Dec 09, 2020 9:00 pm

Re: NHL PS2 SSH files

Post by jlnhlfan » Mon May 03, 2021 12:55 am

"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.

jlnhlfan
beginner
Posts: 26
Joined: Wed Dec 09, 2020 9:00 pm

Re: NHL PS2 SSH files

Post by jlnhlfan » Mon May 03, 2021 1:00 am

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.

User avatar
ikskoks
Moderator
Posts: 860
Joined: Thu Jul 26, 2012 5:06 pm
Location: Poland, Łódź
Has thanked: 489 times
Been thanked: 219 times
Contact:

Re: NHL PS2 SSH files

Post by ikskoks » Mon May 03, 2021 1:09 am

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.

jlnhlfan
beginner
Posts: 26
Joined: Wed Dec 09, 2020 9:00 pm

Re: NHL PS2 SSH files

Post by jlnhlfan » Mon May 03, 2021 1:22 am

I spot someone who has supernatural powers. Otherwise, you wouldn't be getting this error.
You do not have the required permissions to view the files attached to this post.

jlnhlfan
beginner
Posts: 26
Joined: Wed Dec 09, 2020 9:00 pm

Re: NHL PS2 SSH files

Post by jlnhlfan » Mon May 03, 2021 1:25 am

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.

jlnhlfan
beginner
Posts: 26
Joined: Wed Dec 09, 2020 9:00 pm

Re: NHL PS2 SSH files

Post by jlnhlfan » Mon May 03, 2021 1:30 am

But now... how would I reimport it?

User avatar
ikskoks
Moderator
Posts: 860
Joined: Thu Jul 26, 2012 5:06 pm
Location: Poland, Łódź
Has thanked: 489 times
Been thanked: 219 times
Contact:

Re: NHL PS2 SSH files

Post by ikskoks » Mon May 03, 2021 9:57 am

There is no support for reimport in my script, only export.

jlnhlfan
beginner
Posts: 26
Joined: Wed Dec 09, 2020 9:00 pm

Re: NHL PS2 SSH files

Post by jlnhlfan » Mon May 03, 2021 4:09 pm

I see. Guess I'll go back to the PC version, then.

Post Reply