Home  
Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
16 user(s) are online (8 user(s) are browsing Forums)

Members: 0
Guests: 16

more...
Support us!
Recent OS4 Files
OS4Depot.net



« 1 ... 4 5 6 (7) 8 9 10 ... 13 »


Re: Getting Napalm to run on AmigaOS 4.1.2?
Just popping in
Joined:
2006/12/26 19:11
From Athens/Greece
Posts: 141
If you go the way kas1e describes, then the final step, imho, will be a nocd OS4 binary of the game, so as to become fully portable.

However, I would opt for a more permanent solution. Exodus suffers the same problem as well. Perhaps we should report as bug or future request for OS4 in Hyperion's forum: a compatibility layer that will translate the analogue input of cd music to digital, something like software ide-to-sata. Because I am afraid that the more we dig to old 68k/cd games, the more we will encounter the same problem.

   Report Go to top

Re: Getting Napalm to run on AmigaOS 4.1.2?
Amigans Defender
Joined:
2006/11/17 22:40
From England
Posts: 2862
@kas1e

Quote:
Imho, the fast/safe/easy way will be to rip CD tracks from original napalm and convert them to MP3.


Actually, it will be easier to play the AIFF files you get in CDFS by default.

The main problem is playing audio in this way requires significantly more code than telling the drive to play a CDDA track. I am using a slightly older DVDRW drive in my SAM simply because it has an audio output on it; Wipeout, Payback and a number of other Amiga CD titles also play background music in this way.

Personally I'd leave the background music code as is and tell people to buy sensible CD drives, but (a) it's not up to me and (b) manufacturers like to cut costs so finding a CD drive with an audio output these days is likely to be almost impossible.

Chris

   Report Go to top

Re: Getting Napalm to run on AmigaOS 4.1.2?
Amigans Defender
Joined:
2006/11/17 22:40
From England
Posts: 2862
@Cool_AmigaN

Quote:
Perhaps we should report as bug or future request for OS4 in Hyperion's forum: a compatibility layer that will translate the analogue input of cd music to digital, something like software ide-to-sata.


I doubt that is possible. When you send the play command to the drive, the drive plays it without any computer involvement, through the audio output at the back of the drive (a 2 or 3 pin flat connector usually).

However some games use cdplayer.library or a variant thereof. It should be possible to create a new cdplayer.library which spawns a process to play the music digitally in the background.

Maybe you can do this in the device driver but it seems a little hacky so I'd be against it.

I've just looked at my Napalm install and it appears to use cdplayer.library - so there's the answer, if anybody is up to the challenge. The 68k version and includes are here (no source, but not really important for emulating it). An OS4 version with a 68k jump table would be ideal given the reason why this is required.

   Report Go to top

Re: Getting Napalm to run on AmigaOS 4.1.2?
Home away from home
Joined:
2006/12/2 3:55
From Italy, Perugia
Posts: 2745

   Report Go to top

Re: Getting Napalm to run on AmigaOS 4.1.2?
Amigans Defender
Joined:
2006/11/17 22:40
From England
Posts: 2862
@samo79

Well, if that does it then it's a lot easier than expected.

He could use gpatch to create a patch file and then wouldn't need any permission.

   Report Go to top

Re: Getting Napalm to run on AmigaOS 4.1.2?
Just can't stay away
Joined:
2006/11/30 11:30
From Finland
Posts: 1281
@Chris

Quote:

Well, if that does it then it's a lot easier than expected.


Depends what you mean by "it". If you read ville9's post you can see that the only difference in his modified cdplayer.library is that it uses a slightly less obsolete SCSI command for making the CD/DVD drive play CDDA music. It still won't work with modern drives that do not have this facility at all.

   Report Go to top

Re: Getting Napalm to run on AmigaOS 4.1.2?
Just popping in
Joined:
2007/9/5 21:15
Posts: 70
@Sinan:
How did you get 800x600 with NAPALM?

For me Speed 7 and scroll speed 8 is quite fine using Alfkils version on Peg2!

@Alfkil: Network fixing would be great! I also own an A4000 but which is currently not ready for action (just dismounted it a few weeks ago due to some renovation work in our home)!

   Report Go to top

Re: Getting Napalm to run on AmigaOS 4.1.2?
Just can't stay away
Joined:
2006/11/30 11:30
From Finland
Posts: 1281
@Chris

Quote:

Actually, it will be easier to play the AIFF files you get in CDFS by default.


Reading CDDA data directly from the CD/DVD drive and playing it with ahi.device is pretty easy too. Just look at PlayCDDA source code if you want an example (the code to do with CDDA reading and reading the CD's table of contents (TOC) is in scsicmd.c file as easy to use functions).

   Report Go to top

Re: Getting Napalm to run on AmigaOS 4.1.2?
Just popping in
Joined:
2006/11/29 8:33
From Bure�, Sweden
Posts: 97
I'm just curious about the status of the fixed Napalm... Is some work being done or is the development stalled?

How stable was the last release?

_________________
/Me, myself and A1G4!
   Report Go to top

Re: Getting Napalm to run on AmigaOS 4.1.2?
Quite a regular
Joined:
2009/10/7 0:11
Posts: 986
The Napalm fix is not dead, although I got a little tired with it, which is why I am doing something else at the moment. I will probably return as soon as I finish CMake.

The last version was pretty stable. I got some strange comments though, fx. people said that there was no sound, although I have sound (almost) fully working here with me. It suggests, that I might have messed up uploading. I will of course fix this asap.

   Report Go to top

Re: Getting Napalm to run on AmigaOS 4.1.2?
Just can't stay away
Joined:
2006/11/30 11:30
From Finland
Posts: 1281
@Chris

Quote:

However some games use cdplayer.library or a variant thereof. It should be possible to create a new cdplayer.library which spawns a process to play the music digitally in the background.


I've started working on a cdplayer.library that uses READ MSF command and plays audio through ahi. It is more or less working already in that you can set it play a range of tracks but pause/resume, volume, progress and other commands are not implemented yet.

   Report Go to top

Re: Getting Napalm to run on AmigaOS 4.1.2?
Quite a regular
Joined:
2009/10/7 0:11
Posts: 986
@salass00

That is indeed good news!

   Report Go to top

Re: Getting Napalm to run on AmigaOS 4.1.2?
Just can't stay away
Joined:
2006/11/30 11:30
From Finland
Posts: 1281
First released version (52.1):
http://www.a500.org/downloads/libraries/cdplayer_lib_7z.readme

It should implement all the commands of cdplayer.library V37, as for how well they are implemented that remains to be seen. I did do some testing with the included example code and an audio CD mounted with diskimage.device though and it seemed to work more or less correctly.

Source code of the library is included in the archive under a BSD license.

   Report Go to top

Re: Getting Napalm to run on AmigaOS 4.1.2?
Just popping in
Joined:
2008/12/20 13:58
Posts: 182
@salass00
Thanks, I am sure this will help with other games as well

I think your library should also fix WipeOuts CD Audio playback under OS4.1 as if I remember correctly it uses the same library, now we just need to get someone to fix the lockup issue when playing Wipeout on the sam440ep.

_________________
Sam440ep 667mhz 512megs OS4.1 + Minimig, 4MB RAM, ARM add-on board
WinUae 2.3.2, OS 3.9, BB2, Catweasel MkIV
Amiga 1200, BlizzardPPC 060/200 with SCSI, mediatorSX, Voodoo3, pci lan
   Report Go to top

Re: Getting Napalm to run on AmigaOS 4.1.2?
Amigans Defender
Joined:
2006/11/17 22:40
From England
Posts: 2862
@Dwyloc

I tried it with WipeOut and get no CD audio. Figuring it was a bug in Fredrik's new cdplayer.library, I dropped the old one in (I have the necessary ports and cables for normal CD audio to play) and I still got no sound.

I guess this is another SAM-related WipeOut bug.

The new cdplayer.library is working fine here with the old one's mini command line player (the only other thing I could find to test it with last night).

   Report Go to top

Re: Getting Napalm to run on AmigaOS 4.1.2?
Just can't stay away
Joined:
2006/11/24 17:54
Posts: 1519
@alfkill

i have Napalm but i haven't seen any patch for it done by you on os4depot.net where did you put it?

   Report Go to top

Re: Getting Napalm to run on AmigaOS 4.1.2?
Just can't stay away
Joined:
2006/11/30 11:30
From Finland
Posts: 1281
@nubechecorre

Quote:

i have Napalm but i haven't seen any patch for it done by you on os4depot.net where did you put it?


I don't think alfkil has released it yet. He probably wants to fix some things still before uploading to os4depot.

   Report Go to top

Re: Getting Napalm to run on AmigaOS 4.1.2?
Just can't stay away
Joined:
2006/11/24 17:54
Posts: 1519
ok, if he need a betatester i have a Classic machine with amiga os 4.1u3 and napalm ;)

   Report Go to top

Re: Getting Napalm to run on AmigaOS 4.1.2?
Home away from home
Joined:
2006/12/2 3:55
From Italy, Perugia
Posts: 2745
@ChrisY

Quote:
I guess this is another SAM-related WipeOut bug.


I don't try this new cdplayer.library yet (on WipeOut) so i don't know how it working however i listed all my bugreport concerning this game on my Flex

http://forum.hyperion-entertainment.biz/viewtopic.php?f=14&t=404

Also i have many DSI/ISI that are Sam related aswell, on AmigaOne G3 800 all seems pretty stable, aka i can play WipeOut for hours without any crash

   Report Go to top

Re: Getting Napalm to run on AmigaOS 4.1.2?
Just popping in
Joined:
2006/12/26 19:11
From Athens/Greece
Posts: 141
Quote:

salass00 wrote:
First released version (52.1):
http://www.a500.org/downloads/libraries/cdplayer_lib_7z.readme

It should implement all the commands of cdplayer.library V37, as for how well they are implemented that remains to be seen. I did do some testing with the included example code and an audio CD mounted with diskimage.device though and it seemed to work more or less correctly.

Source code of the library is included in the archive under a BSD license.


Hello,

Does the new cdplayer lib means that it will work only with newer IDE CD/DVD?

I had tried it on Ep440 AOS4.1u3 with Exodus (SATA DVD), but no luck on playing the music.

   Report Go to top


« 1 ... 4 5 6 (7) 8 9 10 ... 13 »



[Advanced Search]


Powered by XOOPS 2.0 © 2001-2014 The XOOPS Project