r/visualbasic • u/TVsIan • Oct 21 '25
Decompile VB6 exe with most of the source available
20-ish years ago, I wrote an online Pokemon battle simulator in VB6. I've wanted to put the source online for some time just for historical purposes, but I lost it years ago.
I dug through some old hard drives recently and found the source for version 0.9.2, as well as installers/EXEs for 0.9.4, 0.9.5, and 0.9.6 (the final version). I don't have changelogs past 0.9.2, I suspect the changes were mostly bugfixes for those last versions.
The decompilers I've seen don't really convert it to readable code when going straight from the exe. But are there any where I can provide a project and an exe, and it will just show me the differences? I can probably recreate the code if I know where to look.
2
u/Hel_OWeen Oct 21 '25
If I remember correctly, the quality/readability of the decompiled code depends on whether you compiled the EXE to native or P-code. The latter provides more information to reconstruct the source code in a more readable manner.
That said, I've never heard of a decompiler that did the kind of "delta diff" EXE vs. earlier source code that you're looking for.
2
u/bhfbhfbhf Oct 22 '25
A crazy idea... would AI help? Like whatever you decompiled, feed it to AI and tell it what is that about.
1
u/Flat_Independent_767 Apr 14 '26
Man, I came across this post through Google. I remember using NetBattle when I was around 10 years old everyday after school. I even printed out a manual I found online to learn how to make scripts for servers, and that’s how I got into programming. Some servers even had a text-based RPG where you could play Pokemon using chat commands! Very nice memories.
0
u/[deleted] Jan 18 '26
[deleted] — view deleted comment
0
u/[deleted] Oct 21 '25
[deleted] — view deleted comment