Fixing Game Maker: Unable to find audio resource – using default sound (Windows Ding)

GM Logo

Recently I had a problem with zX where Game Maker: Studio gave me the error “Unable to find audio resource – using default sound (Windows Ding)” after a bit of investigating I found that this was due to the file that was being pointed to by the while had an absolute directory as opposed to a relative one, which cause GM to miss a file that it a simple reference to.

So Game Maker was pointing to D:\Games\zX-Hyperblast\Studio\hyperblast\\\sound\audio\snd_death_cyborg_large.wav instead of just snd_death_cyborg_large.wav

There were about 76 of files with this kind of error in them. So I wasn’t going to sit around and hand edit all of them, the GM editor is rather slow, and I doubt hand editing each .gmx file was going to be much faster. So I wrote some python programs to edit them for me. (I think it likely took me longer to write the programs than it would have taken to just edit the bloody files, but the practise was good. And hopefully I can share some tools with other people to help them out.)

The two scripts GMSoundDiff, and GMSoundSimple sorts through the .gmx files and browsers the xml to see where it is pointing and if there is a file at the location it is pointing, if there isn’t it will write the name of the .gmx file and the name of the audio file it is trying to find. GMSoundSimple will strip out the absolute directory of  the sound files so they will just be relative, but there are a couple of implementations that are specific to zX in there, but I rather doubt those are likely to be that big of an issue, and if people really want to use them I can go back and fix up the scripts so that they are more generalized for people to use.

I suppose that there are two quirks that go with this. The scripts are command line and require you to have Python 3.3.x+ installed and you your path to bash the scripts. The scripts will also only work if placed in the Sounds file in Game Maker. This unfortunately does mean that this is really more something for programmers to speed up debugging GM than something for every GM dev to just use. I’m likely going to write more scripts for speeding up working with GM as I go along and find annoying places where the editor is simply lacking, and when I accumulate enough of these I’ll probably just bundle them to gether into a neat little programme that you can point at a GM project and it will just work from that. But I really woulnd’t expect that any time soon.

The scripts have a nice little GitHub Repo and if you want to know more about the scripts or are actually using them I would suggest getting in touch with me on Twitter if there is something going wrong with the scripts.*

*Disclaimer: these scripts will edit you .gmx files which Game Maker DOES NOT recommend you do! So you do so at your own risk. You might want to be using a Version Control System to make sure that you do lose any essential data.

173 thoughts on “Fixing Game Maker: Unable to find audio resource – using default sound (Windows Ding)

  1. Pingback: writeessay

  2. Pingback: Buy generic cialis

  3. Pingback: Viagra 20mg

  4. Pingback: Viagra or cialis

  5. Pingback: Canadian viagra

  6. Pingback: Buy generic cialis

  7. Pingback: Cialis online

  8. Pingback: Purchasing viagra on the internet

  9. Pingback: Cialis for sale

  10. Pingback: Cialis generic

  11. Pingback: Cialis generic

  12. Pingback: Buy cialis online

  13. Pingback: Cialis generic

  14. Pingback: Cialis coupon

  15. Pingback: page

  16. Pingback:

  17. Pingback: go to the page

  18. Pingback: go to the page

  19. Pingback: this web page

  20. Pingback:

  21. Pingback:

  22. Pingback: taken from here

  23. Pingback: a source

  24. Pingback: this web page

  25. Pingback: page

  26. Pingback: go here

  27. Pingback:

  28. Pingback:

  29. Pingback: visit the source

  30. Pingback:

  31. Pingback: i'll provide a link

  32. Pingback: more information

  33. Pingback: visit web page

  34. Pingback: based on these data QN7Yv

  35. Pingback: read more

  36. Pingback:

  37. Pingback: click to read more

  38. Pingback: click to to learn more

  39. Pingback:

  40. Pingback: link mDeaQ

  41. Pingback:

  42. Pingback:

  43. Pingback: more information MXAwP

  44. Pingback:

  45. Pingback: page

  46. Pingback:

  47. Pingback: as reported here 8B60

  48. Pingback: click to to learn more

  49. Pingback: more on this page 3UQV7

  50. Pingback: i provide a link

  51. Pingback: article source

  52. Pingback: click to to learn more

  53. Pingback: just click for source uSE

  54. Pingback: latestvideo sirius594 abdu23na4558 abdu23na36

  55. Pingback: new siriustube610 abdu23na4940 abdu23na56

  56. Pingback: read completely

  57. Pingback: hd videos tubepla.net85 afeu23na4311 abdu23na69

  58. Pingback: sfgjidfgn952 afeu23na5964 abdu23na89

  59. Pingback: tubela.net173 afeu23na4838 abdu23na6

  60. Pingback: Cialis 20 mg best price

  61. Pingback: more info

  62. Pingback: read completely

  63. Pingback: address

  64. Pingback: click to to learn more izPkO0

  65. Pingback: more info KnA3

  66. Pingback:

  67. Pingback: continued here

  68. Pingback: based on these data

  69. Pingback: go here

  70. Pingback: learn more here

  71. Pingback: go to the page

  72. Pingback: view more BuHk

  73. Pingback: read further

  74. Pingback: as reported here

  75. Pingback:

  76. Pingback: click the following article

  77. Pingback: page

  78. Pingback: continued here XPIGw

  79. Pingback: continue

  80. Pingback:

  81. Pingback: go

  82. Pingback:

  83. Pingback: address

  84. Pingback: continue reading

  85. Pingback:

  86. Pingback: continued here

  87. Pingback: more info

  88. Pingback: see more ftPqxK

  89. Pingback: taken from here 2Ymz

  90. Pingback: this web page

  91. Pingback:

  92. Pingback:

  93. Pingback:

  94. Pingback: canadian cialis

  95. Pingback: ABrand

  96. Pingback: tadalafil 40 mg

  97. Pingback: cialis pills

  98. Pingback: cialis pills for sale

  99. Pingback: cialis tablets australia

  100. Pingback: cost cialis 20mg

  101. Pingback: generic cialis 20mg

  102. Pingback: generic cialis available

  103. Pingback: generic cialis tadalafil

  104. Pingback: generic cialis tadalafil uk

  105. Pingback: tadalafil generic

  106. Pingback: tadalafil generic best price

  107. Pingback: tadalafil without a doctor prescription

  108. Pingback: cialis generic

  109. Pingback: cialis generic name

  110. Pingback: cialis generic availability

  111. Pingback: cialis generic availability 2018

  112. Pingback: cialis generic prices

  113. Pingback: cialis generic tadalafil

  114. Pingback: cialis generic pharmacy

  115. Pingback: levitra generic

  116. Pingback: levofloxacin 750 mg

  117. Pingback: viagra 100mg

  118. Pingback: sildenafil 100mg

  119. Pingback: azithromycin 250 mg

  120. Pingback: augmentin 875 mg

  121. Pingback: amiodarone 200 mg

  122. Pingback: lipitor generic

  123. Pingback: simvastatin 20 mg

  124. Pingback: best price for viagra

  125. Pingback: diflucan 150 mg

  126. Pingback: levitra 20 mg

  127. Pingback: viagra pills

  128. Pingback: cialis 20mg tablets prices

  129. Pingback: levitra 20mg best price

  130. Pingback: sildenafil citrate

  131. Pingback: biaxin generic

  132. Pingback: biaxin antibiotic

  133. Pingback: cost of biaxin antibiotic

  134. Pingback: biaxin coupon

  135. Pingback: biaxin coupons

  136. Pingback: fluoxetine hcl

  137. Pingback: fluoxetine 20 mg

  138. Pingback: prozac generic

  139. Pingback: prozac medication

  140. Pingback: fluoxetine 10 mg

  141. Pingback: alprostadil

  142. Pingback: alprostadil price

  143. Pingback: buy cialis

  144. Pingback: cialis oral jelly

  145. Pingback: 2018-2019

  146. Pingback: 2019

  147. Pingback: sildenafil 100mg coupon

  148. Pingback:

  149. Pingback: a2019-2020

  150. Pingback: facebook

  151. Pingback: facebook1

  152. Pingback:

  153. Pingback: buy viagra

  154. Pingback: cialis

  155. Pingback: viagra

  156. Pingback: cialis coupon

  157. Pingback: cialis 20mg

  158. Pingback: levitra

  159. Pingback: generic cialis

  160. Pingback: cialis online

  161. Pingback: tadalafil 5mg

  162. Pingback: tadalafil 20mg

  163. Pingback: viagra tablets

  164. Pingback: sildenafil

  165. Pingback: tadalafil

  166. Pingback: cialis dosage

  167. Pingback: cialis prices

  168. Pingback: cialis tablets

  169. Pingback: viagra vs cialis

  170. Pingback: generic viagra

  171. Pingback: viagra connect

  172. Pingback: viagra without doctor prescription

  173. Pingback: viagra natural