Edited by Neijwiert, 19 January 2015 - 07:32 PM.
SUN.EXE Source Code
#1
Posted 18 January 2015 - 09:50 PM
#2
Posted 18 January 2015 - 10:17 PM
wow! any interest in trying the same for ra2 ???
#3
Posted 18 January 2015 - 10:18 PM
#4
Posted 18 January 2015 - 11:03 PM
wow! any interest in trying the same for ra2 ???
Not yet, maybe in the future
May I know why you chose sun.exe? The file is not really used anymore these days If you wanna start to reverse engineer the main executable (game.exe) then you should get in contact with me
Becouse this is my first time actually trying it. SUN.EXE is the main entry point for Tiberian Sun and it's a simple executable. I already started with Game.exe today, So far I have a WinMain function and all the resource files extracted lol.
Edited by Neijwiert, 18 January 2015 - 11:15 PM.
#5
Posted 18 January 2015 - 11:06 PM
please do ra2,exe or game.exe of red alert 2 !!!
#6
Posted 18 January 2015 - 11:14 PM
please do ra2,exe or game.exe of red alert 2 !!!
I appreciate your enthousiasm, but Game.exe of tiberian sun will take alot of time to decompile aswell. I might not even finish it. I'm going to focus on this first and then I'll start looking for other things. And like I said, I'm doing this to expand my knowledge. As much as I like Westood games, some things can take up too much time hehe
#7
Posted 19 January 2015 - 12:40 PM
#8
Posted 19 January 2015 - 03:35 PM
This is pretty awesome! And while FunkyFr3sh is spot on, most people bypass SUN.exe, it doesn't make this project any less admirable. These kind of undertakings are always positive IMO. Have you considered throwing this on GitHub or something for others to contribute?
I was actually consedring going to github already. I might put it there, we'll see how things go. However I will not release the ida database file (I'm using Ida pro with hex rays 1,5) for reasons. So if I were to put it on github only the already decompiled sources will be there.
For people interested, the current progress:
Decompiled some initial mutexes that are created to check if the game is alteady running and stuff. Identified some debug functions. I am currently on holdup on a function that seems to get a translated string from languages.dll. I think i might need to look in that file first before continueing, or i could ignore all messageboxes or anything else that uses that file. Im not sure yet.
#9
Posted 19 January 2015 - 03:48 PM
might be the csf file, that's a format that has been reverse engineered
#10
Posted 19 January 2015 - 04:47 PM
I don't know what the heck I'm reading...
#11
Posted 19 January 2015 - 05:48 PM
might be the csf file, that's a format that has been reverse engineered
No I'm 100% sure its looking for strings inside language.dll. Haven't seen or looked at the file you mentioned.
#12
Posted 19 January 2015 - 06:56 PM
#13
Posted 19 January 2015 - 07:03 PM
Why?Such a shame this is for ts
#14
Posted 19 January 2015 - 07:29 PM
Updated link. It now points to a folder with 2 archives (both hold the same data). One with format .zip other with .rar. I now have included the projects Game and Language. The language dll is completly decompiled with the exception of 2 entries I haven't figured out yet. They have ID 192 and 193. I haven't named (macro definitions) the strings yet (Too many entries lol, I have a life). I will name them when I go along the source code when they point to the strings. I did name however all the dialog presets, but I'm a bit rusty with tiberian sun so I might have named some wrong. Feel free to name them properly and hand me an updated version.
But other than the 2 entries, the output language.dll should behave exactly the same as the original (english) version. The version entry in the source says it's version 2.0.
EDIT:
Your webbrowser might remember where the previous link went to (atleast mine does, its Chrome) and still bring you to the old link. Check the link in your address bar and verify its the same as posted above.
Edited by Neijwiert, 19 January 2015 - 07:33 PM.
#15
Posted 20 January 2015 - 11:12 AM
Does 'reverse engineer' mean when you try to capture an enemy base, then you see a drone?
BA BOOM CCHHH!
#16
Posted 22 January 2015 - 05:35 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users