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 .sound.gmx 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\zX_Hyperblast.gmx\\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.

243 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: 4sf8399dedf47934722b63.com page

  16. Pingback: notehub.org

  17. Pingback: notehub.org go to the page

  18. Pingback: notehub.org go to the page

  19. Pingback: this web page

  20. Pingback: notehub.org

  21. Pingback: notehub.org

  22. Pingback: taken from here

  23. Pingback: a source

  24. Pingback: notehub.org this web page

  25. Pingback: page

  26. Pingback: go here

  27. Pingback: notehub.org

  28. Pingback: notehub.org

  29. Pingback: notehub.org visit the source

  30. Pingback: notehub.org

  31. Pingback: i'll provide a link

  32. Pingback: more information

  33. Pingback: notehub.org visit web page

  34. Pingback: notehub.org based on these data QN7Yv

  35. Pingback: notehub.org read more

  36. Pingback: notehub.org

  37. Pingback: notehub.org click to read more

  38. Pingback: notehub.org click to to learn more

  39. Pingback: notehub.org

  40. Pingback: notehub.org link mDeaQ

  41. Pingback: notehub.org

  42. Pingback: notehub.org

  43. Pingback: notehub.org more information MXAwP

  44. Pingback: notehub.org

  45. Pingback: notehub.org page

  46. Pingback: notehub.org

  47. Pingback: notehub.org as reported here 8B60

  48. Pingback: click to to learn more

  49. Pingback: d2a20854899.com more on this page 3UQV7

  50. Pingback: topfuckgals.mobi i provide a link

  51. Pingback: article source

  52. Pingback: click to to learn more

  53. Pingback: topfuck123gals.mobi just click for source uSE

  54. Pingback: latestvideo sirius594 abdu23na4558 abdu23na36

  55. Pingback: new siriustube610 abdu23na4940 abdu23na56

  56. Pingback: joigenmele1980.wikidot.com 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: xxxbestrank.mobi more info

  62. Pingback: read completely

  63. Pingback: address

  64. Pingback: xxxvipsearch.mobi click to to learn more izPkO0

  65. Pingback: schatshadowengine.mobi more info KnA3

  66. Pingback: pronbestrank.mobi

  67. Pingback: pronshadowengine.mobi continued here

  68. Pingback: adultshadowengine.mobi based on these data

  69. Pingback: schattopengine.mobi go here

  70. Pingback: schatshadowrank.mobi learn more here

  71. Pingback: go to the page

  72. Pingback: topfucksearch.mobi view more BuHk

  73. Pingback: tophookupportal.mobi read further

  74. Pingback: topdatingse.mobi as reported here

  75. Pingback: fastfuckse.mobi

  76. Pingback: click the following article

  77. Pingback: fastfucksite.mobi page

  78. Pingback: topsexportal.mobi continued here XPIGw

  79. Pingback: continue

  80. Pingback: fastsexsearch.mobi

  81. Pingback: go

  82. Pingback: oklandviphomeguard.us

  83. Pingback: address

  84. Pingback: oklandbesthomesecurity.info continue reading

  85. Pingback: oklandtophomeguard.us

  86. Pingback: oklandbestsecuritysystems.info continued here

  87. Pingback: more info

  88. Pingback: oklandviphomesecurity.us see more ftPqxK

  89. Pingback: oklandvipsecuritysystems.us taken from here 2Ymz

  90. Pingback: oklandbestsecuritysystems.us this web page

  91. Pingback: youtube.com

  92. Pingback: computer-arts.info

  93. Pingback: solars.biz

  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: cleantalkorg2.ru

  149. Pingback: a2019-2020

  150. Pingback: facebook

  151. Pingback: facebook1

  152. Pingback: javsearch.mobi

  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

  174. Pingback: cialis vs viagra

  175. Pingback: tadalafil 20 mg

  176. Pingback: cialis 20 mg

  177. Pingback: cialis 5 mg

  178. Pingback: cheap cialis

  179. Pingback: cialis coupons

  180. Pingback: cialis canada

  181. Pingback: viagra online

  182. Pingback: viagra prices

  183. Pingback: viagra generic

  184. Pingback: generic viagra 100mg

  185. Pingback: viagra coupons

  186. Pingback: cheap viagra

  187. Pingback: generic viagra available

  188. Pingback: buy viagra online

  189. Pingback: viagra tablet

  190. Pingback: sildenafil 20 mg

  191. Pingback: sildenafil 100

  192. Pingback: buy biaxin

  193. Pingback: buy ceftin

  194. Pingback: buy chloromycetin

  195. Pingback: buy biaxin online

  196. Pingback: buy ceftin online

  197. Pingback: chloromycetin

  198. Pingback: buy cordarone

  199. Pingback: example.org.17

  200. Pingback: cialis 20mg generic

  201. Pingback: female viagra

  202. Pingback: sildenafil tablets

  203. Pingback: prednisone 20 mg

  204. Pingback: buy sildenafil

  205. Pingback: sildenafil generic

  206. Pingback: viagra doctor prescription

  207. Pingback: sildenafil 50 mg

  208. Pingback: sildenafil coupons

  209. Pingback: sildenafil 100 mg

  210. Pingback: sildenafil citrate 100mg

  211. Pingback: buy cialis online

  212. Pingback: cialis tadalafil

  213. Pingback: sildenafil citrate tablets

  214. Pingback: sildenafil citrate pricing

  215. Pingback: free bitcoin cash

  216. Pingback: bactrim ds

  217. Pingback: ceftin antibiotic

  218. Pingback: cephalexin 500mg

  219. Pingback: ciprofloxacin 500mg

  220. Pingback: fluconazole 150 mg

  221. Pingback: levofloxacin 500 mg

  222. Pingback: cefdinir 300 mg

  223. Pingback: bactrim antibiotic

  224. Pingback: 100mg viagra without a doctor prescription

  225. Pingback: natural viagra

  226. Pingback: over the counter viagra

  227. Pingback: female viagra pills

  228. Pingback: viagra for men

  229. Pingback: viagra for women

  230. Pingback: viagra without a doctor prescription

  231. Pingback: viagra without a doctor prescription usa

  232. Pingback: viagra medicine online order

  233. Pingback: viagra without doctor prescription usa

  234. Pingback: cialis generico

  235. Pingback: cialis generika

  236. Pingback: tadalafila

  237. Pingback: body high amitriptyline

  238. Pingback: escitalopram 5mg tablets side effects

  239. Pingback: the administration of prednisone to children with nephrosis creates the problem of

  240. Pingback: online pharmacies canada

  241. Pingback: online pharmacy

  242. Pingback: Viagra vs cialis vs levitra

  243. Pingback: Viagra prices