Jump to content

Recommended Posts

Posted

Ah, yes, it's because the file is saved as ASCII but he's used non-ascii characters on that line. The easiest way to fix it is to just replace the 【】 characters on line 103 in bgi_common with ASCII [].

Posted

Alright, I had to just fix the same thing, I wasn't sure how it'd be on your Python. I guess you're using Python 2.7 (the script was made for 3).

 

Ok so in bgi_dump, under 'import sys' add the line 'import io'

 

Then on line 43, change the "fo = open" part into "fo = io.open"

 

Then everywhere you see a fo.write, you need to add a "u" in front of the apostrophe that starts the string.

 

If you don't know what I mean, here just use this instead: http://pastebin.com/VEfZXttZ :P

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...