Skip to content

I know where IWD:2 source code, might be!

Look no further, my rebellion begins tonight, On ward, I bet its GoG.com, are hiding the code, It would hurt sales of the original game which only they have. But you might say, Beamdog sales games on GoG.com, why would they do that, easy, at the present time GoG.com is the only digital retailer who offers IWD:2, if they gave up the source code, then we would have an IWD2:EE, which means, Steam, Beamdog client, and GoG.com. It would be bad for GoG.com bc it would cut into profits from being the only seller to now being only 1 of 3 maybe 4 sellers.

I say we organization of resistances and final get what this community been thirsty for "TO THE VAULTS OF GOG.COM!!!"
«1

Comments

  • Dev6Dev6 Member Posts: 721
    I can't tell if this is a joke thread or if you're really that dense.
  • RaduzielRaduziel Member Posts: 4,714
    @semiticgod 's IWD2EE run made me play it more than ever.
  • TorgrimmerTorgrimmer Member Posts: 331
    @Raduziel, i think you mean IWD1EE bc there is no IWD2EE yet, this thread is to drum up support to get a IWD2EE made, which most likely wont happen bc no one cant find the source code it seems, BUT IM NOT GIVING UP HOPE!!!!!
  • RaduzielRaduziel Member Posts: 4,714
    @Torgrimmer I meant IWD2, not IWD2EE or IWDEE.
  • TorgrimmerTorgrimmer Member Posts: 331
    Raduziel said:

    @Torgrimmer I meant IWD2, not IWD2EE or IWDEE.

    @Raduziel Not a problem, Bro/sister. You did good, was just confused.
  • saoxsaox Member Posts: 106
    Paranoic conspiracy theory - GOG makes that much of IWD2 sales that yea...makes perfect sense lol.

    IWD2 was a horribly boring game anyway, I don't get why people would want it ressurected.
  • RaduzielRaduziel Member Posts: 4,714
    saox said:

    Paranoic conspiracy theory - GOG makes that much of IWD2 sales that yea...makes perfect sense lol.

    IWD2 was a horribly boring game anyway, I don't get why people would want it ressurected.

    In my case, OCD.
  • thruddthrudd Member Posts: 96
    EEKeeper work With IWD2? I just Might get it from gog And roll a few parties?
  • AstroBryGuyAstroBryGuy Member Posts: 3,437
    thrudd said:

    EEKeeper work With IWD2? I just Might get it from gog And roll a few parties?

    You’ll need Dale Keeper 2. You can get it here:

    http://www.sorcerers.net/Games/IWD2/index_editors.php
  • FirecrowFirecrow Member Posts: 94
    edited March 2018
    saox said:

    Paranoic conspiracy theory - GOG makes that much of IWD2 sales that yea...makes perfect sense lol.

    IWD2 was a horribly boring game anyway, I don't get why people would want it ressurected.

    On HoF mode IWD2 much more difficult than IWD1 and even more hardier compared IWD:EE. This alone already adds some interest. Also IWD2 has many mods, especially Tactics4IWD2. Solo HoF druid in Tactics4IWD2 was the hardiest play for me in all my life.
  • XorinaXorina Member Posts: 138
    Bit of a Noober question, but, can't you simply decompile the code from the discs themselves? If that's the right word to use?
  • joluvjoluv Member Posts: 2,137
    @Xorina: "Decompile" is the right word, but "simply decompile" isn't the right phrase.

    The problem is basically that compilers aren't one-to-one, meaning that there are many different programs that will compile to the exact same executable. So given the executable, there's no way to know for sure what the original source code was. Even if you don't care about getting the exact original code, it's very difficult to design a decompiler that will reliably output human-readable source code as opposed to some obfuscated mess.
  • XorinaXorina Member Posts: 138
    edited March 2018
    "The problem is basically that compilers aren't one-to-one, meaning that there are many different programs that will compile to the exact same executable. So given the executable, there's no way to know for sure what the original source code was. Even if you don't care about getting the exact original code, it's very difficult to design a decompiler that will reliably output human-readable source code as opposed to some obfuscated mess."

    Can it not be translated to assembler or machine code or another language? Surely the authors know what the original code was, as in what it was written in?

  • joluvjoluv Member Posts: 2,137
    They know what language it was written in, but that's not the point.

    As an analogy, suppose I make some complicated image in Photoshop, and then I hand you a print-out of it and tell you to list all the steps I took in creating it. That's an impossible task, because there are many different ways to produce any given image in Photoshop.

    Or alternatively, suppose I ask you what two numbers I added to get 185. Again, it's impossible.

    Compiled code is like that. It's not "translated" in a reversible way.
  • tbone1tbone1 Member Posts: 1,985
    joluv said:

    Even if you don't care about getting the exact original code, it's very difficult to design a decompiler that will reliably output human-readable source code as opposed to some obfuscated mess.

    For most values of "human". Though I can remember a couple coworkers who could not only ork a cow but could, apparently, only communicate in ones and zeros.


  • XorinaXorina Member Posts: 138
    Some so-and-so must have the code, perhaps a worldwide call with a suitable reward is necessary, an invite to the launch party, say.
  • Jeppeboy1Jeppeboy1 Member Posts: 5
    I bought the game from GoG.com. I found the 3e rules utterly confusing - particularly because several feats are bugged and dont work in the original game. Reached the ice temple but my interest fainted quickly. There are so many repetitive fights, same loot, and almost no interesting side quests. A year later I have not picked it up, and I am fairly convinced I never will.
  • kimmuryielkimmuryiel Member Posts: 89
    dumb question, but could they use something like PE Explorer? (I don't know what language IWD2 was coded in (my guess would be Visual Basic, since that's that BG2 was coded in, at least for character interactions), so I have no idea how to recognize IWD2's source code if it bit me in the ass)
    (alas, I am the first in my family to seek a career in game development so it's not like I'm looking through my dad's hard drive)

    On another note, it would be both infuriating and hilarious if it was just mislabeled XD
  • lefreutlefreut Member Posts: 1,462
    edited May 2018
    The InfinityEngine is written in C++. You could disassemble/decompile it but it can't really be used to build an enhanced edition as all useful informations (variables name, higher level constructs, ...) are lost when compiling and can't be retrieved.
  • EbenBruynsEbenBruyns Member Posts: 4
    Ok I feel the need to chime in here. I get so frustrated when developers throw their hands in the air and say "it can't be done"!

    While technically the information supplied in this forum is correct it's very traditional thinking. My day job involves doing the impossible.

    So here's the strategy for building IWD2:EE

    Keep in mind that this might not be financially viable, I have no idea what the technical ability of the beam dog team is (and trust me you need some lateral thinking to get the task I'm outlining done).


    Presumably IWD2 used an Infinity Engine base to start from. Presumably the IE code is readable given what I see modders doing (I've not looked into this, but it is apparent that there's some form of human readable code or modders would have a much harder time doing the stuff I've seen them do).


    Given these 2 facts there's a gap in the middle. So close the gap...

    How would you do this you might ask. Simple either implement the missing bits if they are simple or start reverse engineering IWD2 binaries to figure out what the missing bits did.

    How long would this process take? Less time than it took to make the original IWD2 and more time than it would take to make an EE version of the game if you had the source code.

    Further there's the fact that compilers only use set patterns to generate assembly, optimizations can make things a little more interesting. When you spent enough time in the trenches you learn to spot these patterns and it's not as hard as it might seem at first.


    I get annoyed when people say things are impossible, because they can't do it. Then again, maybe I should shut up, since that's what keeps me employed...

    So it's not impossible to build IWD2:EE, it might be infeasible to do so due to financial constraints. I suggest that if fans wants it badly enough they start a go fund me page or something to raise as much money as they can to see if that can get a project like this off the ground. At $20 per license I doubt the numbers would ever stack up.

    Also before someone chimes in and tells me that I don't know what I'm talking about, this is the kind of stuff I do in my day job. I have lots of experience around this.
  • joluvjoluv Member Posts: 2,137
    @EbenBruyns: Since I was one of two people throwing around the word "impossible" above, maybe I should clarify that the task I was calling impossible was recovering the exact original source code from the compiled code. I think that's consistent with what you're saying, which is that it would be possible, with sufficient resources, to generate equivalent source code.
  • EbenBruynsEbenBruyns Member Posts: 4
    @joluv as long as we agree! I wasn't targeting you specifically (or anybody in particular), I've just read the word impossible in connection with IWD2:EE too many times.

    impossible is a word that is overused in this day and age, also equivalent code is not necessarily required. From what I can gather the EE versions have a lot of new code and a lot of old code has been removed or reworked.

    If the beamdog team has done a decent look at the state and what would be required, then I'm sure they'll be in a position to know if they possess the skills to do it with reasonable amount of resources.

    Personally I don't think the job is as huge as it's imagined - I'm not saying it's trivial, but it's likely less work than what it's imagined. This of course has the caveat that you have the right skills in house, and unfortunately the skills required are not that common in this day and age.

    What would be interesting to know is how much of the engine code will actually run on the IE+ already. Are the D&D rules hard coded or engine coded? This is probably the biggest hurdle. Not being an expert on D&D rules and from what I've read 3E simplified things....

    Anyway this thread is pointless, I just don't like hearing the word impossible. Challenging, now that I will accept! Cost prohibitive, sure. Impossible, well I've solved too many impossible problems over the years to believe that there are so many impossible problems in the software world. Either that or there's more lazy people than we realise, maybe impossible means "I can't be bothered putting in the effort".

    I'm done ranting now...

    :):):):)
  • jsavingjsaving Member Posts: 1,083
    edited May 2018
    Beamdog says it isn't possible, but here's hoping! :)
Sign In or Register to comment.