dgcor / DGEngine

An implementation of the Diablo 1 game engine
Other
243 stars 30 forks source link

Diablo 2 game files #34

Open ghost opened 4 years ago

ghost commented 4 years ago

Right now, DGEngine can load all of Diablo 2's game assets that are of any use. Diablo 2 is a much bigger game than Diablo. I would like to make gamefilesd2 load all of its assets from Diablo 2's. Right now it's reverting to Diablo's gamefilesd and DIABDAT.

This can be done entirely by manipulating json files. Some things probably would require code changes, but for the most part, one should be able to get away with a lot with just json.

I created this issue to see if anyone might be interested in taking this on. I would provide assistance and tips on how certain parts can be done.

nlapinski commented 1 year ago

I could take this up - let me know if you have some guidance on how you would like to format stuff. I'm looking how the D1 jsons were made and how it might work for the D2 UI + levels.

Items I'm not grasping how the D1 ones were setup. Items ideally could be partially automated with some python or something.

dgcor commented 1 year ago

You might not be able to do items without redoing the code, but you should be able to use the images from D2.

I don't intend to go ahead with D2 because it's much bigger than D1. The idea would be to be able to load the first level and items using only game files from D2 and not using parts of D1.

The way D1 was made was by taking screenshots from the original and making the gamefiles in a way that the texts appear in the same positions.

I think the easiest way would be to try and recreate what we have now using only D2 files and make the create character part, etc as close to the original as possible.

I think the best way to see how it's done is to take D1 and chage things and see what happens.

Here's some documentation on what's available to use for the UI:

https://github.com/dgcor/DGEngine/tree/master/DGEngine.core/docs