Giter Club home page Giter Club logo

py360's People

Contributors

arkem avatar mtolly avatar swingtempo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

py360's Issues

Unicode error

Running report360.py from current release, I encountered the following error:


XDBF (/FFFE07D1.gpd - 66)


Version: 65536
Entries: 66
Images: 2
Titles: 32
Strings: 1
Achievements: 0

SETTINGS
0x10040000 GPD Setting Permissions 8
0x100000000 GPD Setting 0x0
0x10040004 GPD Setting GamerZone Pro
0x10040005 GPD Setting Region Georgia
0x10040006 GPD Setting Gamerscore 1240
0x5004000b GPD Setting Reputation 58.7222862244
0x1004000d GPD Setting Voice Output Speakers 0
0x1004000e GPD Setting Voice Volume Setting 100
0x4064000f GPD Setting Gamer Picture Reference fffe08540001e5a500017575
reporter.document_image()
File "/opt/py360/report360.py", line 182, in document_image
self.print_xdbf(g)
File "/opt/py360/report360.py", line 94, in print_xdbf
self.output("0x%x %s" % (idnum, str(sett)))
File "/opt/py360/py360/xdbf.py", line 32, in str
result.append(str(self.data))
UnicodeEncodeError: 'ascii' codec can't encode character u'\xa4' in position 0: ordinal not in range(128)

My kernel version:
Linux 3.0.0-25-generic #41-Ubuntu SMP Mon Aug 13 17:58:59 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

STFS.py not reading and writing binary

I was trying to run STFS.py on a file I saved onto a USB drive. on my Win10 Python2.7.15 environment, the input and output both get truncated. In particular the truncation happens in the header.

I have fixed in on a branch - essentially I needed to add 'b' in the open statements. Example:
self.fd = open(filename, 'rb')

Not sure you take contributions - can I submit a PR?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.