Lately I've been toying around with the PBEM turn file encryption because I was hoping that the wrong-faction-graphic-bug of SMAX could be solved by editing the faction identifiers in the turn files like you can do with unencrypted SMAC single player save files. But the strings that label the faction are all correct, as I found out - still SMAX simply ignores the data from the turn files and insists on the faction order of the alphax.ini file (which always sets itself to the choice of factions you made in the last SMAX game that you started). Whoever programmed the expansion should be nerve-stapled and thrown into the brood pits, if you ask me
Anyway ... in the process of doing so I managed to figure out how SMAX actually encrypts its turn files. Yes, I'm admitting that freely and vow to my current and future co-pbem players, that I'm really too honest and principled to be using that knowledge for cheating against other players. Actually, the encryption of SMAC(X) is so simple, that I suspect that quite a few other people must have already figured it out by now (more reason for the programmers to become worm food).
Breaking the encryption was just one step anyway. Understanding what the values (except for obvious names) mean is a different challenge. But I was thinking that if we could figure that out, we would be able to program in-between-turn processing that can fix a few issues of SMAC and maybe even add a few new things.
One of my first thoughts actually was the infamous stockpile bug. We could have a process running over the turn file every beginning of a turn that detects production queues switching to stockpile and reduce the player's energy reserves by that amount, that was given to him by the bug. Perhaps a few other bugs can be taken off the "intentionally-avoid-doing-this"-list too (it would only require that the last player of a turn uploads his file to a webpage that does the modifications and where the first player of the next turn can download it).
The second idea would be to create a better and stronger AI for Planet itself. We could actually make fungus expand like forests and make more mind worms appear. Perhaps even make the Planet appear "smart" enough to really act like having an agenda and not just being something that pops in once in a while when your eco-damage grows to high.
Well ... what do you think? Would anyone feel like it being worth the effort? Or do you rather feel we shouldn't touch Pandora's box and dig too deep into the secrets of PBEM turn file manipulation?
Anyway ... in the process of doing so I managed to figure out how SMAX actually encrypts its turn files. Yes, I'm admitting that freely and vow to my current and future co-pbem players, that I'm really too honest and principled to be using that knowledge for cheating against other players. Actually, the encryption of SMAC(X) is so simple, that I suspect that quite a few other people must have already figured it out by now (more reason for the programmers to become worm food).
Breaking the encryption was just one step anyway. Understanding what the values (except for obvious names) mean is a different challenge. But I was thinking that if we could figure that out, we would be able to program in-between-turn processing that can fix a few issues of SMAC and maybe even add a few new things.
One of my first thoughts actually was the infamous stockpile bug. We could have a process running over the turn file every beginning of a turn that detects production queues switching to stockpile and reduce the player's energy reserves by that amount, that was given to him by the bug. Perhaps a few other bugs can be taken off the "intentionally-avoid-doing-this"-list too (it would only require that the last player of a turn uploads his file to a webpage that does the modifications and where the first player of the next turn can download it).
The second idea would be to create a better and stronger AI for Planet itself. We could actually make fungus expand like forests and make more mind worms appear. Perhaps even make the Planet appear "smart" enough to really act like having an agenda and not just being something that pops in once in a while when your eco-damage grows to high.
Well ... what do you think? Would anyone feel like it being worth the effort? Or do you rather feel we shouldn't touch Pandora's box and dig too deep into the secrets of PBEM turn file manipulation?
Comment