Pezzie Posted January 1, 2005 Author Share Posted January 1, 2005 Solution to my original problem: Getting some music to play before WPI starts.I fooled a bit around with flash and created a projector file.This file is then runned before WPI playing the music and showing what application you can choose from in WPI. Link to comment Share on other sites More sharing options...
jamesas Posted January 2, 2005 Share Posted January 2, 2005 can we have a look at the flash file by any chance Link to comment Share on other sites More sharing options...
Pezzie Posted January 2, 2005 Author Share Posted January 2, 2005 Sure - find it hereIts made as an exe file - just run it. Link to comment Share on other sites More sharing options...
-I- Posted January 15, 2005 Share Posted January 15, 2005 Media player classic, (Sorry dont actualy have the download link at hands, will play about anny audio or even video files from a command switch, and does not require any install procedure. just use runonce or whatever, to /start $filepath$\ mpc.exe /PLAY $FILEPATH\music.mp3 Link to comment Share on other sites More sharing options...
-I- Posted January 15, 2005 Share Posted January 15, 2005 @Pezzie Great Job Mate, realy cewl way of intrducing your software, id wish i could do the same, but i realy know nothing about flash or annything, could you explain some parts about it, (what tools to use, for example? Link to comment Share on other sites More sharing options...
dos68 Posted February 1, 2005 Share Posted February 1, 2005 ****... I cant find a way to play mp3s while WPI is launching...All i can do is launching media player classic and therefor its waiting to end before launchong WPI, the pb is i've about 5 to 10 min of mp3s .. I also tried with this Unatteded player i've found here UAP but same thing.. here is my start.cmdSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEXREG ADD %KEY% /V TITLE /D "Install" /fREG ADD %KEY%\001 /VE /D "Finalizing" /fREG ADD %KEY%\001 /V 1 /D "%systemdrive%\Install\MediaPlayerClassic\mplayerc.exe" /fREG ADD %KEY%\001 /V 2 /D "%systemdrive%\Temp\muzik.cmd" /fREG ADD %KEY%\001 /V 3 /D "%systemdrive%\Install\wpi.cmd" /fand this is my musik.cmdcmdow @ /HID@echo off"%systemdrive%\Program Files\Media Player Classic\mplayerc.exe" "%systemdrive%\temp\muzik\install.m3u" /close /play /minimizedEXITAnybody have a clue??thanks Link to comment Share on other sites More sharing options...
gunsmokingman Posted February 1, 2005 Share Posted February 1, 2005 (edited) Try This This Will Run From Around The 13 Min MarkCmdLines.txt[COMMANDS]"UaPlayMusic.exe"I Removed the Cmd file that started the vbs and have re did the vbs scriptUaPlayMusic.vbsTo Edit1:\ Open The SFX With WinRar Leave Open2:\ Than Extract The UaPlayMusic.vbs To A Spot To Edit3:\ Rename the UaPlayMusic.vbs in WinRar to UaPlayMusic1.vbs4:\ Open UaPlayMusic.vbs with Notepad or What Ever Editor You Use5:\ Edit this line MFile = "H:\AudioFiles\dance.m3u" to your music file location 6:\ Now Switch Back To The Winrar SFX And Delete UaPlayMusic1.vbs7:\ Now Add Your Edited UaPlayMusic.vbs To The Winrar SFxNotes for the vbs scriptExample of a Comment line In Active Line'Act.Run ("mplayer2.exe MFile")Active Line Act.Run ("mplayer2.exe MFile")This is also a comment line '/->The script is set to run a file on my computer so it will produce the error msgbox that I have added.On Error Resume NextDim Act, Fso, MFile, SD Set Act = CreateObject("WScript.Shell")SD = Act.ExpandEnvironmentStrings("%SystemDrive%")Set Fso = CreateObject("Scripting.FileSystemObject")'/-> VARIBLE FOR FILE NAME, FILL IN THE NAMEMFile = "H:\AudioFiles\dance.m3u"'/-> This is for the UA install as there is no task bar at the 13 minute mark'Act.Run ("mplayer2.exe "& MFile)'/-> Checks to see if the file is at the location If Fso.FileExists(MFile) Then '/-> 2 Set Media Player to be in the taskbar,if running from Windows Act.Run ("mplayer2.exe " & MFile),2 WScript.sleep 1250 Else '/-> If the file is missing from it location MsgBox "Windows cannot find this file" & vbCrLf & MFile, 0 + 48, "Error Missing File" End If '/-> Checks to see if the file is at the locationIf Fso.FileExists(SD & "\UaPlaymusic.vbs") Then fso.DeleteFile(SD & "\UaPlaymusic.vbs") End If Edited August 5, 2006 by gunsmokingman Link to comment Share on other sites More sharing options...
_sergio_ Posted September 9, 2006 Share Posted September 9, 2006 i know it's an old topic but i think u can use this1. download MPlayer, RunHiddenConsole.exe and the music u want2. put them in the same folder and compress them with 7-zip3. download 7zS.sfx and put it in the folder where the compressed archive is4. open notepad and write this;!@Install@!UTF-8!RunProgram="RunHiddenConsole.exe mplayer.exe TheMusicFile.mp3";!@InstallEnd@!Save as config.txt with UTF-8 encoding by selecting "UTF-8" from the dropdown menu in the "Save As..." dialog in Notepad. Put it in the folder of the 7-zip archive5. Open a command prompt. write "cd /D drive:\path\to\the\folder\where\is\the\compressed\archive" with no quotes6. write "copy /b 7zs.sfx + config.txt + TheNameOfTheArchive.7z InsertAnythingHere.exe" with no quotes7. now if you open the exe file music will play but the player will not show.Now place it in cmdlines.txt or something else Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now