josepgames
Loyalty card holder
Posts: 66
Registered: 31-10-2016
Location: Barcelona - Spain
Member Is Offline
Mood: Happy
|
|
Migrating old packed games
Hi!
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
|
|
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
Loyalty card holder
Posts: 66
Registered: 31-10-2016
Location: Barcelona - Spain
Member Is Offline
Mood: Happy
|
|
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!
JosepGames
|
|
MikeDX
|
|
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
Loyalty card holder
Posts: 66
Registered: 31-10-2016
Location: Barcelona - Spain
Member Is Offline
Mood: Happy
|
|
Ok, thanks!! Then I'll post some of them, is there any specific section?
JosepGames
|
|
MikeDX
|
|
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
DIV Newbie
Posts: 2
Registered: 13-12-2016
Member Is Offline
|
|
Hello Mike, great effort you did, kudos!
Now that the div code is open source, is the decompiler utility available?
Thanks!
x.
|
|
MikeDX
|
|
Yes the pak unpacker is in the div source tree. It should compile with any c compiler and linked with zlib
|
|
CicTec
DIV Pro
Posts: 471
Registered: 6-8-2016
Member Is Offline
|
|
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
DIV Newbie
Posts: 2
Registered: 13-12-2016
Member Is Offline
|
|
Quote: Originally posted by CicTec |
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!
|
|