English Amiga Board


Go Back   English Amiga Board > Requests > Games images which need to be WHDified

 
 
Thread Tools
Old 11 March 2023, 21:22   #1
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,206
Crazy idea to improve speed on games for AGA machines

For some games that are slow, because lots of blitting / 32 colors / EHB and all, those could be sped up on AGA machines by changing FMODE = 0 to FMODE = 3 (and also adjusting modulo as possibly bitplane addresses)

I way trying to add FMODE=3 to my supercars 2 AGA hack (I lazily retained old FMODE=0 setting), and while testing on real hardware, I had the impression that the game was much smoother.

Paraj already did such work in Killing Cloud (besides rewriting the part of the 3D rendering engine ).

AGA games probably already use that mode (well, we could have surprises) but if you have ideas about games that are slow and could be made faster, please do tell.
jotd is offline  
Old 12 March 2023, 07:07   #2
DanyPPC
Registered User
 
Join Date: Dec 2016
Location: Italy
Posts: 742
Great idea !
DanyPPC is offline  
Old 12 March 2023, 08:57   #3
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,519
It should be relatively easy if game does not use horizontal scrolling.

Horizontal scrolling can make it very complex task. Bitplane pointers must be 8 bytes divisible, different BPLCON1 range (0-15 -> 0-63). Horizontal scrolling also requires smaller DDFSTRT (than OCS/ECS) = lost sprites.
Toni Wilen is offline  
Old 12 March 2023, 09:40   #4
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,206
Quote:
Originally Posted by Toni Wilen View Post
It should be relatively easy if game does not use horizontal scrolling.

Horizontal scrolling can make it very complex task. Bitplane pointers must be 8 bytes divisible, different BPLCON1 range (0-15 -> 0-63). Horizontal scrolling also requires smaller DDFSTRT (than OCS/ECS) = lost sprites.
okay, goodbye Silkworm 3D games not using the blitter (Red Zone) won't benefit from that at all either.

One difficult part is to find proper modulo settings and DDFSTART/STOP but also if bitplane is not 8-byte aligned, or number of lines is not divisible by 8, this means that more memory is required for the screens, so all the constants after the screen data will be overwritten unless they're shifted...

All this work is rather easy when you have the source, but without it, with all precompiled address calculations, this is not so trivial.

If anyone can share some (good) titles that notoriously crawl/could be faster (ex: Prince of Persia, but that one runs much faster with fastmem reloc already), please yell.

Maybe Bitmap Brothers games (Gods, Magic Pockets, Speedball 2). Not sure it would improve the framerate though.
jotd is offline  
Old 12 March 2023, 10:58   #5
kremiso
Registered User
 
Join Date: Dec 2020
Location: Italy
Posts: 1,902
what about the slowdowns in Lotus3?
kremiso is offline  
Old 12 March 2023, 17:21   #6
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,206
Lotus 3: one of the rare games of which I have the source code

When do those slowdowns occur?
jotd is offline  
Old 12 March 2023, 18:37   #7
vroom6sri
Registered User
 
Join Date: Sep 2005
Location: Peterborough
Age: 47
Posts: 845
Am I right in thinking that Fighter Bomber uses the blitter in its 3D engine? Could that be made smoother?
vroom6sri is offline  
Old 12 March 2023, 18:55   #8
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,206
Fighter Bomber was already heavily processed by paraj & me: relocation to fastmem and usage of fmode=3 if AGA chipset. Nothing to optimize further here. Game is just too ambitious or too badly written.

Maybe you didn't test the latest whdload version ? It "flies" at around 10 fps on my A1200/060. Not great but better than the previous slideshow of a game that it is originally.
jotd is offline  
Old 12 March 2023, 19:33   #9
vroom6sri
Registered User
 
Join Date: Sep 2005
Location: Peterborough
Age: 47
Posts: 845
I had not seen that!!! Cool. I managed to get your new version working (never done a WHDload install before - always used pre-done ones) and it's a HUGE improvement over the original. It's actually nice to play!

I've got an A1200 with ACA 1230/56 and the FPS fluctuates between around 10 & 25! I loaded up the original to compare and it is hideous.

Thanks for this new version.

Last edited by vroom6sri; 12 March 2023 at 20:24.
vroom6sri is offline  
Old 12 March 2023, 19:39   #10
nikosidis
Registered User
 
Join Date: Jan 2020
Location: oslo/norway
Posts: 1,607
Could it work for Chaos Engine?
nikosidis is offline  
Old 12 March 2023, 20:29   #11
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,206
Quote:
Originally Posted by vroom6sri View Post
I had not seen that!!! Cool. I managed to get your new version working (never done a WHDload install before - always used pre-done ones) and it's a HUGE improvement over the original. It's actually nice to play!

I've got an A1200 with ACA 1230/56 and the FPS fluctuates between around 10 & 25! I loaded up the original to compare and it is hideous.

Thanks for this new version.
You're welcome. How could they publish that turd as-is back in the days? It's got good reviews, they probably played the PC version


Quote:
Originally Posted by nikosidis View Post
Could it work for Chaos Engine?
Yes, but not sure I want to do it. The CD32 version is AGA and runs in fastmem already from whdload. I just checked and in-game already uses 64-bit fastest fetch mode too.

Some argue that the ECS version is better color wise. It also runs from fastmem, but obviously doesn't use FMODE fetch optimization. Not sure if it's worth it.
jotd is offline  
Old 12 March 2023, 21:05   #12
kremiso
Registered User
 
Join Date: Dec 2020
Location: Italy
Posts: 1,902
Quote:
Originally Posted by jotd View Post
Lotus 3: one of the rare games of which I have the source code

When do those slowdowns occur?
i think to remember when a track was longer than a certain size, or with a good amount of details, the engine suffered on A500

also with many tracks in the league, so pre-generated

iirc all the 'future' setting tracks had issues too?

too much time has passed from the last play with this one
kremiso is offline  
Old 12 March 2023, 21:16   #13
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,206
On A500 I can't help. If it crawls on A1200 something could be done, specially running from fastmem (if CPU issue) & enabling fmode=3 (if DMA/blitter issue)
jotd is offline  
Old 12 March 2023, 21:27   #14
robinsonb5
Registered User
 
Join Date: Mar 2012
Location: Norfolk, UK
Posts: 1,154
I'm wondering whether Xenon 2 could be turbocharged? (And if so, would it become more or less playable?)
robinsonb5 is offline  
Old 12 March 2023, 23:20   #15
nikosidis
Registered User
 
Join Date: Jan 2020
Location: oslo/norway
Posts: 1,607
Quote:
Originally Posted by jotd View Post
You're welcome. How could they publish that turd as-is back in the days? It's got good reviews, they probably played the PC version




Yes, but not sure I want to do it. The CD32 version is AGA and runs in fastmem already from whdload. I just checked and in-game already uses 64-bit fastest fetch mode too.

Some argue that the ECS version is better color wise. It also runs from fastmem, but obviously doesn't use FMODE fetch optimization. Not sure if it's worth it.

Yes, exactly. The AGA version look horrible. That is not something I say cause I do not have AGA computers. Would love to see the OCS version without slowdowns.
nikosidis is offline  
Old 13 March 2023, 00:35   #16
vulture
Registered User
 
Join Date: Oct 2007
Location: Athens , Greece
Posts: 1,842
@jotd

Maybe the ICE racers could benefit from this (Turbo Outrun, Cisco Heat, Chase HQ II, Hydra) and make decent games out of duds!
vulture is offline  
Old 13 March 2023, 08:11   #17
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,206
Quote:
Originally Posted by vulture View Post
@jotd

Maybe the ICE racers could benefit from this (Turbo Outrun, Cisco Heat, Chase HQ II, Hydra) and make decent games out of duds!

WinUAE is a good test as code running in chip or fast makes no difference in speed, and I can't say for sure but it's very likely that FMODE speed isn't emulated. FMODE is emulated because if you misalign bitplanes or sprites you get trashed graphics, but take Supercars 2 AGA for example, on WinUAE it's always been smooth even with FMODE=0 (ECS fetch).



There's one way to know: play them under WinUAE and see if they're any faster this way. If they still suck in WinUAE then it's no use. It usually helps to decide which game is worth working on.
jotd is offline  
Old 13 March 2023, 10:59   #18
gimbal
cheeky scoundrel
 
gimbal's Avatar
 
Join Date: Nov 2004
Location: Spijkenisse/Netherlands
Age: 42
Posts: 6,919
Quote:
Originally Posted by vulture View Post
@jotd

Maybe the ICE racers could benefit from this (Turbo Outrun, Cisco Heat, Chase HQ II, Hydra) and make decent games out of duds!
Is Turbo Outrun really going to be decent when the frame rate is improved? It's still going to be a racer with very short tracks and only 2 mediocre pieces of music Maybe JOTD can hack a turbo boost into Lotus 1
gimbal is offline  
Old 13 March 2023, 11:20   #19
alexh
Thalion Webshrine
 
alexh's Avatar
 
Join Date: Jan 2004
Location: Oxford
Posts: 14,355
Quote:
Originally Posted by robinsonb5 View Post
I'm wondering whether Xenon 2 could be turbocharged? (And if so, would it become more or less playable?)
It would be great to see a 50Hz FastMEM / AGA version BUT all the work involved and it's not a particularly good game.
alexh is offline  
Old 13 March 2023, 11:40   #20
vulture
Registered User
 
Join Date: Oct 2007
Location: Athens , Greece
Posts: 1,842
Sure, gonna try them out.



Quote:
Originally Posted by jotd View Post
WinUAE is a good test as code running in chip or fast makes no difference in speed, and I can't say for sure but it's very likely that FMODE speed isn't emulated. FMODE is emulated because if you misalign bitplanes or sprites you get trashed graphics, but take Supercars 2 AGA for example, on WinUAE it's always been smooth even with FMODE=0 (ECS fetch).



There's one way to know: play them under WinUAE and see if they're any faster this way. If they still suck in WinUAE then it's no use. It usually helps to decide which game is worth working on.
vulture 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
Crazy Cars 2 (C64),...IT'S CRAZY CARS 1 FFS! WTF?? ZEUSDAZ Retrogaming General Discussion 6 25 September 2022 17:13
Idea for the vampire owners - just an idea Syntrax support.Hardware 18 19 January 2019 13:08
Another day, another crazy idea.. decentralised Web page rendering.. eXeler0 Hardware mods 28 01 December 2016 10:45
Crazy USB Link Hardware Emulation Idea Djay Hardware mods 1 26 December 2010 02:33
A500 IDE and/or Ethernet solution? OK, a crazy idea... rlake support.Hardware 17 08 May 2002 00:50

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 18:36.

Top

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