Talk:Madoka Online Adventure Data: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
[http://www.mediafire.com/?6tma1bbwjmrmmhs Opening movie] | |||
=Quest Data= | =Quest Data= | ||
Archive: [http://www.mediafire.com/?6y3yqkbajnzc1et] | *Decoded AdventureData for 11 and 12!!!...i think. | ||
**http://www.mediafire.com/?9za1kwhpglcy16s | |||
Archive: [http://www.mediafire.com/?6y3yqkbajnzc1et 1-6] [http://www.mediafire.com/?58i09mc9gc2jqya 7-8] [http://www.mediafire.com/download.php?huaaqudlub2zams 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\")' | *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 | *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? [[User:Youmu|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. [[User:Youmu|Youmu]] 12:02, 27 November 2012 (UTC) | |||
==Quest 1== | ==Quest 1== | ||
Latest revision as of 03:35, 23 January 2013
Quest Data
- Decoded AdventureData for 11 and 12!!!...i think.
- 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)