Jump to content

Porting Doom 3 mod to Dhewm 3


Recommended Posts

Could someone help a newbie port a mod? Trying to run Overthinked in Dhewm 3 gives me the following error:

ERROR: Error: file script/doom_events.script, line 752: Too many parameters for event definition. Internal definition has 1 parameters.

How would one go about changing the amount of parameters allowed?

Share this post


Link to post

Overthinked needs to have its gamex86.dll ported for dhewm3. Luckily, the source for it is listed on the moddb page as "Fusion SDK", with instructions to compile it in the tutorials section. Dhewm3 has instructions for porting mods here. YMMV, there's no way to tell how easy the port will be until someone tries it. I can give it a go later this week if you're not up for it.

Share this post


Link to post

Truth be told I was eager to sink my teeth into this, so I started working on it shortly after posting. I managed to get it running, play tested it for a bit, and it seems to be running just like the vanilla mod, warts and all.

 

https://www.mediafire.com/file/qvpxx04p9md8y1z/overthinked.zip/file

 

Just extract this and the overthinked mod into your dhewm3 folder and launch it as you normally would. @Vote With Your Eyeballs It's here waiting for you when you come back.

 

I'm kind of iffy about doing this with regards to licensing, I'm still pretty new to making contributions. Taking a gander around the doom 3 modding scene; it looks rather gray, and most people seem indifferent. If anyone has a take on it, I'm all ears.

Share this post


Link to post
  • 8 months later...
  • 1 month later...

Could you share your gamex86.dll to me too? Doom 3's default port refuses to have a usable mouse and I'd like to try this mod out.

Share this post


Link to post
  • 6 months later...

@GuyMcBrofist Hey, quick question: is there a license restriction or problem with the author that the mediafire link had to be removed?

I got to this post via the moddb comment by the author and am looking to stream/letsplay Overthinked D3, but I play on a mac so it would be great if you could share it with me as well.

 

I would actually prefer that your changes be publicly available or merged with the original mod, but I'll take what I can get.

 

Thanks!

Edited by Ray1Claw

Share this post


Link to post
  • 6 months later...

Thanks for the link! I'm sorry I completely missed your response and only seeing it now. Dhewm3 has a macos version and all other dhewm3 mods seem to work on this, so I can assume this would work as well. Thanks so much for the share again!

Share this post


Link to post

@GuyMcBrofist Ok, finally got around to testing it. Since your package had the cfg inside the overthinked folder but the dll outside, I pasted it inside dhewm3 folder itself. Running it produces the same exact error Vote With Your Eyeballs mentioned above. Is there any other changes that I'm supposed to do? Attaching a screenshot for reference

Screenshot 2024-04-25 at 5.06.06 AM.png

Share this post


Link to post
  • 2 weeks later...

I got in touch with the mod author. The Dhewm 3 port of overthinked is now available on moddb! https://www.moddb.com/mods/overthinked-doom3/downloads/overthinked-for-dhewm-3

 

@Ray1Claw You put the dll in the right place, but you're going to need the .so file for the mac/linux version. It's in the linked download. Please let me know if it works for you, because I don't have a linux/mac system to test it on right now.

Share this post


Link to post
Posted (edited)

Nice! Thanks for placing this on moddb, would definitely reach more people that way.

 

As for me, unfortunately, I'm still seeing the same errors. This is a fresh Dhewm3 1.5.3 install with nothing but the base pk4s and overthinked installed. Attaching screenshots for your reference. (yes, I tried all permutations between pasting just the .so, both .so and .dll and pasting it in dhewm3/ vs pasting in both dhewm3 and inside overthinked/)

 

 

330335147_Screenshot2024-05-09at2_18_43PM.png.ec3b78a6eff826a3619e33b2dcffb805.png1387638731_Screenshot2024-05-09at2_20_50PM.png.3ab2cc55df175dd52930aea7b0281975.png

Edited by Ray1Claw

Share this post


Link to post

Ok, I see your problem. You're on an M1 mac. That's a different architecture than x64, which is what the linux release of Dhewm3 is and what I built the library for, so I assumed you were using that and were on an intel mac.

 

I might be able to compile the library for M1, I'll need to investigate.

Share this post


Link to post

Ah yes, apologies, should've mentioned earlier. Let me know if I can help test or give more info

Share this post


Link to post

Looks like I wont be able to compile on mac until I have a mac. One more excuse to get one, but no plans for it any time soon.

 

Have you tried running the windows version with WINE?

Share this post


Link to post

Ah no worries. I'll get a capture card to stream my Steam Deck instead. Should work well.

 

Mac has Whiskey (a wine wrapper similar to Bottles on linux) and there's Crossover which is paid (haven't tried yet). With whiskey/wine it does run but the audio is super choppy and I asked around on their discord but no luck yet.

 

Thanks so much for attempting it though, and placing the files on moddb.

Cheers!

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...