Community
Message Board

Chat room - users
Game Over
( 394431 downloads)
Work In Progress
( 523201 downloads)
Links

Code Exchange
Downloads
Tutorials
Add to Favourites

Submit news

DIV ARENA FORUMS
Not logged in [Login - Register]
Go To Bottom

Printable Version  
Author: Subject: Migrating old packed games
josepgames
Loyalty card holder
******


Avatar


Posts: 66
Registered: 31-10-2016
Location: Barcelona - Spain
Member Is Offline

Mood: Happy

cool.gif posted on 31-10-2016 at 12:40 PM
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!
View user's profile Visit user's homepage View All Posts By User
MikeDX
DIV Nerd
*********


Avatar


Posts: 8388607
Registered: 25-2-2016
Member Is Offline


[*] posted on 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]
View user's profile View All Posts By User
josepgames
Loyalty card holder
******


Avatar


Posts: 66
Registered: 31-10-2016
Location: Barcelona - Spain
Member Is Offline

Mood: Happy

[*] posted on 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!




JosepGames
View user's profile Visit user's homepage View All Posts By User
MikeDX
DIV Nerd
*********


Avatar


Posts: 8388607
Registered: 25-2-2016
Member Is Offline


[*] posted on 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.
View user's profile View All Posts By User
josepgames
Loyalty card holder
******


Avatar


Posts: 66
Registered: 31-10-2016
Location: Barcelona - Spain
Member Is Offline

Mood: Happy

[*] posted on 31-10-2016 at 02:34 PM


Ok, thanks!! Then I'll post some of them, is there any specific section?



JosepGames
View user's profile Visit user's homepage View All Posts By User
MikeDX
DIV Nerd
*********


Avatar


Posts: 8388607
Registered: 25-2-2016
Member Is Offline


[*] posted on 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 :)
View user's profile View All Posts By User
xquivadas
DIV Newbie
*




Posts: 2
Registered: 13-12-2016
Member Is Offline


[*] posted on 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.
View user's profile View All Posts By User
MikeDX
DIV Nerd
*********


Avatar


Posts: 8388607
Registered: 25-2-2016
Member Is Offline


[*] posted on 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 zlib
View user's profile View All Posts By User
CicTec
DIV Pro
******




Posts: 471
Registered: 6-8-2016
Member Is Offline


[*] posted on 13-12-2016 at 04:52 PM


Quote: Originally posted by xquivadas  

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.
View user's profile View All Posts By User
xquivadas
DIV Newbie
*




Posts: 2
Registered: 13-12-2016
Member Is Offline


[*] posted on 13-12-2016 at 08:58 PM


Quote: Originally posted by CicTec  
Quote: Originally posted by xquivadas  

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!
View user's profile View All Posts By User

  Go To Top

Powered by XMB
XMB Forum Software © 2001-2012 The XMB Group
[Queries: 18]