Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
119 user(s) are online (67 user(s) are browsing Forums)

Members: 0
Guests: 119

more...

Headlines

 
  Register To Post  

« 1 ... 4 5 6 (7) 8 9 10 ... 14 »
Re: Getting Napalm to run on AmigaOS 4.1.2?
Just popping in
Just popping in


See User information
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.

Go to top
Re: Getting Napalm to run on AmigaOS 4.1.2?
Amigans Defender
Amigans Defender


See User information
@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

Go to top
Re: Getting Napalm to run on AmigaOS 4.1.2?
Amigans Defender
Amigans Defender


See User information
@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.

Go to top
Re: Getting Napalm to run on AmigaOS 4.1.2?
Home away from home
Home away from home


See User information

Go to top
Re: Getting Napalm to run on AmigaOS 4.1.2?
Amigans Defender
Amigans Defender


See User information
@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.

Go to top
Re: Getting Napalm to run on AmigaOS 4.1.2?
Just can't stay away
Just can't stay away


See User information
@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.

Go to top
Re: Getting Napalm to run on AmigaOS 4.1.2?
Just popping in
Just popping in


See User information
@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)!

Go to top
Re: Getting Napalm to run on AmigaOS 4.1.2?
Just can't stay away
Just can't stay away


See User information
@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).

Go to top
Re: Getting Napalm to run on AmigaOS 4.1.2?
Just popping in
Just popping in


See User information
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!
Go to top
Re: Getting Napalm to run on AmigaOS 4.1.2?
Just can't stay away
Just can't stay away


See User information
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.

Go to top
Re: Getting Napalm to run on AmigaOS 4.1.2?
Just can't stay away
Just can't stay away


See User information
@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.

Go to top
Re: Getting Napalm to run on AmigaOS 4.1.2?
Just can't stay away
Just can't stay away


See User information
@salass00

That is indeed good news!

Go to top
Re: Getting Napalm to run on AmigaOS 4.1.2?
Just can't stay away
Just can't stay away


See User information
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.

Go to top
Re: Getting Napalm to run on AmigaOS 4.1.2?
Just popping in
Just popping in


See User information
@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
Go to top
Re: Getting Napalm to run on AmigaOS 4.1.2?
Amigans Defender
Amigans Defender


See User information
@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).

Go to top
Re: Getting Napalm to run on AmigaOS 4.1.2?
Just can't stay away
Just can't stay away


See User information
@alfkill

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

Go to top
Re: Getting Napalm to run on AmigaOS 4.1.2?
Just can't stay away
Just can't stay away


See User information
@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.

Go to top
Re: Getting Napalm to run on AmigaOS 4.1.2?
Just can't stay away
Just can't stay away


See User information
ok, if he need a betatester i have a Classic machine with amiga os 4.1u3 and napalm ;)

Go to top
Re: Getting Napalm to run on AmigaOS 4.1.2?
Home away from home
Home away from home


See User information
@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

Go to top
Re: Getting Napalm to run on AmigaOS 4.1.2?
Just popping in
Just popping in


See User information
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.

Go to top

  Register To Post
« 1 ... 4 5 6 (7) 8 9 10 ... 14 »

 




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




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project