Page 1 of 2 12 LastLast
Results 1 to 20 of 24

Thread: Pikmin, ripped apart for your pleasure.

  1. #1

    Pikmin, ripped apart for your pleasure.

    So, I did some digging after my friend Spyke asked me to (he mentioned the EXE file within Pikmin on this forum before), and dsicovered something amazing.

    The EXE that's there isn't meant to be used with the DDH per-se. Or any gamecube development kit. It's a compiled launcher for Pikmin using the PCEMU libraries that came with the SDK.

    Assuming I'm correct and that my decompiler isn't lying to me, Pikmin itself is contained within plugPiki.dll within the "plugins" folder next to the EXE. The rest of the DLLs in there are from the Dolphin SDK's library, for texture conversions iirc.

    Digging even further, it appears the dependancies required for the DLL are mainly OpenGL and a few other Windows libraries. I have no idea why a "top level window" is required, maybe it was used as a child process from a debugger (assuming ProDG, because of it's Visual Studio support, which they used according to the remaining signature on each of the DLLs and sysBootup.exe)

    I'll be doing some digging further, but I've also managed to decompile the EXE, it's library, and Pikmin into raw C code. I never said it was accurate, but it works, to say the least.

    My only question to you guys is, can I release such things here? :)

    EDIT: sysCore.dll is apparently the wrapper library, e.g the compiled PCEMU binary for use. pluginPiki.dll imports it for it's various GC functions.
    Last edited by CrackNTag; 07-20-2011 at 02:02 PM.

  2. #2
    Foot Soldier
    Annoying_one's Avatar

    Join Date
    Dec 2006
    Location
    okc
    Posts
    387
    please do so
    how am i posting??

    if you like or dislike the post concider giving me the appropriate reputation
    :-)

  3. #3
    Foot Soldier
    adrianc's Avatar

    Join Date
    May 2011
    Posts
    109
    whoah. are you saying its pikmin for windows?

  4. #4
    Admin
    ASSEMbler Regix
    Pillar of the Community
    ASSEMbler's Avatar

    Join Date
    Mar 2004
    Posts
    17,184
    Blog Entries
    19
    Remember gamecube has an emulator (official) used as a tool.

  5. #5
    Quote Originally Posted by ASSEMbler View Post
    Remember gamecube has an emulator (official) used as a tool.
    It's not like your regular emulator. It's essentially a library for converting GC-based code to PC code. Nintendo distributed it when they were low on devkits, iirc. :P

  6. #6
    Combat Soldier
    segaloco's Avatar

    Join Date
    Jun 2009
    Posts
    544
    So if you have the PCEMU software could this actually be run, or is it just a chunk of the actual thing?

  7. #7
    I have the PCEMU software, it can ACTUALLY be run.

  8. #8
    Member Elite
    derekb's Avatar

    Join Date
    Jan 2009
    Posts
    1,852
    are you gonna post some shots or.....

  9. #9
    Site Supporter 2013 Member Hardcore
    takeshi385's Avatar

    Join Date
    Mar 2011
    Location
    GA. United States
    Posts
    1,365
    if its raw c it can be ported to mac so i won't use half øf my ram running parallels, thank god it wasn't written in c sharp !

  10. #10
    Combat Soldier
    splith's Avatar

    Join Date
    May 2010
    Location
    In a house.
    Posts
    997
    c# can be ported too, mono.

  11. #11
    Indeed it can...

    One note to people, IT'S DECOMPILED into C, ergo not the original source. I don't have it running on ANYTHING yet but you can find the resources in the Pikmin CD.

    Here's the Pikmin source: http://www.mediafire.com/?r5fl4yrcqciu8vk

    I'm currently working with a friend to see what I can do about writing a wrapper. Still figuring out how the PCEMU libraries work (thanks to Splith for helping me with the SDK).

    Will post when I have more info.

  12. #12
    Foot Soldier
    adrianc's Avatar

    Join Date
    May 2011
    Posts
    109
    good luck compiling that :P

  13. #13
    Quote Originally Posted by adrianc View Post
    good luck compiling that :P
    It's DEFINATELY not compilable, but with an export viewer you can view both it's and sysCore.dll's (the PCEMU DLL's) exported functions, classes etc. to use in your program.

    e.g a way to write a wrapper. :)

  14. #14
    Combat Soldier
    segaloco's Avatar

    Join Date
    Jun 2009
    Posts
    544
    Quote Originally Posted by CrackNTag View Post
    I have the PCEMU software, it can ACTUALLY be run.
    Alright, I know what I'm doing tonight :)

  15. #15
    Quote Originally Posted by segaloco View Post
    Alright, I know what I'm doing tonight :)
    Lol, you have the PCEMU libraries as well? Good luck. :)

  16. #16
    Combat Soldier
    segaloco's Avatar

    Join Date
    Jun 2009
    Posts
    544
    Quote Originally Posted by CrackNTag View Post
    Lol, you have the PCEMU libraries as well? Good luck. :)
    How'd you get it to work? I've got pcemu in C:/pcemu and I tried sysBootup in both the directory I extracted to and in the C:/Development...etc. directory to no avail :confused:

  17. #17
    Quote Originally Posted by segaloco View Post
    How'd you get it to work? I've got pcemu in C:/pcemu and I tried sysBootup in both the directory I extracted to and in the C:/Development...etc. directory to no avail :confused:
    ... I hate to break it to you but you need to know a fair amount of programming to get something working like this. I myself still don't know how to use the libraries very well.

    P.S: It's no use moving anything around, you won't get it to work, that's not how it works.
    Last edited by CrackNTag; 07-22-2011 at 10:45 PM.

  18. #18
    There is a (free) update for your decompiler to the latest version available.
    It reportedly generates much better code from C++ binaries.

  19. #19
    Combat Soldier
    segaloco's Avatar

    Join Date
    Jun 2009
    Posts
    544
    Quote Originally Posted by CrackNTag View Post
    ... I hate to break it to you but you need to know a fair amount of programming to get something working like this. I myself still don't know how to use the libraries very well.

    P.S: It's no use moving anything around, you won't get it to work, that's not how it works.
    Oooooooooooooooooooooooooh, I didn't even take that into consideration, silly me. Anyway, I do look forward to trying this out if you do get it working :D

  20. #20
    Quote Originally Posted by syntax error View Post
    There is a (free) update for your decompiler to the latest version available.
    It reportedly generates much better code from C++ binaries.
    Really? Where?

    (This is from IDA, by the way. I'm ashamed to say I'm using a pirated version.)

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •