realbasic-games
[Top] [All Lists]

Re: Game Input and HID.Bundle

To: REALbasic Games <realbasic-games at lists dot realsoftware dot com>
Subject: Re: Game Input and HID.Bundle
From: "Joseph J. Strout" <joe at realsoftware dot com>
Date: Thu, 22 Sep 2005 11:44:51 -0600
Delivered-to: realbasic-games at lists dot realsoftware dot com
References: <20050922170041 dot 4B06DDA150F at lists dot realsoftware dot com> <9C5DADE4-06B1-4011-885D-7272879098C0 at scriptsoftware dot com>
At 6:35 PM +0100 9/22/05, Sam Rowlands wrote:

I figured it out! The name of the folder on the Desktop was 'Untitled Folder', I gave it the same name as the folder when my rb project and HID.Bundle is stored which is 'MacOS' and re-ran the application and it didn't work.

Ah, could be that if it's in a folder called MacOS, then it thinks it's in a bundle and goes looking in the wrong place for the library.

I have since been testing and found that the only way in which I can use this is to compile as a PEF and NOT bundle the application. It doesn't (for me) if I compile as Mach-O, even if I put HID.Bundle in the MacOS folder of the Mach-O bundle or in the resources folder. Is there something I am missing or should I file a feature request so that I can create a Bundle and include the HID.Bundle in the Application Bundle?

I believe you CAN do that, but it may have to be a PEF app -- I'm not sure whether HID.Bundle (and the GameInput classes) are compatible with Mach-O or not. But there's no reason you can't bundle a PEF app, and then it should work just fine, provided HID.Bundle is in the right place (which I *think* is right inside the bundle's "main directory," but experiment).

Best,
- Joe

--
Joe Strout                          REAL Software, Inc.

Vote for REALbasic (twice!) in the LinuxWorld Reader's Choice Awards:
http://linux.sys-con.com/general/readerschoice.htm
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>