The Dink Network

Developing with HD 1.89

April 18th, 09:20 AM
duckdie.gif
bsitko
Peasant Male United States
 
So, quick question for those who have tried, can you develop DMODS using the HD version? Can you even do it? Are you better off running 1.08, develping using that and TEST on HD? The "issue" with the HD release is that it more forces you to A) Upload your DMOD to a site where it can be downloaded into HD B) Upload your betas to The Dink Network. Choice B sucks, no offense to TDN of course.
April 18th, 09:48 AM
spike.gif
SlipDink
Peasant Male United States bloop
2nd generation. No easy way to be free. 
I don't know if it is possible to "develop DMODS using the HD version". I suspect that it is possible.

But I know this:

a Version 1.08 is (according to many) the most stable.
b If you make a version that is not compatible with 1.08 then some dinkers will not be able to run it.

I'm not sure I understand your "The issue with the HD release is that it more forces you to A) Upload your DMOD to a site where it can be downloaded into HD B) Upload your betas to The Dink Network. Choice B sucks, no offense to TDN of course." issue.
April 18th, 10:35 AM
wizardg.gif
LeprochaUn
Peasant Male Japan xbox steam bloop
Responsible for making things not look like ass 
DinkHD can download any dmod from this site.

You should be able to test in HD, you may just have to set whatever editor you're using to open up HD instead of 1.08. I've never done it so I'm not entirely sure of how to go about it, but it might just be a pathing thing.
April 18th, 11:32 AM
custom_king.png
redink1
King Male United States xbox steam bloop
A mother ducking wizard 
The biggest problem with developing with DinkHD is Seth moved where DinkHD looks for D-Mods.

v1.08 and freedink look for subdirectories immediately below where dink.exe is, while DinkHD looks under another folder (called 'dmods' IIRC). I don't think any existing editors support this, so you'll need to copy files around or get fancy with symlinks (junctions).
April 18th, 12:13 PM
duckdie.gif
bsitko
Peasant Male United States
 
Yeah @redink1, that's what I was seeing as well. Bottom line is to create DMOD's, testing with HD can be cumbersome because it will require you to package it up, upload it somewhere, and then download/play.

1.08 it is.
April 18th, 12:28 PM
duckdie.gif
bsitko
Peasant Male United States
 
On a side note, I LOVE the change Seth made. Downloading and playing DMOD's with HD is so simple now for those folks just wanting to play DINK. It's great.
April 18th, 12:34 PM
peasantm.gif
shevek
Peasant Netherlands
Never be afraid to ask, but don't demand an answer 
Downloading and playing DMOD's is so simple now for those folks just wanting to play DINK. It's great.

Maybe this is a Windows thing, but I have always done that with dfarc+freedink...?

When you have packaged a D-Mod, why do you need to upload+download it? Can't you just unpack and run it locally? Sure, unpack on download is easy, but upload+download instead of unpack sounds like you're making it much more complicated than it needs to be.
April 18th, 12:43 PM
duckdie.gif
bsitko
Peasant Male United States
 
You no longer can if you use the new 1.89 HD version. With Freedink, 1.08 Windows, you certainly can. It just makes debugging and testing HD difficult.
April 18th, 03:26 PM
goblins.gif
You don't have to upload your DMOD to play it in DinkHD. Also, you can set up DFarc to use DinkHD, and then set an additional DMOD directory to wherever your DMOD's are stored. Give it a shot. That's what I do to test my Dmod in DinkHD.
April 19th, 08:58 AM
pq_cthunik.gif
GOKUSSJ6
Peasant Male Poland steam
Everyone should get a pizza for free in each week. 
Another thing worth to mention is that Dink HD supports PNG files. For me this is the most important thing ever as ya can finally use the actual transparency (and most likely even the alpha channel). Hope FreeDink adds that as well and bring more features.
April 19th, 08:23 PM
girl.gif
yeoldetoast
Peasant Female Australia steam
discord.gg/Ukugfbh 
Freedink has supported png files unofficially for about ten years now.
April 19th, 09:14 PM
custom_king.png
redink1
King Male United States xbox steam bloop
A mother ducking wizard 
! What what what? How?
April 20th, 11:59 AM
pq_cthunik.gif
GOKUSSJ6
Peasant Male Poland steam
Everyone should get a pizza for free in each week. 
Freedink has supported png files unofficially for about ten years now.
Tell me about this secret way of getting PNG file loaded into FreeDink.
April 20th, 01:20 PM
wizardg.gif
LeprochaUn
Peasant Male Japan xbox steam bloop
Responsible for making things not look like ass 
if he told you it wouldn't be a secret anymore.
April 20th, 01:58 PM
peasantm.gif
shevek
Peasant Netherlands
Never be afraid to ask, but don't demand an answer 
Freedink just uses SDL's image loading capabilities. They will autodetect the file type; it accepts almost everything.

This means that for copy_bmp_to_screen and show_bmp, you can just pass any non-bmp file and it will work.

Sprites are implicitly named *.bmp, so that's harder, but I think if you have a png file and rename it to bmp, it may also work for them; I'm not sure if SDL requires the filename to match the format.
April 20th, 06:47 PM
custom_king.png
redink1
King Male United States xbox steam bloop
A mother ducking wizard 
Well I'll be darned; I got my Png Farmer D-Mod to work with Freedink. As you said, I had to rename my .png to .bmp, but it works:



And DinkHD doesn't mind if the file extension is wrong either. And neither does MsPaint.

For fun, I tried running it with v1.08, and it just results in invisible pigs.
April 20th, 09:29 PM
girl.gif
yeoldetoast
Peasant Female Australia steam
discord.gg/Ukugfbh 
Yep, JPEG also works as well if you're interested. In my tests, PNG didn't result in particularly great space savings once packaged up relative to standard bmps, however.
April 21st, 11:26 AM
duckdie.gif
bsitko
Peasant Male United States
 
Cool but it's only a completely useful feature if it works in every version. Someone want to program 1.08 to work? Haha
April 22nd, 03:43 AM
pq_cthunik.gif
GOKUSSJ6
Peasant Male Poland steam
Everyone should get a pizza for free in each week. 
1.08 is pretty much obsolete in modern PCs due to compatibility issues. Hence why people prefer source ports than the original.
April 22nd, 04:26 AM
girl.gif
yeoldetoast
Peasant Female Australia steam
discord.gg/Ukugfbh 
Now that Dink 1.09 and Freedink are both mature and stable, there's really no reason not to use either of those. Should we still be supporting the original CD version because there's one person out there still running Windows 95?

The main barrier to testing mods in Dink 1.09 was the lack of the -game command line switch but that's been added recently.
April 23rd, 07:59 PM
custom_robj.png
Robj
Peasant Male Australia
You feed the madness, and it feeds on you. 
There's still some bugs in dink Smallwood hd, that didn't get fixed.. One In particular that messes up the sprites (even causes sprites to face wrong direction while walking.. Eg. Walking north while south direction sprite is playing) in one of the dmods I'm developing, which makes the dmod unplayable. Code is all correct but but only works in anything pre HD.
April 24th, 05:42 AM
custom_king.png
redink1
King Male United States xbox steam bloop
A mother ducking wizard 
If you can provide instructions on how to reproduce an issue like that (or create a small demo dmod), it's possible that Seth, me, or someone else could fix it and get that change into a new release.
April 24th, 10:00 PM
custom_robj.png
Robj
Peasant Male Australia
You feed the madness, and it feeds on you. 
"If you can provide instructions on how to reproduce an issue like that (or create a small demo dmod), it's possible that Seth, me, or someone else could fix it and get that change into a new release."

PM'ed you.