I've just discovered this website!! It's been more than 15 years when I was programming in that wonderful language!!
I have many developed games under DIV / DIV2 and I was wondering if there's any way to migrate them to DIV DX. Unfortunately for most of the games, I
only keep compiled version of the games (I lost source .PRG), do you know if there's any way to extract .PRG from compiled games? I'll post the ones I
already have source files...
Thanks for your big effort!! And my best wishes in this project!MikeDX - 31-10-2016 at 01:04 PM
Hello josep, welcome back
There's no official tool to do it but i have a set of scripts here that can take an exe+pak and turn them into a new windows, linux or JavaScript
package.
Also i have a utility which can extract the assets from pakfiles if you want me to recover your graphics for you.
Sadly there's no real way of converting exe to prg. I have tried a while ago to do this but the results were not very good.
[Edited on 31-10-2016 by MikeDX]josepgames - 31-10-2016 at 02:13 PM
Hi Mike!
Thanks for your quick reply!
Could you send me this utility? Most cases I only lack .PRG file
I'd also like to upload my games to your website, could you send me instructions?
Thanks again!MikeDX - 31-10-2016 at 02:24 PM
I can't really share the utility as it is part of the div code. At some point i will have a page on the site you can upload a zip and it will convert
to modern div for you.
Until then, you can upload your games as zips to the forum and i will convert the for you.josepgames - 31-10-2016 at 02:34 PM
Ok, thanks!! Then I'll post some of them, is there any specific section?MikeDX - 31-10-2016 at 02:41 PM
You can post them in the wips or gamover section. Don't worry about where to post them, if they are in the wrong place i can easily move them xquivadas - 13-12-2016 at 12:55 PM
Hello Mike, great effort you did, kudos!
Now that the div code is open source, is the decompiler utility available?
Thanks!
x.MikeDX - 13-12-2016 at 01:08 PM
Yes the pak unpacker is in the div source tree. It should compile with any c compiler and linked with zlibCicTec - 13-12-2016 at 04:52 PM
Now that the div code is open source, is the decompiler utility available?
Hi xquivadas,
If you mean the program as a decompiler to get the PRG from the compiled code, this does not exist, what exists is the unpacker, the program that
extracts the file assets (FPG, MAP, etc ...) from the original .PAK file.xquivadas - 13-12-2016 at 08:58 PM
Now that the div code is open source, is the decompiler utility available?
Hi xquivadas,
If you mean the program as a decompiler to get the PRG from the compiled code, this does not exist, what exists is the unpacker, the program that
extracts the file assets (FPG, MAP, etc ...) from the original .PAK file.
Oh, I see... I just hadn't read correctly. Excellent job anyway!