DDDSJ4 - embed 3D models into DSJ4!

Discussion about custom hills.
Post Reply
Men6ix_
Posts: 8
Joined: 21 May 2020, 19:22

DDDSJ4 - embed 3D models into DSJ4!

Post by Men6ix_ »

Image

Hi,
I have made a small program that can be used to embed 3D models directly into DSJ4. It's written in C# and includes no magic - it generates DSJ4 compatible XML file with <3dmodel> tag. Above you can find the example effect.

How to use?
1. Download .rar file and unzip it
2. Place the DDDSJ4 folder somewhere (ie. on Desktop)
3. Run

Code: Select all

cmd.exe
(Windows+R, cmd.exe and Enter)
4. Navigate to directory where you put DDDSJ4 folder using

Code: Select all

cd <directory>
5. Run program using

Code: Select all

DDDSJ4.exe <file.obj> <file.mtl>
6. Wait a moment, the program will generate XML, open it, paste into your hill, run and it's ready!

I have put example files cessna.obj and cessna.mtl, so you can quickly test the program. Generally, you have to include .obj and .mtl files that you can create by yourself ie. in Blender or find them in the internet.

Drawbacks
1. Faces definition must contain exactly three values. If you have more than three, use Blender and triangulate your model
2. I haven't found a way to include textures in a reasonable way
3. Windows Defender service could consider the program as unsafe, it's false positive
4. There are many files inside the DDDSJ4 folder, they are all needed to run properly without having to install additional softwares

Links
Download: https://www.mediafire.com/file/1alh7wdy ... 4.rar/file
Source code: https://github.com/Mensix/DDDSJ4

Contact me in case of any problem.
iSeb
Posts: 11
Joined: 27 Oct 2020, 14:00

Re: DDDSJ4 - embed 3D models into DSJ4!

Post by iSeb »

es?
Post Reply