English Amiga Board


Go Back   English Amiga Board > News

 
 
Thread Tools
Old 16 September 2020, 07:57   #121
pipper
Registered User
 
Join Date: Jul 2017
Location: San Jose
Posts: 652
That’s what I suggested. I’m trying to get that to work.
pipper is offline  
Old 16 September 2020, 08:32   #122
pipper
Registered User
 
Join Date: Jul 2017
Location: San Jose
Posts: 652
So, I was wondering why that seemingly simple change didn’t work out.
The issue is that simply renaming a library’s name does not work as one would assume. The library name is also stored inside the library. If file name and the name stored inside the library file don’t match, OpenLibrary() will refuse to open the library. I don’t know if this check can be circumvented.

Now, what I would have to do is to also recompile the original doomsound.library to carry a different name, like the suggested doomsound_old.library - only to be able to give my interposed library the name doomsound.library.
pipper is offline  
Old 16 September 2020, 08:36   #123
NovaCoder
Registered User
 
NovaCoder's Avatar
 
Join Date: Sep 2007
Location: Melbourne/Australia
Posts: 4,400
Quote:
Originally Posted by pipper View Post
So, I was wondering why that seemingly simple change didn’t work out.
The issue is that simply renaming a library’s name does not work as one would assume. The library name is also stored inside the library. If file name and the name stored inside the library file don’t match, OpenLibrary() will refuse to open the library. I don’t know if this check can be circumvented.

Now, what I would have to do is to also recompile the original doomsound.library to carry a different name, like the suggested doomsound_old.library - only to be able to give my interposed library the name doomsound.library.
Yep cool, that makes sense.

Doomsound.library was recompiled recently, if you ask Christian Sauer he could probably make the changes you need?

Christian Sauer (ville9 at softpres.org)
NovaCoder is offline  
Old 16 September 2020, 12:51   #124
Weaselrama
Registered Voter
 
Weaselrama's Avatar
 
Join Date: Oct 2019
Location: Neunkirchen aP, DE
Age: 62
Posts: 570
@Novacoder

Would it be possible to provide a link to the previous version of ZDOOM_RTG? I just upgraded to 1.22.8 from Aminet and it crashes. I haven't figured out why yet. I didn't keep my previous archive as I usually do. I'd like to at least compare the two and try to figure out why the latest version is crashing on me. Thanks!
Weaselrama is offline  
Old 16 September 2020, 13:36   #125
NovaCoder
Registered User
 
NovaCoder's Avatar
 
Join Date: Sep 2007
Location: Melbourne/Australia
Posts: 4,400
That's strange?

What CPU and FASTRAM do you have?

Does the AGA version run for you?

Version 1.22.8 RTG works for me under WinUAE
NovaCoder is offline  
Old 16 September 2020, 13:45   #126
Weaselrama
Registered Voter
 
Weaselrama's Avatar
 
Join Date: Oct 2019
Location: Neunkirchen aP, DE
Age: 62
Posts: 570
Quote:
Originally Posted by NovaCoder View Post
That's strange?

What CPU and FASTRAM do you have?

Does the AGA version run for you?
I got it to stop crashing upon start-up by setting "NOMUSIC" in the tooltypes. Why this works, I don't know which is why I'd like to compare the two and see if I can figure out what's going on without pestering you. The previous RTG versions have worked flawlessly for me until this version.

FS-UAE OS3.9 w/AfA 68060 256M fastram Boingbags 1-4.
Weaselrama is offline  
Old 16 September 2020, 14:02   #127
NovaCoder
Registered User
 
NovaCoder's Avatar
 
Join Date: Sep 2007
Location: Melbourne/Australia
Posts: 4,400
Do you have the doomsound.library installed in LIBS?

And the MIDI instruments file in the ZDOOM folder?
NovaCoder is offline  
Old 16 September 2020, 14:11   #128
Weaselrama
Registered Voter
 
Weaselrama's Avatar
 
Join Date: Oct 2019
Location: Neunkirchen aP, DE
Age: 62
Posts: 570
Quote:
Originally Posted by NovaCoder View Post
Do you have the doomsound.library installed in LIBS?

And the MIDI instruments file in the ZDOOM folder?
Yes to both. AHI is set to Toccata 16bit++ 44,100. SFX work as expected.
Weaselrama is offline  
Old 16 September 2020, 14:25   #129
NovaCoder
Registered User
 
NovaCoder's Avatar
 
Join Date: Sep 2007
Location: Melbourne/Australia
Posts: 4,400
Quote:
Originally Posted by Weaselrama View Post
Yes to both. AHI is set to Toccata 16bit++ 44,100. SFX work as expected.
Here you go, let me know if you figure it out.

I'll put it in the zone
NovaCoder is offline  
Old 16 September 2020, 14:38   #130
Weaselrama
Registered Voter
 
Weaselrama's Avatar
 
Join Date: Oct 2019
Location: Neunkirchen aP, DE
Age: 62
Posts: 570
Quote:
Originally Posted by NovaCoder View Post
Here you go, let me know if you figure it out.

I'll put it in the zone
Many thanks. Also, thanks for including WolfenDoom in this release. I've honestly never played it before and it's a very nice addition.

I'll play around with the previous release and let you know. I generally don't play with music as I find it to be distracting but when something that should work doesn't, I assume it's probably something in my setup and not the fault of the game/version and I get annoyed until I figure it out.
Weaselrama is offline  
Old 17 September 2020, 01:00   #131
pipper
Registered User
 
Join Date: Jul 2017
Location: San Jose
Posts: 652
I have found a way to patch doomsound.library at runtime. I created a small executable that’ll load the library and redirect its music playback routines to CAMD. Run CAMDoomSound before you start the actual game that uses doomsound.library. Make sure it can find the library. Leave the tool running while the game is active. It doesn’t use any additional CPU.

This way any game that uses doomsound.library can be redirected to play actual MIDI music via CAMD.

I also included the NullModem serial driver for CAMD.

Find “ADoom.zip” in the zone.
pipper is offline  
Old 17 September 2020, 01:39   #132
Estrayk
Registered User
 
Estrayk's Avatar
 
Join Date: Apr 2015
Location: Spain
Posts: 511
Quote:
Originally Posted by pipper View Post
I have found a way to patch doomsound.library at runtime. I created a small executable that’ll load the library and redirect its music playback routines to CAMD. Run CAMDoomSound before you start the actual game that uses doomsound.library. Make sure it can find the library. Leave the tool running while the game is active. It doesn’t use any additional CPU.

This way any game that uses doomsound.library can be redirected to play actual MIDI music via CAMD.

I also included the NullModem serial driver for CAMD.

Find “ADoom.zip” in the zone.
wow! I tested and it works like a charm !!!!!!!
Estrayk is offline  
Old 17 September 2020, 01:47   #133
NovaCoder
Registered User
 
NovaCoder's Avatar
 
Join Date: Sep 2007
Location: Melbourne/Australia
Posts: 4,400
Quote:
Originally Posted by pipper View Post
I have found a way to patch doomsound.library at runtime. I created a small executable that’ll load the library and redirect its music playback routines to CAMD. Run CAMDoomSound before you start the actual game that uses doomsound.library. Make sure it can find the library. Leave the tool running while the game is active. It doesn’t use any additional CPU.

This way any game that uses doomsound.library can be redirected to play actual MIDI music via CAMD.

I also included the NullModem serial driver for CAMD.

Find “ADoom.zip” in the zone.
That's soooo cool, well done mate

For those that don't know, MIDI is the best music option for the Amiga as it doesn't take much processing power and sounds amazing for these types of old games

So now Wolfenstein 3D, Spear of Destiny, Day of the Tentacle and ZDOOM/BOOM all support MIDI on the Amiga!

Last edited by NovaCoder; 17 September 2020 at 01:56.
NovaCoder is offline  
Old 17 September 2020, 02:11   #134
Estrayk
Registered User
 
Estrayk's Avatar
 
Join Date: Apr 2015
Location: Spain
Posts: 511
I'm very happy!, so I made a video for that you check it in real life:

[ Show youtube player ]
Estrayk is offline  
Old 17 September 2020, 02:18   #135
pipper
Registered User
 
Join Date: Jul 2017
Location: San Jose
Posts: 652
Can someone also test if the NullModem CAMD driver works on a real machine? I have tested it in emulation only:
Installed a virtual serial port driver on the pc (to redirect WinUAE’s serial port to)
“Hairless Serial Midi bridge”
“LoopMidi” (which offers virtual midi ports)
“MUNT” for MT32 emulation
“Midi Player 5.7” with a SC55 sound font for GM2 playback.

Hook your Amiga to your PC’s serial port via NullModem cable.
Hook your serial port to Hairless, hook Hairless to LoopMidi, hook either MidiPlayer or MUNT to LoopMidi.
pipper is offline  
Old 17 September 2020, 02:31   #136
pipper
Registered User
 
Join Date: Jul 2017
Location: San Jose
Posts: 652
Quote:
Originally Posted by Estrayk View Post
I'm very happy!, so I made a video for that you check it in real life:

[ Show youtube player ]

Nice video! Can you please make sure you a) do not run my version of ADoom or b) make sure doomsound_midi.library is not in the same folder?
I’m asking because this version of ADoom will automatically prefer to run with doomsound_midi.library and thus wouldn’t need CAMDoomSound in first place :-).

Ideally test it with one of NovaCoder’s executables.
pipper is offline  
Old 17 September 2020, 12:56   #137
Weaselrama
Registered Voter
 
Weaselrama's Avatar
 
Join Date: Oct 2019
Location: Neunkirchen aP, DE
Age: 62
Posts: 570
@Novacoder

I resolved the issue with the NOMUSIC option. Somehow, I managed to "upgrade" my doomsound.library to the version contained in the archive, having forgotten that I need the 060 version I'd previously installed from the DoomSndLibs373. I still had that archive in my sandbox and the lightbulb went off when I ran across it. DOH! All is well and thanks for your indulgence in uploading the previous version to the Zone. I'm back to running 1.22.8, no longer needing 1.22.7 for testing and comparison. It crashed too in the same manner and for the same reason as stated above. Thanks again.
Weaselrama is offline  
Old 17 September 2020, 15:00   #138
James
Registered User
 
Join Date: Mar 2010
Location: Beckenham/England
Posts: 795
Quote:
Originally Posted by pipper View Post
This way any game that uses doomsound.library can be redirected to play actual MIDI music via CAMD.
Nice!
Any chance you could patch hereticsound.library (doomsound.library fork) too?

http://aminet.net/package/game/shoot/Heretic

Last edited by James; 17 September 2020 at 15:35.
James is offline  
Old 17 September 2020, 19:39   #139
pipper
Registered User
 
Join Date: Jul 2017
Location: San Jose
Posts: 652
This is a shot on the dark. I updated CAMDoomSound to take the library name as commandline parameter. Provide hereticsound.library and see if it works.
This is a shot in the dark as I don’t know if heretic kept the library interface compatible. This is the downside of keeping these ports closed source (despite the original being GPL) - there’s no way for me to inspect what they had done to doomsound.library. The readme seems to suggest it’s not compatible. YMMV.
pipper is offline  
Old 17 September 2020, 23:07   #140
Estrayk
Registered User
 
Estrayk's Avatar
 
Join Date: Apr 2015
Location: Spain
Posts: 511
Quote:
Originally Posted by pipper View Post
a) do not run my version of ADoom
yes. it works at both. Yours and the standard one with the patch. (btw, your version runs to a lower framerate) the screen is more bigger, (like if 320x200 but expanded to 240 or something weird.)

With your version I havent to load CAMDoomSound before.
With standard 1.4 version I have to load CAMDoomsound before load ADoom, if not, uses Paula.

Quote:
Originally Posted by pipper View Post

b) make sure doomsound_midi.library is not in the same folder?
I dont understand you. I have doomsound_midi.library in libs:

Quote:
Originally Posted by pipper View Post
Ideally test it with one of NovaCoder’s executables.
ZDOOM LOAD and I can listen the MIDI in the first screen. but when I select NEW GAME the game crash!
Same in RISE OF THE TRIAD. APOGEE LOGO is showed with MIDI music but when I push a button for load the game, it crash.

Last edited by Estrayk; 17 September 2020 at 23:13.
Estrayk is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
AmiWolf - new 68k Wolfenstein 3D port NovaCoder News 322 04 August 2023 12:21
DosBox v0.74 AGA 68k Port NovaCoder Amiga scene 20 07 June 2018 02:17
Quake 68k port for MAC Sandro request.Old Rare Games 11 02 September 2013 02:08
ScummVM (v1.0.0) 68K Port NovaCoder project.Amiga Game Factory 7 04 September 2010 12:58
Is there a 68k Quake 2 port for the Amiga? Ironclaw request.Other 7 22 September 2006 20:56

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 14:58.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.10330 seconds with 16 queries