Amiga.org

Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: Varthall on March 29, 2005, 12:42:44 PM

Title: A new Napalm speedup hack, help needed
Post by: Varthall on March 29, 2005, 12:42:44 PM
Hi,

I'm reposting this request from an italian Amiga newsgroup. A coder has patched the Suzy c2p library from the rtgmaster  library, so that only the parts of the screen that are changed are refreshed. This way, Napalm becomes much faster and playable on a basic A4000.

The problem lies with the distribution of this patch. The library quotes "By Kalms, Adapted by Rady/Ablaze.", and there is apparently no licence mentioned for the c2p and rtgmaster. He has tried to contact Rady Marusa from Ablaze, but the only email address we've found is not active anymore. He could release it as a patch file, to be patched on the original library, although it would be nicer to directly release the patched library.

Can anyone get in touch with Kalms or Marusa, or does anyone know the licence status of the library? The coder would like to be 100% sure that he has the right to release it, before doing so.

Thanks
Varthall
Title: Re: Napalm speedup hack, help needed
Post by: Crusher on March 29, 2005, 01:13:53 PM
I´ll try and get in touch with Kalms, my cousin knows him.  :-)
Title: Re: Napalm speedup hack, help needed
Post by: Varthall on March 29, 2005, 01:23:09 PM
Quote

Crusher wrote:
I´ll try and get in touch with Kalms, my cousin knows him.  :-)


Thanks, let me know if you have any news :)

Varthall
Title: Re: Napalm speedup hack, help needed
Post by: Elwood on March 29, 2005, 01:28:05 PM
And tell him it would be nice if he could update Napalm. :-)
I bought it but never played it because I had problems on my 1200 (but can't remember what) and then I switched to OS4.
When I tried it on OS4 (a long time ago) he didn't work. I'll have to test again...
Title: Re: Napalm speedup hack, help needed
Post by: mendark on March 29, 2005, 03:46:59 PM
WOW :-o

This really blows my socks off. I'm really curious how the patch works. So therefor I really hope the righful owner will be traced so the patch can be released widely!

I'm sure the patch will speed up a lot of games!!
Title: Re: Napalm speedup hack, help needed
Post by: ChaosLord on March 29, 2005, 04:08:31 PM
Intelligently coded games do not use rtgmaster.library
precisely because it is so ungodly abysmally terribly slow.

So the patch will only help the lamecoded games.

I have never used rtgmaster in any of my games and they have always ran at the MAXIMUM possible speed allowed by the AGA chipset.
Title: Re: Napalm speedup hack, help needed
Post by: on March 29, 2005, 05:16:52 PM
Quote

ChaosLord wrote:
Intelligently coded games do not use rtgmaster.library
precisely because it is so ungodly abysmally terribly slow.

So the patch will only help the lamecoded games.

I have never used rtgmaster in any of my games and they have always ran at the MAXIMUM possible speed allowed by the AGA chipset.


Meeowww!!! ;-)
Title: Re: Napalm speedup hack, help needed
Post by: Varthall on March 29, 2005, 05:21:11 PM
Quote

Elwood wrote:
And tell him it would be nice if he could update Napalm. :-)

Hmm, I don't think Kalms is the author, he should be only the author of the c2p routines used in rtgmaster, and hence in Napalm.

Quote

I bought it but never played it because I had problems on my 1200 (but can't remember what) and then I switched to OS4.
When I tried it on OS4 (a long time ago) he didn't work. I'll have to test again...

Toaks on aw.net have reported that it runs on his A1, using NallePuh...

Varthall
Title: Re: Napalm speedup hack, help needed
Post by: Varthall on March 29, 2005, 05:27:31 PM
Quote

mendark wrote:
WOW :-o

This really blows my socks off. I'm really curious how the patch works. So therefor I really hope the righful owner will be traced so the patch can be released widely!

I'm sure the patch will speed up a lot of games!!

I haven't seen it in action, anyway it should work similar to some ECS/AGA video drivers for Shapeshifter. It would speed up only those games where there isn't a lot of animation on screen. For example, the scrolling speed in Napalm remains unaffected, only the animated items are faster.

Varthall
Title: Re: Napalm speedup hack, help needed
Post by: samanosuke on March 30, 2005, 05:33:26 PM
I'd hardly consider Napalm to be 'lamecoded', ChaosLord.
Title: Re: Napalm speedup hack, help needed
Post by: Crusher on April 06, 2005, 02:03:28 PM
@Varthall, you have PM  :-)
Title: Re: A new Napalm speedup hack, help needed
Post by: Skeleton on May 07, 2005, 10:32:02 PM
Quote
Can anyone get in touch with Kalms or Marusa


Sorry for the delay folks. Registering on the forum gave me a semi-hard time.
Anyways, I have been in touch with Mr Kalms and this is his reply:

Quote
I disassembled and checked the Suzy c2p out.


It contains a somewhat older version of the C2P routine inside
c2p1x1_8_c5_030.s (the latest version I published has a few instructions
shuffled around), which has been modified to support arbitrary
bitplane-sizes, and then the RTG C2P header has been tucked onto its
front.


If you are targetting 040+, you probably want to use another routine,
because the Suzy routine reads the source data twice during C2P
conversion.
(It is optimized for 68020/68030.)


All my routines are in the public domain (modify them, sell them for
profit - I don't care). If you want to be absolutely 100% in the clear,
it would be quicker & easier for you to take some other C2P, implement the
deltaskip optimizations there, and make your own RTG C2P package out of
it.
I would suggest that you try with c2p1x1_8_c5_040.s, because it already
supports arbitrary bitplane sizes.


You can find c2p1x1_8_c5_030.s and c2p1x1_8_c5_040.s inside my C2P archive:


http://www.lysator.liu.se/~mikaelk/src/kalmsc2p.lha


-Mikael Kalms
Title: Re: A new Napalm speedup hack, help needed
Post by: AmigaMance on May 08, 2005, 01:12:11 AM
 Also, PPC owners can use this package from aminet: RTGoesWarpOS.lha  ;)
Title: Re: A new Napalm speedup hack, help needed
Post by: Crusher on May 08, 2005, 09:33:58 AM
So there you have it Varthall, finally. :-)
Title: Re: Napalm speedup hack, help needed
Post by: lempkee on May 08, 2005, 11:48:28 AM
man thisis great news!

napalm is surely one of the coolest games released for the rts fans on amiga anyway i always played it on 060 so theese days i wouldnt exactly know how much faster it was/is but hey if i get the patch i can try it on both systems :-)

here is some info:

Clickboom never supported the tcp-ip hack thats out for napalm since 2001(?) but i talked to them about it and wondered if they would have put it up on their downloads site as an unsupported item but sadly it seems they never did and since then clickboom has been very quiet, i can only hope this new patch will be accepted :-)

As for reaching the ablaze team , really hard if not impossible... but best would be to go trough clickboom since they still might have updated information on their ex workers.

Title: Re: Napalm speedup hack, help needed
Post by: Robert17 on May 08, 2005, 11:51:27 AM
Sounds good to me, I'll try the PPC c2p later on, anyone know what kind of speedup it will give?

Robert
Title: Re: A new Napalm speedup hack, help needed
Post by: Varthall on May 18, 2005, 01:30:03 PM
Thanks Kalms, Skeleton and Crusher for the help! I've only now noticed your replies while searching for my older posts, better late than never I guess :)
I'll send right now your response to the coder, the idea of a new c2p package sounds good btw, I hope he'll agree too.

Varthall
Title: Re: Napalm speedup hack, help needed
Post by: Piru on May 18, 2005, 04:03:09 PM
Quote
I'll try the PPC c2p later on, anyone know what kind of speedup it will give?

In all, using PPC for c2p is rather stupid, at least if the main application is 68k and the 68k c2p routine is any good. It only really pays off if you compare against slow 040 and poor c2p routine.

Compared to 040, some speedup, assuming the 040 c2p routine you compare against is decent.

Compared to 060, probably no speedup at all. Any decent 060 c2p is copyspeed (as fast as writing chipmem can get) anyway, thus PPC can't do any better.

If you could make the PPC c2p run asyncronous then you would get some real benefits (that is PPC would be running c2p for the frame while 68k would be calculating the next frame gfx). however, this would be really hairy to implement with all the cache coherency issues.
Title: Re: Napalm speedup hack, help needed
Post by: Robert17 on May 18, 2005, 05:21:37 PM
is chipmem acess speed an issue when using P96 RTG?
Title: Re: A new Napalm speedup hack, help needed
Post by: Rady_AEG on August 10, 2005, 11:44:58 AM

Hi. I'm Rady from Ablaze team.

If you have any questions, contact me: ablaze@nextra.sk
Title: Re: A new Napalm speedup hack, help needed
Post by: Cosmos Amiga on November 03, 2013, 06:13:42 AM
Quote from: Varthall;178034
Hi,

I'm reposting this request from an italian Amiga newsgroup. A coder has patched the Suzy c2p library from the rtgmaster  library, so that only the parts of the screen that are changed are refreshed. This way, Napalm becomes much faster and playable on a basic A4000.

The problem lies with the distribution of this patch. The library quotes "By Kalms, Adapted by Rady/Ablaze.", and there is apparently no licence mentioned for the c2p and rtgmaster. He has tried to contact Rady Marusa from Ablaze, but the only email address we've found is not active anymore. He could release it as a patch file, to be patched on the original library, although it would be nicer to directly release the patched library.

Can anyone get in touch with Kalms or Marusa, or does anyone know the licence status of the library? The coder would like to be 100% sure that he has the right to release it, before doing so.

Thanks
Varthall


Any good news about this new c2p library ?


:)
Title: Re: A new Napalm speedup hack, help needed
Post by: Dwyloc on November 03, 2013, 12:44:22 PM
This patch helps make it run on OS4 I don't know if it can also be used with OS3.x as napalm even patched will still be a 68k app.

http://www.os4depot.net/index.php?function=showfile&file=game/strategy/napalm.lha