Re: [NTLK] ModPlayer howto package mod files

From: Goodwin, Greg P. <GoodwinG_at_aafes.com>
Date: Mon Mar 19 2007 - 08:26:40 EDT

Best and easier solution I found... Newt's Cape with the modsaver add
on. :) That is how I made a lot of the Atari mods I made.

Doc Clu

-----Original Message-----
From: newtontalk-bounce@newtontalk.net
[mailto:newtontalk-bounce@newtontalk.net] On Behalf Of SOVIET
Sent: Sunday, March 18, 2007 1:06 PM
To: newtontalk@newtontalk.net
Subject: [NTLK] ModPlayer howto package mod files

Hello, i like to use modplayer but creating song packages seems to be
very complex i don't now how to use newton dev tools.
Theres some easy way to make mod packages ?

Modplayer documentation says.

"To create a package containing a mod:

- make a project in the NTK.
- give its' application name anything as long as it has .MOD embedded
somewhere in it. EG. GuitarSlinger.MOD:SIG
- Add a clView to the project.
- set the views' viewBounds to all 0's
- set the views' viewSetupDoneScript as below:

func()
begin
        // attempt to launch the player and tell it to play this file
        if isFrame(GetRoot().|modPlayer:RSM|) then
        begin
                if call kViewIsOpenFunc with (GetRoot().|modPlayer:RSM|)
= nil then
                        GetRoot().|modPlayer:RSM|:Open();
                GetRoot().|modPlayer:RSM|:AutoPlay(kAppSymbol, 'aMod);
        end else begin
                :Notify(kNotifyAlert, kAppSymbol,
                        "Can't play MOD file, ModPlayer Application not
installed!");
        end;
        AddDeferredSend(self, 'Close, []);
end
"

-- 
This is the NewtonTalk list - http://www.newtontalk.net/ for all
inquiries
Official Newton FAQ: http://www.chuma.org/newton/faq/
WikiWikiNewt for all kinds of articles:
http://tools.unna.org/wikiwikinewt/
-- 
This is the NewtonTalk list - http://www.newtontalk.net/ for all inquiries
Official Newton FAQ: http://www.chuma.org/newton/faq/
WikiWikiNewt for all kinds of articles: http://tools.unna.org/wikiwikinewt/
Received on Mon Mar 19 08:28:26 2007

This archive was generated by hypermail 2.1.8 : Mon Mar 19 2007 - 11:30:01 EDT