Closed Alucard648 closed 10 years ago
Lemme have a look...
Check: 1) Music pack must be places to data/music/xxxx.mp3 where xxxx - any files (defined into music.ini from configs/SMBX) 2) File must be saved, AND reloaded for use custom musics. Here I forgot fix bug: level's current dir must be refreshed after save, but I didn't made them :P and need full level reload. fetch whole C:* drive because "untitled" mark disabled, but "." current dir didn't refreshed, I will fix. 3) Try in events common settings and try play sounds, is they works by "Test" button?
Uhm, I have a feeling what's wrong:
as 4th suggestion: Put the data folder in one upper dir: i.e.: Main EXE: X:\SomePath\Editor\Main\theexe.exe Data: X:\SomePath\Editor\data\ The path is just an example!
Alucard648, get fixed files http://engine.wohlnet.ru/docs/_sources/dev_built/pge_editor.zip, here path for custom music was fixed (this bug appears only on save file, if you open exist file or reload after save into new path - will work normal)
Paths MUST be: xxx.exe data/music/xxx.mp3 data/graphics/level/npc/xxx.gif configs/SMBX/main.ini //here defined paths to staff musics, graphics, etc configs/SMBX/music.ini //here defiled staff music files languages/xxx.qm //here placed translates for application
Updated to new files. All paths are correct, but music and sounds still don`t play.
Hm... All libraries you have? I just extract archive to my virtual Windows Server: mp3-files just playing, on my PC playing inside editor but on server - no. I think, my mistake with deploy, I will check DLL's and will repack them
Try THIS test: 1) get this file: http://wohlnet.ru/sentfile/xx.bat and place them into application dir 2) Edit them into Notepad (replace path to your application path) 3) Run them and I have result:
Result: Need set path to Qt Plugins, I.e. inside folder must be mediaservice and imageformats folder with his DLLs
Tried this Bat and have exactly the same result.
You forgot EDIT them, replace defined in them path to YOUR path to application Or: 1) open Control Pannel -> System 2) Open "Advanced system settimgs" (Windows 7) http://wohlnet.ru/sentfile/Scr_2014.06.30_22-21-53-499.jpg in Windows XP/Server 2003 this window will be opened directly http://wohlnet.ru/sentfile/Scr_2014.06.30_22-29-38-803.jpg 3) Set "System Envoriment" http://wohlnet.ru/sentfile/Scr_2014.06.30_22-22-00-330.jpg 4) Add into variables list QT_PLUGIN_PATH and set value as full path to your PGE-Editor, and save. Try pge_editor directly without BAT file http://wohlnet.ru/sentfile/Scr_2014.06.30_22-22-23-319.jpg
I was meant: When ran trough BAT file, music works fine... But now I have another problem: custom music (besides default SMBX tracks) refuses to play.
did you set "Custom" checkbox? If you set "Custom" music string, it is not means "play them now!", need set music to "play custom music"
Yes.
Now playing?
No. Checked on SM3DW music.
Hm...Quick question: you enter string manually or select file by "..." button? You can set custom music file automatically with special dialog
Used in-app browser ("..." button) for custom music.
What format of music file? Please, open for test THIS level: http://engine.wohlnet.ru/docs/Levels/OPL_Music/ (unpack to any folder, and drag LVL file into Application window) ! Don't forget to press the "play music" button
mp3
See: for play custom music
This track does not play in editor. This one works fine. Both files are are placed in app`s directory. To download MP3 file, right click on link and "Save As..."
both files you must save with saved Level file. I tryd both musics by editor - both playing on my PC (will try on Server)
Just tested on Server:
BUT
after I reconvert this file to valid format, it already played AND by player, AND by editor. Get fixed MP3 file for test here: http://wohlnet.ru/sentfile/1-03_Super_Bell_Hill.mp3
Thanks, now It works. I thought it was an editor`s issue, because original file plays fine in my XMPlay player. P.S. Any way, how to fix the rest of this soundtrack (76 tracks) like that one?
I used Waver, but you can use Audacity and ffmpeg for read mp3 data.
For convert lots of mp3s I recommend to try ffmpeg by command line
With the bit of info added into FAQ, I can close this ticket.
I have encountered this issue pretty much as soon as I launched the editor. Tried everything, like: