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.

93 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