Homebrew [WIP] Duke Nukem 3D

MasterFeizz

Well-Known Member
OP
Member
Joined
Oct 15, 2015
Messages
1,098
Trophies
1
Age
29
XP
3,710
Country
United States
Progress update: Background music is working!!! I still need to fix the sound timing issues, which I don't think will be hard.
And I've also taken the suggestions for the touch overlay and tweak it to a point that I can say it's done.
 

elhobbs

Well-Known Member
Member
Joined
Jul 28, 2008
Messages
1,044
Trophies
1
XP
3,034
Country
United States
Progress update: Background music is working!!! I still need to fix the sound timing issues, which I don't think will be hard.
And I've also taken the suggestions for the touch overlay and tweak it to a point that I can say it's done.
Not sure how you are planning on handling the sound timing issues, but I was never able to get a timer based approach to work without issue. The latest approach I have taken ( unreleased hexen2 port - as there already is a decent port) is based on the hexen2/quake wav player. It breaks a 64k buffer into 128 blocks of 512 then bases the timer of off the blocks that have finished playing - in this case with dsp instead of the Windows wav player. Basing the timer on the finished blocks solves the inaccuracies that creep in with a pure timer based approach which can cause ticks and occasional fuzz/scratching noises.
 

MasterFeizz

Well-Known Member
OP
Member
Joined
Oct 15, 2015
Messages
1,098
Trophies
1
Age
29
XP
3,710
Country
United States
Not sure how you are planning on handling the sound timing issues, but I was never able to get a timer based approach to work without issue. The latest approach I have taken ( unreleased hexen2 port - as there already is a decent port) is based on the hexen2/quake wav player. It breaks a 64k buffer into 128 blocks of 512 then bases the timer of off the blocks that have finished playing - in this case with dsp instead of the Windows wav player. Basing the timer on the finished blocks solves the inaccuracies that creep in with a pure timer based approach which can cause ticks and occasional fuzz/scratching noises.
The engine internally uses blocks, so I'm going to try wrapping that around a DSP wrapper. In theory it should be "easy" without requiring me to modify the engine much.
 
  • Like
Reactions: tiduscrying

MasterFeizz

Well-Known Member
OP
Member
Joined
Oct 15, 2015
Messages
1,098
Trophies
1
Age
29
XP
3,710
Country
United States
The new version is out guys: https://github.com/masterfeizz/EDuke3D/releases/tag/v1.0-alpha
Background music is working... with a catch: Only the .ogg filetype is implemented so you will have to download the soundtrack in .ogg format (probably a remastered version) and place the files in the eduke3d folder.
The new sound driver also fixed all the problems with timing that we had before, so Duke's lines will sound right this time.
Ohh and this is what the new touchscreen overlay looks like:
ChVZfoiUkAA4II-.jpg
 

DarkFlare69

Well-Known Member
Member
Joined
Dec 8, 2014
Messages
5,147
Trophies
2
Location
Chicago
XP
4,751
Country
United States
The new version is out guys: https://github.com/masterfeizz/EDuke3D/releases/tag/v1.0-alpha
Background music is working... with a catch: Only the .ogg filetype is implemented so you will have to download the soundtrack in .ogg format (probably a remastered version) and place the files in the eduke3d folder.
The new sound driver also fixed all the problems with timing that we had before, so Duke's lines will sound right this time.
Ohh and this is what the new touchscreen overlay looks like:
ChVZfoiUkAA4II-.jpg
Thanks for your time to work on this!

I will play this on long car rides with nothing to do
 

Hector_of_Troy

Well-Known Member
Member
Joined
Feb 9, 2016
Messages
146
Trophies
0
XP
135
Country
Italy
The new version is out guys: https://github.com/masterfeizz/EDuke3D/releases/tag/v1.0-alpha
Background music is working... with a catch: Only the .ogg filetype is implemented so you will have to download the soundtrack in .ogg format (probably a remastered version) and place the files in the eduke3d folder.
The new sound driver also fixed all the problems with timing that we had before, so Duke's lines will sound right this time.
Ohh and this is what the new touchscreen overlay looks like:
ChVZfoiUkAA4II-.jpg
The music support is awesome! Just wondering, does the game know internally in which order to play the tracks or do i have to create some sort of CUE file?
 

Hector_of_Troy

Well-Known Member
Member
Joined
Feb 9, 2016
Messages
146
Trophies
0
XP
135
Country
Italy
On O3DS it takes little bit of time for the game to load, did you wait like 15 seconds? If you did, I'll have to look into that.
Yeah, I also tried with the full version and it's stuck at calculating sine table. At the top of the screen it also says "ignored application parameter "" ", I don't know if that could be of any help
 

MasterFeizz

Well-Known Member
OP
Member
Joined
Oct 15, 2015
Messages
1,098
Trophies
1
Age
29
XP
3,710
Country
United States
Yeah, I also tried with the full version and it's stuck at calculating sine table. At the top of the screen it also says "ignored application parameter "" ", I don't know if that could be of any help
That's weird, I'll see what I can do when I get time to work on this. I've updated the base code for the game, maybe that will help.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • SylverReZ @ SylverReZ:
    Worst would be getting a DRM rootkit from using audio CDs and then Sony getting sued.
  • K3Nv2 @ K3Nv2:
    Least I can throw the nvme at neighbors now
  • DinohScene @ DinohScene:
    get a 2 TB NVMe from amazon, return the fucked one, get replacement and send that one to me
  • K3Nv2 @ K3Nv2:
    Easier way buy one with a preadded heatsync pop the heat sync open
  • K3Nv2 @ K3Nv2:
    Some nerd at Amazon warehouse may tell the end of the colors off
  • DinohScene @ DinohScene:
    I'd like a 990 pro tyvm <З
  • K3Nv2 @ K3Nv2:
    Gen 5s going to be crazy expensive at like 10k transfer
  • K3Nv2 @ K3Nv2:
    $300for 2tb
  • DinohScene @ DinohScene:
    don't have anything that can take PCIe5
  • K3Nv2 @ K3Nv2:
    It's still m.2 form just the next gen
  • DinohScene @ DinohScene:
    ew crucial
  • K3Nv2 @ K3Nv2:
    13,600 MB/s though
  • DinohScene @ DinohScene:
    I got a 980 pro iirc
  • K3Nv2 @ K3Nv2:
    Soldigms been pretty solid
  • DinohScene @ DinohScene:
    yeh 980 pro
  • DinohScene @ DinohScene:
    good enough tbf
  • K3Nv2 @ K3Nv2:
    https://a.co/d/gMNhZNI never heard about them but reviews are good
  • SylverReZ @ SylverReZ:
    @DinohScene, Crucial SSDs work fine. I have one installed in my Xbox.
  • SylverReZ @ SylverReZ:
    Reviews seem positive.
  • DinohScene @ DinohScene:
    I believe I had some Patriot RAM running in a computer somewhere
  • K3Nv2 @ K3Nv2:
    $250 is pretty solid considering
  • K3Nv2 @ K3Nv2:
    With the refund it'll be about $150
  • K3Nv2 @ K3Nv2:
    6tb nvme pc ftw
    K3Nv2 @ K3Nv2: 6tb nvme pc ftw