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/Received on Sun Mar 18 14:06:29 2007
This archive was generated by hypermail 2.1.8 : Mon Mar 19 2007 - 09:30:00 EDT