User talk:Immewnity/Archives:Image resources: Difference between revisions

 
(3 intermediate revisions by 2 users not shown)
Line 13: Line 13:
I could also give you URLs for the Dream World Pokemon swfs if you want them, but those are complex, bitwise XORs and Trillix won't extract them, nor any online site I've tried. [[User:Bluesun|Bluesun]] 15:10, 15 November 2010 (UTC)
I could also give you URLs for the Dream World Pokemon swfs if you want them, but those are complex, bitwise XORs and Trillix won't extract them, nor any online site I've tried. [[User:Bluesun|Bluesun]] 15:10, 15 November 2010 (UTC)
:*just saw now* Thanks! I'll add that in right now. And yes, the swfs would be very useful; I could convert them to SVG and get biggesy images of all of them!--'''[[User:Immewnity|<span style="color:#88AADD">''immewnity''</span>]][[User talk:Immewnity|the]][[Special:Contributions/Immewnity|mew]]''' 21:45, 23 December 2010 (UTC)
:*just saw now* Thanks! I'll add that in right now. And yes, the swfs would be very useful; I could convert them to SVG and get biggesy images of all of them!--'''[[User:Immewnity|<span style="color:#88AADD">''immewnity''</span>]][[User talk:Immewnity|the]][[Special:Contributions/Immewnity|mew]]''' 21:45, 23 December 2010 (UTC)
::Okay then, I'll try to explain it. The base format for the Pokemon vector swfs is:
::cdn.pokemon-gl.com/swf/global/parts/pokemon/scaled/X.swf where X=((Dex No. * 0x10000) + ((Form No. - 1) * 0x100) bitwise-XOR 0xC3C3C3) converted to letters minus preceding 'a's.
::For example Cloyster:
:::  ((91*0x10000)+((1-1)*0x100) bitwise-XOR 0xC3C3C3) converted to letters minus preceding 'a's
:::=    0x5B0000 +        0x0  bitwise-XOR 0xC3C3C3) converted to letters minus preceding 'a's
:::=                                        0x98C3C3  converted to letters minus preceding 'a's
:::=                                                                                    baabbfih
:::= [http://cdn.pokemon-gl.com/swf/global/parts/pokemon/scaled/baabbfih.swf cdn.pokemon-gl.com/swf/global/parts/pokemon/scaled/baabbfih.swf]
::And so you have baabbfih.swf, a .swf file that does just about nothing in Trillix or online decompilers. To get at the image you have to extract the binary attachment to the swf file, but Trillix doesn't let you do that, so to do that I used a programme named swfextract from SWFTools. There are probably others that work too though. Running it 'swfextract.exe input.swf -b 1 -o output.swf' you get the attached .swf file, which you can then open in Trillix or other programmes. And if all you need is the shape data you can pass it through swfextract again with -i instead of -b. Hopefully I've explained it well enough, but if there's anything you still don't understand just ask. [[User:Bluesun|Bluesun]] 00:33, 24 December 2010 (UTC)
:::...huh? Sorry, I'm not too good at hex stuff, and honestly have no idea how to do those equations, so I'll just give up. Don't bother explaining - I won't get it anyways! :D--'''[[User:Immewnity|<span style="color:#88AADD">''immewnity''</span>]][[User talk:Immewnity|the]][[Special:Contributions/Immewnity|mew]]''' 03:21, 24 December 2010 (UTC)
::::Ah, okay, sorry, I did warn that it was complex originally though. I guess they don't want anyone downloading their .swfs? Anyway if you just want the final .swfs and don't care who downloaded them, I uploaded them all to [http://www.sendspace.com/file/zjvnbs sendspace] a while back. [[User:Bluesun|Bluesun]] 06:08, 24 December 2010 (UTC)
:::::I just died and went to vector heaven! :D Thanks! And, of course they didn't want people downloading their SWFs. Heck, Pokémon.com probably doesn't like us going into their SWFs, because we find stuff early!--'''[[User:Immewnity|<span style="color:#88AADD">''immewnity''</span>]][[User talk:Immewnity|the]][[Special:Contributions/Immewnity|mew]]''' 14:10, 24 December 2010 (UTC)
2,517

edits