24 April 2024, 15:01 | #4421 | |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,165
|
Quote:
That works for walls, floors and basic bitmap sprites. The only real challenge is transparency. Basic glare and shadow transparency works really well in 8-bit because all you have to do is to read the current frame pixel (which is a palette value) and look up the required shade variation again in the same big table. That isn't going to work in RGB mode. You have to do it properly. Read the RGB value from the framebuffer and adjust it accordingly. The other form of transparency is additive (plasma bolts and explosions). That may or may not be easier - it's not totally obvious how it works currently but as it only seems to work if you stick to the original asset palettes I think there's another table hidden away somewhere. |
|
24 April 2024, 20:39 | #4422 |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,165
|
I've updated the branch to incorporate Kalm's 030 optimised 1x1 C2P routines.
When using the generic builds (68020+), the runtime CPU detection determines if the 040 or 030 routines are appropriate. For the 040 and 060 targeted builds, the 040 routines are always used and the 030 ones are not included in the executable. |
24 April 2024, 21:42 | #4423 |
Registered User
Join Date: Oct 2020
Location: Bicester
Posts: 1,950
|
@Karlos
making great progress there, cool stuff indeed sadly I will not be able to check this out (too many real life issues going on at the mo) hope to get back on it soon. |
24 April 2024, 22:38 | #4424 |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,165
|
There's still plenty to do there. We're only using kalm's 030 routines for fullscreen C2P on 020/030, but I can't see anything that precludes them from the 2/3 view (which uses 040 code), with the possible exception of alignment on screen.
Last edited by Karlos; 25 April 2024 at 01:38. |
25 April 2024, 10:44 | #4425 |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,165
|
|
25 April 2024, 13:36 | #4426 |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,165
|
Anyone on AGA/68030 that can test the current "genetic" builds?
|
25 April 2024, 15:41 | #4427 |
Registered User
Join Date: Sep 2005
Location: Peterborough
Age: 47
Posts: 845
|
I can try and have a look this evening but I am a bit limited with my tech skills. Please can you spell out what you want me to try and share the ready-to-go files and folders so I can just copy it over and try it?
I can test it on my A1200 ACA1230/56. |
25 April 2024, 17:25 | #4428 | |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,165
|
Quote:
The attached LHA file contains the two binaries and a RunAB3D2 launch script that sets up everything you need. Extract this archive using UnArc or your favourite extractor into the directory where your existing game is installed. The new binaries should be in a subdirectory called "bin" after this. Double click the RunAB3D2 icon from workbench and it should present you with a file requester to select the engine from the bin directory to test. The one called "tkg" is the pure assembler version that has no RTG support, and the one called "tkgc" is the one that can run on RTG systems. To test the latter, all you have to do is make sure you choose the PAL LoRes 320x256 screenmode from the mode requester when it opens. All I am looking for at the moment is general stability and if possible any indication as to whether or not it's faster than before, especially in fullscreen mode. The C2P routines used for 030 have changed from the ones optimised for 040/060 to the one optimised for 030. The guidance for the 040/060 routines indicate they do not work as well on 030. |
|
25 April 2024, 19:43 | #4429 |
Registered User
Join Date: Sep 2005
Location: Peterborough
Age: 47
Posts: 845
|
Thanks. No matter if I use tkg or tkgc I get this error:
Error loading file: ab3:includes/test.link |
25 April 2024, 19:49 | #4430 |
Registered User
Join Date: Oct 2020
Location: Bicester
Posts: 1,950
|
|
25 April 2024, 20:27 | #4431 |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,165
|
Not the best start, but it suggests you extracted the archive to a location different than where the original game is installed. I never used the WHDLoad version in the past so check @abu_the_monkey's suggestion. I think all WHDLoad games put the original content into a subdirectory of the client.
|
25 April 2024, 21:15 | #4432 |
Registered User
Join Date: Sep 2005
Location: Peterborough
Age: 47
Posts: 845
|
Thank you.
So when I tried the tkgc version my player just died as soon as I walked up to the door in the first room. Also I couldn't pick up the health pack in that room IE it didn't seem to register or was on it. the tkg build loaded OK and ran well but I can't say for sure if I'm seeing any difference over your other builds. It's definitely better than the original of course! If ever you get something like a test program that I can load up for you to test different builds, etc. then let me know and I'll try to set some time aside for it. |
25 April 2024, 22:02 | #4433 | |
Registered User
Join Date: Oct 2020
Location: Bicester
Posts: 1,950
|
Quote:
|
|
25 April 2024, 22:41 | #4434 |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,165
|
Hmm. That's a bit odd. I chop and change builds all the time and rarely have issues like that. I can only assume you had really old versions of those files.
They are safe to delete, especially for the original game. |
25 April 2024, 22:46 | #4435 |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,165
|
Make sure you keep my mod and the original game separate. The latest version makes sure to remove assigned paths when it exits but older versions likely leave some bits of my mod's path assigned to AB3 and you might get some weirdness from that.
|
25 April 2024, 22:48 | #4436 |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,165
|
Does the ASM version report the FPS? Specifically interested in fullscreen performance since it should be using the 030 specific C2P now, rather than the 040/060 version
|
26 April 2024, 00:12 | #4437 | |
Registered User
Join Date: Oct 2020
Location: Bicester
Posts: 1,950
|
Quote:
my working A4000 is a stock 040. I do have a commodore 030 card somewhere, but, it would have to wait till the weekend to even think about swapping it out and testing. |
|
26 April 2024, 00:15 | #4438 |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,165
|
Does the tkgc version fail if you exit via the numpad * key then run it again? Or was it just the existing files it didn't like the first time around?
All I can think of is that one of the files, likely the stats file, was parsed in such a way that it resulted in the blank pickup that is used for messages being assigned some negative health value. I don't imagine it would have been the Prefs file. |
26 April 2024, 00:16 | #4439 |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,165
|
Don't risk your hardware for it. It will be using the 040 C2P on your 4000/040
|
26 April 2024, 00:25 | #4440 |
Registered User
Join Date: Oct 2020
Location: Bicester
Posts: 1,950
|
it is an odd thing cos all I did was to copy the files from your post attachment into a 'clean' (as far as I had run it as is) whdload installation 'data' directory and first time I ran tkgc I got the same 'death on approaching the first door' as reported but after quitting with '*' and deleting the files (which didn't even exist before) it all just works. this is under winuae.
my standard install had no such issues, it just worked out of the box. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Alien Breed 3D II The Killing Grounds RTG patch | Angus | Retrogaming General Discussion | 63 | 14 December 2022 15:20 |
Alien Breed & Alien Breed '92: SE - delay when picking up items / opening doors | Ian | support.WinUAE | 16 | 23 December 2016 15:50 |
Alien Breed 3D II : The Killing Grounds code booklet | alexh | support.Games | 19 | 10 October 2012 22:17 |
Alien Breed 3D 2 - The Killing Grounds | Ironclaw | support.Games | 12 | 13 September 2005 13:07 |
HD Version of Alien Breed I ? | Kintaro | request.Old Rare Games | 20 | 31 July 2003 10:48 |
|
|