English Amiga Board


Go Back   English Amiga Board > Main > Amiga scene

 
 
Thread Tools
Old 01 July 2023, 16:17   #461
Bren McGuire
Registered User
 
Bren McGuire's Avatar
 
Join Date: Nov 2019
Location: Croydon
Posts: 594
yea i dont understand why you have to preload everything in RAM instead of progressively loading like you would off a disc i dont mind loading times
Quote:
Originally Posted by Muzza View Post
It would not fit in RAM nor run at full speed with only stock 2MB chip, I’m afraid.
Bren McGuire is offline  
Old 01 July 2023, 19:12   #462
Dunny
Registered User
 
Dunny's Avatar
 
Join Date: Aug 2006
Location: Scunthorpe/United Kingdom
Posts: 2,063
Quote:
Originally Posted by Bren McGuire View Post
yea i dont understand why you have to preload everything in RAM instead of progressively loading like you would off a disc i dont mind loading times
I suspect the lack of FastRAM would be the main speed-killer here rather than a trackloader, as the assets for this game are considerably larger than that of OCS T2.
Dunny is offline  
Old 01 July 2023, 23:45   #463
Muzza
Registered User
 
Muzza's Avatar
 
Join Date: Sep 2019
Location: Sydney
Posts: 357
Quote:
Originally Posted by Bren McGuire View Post
yea i dont understand why you have to preload everything in RAM instead of progressively loading like you would off a disc i dont mind loading times
I posted about it here: https://eab.abime.net/showthread.php?t=113079 but also in some other threads.

Getting a CD loading routine that worked on real CD32s and not just WinUAE was a huge problem. Especially as I don’t own a CD32. I wasted a lot of time on it. And even if it worked, you still need some Fast RAM just like the floppy version so it didn’t really benefit anyone.
Muzza is offline  
Old 01 July 2023, 23:52   #464
Muzza
Registered User
 
Muzza's Avatar
 
Join Date: Sep 2019
Location: Sydney
Posts: 357
Quote:
Originally Posted by Bruce Abbott View Post
One more question:- would it be possible to relocate data blocks to close up gaps and prevent fragmentation?
Yes and it could have been great. But also complex and easy to introduce new bugs. So I opted to keep it simple and reload instead.
Muzza is offline  
Old 02 July 2023, 01:36   #465
Djay
95th User
 
Djay's Avatar
 
Join Date: May 2001
Location: Brighton/UK
Age: 48
Posts: 3,120
Quote:
Originally Posted by Muzza View Post
Speed run and Challenge modes don't save. Every other game mode saves the progress at the start of a level.
If you start a new game, the progress on your last game is lost, yes.



I may re-visit it, but I'm not sure what I'd do with it beyond some minor bug fixes. Players did seem to appreciate the new features, but I think only a small number really played the new game modes.

Continued the save game, which started on the next the level after the world boss, i guess it crashed trying to load up (unpack?) the next level (as I had just killed the boss and triggered the end level sequence)

Noticed that score wraps at 10 mill but displays correct score on highscore table.

anyway.. back to speedrunning
Djay is offline  
Old 02 July 2023, 12:17   #466
Torti-the-Smurf
Registered User
 
Torti-the-Smurf's Avatar
 
Join Date: Dec 2018
Location: Earth
Posts: 1,075
My second attempted Speedrun.

(no Autofire, no Goldsuit usage)

Result = 27:37.44

(I think with more tries i could shave off more Time; maybe a few more minutes)

Greetings, Torti
Attached Thumbnails
Click image for larger version

Name:	Time2.jpg
Views:	75
Size:	69.2 KB
ID:	79542  
Torti-the-Smurf is offline  
Old 03 July 2023, 05:12   #467
Muzza
Registered User
 
Muzza's Avatar
 
Join Date: Sep 2019
Location: Sydney
Posts: 357
Quote:
Originally Posted by Don_Adan View Post
Ok, this is Your choice
Quote:
Originally Posted by Don_Adan View Post
I rethinked Your loading and I think that for level 1 You must/can load files to next offsets:

B-100k
D-100k
A-400k
C-400k

For level 2 it will be as:
B-100k unchanged
D-100k unchanged
E- 300k
H-100k
F-200k
G-200k
This wasn't supposed to be solved! Of course it is trivial when it is this simple. Now try it with 240 files, and 14 scenes, where do not always go through the scenes in order. (skip worlds, loading saved games, going back a level when using a continue, etc). Then make it work whilst files are constantly changing during development, have it flexible enough to work on brand new projects, be multi-platform. I could go on and on, but its really just all the reasons gamedevs abandoned this archaic approach as soon as it was practical to do so. It is only something you do out of necessity, not choice.

I think there is a vast difference between the simplicity you imagine, and everything I had to consider for what I wanted this project to be. On reflection I should have spent the time I've taken trying explain this, just fixing the damn bug instead.
Muzza is offline  
Old 03 July 2023, 07:24   #468
Don_Adan
Registered User
 
Join Date: Jan 2008
Location: Warsaw/Poland
Age: 56
Posts: 2,024
Yes, i know that it can not be simple, but more files to load handling = more possibility for memory fragmention = more "not enough memory" requester. If You want i can solving for You this puzzle, You can tell me which files (with file sizes) are necessary for every game part are loaded to chip memory.
Don_Adan is offline  
Old 03 July 2023, 07:38   #469
Muzza
Registered User
 
Muzza's Avatar
 
Join Date: Sep 2019
Location: Sydney
Posts: 357
Quote:
Originally Posted by Djay View Post
Just had a "Out of Chip Ram" crashed to workbench 3.1 error

WinUAE (with 8mb chip ram)
1.18 (WHDLoad version)
New Game Plus
4th lap
Crashed just after defeating Level 1-2 World Boss
Lives - 48
Score - 8 and bit million
I've uploaded v1.19. It contains a tiny fix for this (I changed one number).
It seems like the bug was even rarer than I thought. I couldn't get it to happen at all in the DOS version, but I did eventually see it in the WHDLoad version - I think after 7 complete playthrough's (I cheated obviously).
With this new version, I did 32 playthroughs without problem before I stopped. So hopefully that is the end of that.

Although nothing else should have changed, I didn't thoroughly test this version, so please let me know of any problems.
Muzza is offline  
Old 03 July 2023, 08:21   #470
Muzza
Registered User
 
Muzza's Avatar
 
Join Date: Sep 2019
Location: Sydney
Posts: 357
Quote:
Originally Posted by Don_Adan View Post
Yes, i know that it can not be simple, but more files to load handling = more possibility for memory fragmention = more "not enough memory" requester. If You want i can solving for You this puzzle, You can tell me which files (with file sizes) are necessary for every game part are loaded to chip memory.
This isn't a problem I need solving, but also remember we're not talking about just solving this for a finished game. I added code, art and sound over a period of years as I converted the game. Every addition or tweak changes all the numbers, so would have needed constant re-visiting. Plus it is not just Chip memory, Fast RAM needs it too.

And here is another challenge. I said there were 240 files. In actual fact I output 480 files. One with low compression (more disk space, but faster decompression), and one with high compression (less disk space, but can slow loading times down due to the complex decompression).
My build process then looks at all the files and chooses which version of each file it will use. This is to solve three goals:
1. We want the minimal number of floppy disks possible.
2. We don't want more than 1 disk change per scene change.
3. We want to keep loading (decompression) times as low as possible.

So we prefer low compression where possible, but high compression where it makes the difference between spanning floppy disks or not. It was not trivial to fit the whole thing on 3 floppies, and two out of three floppies have zero kb of free space on them.

Low compression uses NVR2S which is in-place decompression, so has no extra RAM requirements.
High compression uses Shrinkler, which requires loading it into Fast RAM first, then decompressing to EITHER Chip or Fast (depending on what it is).
These have completely different RAM requirements, and any tiny change in the game could result in a large change to which files use which compression scheme.

Hard drive versions make different compression choices for obvious reasons, and so have different RAM behaviours.

I haven't even talked about pak files, or pre-loading, or the various small ways the different versions may differ. Remember this has separate build outputs for Floppy, DOS, CD32, WHDLoad, A500 Mini, as well as the unreleased Windows PC version.

My point is that the RAM requirements for loading are complicated, and I needed everything to 'just work' as much as possible, without adding any friction to adding or changing files. The project took long enough as it was. Having to manually process disk and RAM layouts at every turn would have been too much, and given no real gains.
Muzza is offline  
Old 03 July 2023, 09:32   #471
Don_Adan
Registered User
 
Join Date: Jan 2008
Location: Warsaw/Poland
Age: 56
Posts: 2,024
One thing, for high compression ratio better using Arj m7 than Shinkler, better compression and much fastest decompression. Then game will be loaded fastest in general, of course You can replace also NVR2S with Arj m7, You will be have only 1 decompression method for all files, much fastest decompression (total time), more space on disk. Arj m7 can be depack where You want. You can check 1 disked Turrican 2 version from Wanted Team.
Don_Adan is offline  
Old 03 July 2023, 13:53   #472
stefl0n
Registered User
 
Join Date: Jun 2021
Location: Germany
Posts: 11
Quote:
Originally Posted by Muzza View Post
I haven't even talked about pak files, or pre-loading, or the various small ways the different versions may differ. Remember this has separate build outputs for Floppy, DOS, CD32, WHDLoad, A500 Mini, as well as the unreleased Windows PC version.
There's an unreleased Windows PC Version?
stefl0n is offline  
Old 05 July 2023, 17:08   #473
Bren McGuire
Registered User
 
Bren McGuire's Avatar
 
Join Date: Nov 2019
Location: Croydon
Posts: 594
ok thanks for clarifying i didnt know the floppy version needed fast ram too
Quote:
Originally Posted by Muzza View Post
And even if it worked, you still need some Fast RAM just like the floppy version so it didn’t really benefit anyone.
Bren McGuire is offline  
Old 06 July 2023, 00:03   #474
Djay
95th User
 
Djay's Avatar
 
Join Date: May 2001
Location: Brighton/UK
Age: 48
Posts: 3,120
Quote:
Originally Posted by Muzza View Post
I've uploaded v1.19. It contains a tiny fix for this (I changed one number).
It seems like the bug was even rarer than I thought. I couldn't get it to happen at all in the DOS version, but I did eventually see it in the WHDLoad version - I think after 7 complete playthrough's (I cheated obviously).
With this new version, I did 32 playthroughs without problem before I stopped. So hopefully that is the end of that.

Although nothing else should have changed, I didn't thoroughly test this version, so please let me know of any problems.
wow, 32 playthroughs... thats dedication to playtesting

thanks for taking the time to fix the bug... is there a cap to difficulty cos i could imagine a couple of bosses taking hours

will installing the updated version remove highscores and speedrun times?
Djay is offline  
Old 06 July 2023, 03:00   #475
Muzza
Registered User
 
Muzza's Avatar
 
Join Date: Sep 2019
Location: Sydney
Posts: 357
Quote:
Originally Posted by Djay View Post
wow, 32 playthroughs... thats dedication to playtesting

thanks for taking the time to fix the bug... is there a cap to difficulty cos i could imagine a couple of bosses taking hours

will installing the updated version remove highscores and speedrun times?

As you long as just copy the new files over, and don't delete the existing files, all your highscores should be preserved.


There is no cap to the enemies health going up in NewGame+. The players health going down each round is capped at 1 though
Muzza is offline  
Old 06 July 2023, 12:05   #476
Torti-the-Smurf
Registered User
 
Torti-the-Smurf's Avatar
 
Join Date: Dec 2018
Location: Earth
Posts: 1,075
@ Muzza . You got Mail (PM)

Greetings, Torti
Torti-the-Smurf is offline  
Old 06 July 2023, 16:29   #477
Djay
95th User
 
Djay's Avatar
 
Join Date: May 2001
Location: Brighton/UK
Age: 48
Posts: 3,120
getting there...

Attached Thumbnails
Click image for larger version

Name:	t2agaspeed.gif
Views:	255
Size:	35.9 KB
ID:	79569  
Djay is offline  
Old 06 July 2023, 16:40   #478
TCD
HOL/FTP busy bee
 
TCD's Avatar
 
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 31,859
Somebody should request the game on https://www.speedrun.com/games
TCD is offline  
Old 06 July 2023, 16:55   #479
Djay
95th User
 
Djay's Avatar
 
Join Date: May 2001
Location: Brighton/UK
Age: 48
Posts: 3,120
Quote:
Originally Posted by TCD View Post
Somebody should request the game on https://www.speedrun.com/games
Yeah thats a good shout..

The WR for the original Turrican 2 is 17:49 but that includes a decent skip on the first level and a fairly large skip later... which I dont think is possible to do on the remake.

I made a few mistakes, slightly better routing and favourable RNG on one section could bring time down quite a bit.
Djay is offline  
Old 06 July 2023, 17:06   #480
TCD
HOL/FTP busy bee
 
TCD's Avatar
 
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 31,859
Don't know if you can do it, but I would love to see a video of a 25 minute Turrican 2 run
TCD 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
Turrican 2 MS-DOS AGA conversion Muzza project.Amiga Game Factory 582 06 January 2023 20:02
Best way to play Turrican 2 PC dos buckrogers Retrogaming General Discussion 17 24 October 2005 12:25
C64 Turrican 3 released! Better than Ami's ? tomcat666 News 23 19 September 2004 21:35
Turrican 2 AGA+HD fixed Ollibolli request.Old Rare Games 17 24 September 2002 04:13

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 23:08.

Top

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