Results 1 to 7 of 7

Thread: Is it possible to get the source code of compiled code ?

  1. #1

    Thread Starter
    Member shamloo's Avatar
    Join Date
    Oct 2000
    Location
    Stockholm, Sweden
    Posts
    32

    Is it possible to get the source code of compiled code ?

    Hi,
    I have the compiled source code of a Sega Emulator game, is there any way too view the code, without all those weird symbols ? I think it's written in C or C++.
    The game came out 1993-1994.

    I want to view the source and see if I can improve the game, for personal use of course.

    thanks,
    David
    "There are no must's in life unless you provide for someone else than yourself"

  2. #2
    You'll probably only be able to decompile it to assembly which isn't much help.

  3. #3
    Frenzied Member markman's Avatar
    Join Date
    Nov 2000
    Location
    Florida.
    Posts
    1,197
    1993? Anyone know when vb-4 32bit came out?
    retired member. Thanks for everything

  4. #4
    pathfinder NotLKH's Avatar
    Join Date
    Apr 2001
    Posts
    2,397

    Re: Is it possible to get the source code of compiled code ?

    Originally posted by shamloo
    Hi,
    I have the compiled source code of a Sega Emulator game, is there any way too view the code, without all those weird symbols ? I think it's written in C or C++.
    The game came out 1993-1994.

    I want to view the source and see if I can improve the game, for personal use of course.

    thanks,
    David
    Game Name? P'rhaps someone here has it? {the code, anyways}
    -Lou

  5. #5

    Thread Starter
    Member shamloo's Avatar
    Join Date
    Oct 2000
    Location
    Stockholm, Sweden
    Posts
    32
    The game Im talking about is NHL '94 (my all-time favorite game )

    I know it's possible to convert compiled Java code to readable code, shouldn't there be a way to do this with C/VB code ?

    David
    "There are no must's in life unless you provide for someone else than yourself"

  6. #6

    Thread Starter
    Member shamloo's Avatar
    Join Date
    Oct 2000
    Location
    Stockholm, Sweden
    Posts
    32
    If you want to view the source code, you can download it here:
    http://hem.passagen.se/shamloo/misc/

    After you have unzipped the file, rename it to nhl94.bin as this is the original file name.

    David
    "There are no must's in life unless you provide for someone else than yourself"

  7. #7

    Thread Starter
    Member shamloo's Avatar
    Join Date
    Oct 2000
    Location
    Stockholm, Sweden
    Posts
    32
    hmm...
    I have now opened the file in a hex Editor (UltraEdit) and I can maybe see the code somewhat clearer now.

    I can see the names of the players in the game but I can't see any programming code.

    With programming code, I mean something in line with

    for (i=0; i<2; i++) {
    doStuff();
    }

    But can I do something with it ?
    Could it be so that the game is written in assembly ?
    (I hope it's not)

    David
    "There are no must's in life unless you provide for someone else than yourself"

Posting Permissions

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



Click Here to Expand Forum to Full Width