Talk:Madoka Online Adventure Data

From Puella Magi Wiki
Jump to navigation Jump to search
Note: Please always sign your name when editing talk page by putting four tildes (~~~~) at the end of your comment.

Opening movie

Quest Data

Archive: 1-6 7-8 9-10


  • python -c 'import sys,json; data=json.loads(sys.stdin.read()); print json.dumps(data,sort_keys=True,indent=4).decode(\"unicode_escape\").encode(\"utf8\",\"replace\")'
  • echo filename.json | python -c 'import sys,json; data=json.loads(sys.stdin.read()); print json.dumps(data,sort_keys=True,indent=4).decode(\"unicode_escape\").encode(\"utf8\",\"replace\")' > outputfile
  • [Windows cmd] for /f %f in ('dir /b *json') do type %f | python -c "import sys,json; data=json.loads(sys.stdin.read()); print json.dumps(data,sort_keys=True,indent=4).decode(\"unicode_escape\").encode(\"utf8\",\"replace\")" > %f.txt

How about this code to sort the dialogs correctly? Youmu 09:50, 27 November 2012 (UTC)

import sys,json
data=json.loads(sys.stdin.read())
old_keys=data.keys()
for k in old_keys:
    data[int(k)] = data.pop(k)
print unicode(json.dumps(data,sort_keys=True,indent=4), "unicode_escape").encode("utf8","replace")

Finished putting the transcripts on the Story pages. Quest 2 and Quest 4 are in the Discussion tab, needs to be merged in. Youmu 12:02, 27 November 2012 (UTC)

Quest 1

Quest 2

Quest 3