English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Language

 
 
Thread Tools
Old 16 October 2014, 23:29   #1
CaptainNow
Eleventh Hour Games
 
CaptainNow's Avatar
 
Join Date: Feb 2011
Location: Carnforth, England
Age: 49
Posts: 560
PPsave help needed

Hi!

I wondered if any Amos Pro programmers can help me please?

I need to load an .abk bank into Amos Pro Direct Mode and ppsave it out, or however it's done.

I am updating a program/game and I am no programmer but I need to get this finished, I am so so close to getting there I just need to ppsave out a few files ready for inclusion in the game.

I used to have a programmer working with me but unfortunately I can't get help from him. Thankyou for any help on this.
CaptainNow is offline  
Old 17 October 2014, 22:03   #2
Lonewolf10
AMOS Extensions Developer
 
Lonewolf10's Avatar
 
Join Date: Jun 2007
Location: near Cambridge, UK
Age: 44
Posts: 1,924
Its been a while since I did anything in AMOS, but typing the following into the AMOS Pro Direct Mode should work (confession - I had to look up the Ppsave info!):

Code:
Load "FILENAME.abk"
Listbank
Ppsave "FILENAME",BANK_NUMBER,EFFICIENCY
The listbank command is optional, you can use it to verify the file loaded into the correct bank.

FILENAME is the name of the file and can include the drive name (e.g. "Ram:myfile.abk")
BANK_NUMBER is the number of the bank you wish to compress.
EFFICIENCY is the compression level - 0 is fast (worst compression) all the way up to 4 slow (best compression).

NB: Fast compression took 30 seconds on the file I tested it on, so slow compression could take as long as an hour, or more, depending on file size and data.

More info on Ppsave can be found here:

http://cd.textfiles.com/zoom2/texts/...disk_space.asc


If you want to load the .abk file into a specific bank then add ,BANK_NUMBER after the last quote (e.g. Load "filename.abk",10), though certain .abk files (e.g. sprites) always seem to be loaded into specific banks.


Are you sure you want to PPsave it? There are other save options, such as Bsave (binary save - just saves bank data without any AMOS bank header) and Save (normal save - saves AMOS bank header, followed by bank data).


Oh, there is an AMOS sub-forum on here, so this thread is kinda in the wrong place! Mods, please move it accordingly.

Last edited by Lonewolf10; 17 October 2014 at 23:09. Reason: PPsave info added
Lonewolf10 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
Help needed ivansc MarketPlace 4 07 March 2013 13:26
help needed simz Amiga scene 15 27 October 2007 00:38
needed ? thevoice project.TOSEC (amiga only) 17 25 October 2006 17:35
Any of these still needed ? tomcat666 project.SPS (was CAPS) 6 27 June 2006 16:09
a little help needed... Unregistered New to Emulation or Amiga scene 1 11 August 2002 20:31

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 01:25.

Top

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