Linik wrote:Horikawa Otane wrote:Linik wrote:I've been playing around with the editor and I like it a lot. However, which file formats are supported for the music and sound? I tried moving all my custom sounds into the sound folder and the formats weren't recognised by the editor.
If you're using your own sound files, you need to edit sounds.ini to point to them. It's in the base directory (also, I think, sounds.ini in the PGE directory).
Thanks for the advice, and I changed all the instances of .ogg to .mp3 in the ini file. However, I'm getting a series of errors whenever I try to load the legacy editor or a level. Here's an example:
This repeats for every MP3 I am using. What am I doing wrong?
Don't use MP3 sounds, forgot this dumb format forever!
sounds.ini is NOT shared with included PGE and SMBX, you must edit them both:
- sounds.ini at smbx root to set sounds for SMBX itself
- PGE/configs/SMBXInt/sounds.ini at PGE config to set sounds for PGE
Note: don't use MP3 format for sounds, just open PGE Editor and then:
- tools -> Convert audio
- choice "files in the list"
- press "+" and select all MP3 sound files (you able to select muiltiple files at one run!)
- Open tab "OGG"
- click "Start" and wait until it will convert all MP3 sounds into OGG format (be sure if you not checked "make backup", all source files will be removed!)
And: you don't need to replace CORE sounds: just:
- make a folder in your episode or in the level
- put into it any sounds which you wish customize
- make sounds.ini file and put it in the episode folder or in the level custom folder (if you wish make level specific sounds list)
- in the episode/level speicfic sounds.ini add per each sound: (don't need to copy-paste one of default sounds.ini):
Code: Select all
[sound-ID]
file="mysounds/he-he.ogg"
name="that a he-he sound!"
Where "mysounds" - just a folder in your episode where you placed that sound.
Where file = relative path to your ogg file (at place where sounds.ini file is placed). Use UNIX slash "/" always!
Where name = understandable name for your sound
Where ID - is sound ID: List of all sound-ID's:
http://engine.wohlnet.ru/pgewiki/SMBX64 ... fects_list
For example, replace jump and message box sound:
Code: Select all
[sound-1]
file="mysounds/spring.ogg"
name="Jump sound"
[sound-47]
file="mysounds/he-he.ogg"
name="that a he-he sound!"