English Amiga Board


Go Back   English Amiga Board > Support > support.Games

 
 
Thread Tools
Old 17 September 2017, 20:25   #1
DamienD
Banned
 
DamienD's Avatar
 
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
Track Heroes - some mods won't play when 2MB Chip RAM

Heya guys,

Thought I'd try this out today: Tracker Heroes

...so setup a standard WB 3.1 .HDF with 2MB Chip & 4MB Fast.

Installed the game plus all extra song packs found on the official webpage.

Can run / play the game; tried "Easy" and the first mod. No problems

Tried "Easy" again but this time the second mod. Displays the following:



Here's screenshot of my available RAM before starting the game:



As I use WinUAE I tried setting 4MB Chip (which no Amiga in the real world has); when loading the second mod there's no error but the game crashes...

I guess I might have to create a bare-bones .HDF without WB...

Anyone have any advise on the matter?
DamienD is offline  
Old 17 September 2017, 20:58   #2
DamienD
Banned
 
DamienD's Avatar
 
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
...even with a bare-bone .HDF (no Workbench etc) I still get this when trying to load the second track in "Easy" mode:



I guess the author of this game is trying to load any mods into "Chip RAM" only

Ok, the above makes sense when running on a CD32 console but will probably crash if you were to load the second track in "Easy" mode...
DamienD is offline  
Old 17 September 2017, 20:59   #3
Galahad/FLT
Going nowhere
 
Galahad/FLT's Avatar
 
Join Date: Oct 2001
Location: United Kingdom
Age: 50
Posts: 8,986
Just change the bigger mods for smaller ones and see what happens.
Galahad/FLT is offline  
Old 17 September 2017, 21:10   #4
DamienD
Banned
 
DamienD's Avatar
 
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
Quote:
Originally Posted by Galahad/FLT View Post
Just change the bigger mods for smaller ones and see what happens.
Yeah, just looked at the sizes of every mod...

"mod.oops!" is definitely the biggest i.e. 830053kb.

The next biggest is "mod.viking gtarist ghost" i.e. 527842kb and this works fine.

I'm now going to try compressing "mod.oops!" with Crunch-Mania; that should hopefully solve the issue
DamienD is offline  
Old 17 September 2017, 21:36   #5
DamienD
Banned
 
DamienD's Avatar
 
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
Doing the above makes things worse:



I give up...

Anyway, the point of the thread really is, why include a mod file in the original package that's too large to run on an Amiga?

Maybe I should contact author and ask him to replace this mod...
DamienD is offline  
Old 17 September 2017, 22:59   #6
Galahad/FLT
Going nowhere
 
Galahad/FLT's Avatar
 
Join Date: Oct 2001
Location: United Kingdom
Age: 50
Posts: 8,986
Quote:
Originally Posted by DamienD View Post
Doing the above makes things worse:



I give up...

Anyway, the point of the thread really is, why include a mod file in the original package that's too large to run on an Amiga?

Maybe I should contact author and ask him to replace this mod...
Of course it will make things worse, whilst initially it will take up less room, the file still has to be depacked, the final size of the file will still need the same memory, but now you've added decrunch buffers, and the stack size has probably had to increase massively because of the size of the file.

So, just as a test, stick in a smaller module to make sure it works, or use Snoopdos to see what extra files its loading that are not required which can reduce memory consumption.

Galahad/FLT is offline  
Old 17 September 2017, 23:58   #7
idrougge
Registered User
 
Join Date: Sep 2007
Location: Stockholm
Posts: 4,332
That's some good quality control they've got there.
idrougge is offline  
Old 18 September 2017, 00:55   #8
DamienD
Banned
 
DamienD's Avatar
 
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
...tell me about it; clearly tested thoroughly before release

It is only that one "mod.oops!" that's too large / causes issues though.

If they loaded the mods into Fast RAM then problem solved.
DamienD is offline  
Old 18 September 2017, 15:57   #9
Amiga1992
Registered User
 
Join Date: May 2001
Location: ?
Posts: 19,645
Quote:
Originally Posted by DamienD View Post
If they loaded the mods into Fast RAM then problem solved.
But you really cannot do that completely.
You can store pattern data in Fast RAM, but all samples need to go on Chip RAM. This is what we do with PT-1210. Having Fast RAM really helps out even if it's a few KB.
The program logic itself should reside in Fast RAM if available, too, but then again, the graphics will have to take space in Chip RAM.
There's also system stuff that might not relocate to Fast and takes space in Chip RAM.

What I mean is, it's not as easy as it sounds.

With that said, a module that doesn't work included in the original package sounds weird. I will give this a try later on my A600!
Amiga1992 is offline  
Old 18 September 2017, 16:24   #10
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 3,303
Quote:
Originally Posted by Akira View Post
But you really cannot do that completely.
You can store pattern data in Fast RAM, but all samples need to go on Chip RAM. This is what we do with PT-1210.
You can load protracker mods into fastram. You need only a small amount of chipram to play it. But the player needs to support it. E.g. HippoPlayer has a fastram player what uses only 1024 bytes of chipram. Maybe someone can explain how does it work (in detail)? My guess is that the chipram used is a buffer filled from fastram.
daxb is offline  
Old 18 September 2017, 16:29   #11
Amiga1992
Registered User
 
Join Date: May 2001
Location: ?
Posts: 19,645
Quote:
Originally Posted by daxb View Post
You can load protracker mods into fastram. You need only a small amount of chipram to play it. But the player needs to support it. E.g. HippoPlayer has a fastram player what uses only 1024 bytes of chipram. Maybe someone can explain how does it work (in detail)? My guess is that the chipram used is a buffer filled from fastram.
Yeah I guess you could do something like that, but wouldn't copying RAM from one to the other be a bit of a toll on the processor? This game runs even on 68k machines and it's doing more things at the time than just playing music.


I think Eagleplayer does this too, by the way. But both are system-friendly apps that only play music and not much else.
Amiga1992 is offline  
Old 18 September 2017, 19:26   #12
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 3,303
I don`t know the game and I don`t know if it would work with it. Also I don`t know how much CPU time it would suck. Assumption, not much. CPU usage while playing a mod from fastram with HippoPlayer on my A1200 040 is <1%.
daxb is offline  
Old 19 September 2017, 15:08   #13
DamienD
Banned
 
DamienD's Avatar
 
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
Quote:
Originally Posted by Akira View Post
With that said, a module that doesn't work included in the original package sounds weird. I will give this a try later on my A600!
...so, considering I know this is one of your favourite games Akira, have you managed to test the 2nd "Easy" mod and what was the outcome?
DamienD is offline  
Old 19 September 2017, 15:31   #14
Amiga1992
Registered User
 
Join Date: May 2001
Location: ?
Posts: 19,645
I couldn't do it yesterday so I tried it just now. I installed the ECS version with everything on, and I got the same error: 125KB more needed to play that tune! Then I went and launched the game directly on its own when the Amiga boots, now it required 117KB, but still won't play.

That's so weird, that we only found out now. Also how weird the differences in required RAM are.

Anyway, you are not tripping I wonder what this module is that it is so big anyway, I will play it and see.
[edit] I see, it's 800+ KB. I guess the rest of the game takes up a lot of Chip RAM, I cannot see how much RAM is available at game runtime so it's impossible to tell what's up here, but surely tehre could be some stuff being put in Fast RAM if available I guess.

Last edited by Amiga1992; 19 September 2017 at 15:50.
Amiga1992 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
Games that needs 2MB Chip RAM (and no FastRAM) Dokugogagoji support.Games 13 28 September 2017 22:57
Chip RAM mods - worth it or not? Silwuff Hardware mods 9 16 December 2016 03:46
How 2MB chip ram with the Mini Megi Chip? Antti support.Hardware 6 04 June 2014 20:54
Breaking the 2MB Chip RAM limit nickynoo support.Hardware 30 16 May 2014 19:33
Super Agnus - 2MB Chip Ram THX1138 support.Hardware 8 06 July 2008 12:29

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 05:07.

Top

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