The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Scripting => Topic started by: Mr_Wiggles on April 16, 2010, 03:42:19 AM

Title: [Resolved] Help with FMOD
Post by: Mr_Wiggles on April 16, 2010, 03:42:19 AM
FMOD is a new Audio module for RMXP with new features for BGM, SE, BGS.....

How ever it requires RTP Standard even with the "RGSS100J.dll" in the Game.exe directory.
What I want help with is to remove its dependence on RTP.

With out RTP installed you get and error: Script 'FMOD- Ex' line619: NoMethodError occurred.
undefined method 'chr' for nil:NilClass.

here is what the line looks like...
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fscreensnapr.com%2Fu%2Fq1sfl6.png&hash=68db8906204fabe2e60a56f9f9e6e8e561e6db5e)

I'm not an expert with scripts but what i make of it is that its trying to read the registry to locate RTP?

I suppose this isn't that big of a deal, but it would be nice if i can fix it. Thanks to any one who can help with this.
Title: Re: Help with FMOD
Post by: Zeriab on April 16, 2010, 07:27:33 AM
Try to add after 617:
return ".\\" if @rtp_folder.empty?

I haven't tested it as I don't have the script so I dunno if it'll work.
Title: Re: Help with FMOD
Post by: Mr_Wiggles on April 16, 2010, 12:07:13 PM
Sorry i should have included a link. - http://www.hbgames.org/forums/viewtopic.php?t=55486.0

I will give what you said a try, thanks.

[edit] - I copied and moved it to my sisters computer which doesn't have RTP, and it seems to be working fine now no errors.

Thanks Zeriab
Title: Re: Help with FMOD
Post by: Zeriab on April 16, 2010, 01:04:29 PM
That's good to hear :D