Problems with Keenwave

A catch-all of miscellaneous Keen:Modding utilities.
Post Reply
Jewrean
Posts: 15
Joined: Sat Nov 27, 2010 1:33 am
Location: Australia

Problems with Keenwave

Post by Jewrean »

Ok so I'm trying to import my own music and I'm stuck at the moment. Ceilicks guide is what I'm following so far:

"Copy Keenwave.exe into your "Mymod" folder. Run Keenwave and it will generate an IDWAVE text file. Create a folder called "sounds". Open IDwave.txt and add this line:

-episode=4 -export=raw -snddir="sounds"

Run Keenwave.

Now look in your sounds folder. Here you will see a number of sound files and a few music files at the bottom. To change these, just replace the sounds with new file (they must be the same format, for music this is IMF). You can create IMF files by converting midi files with IMF Creator.

After changing the sounds or songs, go back to IDWAVE.txt and change the command to:

-episode=4 -import=raw -snddir="sounds"

Run Keenwave."


Ok so I've replaced:

156: SND1-156.IMF
157: SND1-157.IMF
158: SND1-158.IMF
159: SND1-159.IMF
160: SND1-160.IMF
161: SND1-161.IMF

with my own IMF files. The files have their ticks set to 560. The songs are currently dummy songs (only 2kb each). I have also attempted this with my songs when they are larger. This is the error Keenwave gives me:


"
Importing IMF music...

ERROR IN FILE:SOUNDS\LIST.TXT!

Not enough or too many adlib sounds to match PC sounds!
?
"


The following is what has been automatically dumped into the sounds text file:

"
KeenWave list file
Number of sounds: 162

PC Speaker sounds:

Adlib sounds:
2: SND1-002.CK4 '' [ 50] ( 133, 136, 136, 137, 138, 140, 140, 141, 142, 142, 142, 142, 142, 142, 142, 141, 140)

IMF music:
3: SND1-003.IMF
4: SND1-004.IMF
5: SND1-005.IMF
6: SND1-006.IMF
7: SND1-007.IMF
8: SND1-008.IMF
9: SND1-009.IMF
10: SND1-010.IMF
11: SND1-011.IMF
12: SND1-012.IMF
13: SND1-013.IMF
14: SND1-014.IMF
15: SND1-015.IMF
16: SND1-016.IMF
17: SND1-017.IMF
18: SND1-018.IMF
19: SND1-019.IMF
20: SND1-020.IMF
21: SND1-021.IMF
22: SND1-022.IMF
23: SND1-023.IMF
24: SND1-024.IMF
25: SND1-025.IMF
26: SND1-026.IMF
27: SND1-027.IMF
28: SND1-028.IMF
29: SND1-029.IMF
30: SND1-030.IMF
31: SND1-031.IMF
32: SND1-032.IMF
33: SND1-033.IMF
34: SND1-034.IMF
35: SND1-035.IMF
36: SND1-036.IMF
37: SND1-037.IMF
38: SND1-038.IMF
39: SND1-039.IMF
40: SND1-040.IMF
41: SND1-041.IMF
42: SND1-042.IMF
43: SND1-043.IMF
44: SND1-044.IMF
45: SND1-045.IMF
46: SND1-046.IMF
47: SND1-047.IMF
48: SND1-048.IMF
49: SND1-049.IMF
50: SND1-050.IMF
51: SND1-051.IMF
52: SND1-052.IMF
53: SND1-053.IMF
54: SND1-054.IMF
55: SND1-055.IMF
56: SND1-056.IMF
57: SND1-057.IMF
58: SND1-058.IMF
59: SND1-059.IMF
60: SND1-060.IMF
61: SND1-061.IMF
62: SND1-062.IMF
63: SND1-063.IMF
64: SND1-064.IMF
65: SND1-065.IMF
66: SND1-066.IMF
67: SND1-067.IMF
68: SND1-068.IMF
69: SND1-069.IMF
70: SND1-070.IMF
71: SND1-071.IMF
72: SND1-072.IMF
73: SND1-073.IMF
74: SND1-074.IMF
75: SND1-075.IMF
76: SND1-076.IMF
77: SND1-077.IMF
78: SND1-078.IMF
79: SND1-079.IMF
80: SND1-080.IMF
81: SND1-081.IMF
82: SND1-082.IMF
83: SND1-083.IMF
84: SND1-084.IMF
85: SND1-085.IMF
86: SND1-086.IMF
87: SND1-087.IMF
88: SND1-088.IMF
89: SND1-089.IMF
90: SND1-090.IMF
91: SND1-091.IMF
92: SND1-092.IMF
93: SND1-093.IMF
94: SND1-094.IMF
95: SND1-095.IMF
96: SND1-096.IMF
97: SND1-097.IMF
98: SND1-098.IMF
99: SND1-099.IMF
100: SND1-100.IMF
101: SND1-101.IMF
102: SND1-102.IMF
103: SND1-103.IMF
156: SND1-156.IMF
157: SND1-157.IMF
158: SND1-158.IMF
159: SND1-159.IMF
160: SND1-160.IMF
161: SND1-161.IMF"


Note that I exported this from Ceilicks Keen 7. I have also noted the text file says 162 sounds. I've tried changing that number to 108, 109, 161, and 162 with the same results.

One last thing I would like to note is when I first exported the sounds I was given this error:


"
Exporting:
Extracting 162 sounds from AUDIO.CK4...

Adlib sound too short!
Error at sound 0
[S]kip or [Q]uit??
"
Jewrean
Posts: 15
Joined: Sat Nov 27, 2010 1:33 am
Location: Australia

Post by Jewrean »

Okay so I've made progress... but I have yet to fix this problem. Firstly it doesn't matter what I put in my 'list.txt' file or even if I add the missing sounds I still can't get it to import properly.

I've tried exporting sounds from many different versions of my keens, including Keen 4, 5, 6, 7, & 8. I follow the method EXACTLY but each time there are errors saying that the sounds at the start are too 'small / short' for Keen wave to export. It then gives me the option of either skipping that one sound or quitting the procedure.

Because I skip a couple of sounds, when I try to import the sounds back it screws up. SO! I know of a way to fix this but I need help.

Could someone please direct me to the the already exported sounds of Keen 7 with list.txt? That way I'll be able to just modify those ones, copy them in place of my own sound folder and then import as many times as needed.
User avatar
Ceilick
Deputy Administrator
Posts: 402
Joined: Wed Sep 03, 2003 2:35 am

Post by Ceilick »

As far as I can tell you are using an outdated version of keenwave.

What version of Keenwave are you using and/or where did you download it?

I suggest the link provided on the wiki: http://www.shikadi.net/keenwiki/KeenWave

Also please post your questions in either the general subforum or in the subforums designated for specific tools.
levellass
Posts: 3001
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Post by levellass »

It's problems like this which motivated me to start work on a new Keenwave. It can be a bit touchy, the problem here was exporting the sounds. It should have split them evenly into adlib and PC sounds with some IMFs at the bottom, but it did not. A clean copy of Keen 4 would probably work better.

A folder already set up with sounds and graphics can be found here: http://dl.dropbox.com/u/3940020/KGSetups.zip

This has Keen 4,5 and 6 set up with modkeen, keenwave, TED5 and TLI editing. (Ceilick, could you perhaps put this in your guide? It might help a few people since a lot of the work is already done and debugged.)
User avatar
Ceilick
Deputy Administrator
Posts: 402
Joined: Wed Sep 03, 2003 2:35 am

Post by Ceilick »

Levellass, I would include it but I feel it lets modders take too many 'shortcuts', not having to export graphics for example, which is useful in itself to modders. In addition, as you said, the setup is specifically designed for ted5. I'll look into making some revisions and considering adding it.

On a general note, the Modding Tools section of the forum needs a serious upgrade. The sections for KeenWright, Keen Make-Over, KeenEdit, iKeen, and the Patch-o-tron should all be moved to a single "old tools' forum or somthing, or just plain removed. We need new sections for: KeenWave, The Neural Stunner, KeenGraph, Tileset Tool, The Omegamatic, Star-Text, and upgrade Ck456tli to CkD456tli.

I think we needs these new subforums both for troubleshooting, general help, and for keeping track of updates and the latest versions of the programs.
levellass
Posts: 3001
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Post by levellass »

Very true Ceilick, but a note on the setup would be nice, for those who have problems, so they can check it and see if they're doing something wrong. I can also produce a version of the setup for tpt3 or whatever it is.

We do need a revamp to get our new modding tools in order; we have a lot now and a lot has happened in the 5 or so years since that forum was updated.
User avatar
Ceilick
Deputy Administrator
Posts: 402
Joined: Wed Sep 03, 2003 2:35 am

Post by Ceilick »

I've managed to reproduce this problem: It's caused by using keenwave on the edited files from the keys of krodacia. I'm guessing since those files were edited with WDC, not keenwave, this somehow makes them incompatable.

Use a fresh copy of keen 4 version 1.4 and keenwave will work fine.
Post Reply