pax_global_header00006660000000000000000000000064131373162230014513gustar00rootroot0000000000000052 comment=64cb19e6094c8d8385f7de5e00d36199938a48ae mednaffe-0.8.6/000077500000000000000000000000001313731622300132735ustar00rootroot00000000000000mednaffe-0.8.6/AUTHORS000066400000000000000000000001111313731622300143340ustar00rootroot00000000000000Authors of Mednaffe. Mednaffe is currently being written by AmatCoder. mednaffe-0.8.6/COPYING000066400000000000000000001045131313731622300143320ustar00rootroot00000000000000 GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 Copyright (C) 2007 Free Software Foundation, Inc. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The GNU General Public License is a free, copyleft license for software and other kinds of works. The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things. To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others. For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it. For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions. Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users. Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free. The precise terms and conditions for copying, distribution and modification follow. TERMS AND CONDITIONS 0. Definitions. "This License" refers to version 3 of the GNU General Public License. "Copyright" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks. "The Program" refers to any copyrightable work licensed under this License. Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals or organizations. To "modify" a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a "modified version" of the earlier work or a work "based on" the earlier work. A "covered work" means either the unmodified Program or a work based on the Program. To "propagate" a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well. To "convey" a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying. An interactive user interface displays "Appropriate Legal Notices" to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion. 1. Source Code. The "source code" for a work means the preferred form of the work for making modifications to it. "Object code" means any non-source form of a work. A "Standard Interface" means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language. The "System Libraries" of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A "Major Component", in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it. The "Corresponding Source" for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work. The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source. The Corresponding Source for a work in source code form is that same work. 2. Basic Permissions. All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law. You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you. Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary. 3. Protecting Users' Legal Rights From Anti-Circumvention Law. No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures. When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures. 4. Conveying Verbatim Copies. You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program. You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee. 5. Conveying Modified Source Versions. You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions: a) The work must carry prominent notices stating that you modified it, and giving a relevant date. b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to "keep intact all notices". c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it. d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so. A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an "aggregate" if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate. 6. Conveying Non-Source Forms. You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways: a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange. b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge. c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b. d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements. e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d. A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work. A "User Product" is either (1) a "consumer product", which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, "normally used" refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product. "Installation Information" for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made. If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM). The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network. Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying. 7. Additional Terms. "Additional permissions" are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions. When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission. Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms: a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or d) Limiting the use for publicity purposes of names of licensors or authors of the material; or e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors. All other non-permissive additional terms are considered "further restrictions" within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying. If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms. Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way. 8. Termination. You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11). However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation. Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice. Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10. 9. Acceptance Not Required for Having Copies. You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so. 10. Automatic Licensing of Downstream Recipients. Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License. An "entity transaction" is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts. You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it. 11. Patents. A "contributor" is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's "contributor version". A contributor's "essential patent claims" are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, "control" includes the right to grant patent sublicenses in a manner consistent with the requirements of this License. Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version. In the following three paragraphs, a "patent license" is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To "grant" such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party. If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. "Knowingly relying" means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid. If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it. A patent license is "discriminatory" if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007. Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law. 12. No Surrender of Others' Freedom. If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program. 13. Use with the GNU Affero General Public License. Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such. 14. Revised Versions of this License. The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation. If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program. Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version. 15. Disclaimer of Warranty. THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 16. Limitation of Liability. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 17. Interpretation of Sections 15 and 16. If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . Also add information on how to contact you by electronic and paper mail. If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode: Copyright (C) This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, your program's commands might be different; for a GUI interface, you would use an "about box". You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see . The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read . mednaffe-0.8.6/ChangeLog000066400000000000000000000076511313731622300150560ustar00rootroot00000000000000#### 29 / Jul / 2017 Mednaffe 0.8.6 is released with the following changes: - Add checks to avoid access array out of bounds (It cause a segfault when configuring some keys) #### 14 / Feb / 2017 Mednaffe 0.8.5 is released with the following changes: - Check properly version of mednafen emulator (It fails when used spanish locale on Linux). - Fixed Saturn bios setup. - Add expansion cart option for Saturn. #### 21 / Jan / 2017 Mednaffe 0.8.4 is released with the following changes: - Added support for new settings added by mednafen 0.9.41 (Obviously, it needs this version or higher to work). #### 19 / Nov / 2016 Mednaffe 0.8.3 is released with the following changes: - Added support for Sega Saturn (It needs 0.9.39.1 or higher of mednafen emulator). - [Linux] Fix stack smashing when compiling with '-fstack-protector' caused by buffer overflow (Thanks to 'not-a-user' for report it). #### 21 / Feb / 2016 Mednaffe 0.8.1 is released with the following changes: - [Windows] Fix xbox 360 controller detection on some conditions. #### 24 / Jul / 2015 Mednaffe 0.8 is released with the following changes: - [Windows] Support for XInput devices. - Support for key assignments to (some) mednafen functions. - Added deadzones for analog axis (Thanks to tapcio for report it). - New tab with text widgets in order to read logs. - Added the ability to select an mednafen executable if it is not found in path. - [Windows] 'video.disable_composition' option added. - [Windows] Missing sound driver options added. - [Linux] Rewrite the error handling process. - [Linux] Fix (mostly) deprecated functions. - Better alingment between widgets. - Minor cosmetic changes. #### 02 / May / 2015 Mednaffe 0.7 is released with the following changes: - Controller setup for systems (keyboard and gamepads) - Static build for Windows (standalone executable to avoid GTK+ runtime dependency) - Descriptive error messages on Windows. - Added new settings until 0.9.36 - Mednafen version is detected properly now on Linux. - Fixed freezing while executing emulator under some conditions on Linux. - Fix to handle spaces in paths on Windows. - Spins disregarding values fixed. - More minor fixes. Note: This version will need 0.9.36 (or above) of mednafen emulator. #### 10 / December / 2013 Mednaffe 0.6 is released with the following changes: - A message error is showed when mednafen gives an error. - Descriptive error messages via '-remote' option (Only on Linux). - Gui options have been moved to Edit->Preferences menu. - Now you can choose which systems are showed. (Thanks to Shinra for the suggestion) - Now Mednaffe can resize down to 768x516. (Thanks to StarrySky for report it) - Added an option to remember window size. - Add support to filter ccd files from CloneCd images. - Add a desktop file and icons to install on Linux. - Some minor fixes. #### 16 / September / 2013 Mednaffe 0.5 is released with the following changes: - Support for 0.9.31/32-WIP added. - Added an option to search files recursively. (Thanks to Shoegazer for the suggestion) - Improve performance when filling list (x20 speed up). - List options (filters, sort direction) are saved now. - Fix 'Open' buttons signals on Windows. - Now Mednaffe restore after minimize on Windows. - Fix Windows icon (hopefully) #### 30 / August / 2013 Mednaffe 0.4 is released with the following changes: - Mednaffe has been rewritten from scratch in C language. #### 24 / October / 2010 Mednaffe 0.3 is released with the following changes: - New: Qt version for Linux. - Rewrite 'Scanlines' component for better understanding. - Rewrite 'Resolution' and 'Scale' components for better usability. - Now Mednaffe remember his position on the screen #### 22 / August / 2010 Mednaffe 0.2 is released with the following changes: - Fixed: Values by default are shown now. - Fixed: Size of sound buffer in Linux. - Minor cosmetics changes. #### 12 / August / 2010 Mednaffe 0.1 is released. It's an alpha version. mednaffe-0.8.6/Makefile.am000066400000000000000000000001561313731622300153310ustar00rootroot00000000000000SUBDIRS=src share # Doc files docsdir = $(datadir)/doc/mednaffe docs_DATA = AUTHORS COPYING README ChangeLog mednaffe-0.8.6/Makefile.in000066400000000000000000000641221313731622300153450ustar00rootroot00000000000000# Makefile.in generated by automake 1.15.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2017 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : subdir = . ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \ $(am__configure_deps) $(am__DIST_COMMON) am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ configure.lineno config.status.lineno mkinstalldirs = $(install_sh) -d CONFIG_HEADER = config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ ctags-recursive dvi-recursive html-recursive info-recursive \ install-data-recursive install-dvi-recursive \ install-exec-recursive install-html-recursive \ install-info-recursive install-pdf-recursive \ install-ps-recursive install-recursive installcheck-recursive \ installdirs-recursive pdf-recursive ps-recursive \ tags-recursive uninstall-recursive am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(docsdir)" DATA = $(docs_DATA) RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive am__recursive_targets = \ $(RECURSIVE_TARGETS) \ $(RECURSIVE_CLEAN_TARGETS) \ $(am__extra_recursive_targets) AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ cscope distdir dist dist-all distcheck am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \ $(LISP)config.h.in # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags CSCOPE = cscope DIST_SUBDIRS = $(SUBDIRS) am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in AUTHORS \ COPYING ChangeLog NEWS README compile depcomp install-sh \ missing DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) am__remove_distdir = \ if test -d "$(distdir)"; then \ find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ && rm -rf "$(distdir)" \ || { sleep 5 && rm -rf "$(distdir)"; }; \ else :; fi am__post_remove_distdir = $(am__remove_distdir) am__relativize = \ dir0=`pwd`; \ sed_first='s,^\([^/]*\)/.*$$,\1,'; \ sed_rest='s,^[^/]*/*,,'; \ sed_last='s,^.*/\([^/]*\)$$,\1,'; \ sed_butlast='s,/*[^/]*$$,,'; \ while test -n "$$dir1"; do \ first=`echo "$$dir1" | sed -e "$$sed_first"`; \ if test "$$first" != "."; then \ if test "$$first" = ".."; then \ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ else \ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ if test "$$first2" = "$$first"; then \ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ else \ dir2="../$$dir2"; \ fi; \ dir0="$$dir0"/"$$first"; \ fi; \ fi; \ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ done; \ reldir="$$dir2" DIST_ARCHIVES = $(distdir).tar.gz GZIP_ENV = --best DIST_TARGETS = dist-gzip distuninstallcheck_listfiles = find . -type f -print am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' distcleancheck_listfiles = find . -type f -print ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EXEEXT = @EXEEXT@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_DEFINES = @GTK_DEFINES@ GTK_LIBS = @GTK_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build_alias = @build_alias@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ have_pkg_config = @have_pkg_config@ host_alias = @host_alias@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SUBDIRS = src share # Doc files docsdir = $(datadir)/doc/mednaffe docs_DATA = AUTHORS COPYING README ChangeLog all: config.h $(MAKE) $(AM_MAKEFLAGS) all-recursive .SUFFIXES: am--refresh: Makefile @: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \ $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ echo ' $(SHELL) ./config.status'; \ $(SHELL) ./config.status;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(SHELL) ./config.status --recheck $(top_srcdir)/configure: $(am__configure_deps) $(am__cd) $(srcdir) && $(AUTOCONF) $(ACLOCAL_M4): $(am__aclocal_m4_deps) $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) $(am__aclocal_m4_deps): config.h: stamp-h1 @test -f $@ || rm -f stamp-h1 @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status @rm -f stamp-h1 cd $(top_builddir) && $(SHELL) ./config.status config.h $(srcdir)/config.h.in: $(am__configure_deps) ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) rm -f stamp-h1 touch $@ distclean-hdr: -rm -f config.h stamp-h1 install-docsDATA: $(docs_DATA) @$(NORMAL_INSTALL) @list='$(docs_DATA)'; test -n "$(docsdir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(docsdir)'"; \ $(MKDIR_P) "$(DESTDIR)$(docsdir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(docsdir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(docsdir)" || exit $$?; \ done uninstall-docsDATA: @$(NORMAL_UNINSTALL) @list='$(docs_DATA)'; test -n "$(docsdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(docsdir)'; $(am__uninstall_files_from_dir) # This directory's subdirectories are mostly independent; you can cd # into them and run 'make' without going through this Makefile. # To change the values of 'make' variables: instead of editing Makefiles, # (1) if the variable is set in 'config.status', edit 'config.status' # (which will cause the Makefiles to be regenerated when you run 'make'); # (2) otherwise, pass the desired values on the 'make' command line. $(am__recursive_targets): @fail=; \ if $(am__make_keepgoing); then \ failcom='fail=yes'; \ else \ failcom='exit 1'; \ fi; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-recursive TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-recursive CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscope: cscope.files test ! -s cscope.files \ || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS) clean-cscope: -rm -f cscope.files cscope.files: clean-cscope cscopelist cscopelist: cscopelist-recursive cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags -rm -f cscope.out cscope.in.out cscope.po.out cscope.files distdir: $(DISTFILES) $(am__remove_distdir) test -d "$(distdir)" || mkdir "$(distdir)" @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ $(am__make_dryrun) \ || test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ dir1=$$subdir; dir2="$(top_distdir)"; \ $(am__relativize); \ new_top_distdir=$$reldir; \ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ ($(am__cd) $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$new_top_distdir" \ distdir="$$new_distdir" \ am__remove_distdir=: \ am__skip_length_check=: \ am__skip_mode_fix=: \ distdir) \ || exit 1; \ fi; \ done -test -n "$(am__skip_mode_fix)" \ || find "$(distdir)" -type d ! -perm -755 \ -exec chmod u+rwx,go+rx {} \; -o \ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ || chmod -R a+r "$(distdir)" dist-gzip: distdir tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz $(am__post_remove_distdir) dist-bzip2: distdir tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 $(am__post_remove_distdir) dist-lzip: distdir tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz $(am__post_remove_distdir) dist-xz: distdir tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz $(am__post_remove_distdir) dist-tarZ: distdir @echo WARNING: "Support for distribution archives compressed with" \ "legacy program 'compress' is deprecated." >&2 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z $(am__post_remove_distdir) dist-shar: distdir @echo WARNING: "Support for shar distribution archives is" \ "deprecated." >&2 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz $(am__post_remove_distdir) dist-zip: distdir -rm -f $(distdir).zip zip -rq $(distdir).zip $(distdir) $(am__post_remove_distdir) dist dist-all: $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:' $(am__post_remove_distdir) # This target untars the dist file and tries a VPATH configuration. Then # it guarantees that the distribution is self-contained by making another # tarfile. distcheck: dist case '$(DIST_ARCHIVES)' in \ *.tar.gz*) \ eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\ *.tar.bz2*) \ bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ *.tar.lz*) \ lzip -dc $(distdir).tar.lz | $(am__untar) ;;\ *.tar.xz*) \ xz -dc $(distdir).tar.xz | $(am__untar) ;;\ *.tar.Z*) \ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ *.shar.gz*) \ eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\ *.zip*) \ unzip $(distdir).zip ;;\ esac chmod -R a-w $(distdir) chmod u+w $(distdir) mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst chmod a-w $(distdir) test -d $(distdir)/_build || exit 0; \ dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ && am__cwd=`pwd` \ && $(am__cd) $(distdir)/_build/sub \ && ../../configure \ $(AM_DISTCHECK_CONFIGURE_FLAGS) \ $(DISTCHECK_CONFIGURE_FLAGS) \ --srcdir=../.. --prefix="$$dc_install_base" \ && $(MAKE) $(AM_MAKEFLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) dvi \ && $(MAKE) $(AM_MAKEFLAGS) check \ && $(MAKE) $(AM_MAKEFLAGS) install \ && $(MAKE) $(AM_MAKEFLAGS) installcheck \ && $(MAKE) $(AM_MAKEFLAGS) uninstall \ && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ distuninstallcheck \ && chmod -R a-w "$$dc_install_base" \ && ({ \ (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ } || { rm -rf "$$dc_destdir"; exit 1; }) \ && rm -rf "$$dc_destdir" \ && $(MAKE) $(AM_MAKEFLAGS) dist \ && rm -rf $(DIST_ARCHIVES) \ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ && cd "$$am__cwd" \ || exit 1 $(am__post_remove_distdir) @(echo "$(distdir) archives ready for distribution: "; \ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' distuninstallcheck: @test -n '$(distuninstallcheck_dir)' || { \ echo 'ERROR: trying to run $@ with an empty' \ '$$(distuninstallcheck_dir)' >&2; \ exit 1; \ }; \ $(am__cd) '$(distuninstallcheck_dir)' || { \ echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \ exit 1; \ }; \ test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \ || { echo "ERROR: files left after uninstall:" ; \ if test -n "$(DESTDIR)"; then \ echo " (check DESTDIR support)"; \ fi ; \ $(distuninstallcheck_listfiles) ; \ exit 1; } >&2 distcleancheck: distclean @if test '$(srcdir)' = . ; then \ echo "ERROR: distcleancheck can only run from a VPATH build" ; \ exit 1 ; \ fi @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ || { echo "ERROR: files left in build directory after distclean:" ; \ $(distcleancheck_listfiles) ; \ exit 1; } >&2 check-am: all-am check: check-recursive all-am: Makefile $(DATA) config.h installdirs: installdirs-recursive installdirs-am: for dir in "$(DESTDIR)$(docsdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic mostlyclean-am distclean: distclean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -f Makefile distclean-am: clean-am distclean-generic distclean-hdr distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: install-docsDATA install-dvi: install-dvi-recursive install-dvi-am: install-exec-am: install-html: install-html-recursive install-html-am: install-info: install-info-recursive install-info-am: install-man: install-pdf: install-pdf-recursive install-pdf-am: install-ps: install-ps-recursive install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf $(top_srcdir)/autom4te.cache -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-docsDATA .MAKE: $(am__recursive_targets) all install-am install-strip .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \ am--refresh check check-am clean clean-cscope clean-generic \ cscope cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \ dist-gzip dist-lzip dist-shar dist-tarZ dist-xz dist-zip \ distcheck distclean distclean-generic distclean-hdr \ distclean-tags distcleancheck distdir distuninstallcheck dvi \ dvi-am html html-am info info-am install install-am \ install-data install-data-am install-docsDATA install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ installdirs-am maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags \ tags-am uninstall uninstall-am uninstall-docsDATA .PRECIOUS: Makefile # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: mednaffe-0.8.6/NEWS000066400000000000000000000001011313731622300137620ustar00rootroot00000000000000Mednaffe NEWS - User visible changes. ----- See ChangeLog file. mednaffe-0.8.6/README000066400000000000000000000013241313731622300141530ustar00rootroot00000000000000## Mednaffe Mednaffe is a front-end (GUI) for mednafen emulator. Its main features are: * It is written in C language. * Available for Linux and Windows. * The only dependency is GTK+2 (or GTK+3). * GPLv3 licensed. *Note: Mednaffe only works with 0.9.41 or higher versions of mednafen emulator.* ## Building mednaffe on Linux To build mednaffe you need GTK+2 (2.24 or above) or GTK+3 (3.4 or above) development libraries. * Run the "configure" script here, e.g.: ``./configure`` If you want to build gtk3 version: ``./configure --enable-gtk3`` * Then build with: ``make`` * To install it then do: ``make install`` *Note: You do not need to install mednaffe, it can be run from /src folder.* mednaffe-0.8.6/README.md000066400000000000000000000020261313731622300145520ustar00rootroot00000000000000## Mednaffe Mednaffe is a front-end (GUI) for [mednafen emulator](http://mednafen.sourceforge.net "mednafen emulator") Its main features are: * It is written in C language. * Available for Linux and Windows. * The only dependency (on Linux) is GTK+2 (or GTK+3). * GPLv3 licensed. #### Downloads - Version 0.8.6 * You can download Mednaffe [here](https://sites.google.com/site/amatcoder/mednaffe/downloads/ "Downloads"). * You can see the changelog [here](https://github.com/AmatCoder/mednaffe/blob/master/ChangeLog "ChangeLog"). *Note: Mednaffe only works with 0.9.41 or higher versions of mednafen emulator.* #### Screenshots ###### Linux/GTK+2 ![Mednaffe on Linux/GTK+2](https://github.com/AmatCoder/mednaffe/blob/wiki/mednaffe_systems_settings_gtk2.png "Mednaffe on Linux/GTK+2") ###### Windows ![Mednaffe on Windows 7](https://github.com/AmatCoder/mednaffe/blob/wiki/mednaffe_systems_settings_win.png "Mednaffe on Windows 7") More screenshots [here](https://sites.google.com/site/amatcoder/mednaffe/screenshot "screenshots"). mednaffe-0.8.6/aclocal.m4000066400000000000000000001462531313731622300151460ustar00rootroot00000000000000# generated automatically by aclocal 1.15.1 -*- Autoconf -*- # Copyright (C) 1996-2017 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])]) m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],, [m4_warning([this file was generated for autoconf 2.69. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically 'autoreconf'.])]) # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- # serial 12 (pkg-config-0.29.2) dnl Copyright © 2004 Scott James Remnant . dnl Copyright © 2012-2015 Dan Nicholson dnl dnl This program is free software; you can redistribute it and/or modify dnl it under the terms of the GNU General Public License as published by dnl the Free Software Foundation; either version 2 of the License, or dnl (at your option) any later version. dnl dnl This program is distributed in the hope that it will be useful, but dnl WITHOUT ANY WARRANTY; without even the implied warranty of dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU dnl General Public License for more details. dnl dnl You should have received a copy of the GNU General Public License dnl along with this program; if not, write to the Free Software dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA dnl 02111-1307, USA. dnl dnl As a special exception to the GNU General Public License, if you dnl distribute this file as part of a program that contains a dnl configuration script generated by Autoconf, you may include it under dnl the same distribution terms that you use for the rest of that dnl program. dnl PKG_PREREQ(MIN-VERSION) dnl ----------------------- dnl Since: 0.29 dnl dnl Verify that the version of the pkg-config macros are at least dnl MIN-VERSION. Unlike PKG_PROG_PKG_CONFIG, which checks the user's dnl installed version of pkg-config, this checks the developer's version dnl of pkg.m4 when generating configure. dnl dnl To ensure that this macro is defined, also add: dnl m4_ifndef([PKG_PREREQ], dnl [m4_fatal([must install pkg-config 0.29 or later before running autoconf/autogen])]) dnl dnl See the "Since" comment for each macro you use to see what version dnl of the macros you require. m4_defun([PKG_PREREQ], [m4_define([PKG_MACROS_VERSION], [0.29.2]) m4_if(m4_version_compare(PKG_MACROS_VERSION, [$1]), -1, [m4_fatal([pkg.m4 version $1 or higher is required but ]PKG_MACROS_VERSION[ found])]) ])dnl PKG_PREREQ dnl PKG_PROG_PKG_CONFIG([MIN-VERSION]) dnl ---------------------------------- dnl Since: 0.16 dnl dnl Search for the pkg-config tool and set the PKG_CONFIG variable to dnl first found in the path. Checks that the version of pkg-config found dnl is at least MIN-VERSION. If MIN-VERSION is not specified, 0.9.0 is dnl used since that's the first version where most current features of dnl pkg-config existed. AC_DEFUN([PKG_PROG_PKG_CONFIG], [m4_pattern_forbid([^_?PKG_[A-Z_]+$]) m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$]) m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$]) AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility]) AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path]) AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path]) if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) fi if test -n "$PKG_CONFIG"; then _pkg_min_version=m4_default([$1], [0.9.0]) AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) PKG_CONFIG="" fi fi[]dnl ])dnl PKG_PROG_PKG_CONFIG dnl PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) dnl ------------------------------------------------------------------- dnl Since: 0.18 dnl dnl Check to see whether a particular set of modules exists. Similar to dnl PKG_CHECK_MODULES(), but does not set variables or print errors. dnl dnl Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG]) dnl only at the first occurence in configure.ac, so if the first place dnl it's called might be skipped (such as if it is within an "if", you dnl have to call PKG_CHECK_EXISTS manually AC_DEFUN([PKG_CHECK_EXISTS], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl if test -n "$PKG_CONFIG" && \ AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then m4_default([$2], [:]) m4_ifvaln([$3], [else $3])dnl fi]) dnl _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) dnl --------------------------------------------- dnl Internal wrapper calling pkg-config via PKG_CONFIG and setting dnl pkg_failed based on the result. m4_define([_PKG_CONFIG], [if test -n "$$1"; then pkg_cv_[]$1="$$1" elif test -n "$PKG_CONFIG"; then PKG_CHECK_EXISTS([$3], [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes]) else pkg_failed=untried fi[]dnl ])dnl _PKG_CONFIG dnl _PKG_SHORT_ERRORS_SUPPORTED dnl --------------------------- dnl Internal check to see if pkg-config supports short errors. AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], [AC_REQUIRE([PKG_PROG_PKG_CONFIG]) if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi[]dnl ])dnl _PKG_SHORT_ERRORS_SUPPORTED dnl PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], dnl [ACTION-IF-NOT-FOUND]) dnl -------------------------------------------------------------- dnl Since: 0.4.0 dnl dnl Note that if there is a possibility the first call to dnl PKG_CHECK_MODULES might not happen, you should be sure to include an dnl explicit call to PKG_PROG_PKG_CONFIG in your configure.ac AC_DEFUN([PKG_CHECK_MODULES], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl pkg_failed=no AC_MSG_CHECKING([for $2]) _PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) _PKG_CONFIG([$1][_LIBS], [libs], [$2]) m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS and $1[]_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.]) if test $pkg_failed = yes; then AC_MSG_RESULT([no]) _PKG_SHORT_ERRORS_SUPPORTED if test $_pkg_short_errors_supported = yes; then $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1` else $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD m4_default([$4], [AC_MSG_ERROR( [Package requirements ($2) were not met: $$1_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. _PKG_TEXT])[]dnl ]) elif test $pkg_failed = untried; then AC_MSG_RESULT([no]) m4_default([$4], [AC_MSG_FAILURE( [The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. _PKG_TEXT To get pkg-config, see .])[]dnl ]) else $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS $1[]_LIBS=$pkg_cv_[]$1[]_LIBS AC_MSG_RESULT([yes]) $3 fi[]dnl ])dnl PKG_CHECK_MODULES dnl PKG_CHECK_MODULES_STATIC(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], dnl [ACTION-IF-NOT-FOUND]) dnl --------------------------------------------------------------------- dnl Since: 0.29 dnl dnl Checks for existence of MODULES and gathers its build flags with dnl static libraries enabled. Sets VARIABLE-PREFIX_CFLAGS from --cflags dnl and VARIABLE-PREFIX_LIBS from --libs. dnl dnl Note that if there is a possibility the first call to dnl PKG_CHECK_MODULES_STATIC might not happen, you should be sure to dnl include an explicit call to PKG_PROG_PKG_CONFIG in your dnl configure.ac. AC_DEFUN([PKG_CHECK_MODULES_STATIC], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl _save_PKG_CONFIG=$PKG_CONFIG PKG_CONFIG="$PKG_CONFIG --static" PKG_CHECK_MODULES($@) PKG_CONFIG=$_save_PKG_CONFIG[]dnl ])dnl PKG_CHECK_MODULES_STATIC dnl PKG_INSTALLDIR([DIRECTORY]) dnl ------------------------- dnl Since: 0.27 dnl dnl Substitutes the variable pkgconfigdir as the location where a module dnl should install pkg-config .pc files. By default the directory is dnl $libdir/pkgconfig, but the default can be changed by passing dnl DIRECTORY. The user can override through the --with-pkgconfigdir dnl parameter. AC_DEFUN([PKG_INSTALLDIR], [m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])]) m4_pushdef([pkg_description], [pkg-config installation directory @<:@]pkg_default[@:>@]) AC_ARG_WITH([pkgconfigdir], [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],, [with_pkgconfigdir=]pkg_default) AC_SUBST([pkgconfigdir], [$with_pkgconfigdir]) m4_popdef([pkg_default]) m4_popdef([pkg_description]) ])dnl PKG_INSTALLDIR dnl PKG_NOARCH_INSTALLDIR([DIRECTORY]) dnl -------------------------------- dnl Since: 0.27 dnl dnl Substitutes the variable noarch_pkgconfigdir as the location where a dnl module should install arch-independent pkg-config .pc files. By dnl default the directory is $datadir/pkgconfig, but the default can be dnl changed by passing DIRECTORY. The user can override through the dnl --with-noarch-pkgconfigdir parameter. AC_DEFUN([PKG_NOARCH_INSTALLDIR], [m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])]) m4_pushdef([pkg_description], [pkg-config arch-independent installation directory @<:@]pkg_default[@:>@]) AC_ARG_WITH([noarch-pkgconfigdir], [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],, [with_noarch_pkgconfigdir=]pkg_default) AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir]) m4_popdef([pkg_default]) m4_popdef([pkg_description]) ])dnl PKG_NOARCH_INSTALLDIR dnl PKG_CHECK_VAR(VARIABLE, MODULE, CONFIG-VARIABLE, dnl [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) dnl ------------------------------------------- dnl Since: 0.28 dnl dnl Retrieves the value of the pkg-config variable for the given module. AC_DEFUN([PKG_CHECK_VAR], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl _PKG_CONFIG([$1], [variable="][$3]["], [$2]) AS_VAR_COPY([$1], [pkg_cv_][$1]) AS_VAR_IF([$1], [""], [$5], [$4])dnl ])dnl PKG_CHECK_VAR # Copyright (C) 2002-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_AUTOMAKE_VERSION(VERSION) # ---------------------------- # Automake X.Y traces this macro to ensure aclocal.m4 has been # generated from the m4 files accompanying Automake X.Y. # (This private macro should not be called outside this file.) AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.15' dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to dnl require some minimum version. Point them to the right macro. m4_if([$1], [1.15.1], [], [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl ]) # _AM_AUTOCONF_VERSION(VERSION) # ----------------------------- # aclocal traces this macro to find the Autoconf version. # This is a private macro too. Using m4_define simplifies # the logic in aclocal, which can simply ignore this definition. m4_define([_AM_AUTOCONF_VERSION], []) # AM_SET_CURRENT_AUTOMAKE_VERSION # ------------------------------- # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.15.1])dnl m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) # AM_AUX_DIR_EXPAND -*- Autoconf -*- # Copyright (C) 2001-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets # $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to # '$srcdir', '$srcdir/..', or '$srcdir/../..'. # # Of course, Automake must honor this variable whenever it calls a # tool from the auxiliary directory. The problem is that $srcdir (and # therefore $ac_aux_dir as well) can be either absolute or relative, # depending on how configure is run. This is pretty annoying, since # it makes $ac_aux_dir quite unusable in subdirectories: in the top # source directory, any form will work fine, but in subdirectories a # relative path needs to be adjusted first. # # $ac_aux_dir/missing # fails when called from a subdirectory if $ac_aux_dir is relative # $top_srcdir/$ac_aux_dir/missing # fails if $ac_aux_dir is absolute, # fails when called from a subdirectory in a VPATH build with # a relative $ac_aux_dir # # The reason of the latter failure is that $top_srcdir and $ac_aux_dir # are both prefixed by $srcdir. In an in-source build this is usually # harmless because $srcdir is '.', but things will broke when you # start a VPATH build or use an absolute $srcdir. # # So we could use something similar to $top_srcdir/$ac_aux_dir/missing, # iff we strip the leading $srcdir from $ac_aux_dir. That would be: # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` # and then we would define $MISSING as # MISSING="\${SHELL} $am_aux_dir/missing" # This will work as long as MISSING is not called from configure, because # unfortunately $(top_srcdir) has no meaning in configure. # However there are other variables, like CC, which are often used in # configure, and could therefore not use this "fixed" $ac_aux_dir. # # Another solution, used here, is to always expand $ac_aux_dir to an # absolute PATH. The drawback is that using absolute paths prevent a # configured tree to be moved without reconfiguration. AC_DEFUN([AM_AUX_DIR_EXPAND], [AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl # Expand $ac_aux_dir to an absolute path. am_aux_dir=`cd "$ac_aux_dir" && pwd` ]) # AM_CONDITIONAL -*- Autoconf -*- # Copyright (C) 1997-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_CONDITIONAL(NAME, SHELL-CONDITION) # ------------------------------------- # Define a conditional. AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ([2.52])dnl m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl AC_SUBST([$1_TRUE])dnl AC_SUBST([$1_FALSE])dnl _AM_SUBST_NOTMAKE([$1_TRUE])dnl _AM_SUBST_NOTMAKE([$1_FALSE])dnl m4_define([_AM_COND_VALUE_$1], [$2])dnl if $2; then $1_TRUE= $1_FALSE='#' else $1_TRUE='#' $1_FALSE= fi AC_CONFIG_COMMANDS_PRE( [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then AC_MSG_ERROR([[conditional "$1" was never defined. Usually this means the macro was only invoked conditionally.]]) fi])]) # Copyright (C) 1999-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be # written in clear, in which case automake, when reading aclocal.m4, # will think it sees a *use*, and therefore will trigger all it's # C support machinery. Also note that it means that autoscan, seeing # CC etc. in the Makefile, will ask for an AC_PROG_CC use... # _AM_DEPENDENCIES(NAME) # ---------------------- # See how the compiler implements dependency checking. # NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC". # We try a few techniques and use that to set a single cache variable. # # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular # dependency, and given that the user is not expected to run this macro, # just rely on AC_PROG_CC. AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl AC_REQUIRE([AM_MAKE_INCLUDE])dnl AC_REQUIRE([AM_DEP_TRACK])dnl m4_if([$1], [CC], [depcc="$CC" am_compiler_list=], [$1], [CXX], [depcc="$CXX" am_compiler_list=], [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'], [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'], [$1], [UPC], [depcc="$UPC" am_compiler_list=], [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'], [depcc="$$1" am_compiler_list=]) AC_CACHE_CHECK([dependency style of $depcc], [am_cv_$1_dependencies_compiler_type], [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named 'D' -- because '-MD' means "put the output # in D". rm -rf conftest.dir mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_$1_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` fi am__universal=false m4_case([$1], [CC], [case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac], [CXX], [case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac]) for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with # Solaris 10 /bin/sh. echo '/* dummy */' > sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf # We check with '-c' and '-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle '-M -o', and we need to detect this. Also, some Intel # versions had trouble with output in subdirs. am__obj=sub/conftest.${OBJEXT-o} am__minus_obj="-o $am__obj" case $depmode in gcc) # This depmode causes a compiler race in universal mode. test "$am__universal" = false || continue ;; nosideeffect) # After this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested. if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; msvc7 | msvc7msys | msvisualcpp | msvcmsys) # This compiler won't grok '-c -o', but also, the minuso test has # not run yet. These depmodes are late enough in the game, and # so weak that their functioning should not be impacted. am__obj=conftest.${OBJEXT-o} am__minus_obj= ;; none) break ;; esac if depmode=$depmode \ source=sub/conftest.c object=$am__obj \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep $am__obj sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_$1_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_$1_dependencies_compiler_type=none fi ]) AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) AM_CONDITIONAL([am__fastdep$1], [ test "x$enable_dependency_tracking" != xno \ && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) ]) # AM_SET_DEPDIR # ------------- # Choose a directory name for dependency files. # This macro is AC_REQUIREd in _AM_DEPENDENCIES. AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl ]) # AM_DEP_TRACK # ------------ AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE([dependency-tracking], [dnl AS_HELP_STRING( [--enable-dependency-tracking], [do not reject slow dependency extractors]) AS_HELP_STRING( [--disable-dependency-tracking], [speeds up one-time build])]) if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' am__nodep='_no' fi AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) AC_SUBST([AMDEPBACKSLASH])dnl _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl AC_SUBST([am__nodep])dnl _AM_SUBST_NOTMAKE([am__nodep])dnl ]) # Generate code to set up dependency tracking. -*- Autoconf -*- # Copyright (C) 1999-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_OUTPUT_DEPENDENCY_COMMANDS # ------------------------------ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{ # Older Autoconf quotes --file arguments for eval, but not when files # are listed without --file. Let's play safe and only enable the eval # if we detect the quoting. case $CONFIG_FILES in *\'*) eval set x "$CONFIG_FILES" ;; *) set x $CONFIG_FILES ;; esac shift for mf do # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. # We used to match only the files named 'Makefile.in', but # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. # Grep'ing the whole file is not good either: AIX grep has a line # limit of 2048, but all sed's we know have understand at least 4000. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then dirpart=`AS_DIRNAME("$mf")` else continue fi # Extract the definition of DEPDIR, am__include, and am__quote # from the Makefile without running 'make'. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue am__include=`sed -n 's/^am__include = //p' < "$mf"` test -z "$am__include" && continue am__quote=`sed -n 's/^am__quote = //p' < "$mf"` # Find all dependency output files, they are included files with # $(DEPDIR) in their names. We invoke sed twice because it is the # simplest approach to changing $(DEPDIR) to its actual value in the # expansion. for file in `sed -n " s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`AS_DIRNAME(["$file"])` AS_MKDIR_P([$dirpart/$fdir]) # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done } ])# _AM_OUTPUT_DEPENDENCY_COMMANDS # AM_OUTPUT_DEPENDENCY_COMMANDS # ----------------------------- # This macro should only be invoked once -- use via AC_REQUIRE. # # This code is only required when automatic dependency tracking # is enabled. FIXME. This creates each '.P' file that we will # need in order to bootstrap the dependency handling code. AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles], [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) ]) # Do all the work for Automake. -*- Autoconf -*- # Copyright (C) 1996-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This macro actually does too much. Some checks are only needed if # your package does certain things. But this isn't really a big deal. dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O. m4_define([AC_PROG_CC], m4_defn([AC_PROG_CC]) [_AM_PROG_CC_C_O ]) # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) # AM_INIT_AUTOMAKE([OPTIONS]) # ----------------------------------------------- # The call with PACKAGE and VERSION arguments is the old style # call (pre autoconf-2.50), which is being phased out. PACKAGE # and VERSION should now be passed to AC_INIT and removed from # the call to AM_INIT_AUTOMAKE. # We support both call styles for the transition. After # the next Automake release, Autoconf can make the AC_INIT # arguments mandatory, and then we can depend on a new Autoconf # release and drop the old call support. AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.65])dnl dnl Autoconf wants to disallow AM_ names. We explicitly allow dnl the ones we care about. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl AC_REQUIRE([AC_PROG_INSTALL])dnl if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl # test to see if srcdir already configured if test -f $srcdir/config.status; then AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) fi fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi AC_SUBST([CYGPATH_W]) # Define the identity of the package. dnl Distinguish between old-style and new-style calls. m4_ifval([$2], [AC_DIAGNOSE([obsolete], [$0: two- and three-arguments forms are deprecated.]) m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl AC_SUBST([PACKAGE], [$1])dnl AC_SUBST([VERSION], [$2])], [_AM_SET_OPTIONS([$1])dnl dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. m4_if( m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]), [ok:ok],, [m4_fatal([AC_INIT should be called with package and version arguments])])dnl AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl _AM_IF_OPTION([no-define],, [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package]) AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl # Some tools Automake needs. AC_REQUIRE([AM_SANITY_CHECK])dnl AC_REQUIRE([AC_ARG_PROGRAM])dnl AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}]) AM_MISSING_PROG([AUTOCONF], [autoconf]) AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}]) AM_MISSING_PROG([AUTOHEADER], [autoheader]) AM_MISSING_PROG([MAKEINFO], [makeinfo]) AC_REQUIRE([AM_PROG_INSTALL_SH])dnl AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl AC_REQUIRE([AC_PROG_MKDIR_P])dnl # For better backward compatibility. To be removed once Automake 1.9.x # dies out for good. For more background, see: # # AC_SUBST([mkdir_p], ['$(MKDIR_P)']) # We need awk for the "check" target (and possibly the TAP driver). The # system "awk" is bad on some platforms. AC_REQUIRE([AC_PROG_AWK])dnl AC_REQUIRE([AC_PROG_MAKE_SET])dnl AC_REQUIRE([AM_SET_LEADING_DOT])dnl _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])]) _AM_IF_OPTION([no-dependencies],, [AC_PROVIDE_IFELSE([AC_PROG_CC], [_AM_DEPENDENCIES([CC])], [m4_define([AC_PROG_CC], m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl AC_PROVIDE_IFELSE([AC_PROG_CXX], [_AM_DEPENDENCIES([CXX])], [m4_define([AC_PROG_CXX], m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl AC_PROVIDE_IFELSE([AC_PROG_OBJC], [_AM_DEPENDENCIES([OBJC])], [m4_define([AC_PROG_OBJC], m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl AC_PROVIDE_IFELSE([AC_PROG_OBJCXX], [_AM_DEPENDENCIES([OBJCXX])], [m4_define([AC_PROG_OBJCXX], m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl ]) AC_REQUIRE([AM_SILENT_RULES])dnl dnl The testsuite driver may need to know about EXEEXT, so add the dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below. AC_CONFIG_COMMANDS_PRE(dnl [m4_provide_if([_AM_COMPILER_EXEEXT], [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl # POSIX will say in a future version that running "rm -f" with no argument # is OK; and we want to be able to make that assumption in our Makefile # recipes. So use an aggressive probe to check that the usage we want is # actually supported "in the wild" to an acceptable degree. # See automake bug#10828. # To make any issue more visible, cause the running configure to be aborted # by default if the 'rm' program in use doesn't match our expectations; the # user can still override this though. if rm -f && rm -fr && rm -rf; then : OK; else cat >&2 <<'END' Oops! Your 'rm' program seems unable to run without file operands specified on the command line, even when the '-f' option is present. This is contrary to the behaviour of most rm programs out there, and not conforming with the upcoming POSIX standard: Please tell bug-automake@gnu.org about your system, including the value of your $PATH and any error possibly output before this message. This can help us improve future automake versions. END if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then echo 'Configuration will proceed anyway, since you have set the' >&2 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 echo >&2 else cat >&2 <<'END' Aborting the configuration process, to ensure you take notice of the issue. You can download and install GNU coreutils to get an 'rm' implementation that behaves properly: . If you want to complete the configuration process using your problematic 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM to "yes", and re-run configure. END AC_MSG_ERROR([Your 'rm' program is bad, sorry.]) fi fi dnl The trailing newline in this macro's definition is deliberate, for dnl backward compatibility and to allow trailing 'dnl'-style comments dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841. ]) dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further dnl mangled by Autoconf and run in a shell conditional statement. m4_define([_AC_COMPILER_EXEEXT], m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) # When config.status generates a header, we must update the stamp-h file. # This file resides in the same directory as the config header # that is generated. The stamp files are numbered to have different names. # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the # loop where config.status creates the headers, so we can generate # our stamp files there. AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers. _am_arg=$1 _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $_am_arg | $_am_arg:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) # Copyright (C) 2001-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_INSTALL_SH # ------------------ # Define $install_sh. AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl if test x"${install_sh+set}" != xset; then case $am_aux_dir in *\ * | *\ *) install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; *) install_sh="\${SHELL} $am_aux_dir/install-sh" esac fi AC_SUBST([install_sh])]) # Copyright (C) 2003-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # Check whether the underlying file-system supports filenames # with a leading dot. For instance MS-DOS doesn't. AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null AC_SUBST([am__leading_dot])]) # Check to see how 'make' treats includes. -*- Autoconf -*- # Copyright (C) 2001-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_MAKE_INCLUDE() # ----------------- # Check to see how make treats includes. AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make} cat > confinc << 'END' am__doit: @echo this is the am__doit target .PHONY: am__doit END # If we don't find an include directive, just comment out the code. AC_MSG_CHECKING([for style of include used by $am_make]) am__include="#" am__quote= _am_result=none # First try GNU make style include. echo "include confinc" > confmf # Ignore all kinds of additional output from 'make'. case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=include am__quote= _am_result=GNU ;; esac # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=.include am__quote="\"" _am_result=BSD ;; esac fi AC_SUBST([am__include]) AC_SUBST([am__quote]) AC_MSG_RESULT([$_am_result]) rm -f confinc confmf ]) # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- # Copyright (C) 1997-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_MISSING_PROG(NAME, PROGRAM) # ------------------------------ AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN]) $1=${$1-"${am_missing_run}$2"} AC_SUBST($1)]) # AM_MISSING_HAS_RUN # ------------------ # Define MISSING if not defined so far and test if it is modern enough. # If it is, set am_missing_run to use it, otherwise, to nothing. AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl AC_REQUIRE_AUX_FILE([missing])dnl if test x"${MISSING+set}" != xset; then case $am_aux_dir in *\ * | *\ *) MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; *) MISSING="\${SHELL} $am_aux_dir/missing" ;; esac fi # Use eval to expand $SHELL if eval "$MISSING --is-lightweight"; then am_missing_run="$MISSING " else am_missing_run= AC_MSG_WARN(['missing' script is too old or missing]) fi ]) # Helper functions for option handling. -*- Autoconf -*- # Copyright (C) 2001-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_MANGLE_OPTION(NAME) # ----------------------- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) # _AM_SET_OPTION(NAME) # -------------------- # Set option NAME. Presently that only means defining a flag for this option. AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), [1])]) # _AM_SET_OPTIONS(OPTIONS) # ------------------------ # OPTIONS is a space-separated list of Automake options. AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) # ------------------------------------------- # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) # Copyright (C) 1999-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_PROG_CC_C_O # --------------- # Like AC_PROG_CC_C_O, but changed for automake. We rewrite AC_PROG_CC # to automatically call this. AC_DEFUN([_AM_PROG_CC_C_O], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl AC_REQUIRE_AUX_FILE([compile])dnl AC_LANG_PUSH([C])dnl AC_CACHE_CHECK( [whether $CC understands -c and -o together], [am_cv_prog_cc_c_o], [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])]) # Make sure it works both with $CC and with simple cc. # Following AC_PROG_CC_C_O, we do the test twice because some # compilers refuse to overwrite an existing .o file with -o, # though they will create one. am_cv_prog_cc_c_o=yes for am_i in 1 2; do if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \ && test -f conftest2.$ac_objext; then : OK else am_cv_prog_cc_c_o=no break fi done rm -f core conftest* unset am_i]) if test "$am_cv_prog_cc_c_o" != yes; then # Losing compiler, so override with the script. # FIXME: It is wrong to rewrite CC. # But if we don't then we get into trouble of one sort or another. # A longer-term fix would be to have automake use am__CC in this case, # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" CC="$am_aux_dir/compile $CC" fi AC_LANG_POP([C])]) # For backward compatibility. AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])]) # Copyright (C) 2001-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_RUN_LOG(COMMAND) # ------------------- # Run COMMAND, save the exit status in ac_status, and log it. # (This has been adapted from Autoconf's _AC_RUN_LOG macro.) AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD (exit $ac_status); }]) # Check to make sure that the build environment is sane. -*- Autoconf -*- # Copyright (C) 1996-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_SANITY_CHECK # --------------- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane]) # Reject unsafe characters in $srcdir or the absolute working directory # name. Accept space and tab only in the latter. am_lf=' ' case `pwd` in *[[\\\"\#\$\&\'\`$am_lf]]*) AC_MSG_ERROR([unsafe absolute working directory name]);; esac case $srcdir in *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);; esac # Do 'set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( am_has_slept=no for am_try in 1 2; do echo "timestamp, slept: $am_has_slept" > conftest.file set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` if test "$[*]" = "X"; then # -L didn't work. set X `ls -t "$srcdir/configure" conftest.file` fi if test "$[*]" != "X $srcdir/configure conftest.file" \ && test "$[*]" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken alias in your environment]) fi if test "$[2]" = conftest.file || test $am_try -eq 2; then break fi # Just in case. sleep 1 am_has_slept=yes done test "$[2]" = conftest.file ) then # Ok. : else AC_MSG_ERROR([newly created file is older than distributed files! Check your system clock]) fi AC_MSG_RESULT([yes]) # If we didn't sleep, we still need to ensure time stamps of config.status and # generated files are strictly newer. am_sleep_pid= if grep 'slept: no' conftest.file >/dev/null 2>&1; then ( sleep 1 ) & am_sleep_pid=$! fi AC_CONFIG_COMMANDS_PRE( [AC_MSG_CHECKING([that generated files are newer than configure]) if test -n "$am_sleep_pid"; then # Hide warnings about reused PIDs. wait $am_sleep_pid 2>/dev/null fi AC_MSG_RESULT([done])]) rm -f conftest.file ]) # Copyright (C) 2009-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_SILENT_RULES([DEFAULT]) # -------------------------- # Enable less verbose build rules; with the default set to DEFAULT # ("yes" being less verbose, "no" or empty being verbose). AC_DEFUN([AM_SILENT_RULES], [AC_ARG_ENABLE([silent-rules], [dnl AS_HELP_STRING( [--enable-silent-rules], [less verbose build output (undo: "make V=1")]) AS_HELP_STRING( [--disable-silent-rules], [verbose build output (undo: "make V=0")])dnl ]) case $enable_silent_rules in @%:@ ((( yes) AM_DEFAULT_VERBOSITY=0;; no) AM_DEFAULT_VERBOSITY=1;; *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);; esac dnl dnl A few 'make' implementations (e.g., NonStop OS and NextStep) dnl do not support nested variable expansions. dnl See automake bug#9928 and bug#10237. am_make=${MAKE-make} AC_CACHE_CHECK([whether $am_make supports nested variables], [am_cv_make_support_nested_variables], [if AS_ECHO([['TRUE=$(BAR$(V)) BAR0=false BAR1=true V=1 am__doit: @$(TRUE) .PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then am_cv_make_support_nested_variables=yes else am_cv_make_support_nested_variables=no fi]) if test $am_cv_make_support_nested_variables = yes; then dnl Using '$V' instead of '$(V)' breaks IRIX make. AM_V='$(V)' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' else AM_V=$AM_DEFAULT_VERBOSITY AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY fi AC_SUBST([AM_V])dnl AM_SUBST_NOTMAKE([AM_V])dnl AC_SUBST([AM_DEFAULT_V])dnl AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl AC_SUBST([AM_DEFAULT_VERBOSITY])dnl AM_BACKSLASH='\' AC_SUBST([AM_BACKSLASH])dnl _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl ]) # Copyright (C) 2001-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_INSTALL_STRIP # --------------------- # One issue with vendor 'install' (even GNU) is that you can't # specify the program used to strip binaries. This is especially # annoying in cross-compiling environments, where the build's strip # is unlikely to handle the host's binaries. # Fortunately install-sh will honor a STRIPPROG variable, so we # always use install-sh in "make install-strip", and initialize # STRIPPROG with the value of the STRIP variable (set by the user). AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl # Installed binaries are usually stripped using 'strip' when the user # run "make install-strip". However 'strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the 'STRIP' environment variable to overrule this program. dnl Don't test for $cross_compiling = yes, because it might be 'maybe'. if test "$cross_compiling" != no; then AC_CHECK_TOOL([STRIP], [strip], :) fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) # Copyright (C) 2006-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_SUBST_NOTMAKE(VARIABLE) # --------------------------- # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. # This macro is traced by Automake. AC_DEFUN([_AM_SUBST_NOTMAKE]) # AM_SUBST_NOTMAKE(VARIABLE) # -------------------------- # Public sister of _AM_SUBST_NOTMAKE. AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) # Check how to create a tarball. -*- Autoconf -*- # Copyright (C) 2004-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_PROG_TAR(FORMAT) # -------------------- # Check how to create a tarball in format FORMAT. # FORMAT should be one of 'v7', 'ustar', or 'pax'. # # Substitute a variable $(am__tar) that is a command # writing to stdout a FORMAT-tarball containing the directory # $tardir. # tardir=directory && $(am__tar) > result.tar # # Substitute a variable $(am__untar) that extract such # a tarball read from stdin. # $(am__untar) < result.tar # AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. Yes, it's still used # in the wild :-( We should find a proper way to deprecate it ... AC_SUBST([AMTAR], ['$${TAR-tar}']) # We'll loop over all known methods to create a tar archive until one works. _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' m4_if([$1], [v7], [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], [m4_case([$1], [ustar], [# The POSIX 1988 'ustar' format is defined with fixed-size fields. # There is notably a 21 bits limit for the UID and the GID. In fact, # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 # and bug#13588). am_max_uid=2097151 # 2^21 - 1 am_max_gid=$am_max_uid # The $UID and $GID variables are not portable, so we need to resort # to the POSIX-mandated id(1) utility. Errors in the 'id' calls # below are definitely unexpected, so allow the users to see them # (that is, avoid stderr redirection). am_uid=`id -u || echo unknown` am_gid=`id -g || echo unknown` AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format]) if test $am_uid -le $am_max_uid; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) _am_tools=none fi AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format]) if test $am_gid -le $am_max_gid; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) _am_tools=none fi], [pax], [], [m4_fatal([Unknown tar format])]) AC_MSG_CHECKING([how to create a $1 tar archive]) # Go ahead even if we have the value already cached. We do so because we # need to set the values for the 'am__tar' and 'am__untar' variables. _am_tools=${am_cv_prog_tar_$1-$_am_tools} for _am_tool in $_am_tools; do case $_am_tool in gnutar) for _am_tar in tar gnutar gtar; do AM_RUN_LOG([$_am_tar --version]) && break done am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' am__untar="$_am_tar -xf -" ;; plaintar) # Must skip GNU tar: if it does not support --format= it doesn't create # ustar tarball either. (tar --version) >/dev/null 2>&1 && continue am__tar='tar chf - "$$tardir"' am__tar_='tar chf - "$tardir"' am__untar='tar xf -' ;; pax) am__tar='pax -L -x $1 -w "$$tardir"' am__tar_='pax -L -x $1 -w "$tardir"' am__untar='pax -r' ;; cpio) am__tar='find "$$tardir" -print | cpio -o -H $1 -L' am__tar_='find "$tardir" -print | cpio -o -H $1 -L' am__untar='cpio -i -H $1 -d' ;; none) am__tar=false am__tar_=false am__untar=false ;; esac # If the value was cached, stop now. We just wanted to have am__tar # and am__untar set. test -n "${am_cv_prog_tar_$1}" && break # tar/untar a dummy directory, and stop if the command works. rm -rf conftest.dir mkdir conftest.dir echo GrepMe > conftest.dir/file AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) rm -rf conftest.dir if test -s conftest.tar; then AM_RUN_LOG([$am__untar /dev/null 2>&1 && break fi done rm -rf conftest.dir AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) AC_MSG_RESULT([$am_cv_prog_tar_$1])]) AC_SUBST([am__tar]) AC_SUBST([am__untar]) ]) # _AM_PROG_TAR mednaffe-0.8.6/compile000077500000000000000000000163261313731622300146610ustar00rootroot00000000000000#! /bin/sh # Wrapper for compilers which do not understand '-c -o'. scriptversion=2016-01-11.22; # UTC # Copyright (C) 1999-2017 Free Software Foundation, Inc. # Written by Tom Tromey . # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # This file is maintained in Automake, please report # bugs to or send patches to # . nl=' ' # We need space, tab and new line, in precisely that order. Quoting is # there to prevent tools from complaining about whitespace usage. IFS=" "" $nl" file_conv= # func_file_conv build_file lazy # Convert a $build file to $host form and store it in $file # Currently only supports Windows hosts. If the determined conversion # type is listed in (the comma separated) LAZY, no conversion will # take place. func_file_conv () { file=$1 case $file in / | /[!/]*) # absolute file, and not a UNC file if test -z "$file_conv"; then # lazily determine how to convert abs files case `uname -s` in MINGW*) file_conv=mingw ;; CYGWIN*) file_conv=cygwin ;; *) file_conv=wine ;; esac fi case $file_conv/,$2, in *,$file_conv,*) ;; mingw/*) file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'` ;; cygwin/*) file=`cygpath -m "$file" || echo "$file"` ;; wine/*) file=`winepath -w "$file" || echo "$file"` ;; esac ;; esac } # func_cl_dashL linkdir # Make cl look for libraries in LINKDIR func_cl_dashL () { func_file_conv "$1" if test -z "$lib_path"; then lib_path=$file else lib_path="$lib_path;$file" fi linker_opts="$linker_opts -LIBPATH:$file" } # func_cl_dashl library # Do a library search-path lookup for cl func_cl_dashl () { lib=$1 found=no save_IFS=$IFS IFS=';' for dir in $lib_path $LIB do IFS=$save_IFS if $shared && test -f "$dir/$lib.dll.lib"; then found=yes lib=$dir/$lib.dll.lib break fi if test -f "$dir/$lib.lib"; then found=yes lib=$dir/$lib.lib break fi if test -f "$dir/lib$lib.a"; then found=yes lib=$dir/lib$lib.a break fi done IFS=$save_IFS if test "$found" != yes; then lib=$lib.lib fi } # func_cl_wrapper cl arg... # Adjust compile command to suit cl func_cl_wrapper () { # Assume a capable shell lib_path= shared=: linker_opts= for arg do if test -n "$eat"; then eat= else case $1 in -o) # configure might choose to run compile as 'compile cc -o foo foo.c'. eat=1 case $2 in *.o | *.[oO][bB][jJ]) func_file_conv "$2" set x "$@" -Fo"$file" shift ;; *) func_file_conv "$2" set x "$@" -Fe"$file" shift ;; esac ;; -I) eat=1 func_file_conv "$2" mingw set x "$@" -I"$file" shift ;; -I*) func_file_conv "${1#-I}" mingw set x "$@" -I"$file" shift ;; -l) eat=1 func_cl_dashl "$2" set x "$@" "$lib" shift ;; -l*) func_cl_dashl "${1#-l}" set x "$@" "$lib" shift ;; -L) eat=1 func_cl_dashL "$2" ;; -L*) func_cl_dashL "${1#-L}" ;; -static) shared=false ;; -Wl,*) arg=${1#-Wl,} save_ifs="$IFS"; IFS=',' for flag in $arg; do IFS="$save_ifs" linker_opts="$linker_opts $flag" done IFS="$save_ifs" ;; -Xlinker) eat=1 linker_opts="$linker_opts $2" ;; -*) set x "$@" "$1" shift ;; *.cc | *.CC | *.cxx | *.CXX | *.[cC]++) func_file_conv "$1" set x "$@" -Tp"$file" shift ;; *.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.[oO]) func_file_conv "$1" mingw set x "$@" "$file" shift ;; *) set x "$@" "$1" shift ;; esac fi shift done if test -n "$linker_opts"; then linker_opts="-link$linker_opts" fi exec "$@" $linker_opts exit 1 } eat= case $1 in '') echo "$0: No command. Try '$0 --help' for more information." 1>&2 exit 1; ;; -h | --h*) cat <<\EOF Usage: compile [--help] [--version] PROGRAM [ARGS] Wrapper for compilers which do not understand '-c -o'. Remove '-o dest.o' from ARGS, run PROGRAM with the remaining arguments, and rename the output as expected. If you are trying to build a whole package this is not the right script to run: please start by reading the file 'INSTALL'. Report bugs to . EOF exit $? ;; -v | --v*) echo "compile $scriptversion" exit $? ;; cl | *[/\\]cl | cl.exe | *[/\\]cl.exe | \ icl | *[/\\]icl | icl.exe | *[/\\]icl.exe ) func_cl_wrapper "$@" # Doesn't return... ;; esac ofile= cfile= for arg do if test -n "$eat"; then eat= else case $1 in -o) # configure might choose to run compile as 'compile cc -o foo foo.c'. # So we strip '-o arg' only if arg is an object. eat=1 case $2 in *.o | *.obj) ofile=$2 ;; *) set x "$@" -o "$2" shift ;; esac ;; *.c) cfile=$1 set x "$@" "$1" shift ;; *) set x "$@" "$1" shift ;; esac fi shift done if test -z "$ofile" || test -z "$cfile"; then # If no '-o' option was seen then we might have been invoked from a # pattern rule where we don't need one. That is ok -- this is a # normal compilation that the losing compiler can handle. If no # '.c' file was seen then we are probably linking. That is also # ok. exec "$@" fi # Name of file we expect compiler to create. cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'` # Create the lock directory. # Note: use '[/\\:.-]' here to ensure that we don't use the same name # that we are using for the .o file. Also, base the name on the expected # object file name, since that is what matters with a parallel build. lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d while true; do if mkdir "$lockdir" >/dev/null 2>&1; then break fi sleep 1 done # FIXME: race condition here if user kills between mkdir and trap. trap "rmdir '$lockdir'; exit 1" 1 2 15 # Run the compile. "$@" ret=$? if test -f "$cofile"; then test "$cofile" = "$ofile" || mv "$cofile" "$ofile" elif test -f "${cofile}bj"; then test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile" fi rmdir "$lockdir" exit $ret # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC0" # time-stamp-end: "; # UTC" # End: mednaffe-0.8.6/config.h.in000066400000000000000000000013431313731622300153170ustar00rootroot00000000000000/* config.h.in. Generated from configure.ac by autoheader. */ /* Define to 1 if you have GTK 2 */ #undef GTK2_ENABLED /* Define to 1 if you have GTK 3 */ #undef GTK3_ENABLED /* Name of package */ #undef PACKAGE /* Define to the address where bug reports for this package should be sent. */ #undef PACKAGE_BUGREPORT /* Define to the full name of this package. */ #undef PACKAGE_NAME /* Define to the full name and version of this package. */ #undef PACKAGE_STRING /* Define to the one symbol short name of this package. */ #undef PACKAGE_TARNAME /* Define to the home page for this package. */ #undef PACKAGE_URL /* Define to the version of this package. */ #undef PACKAGE_VERSION /* Version number of package */ #undef VERSION mednaffe-0.8.6/configure000077500000000000000000004630701313731622300152140ustar00rootroot00000000000000#! /bin/sh # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.69 for mednaffe 0.8.6. # # Report bugs to . # # # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. # # # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. ## -------------------- ## ## M4sh Initialization. ## ## -------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi as_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo # Prefer a ksh shell builtin over an external printf program on Solaris, # but without wasting forks for bash or zsh. if test -z "$BASH_VERSION$ZSH_VERSION" \ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='print -r --' as_echo_n='print -rn --' elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in #( *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. as_myself= case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi # Unset variables that we do not need and which cause bugs (e.g. in # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" # suppresses any "Segmentation fault" message there. '((' could # trigger a bug in pdksh 5.2.14. for as_var in BASH_ENV ENV MAIL MAILPATH do eval test x\${$as_var+set} = xset \ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH # Use a proper internal environment variable to ensure we don't fall # into an infinite loop, continuously re-executing ourselves. if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then _as_can_reexec=no; export _as_can_reexec; # We cannot yet assume a decent shell, so we have to provide a # neutralization value for shells without unset; and this also # works around shells that cannot unset nonexistent variables. # Preserve -v and -x to the replacement shell. BASH_ENV=/dev/null ENV=/dev/null (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV case $- in # (((( *v*x* | *x*v* ) as_opts=-vx ;; *v* ) as_opts=-v ;; *x* ) as_opts=-x ;; * ) as_opts= ;; esac exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} # Admittedly, this is quite paranoid, since all the known shells bail # out after a failed `exec'. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 as_fn_exit 255 fi # We don't want this to propagate to other subprocesses. { _as_can_reexec=; unset _as_can_reexec;} if test "x$CONFIG_SHELL" = x; then as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which # is contrary to our usage. Disable this feature. alias -g '\${1+\"\$@\"}'='\"\$@\"' setopt NO_GLOB_SUBST else case \`(set -o) 2>/dev/null\` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi " as_required="as_fn_return () { (exit \$1); } as_fn_success () { as_fn_return 0; } as_fn_failure () { as_fn_return 1; } as_fn_ret_success () { return 0; } as_fn_ret_failure () { return 1; } exitcode=0 as_fn_success || { exitcode=1; echo as_fn_success failed.; } as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : else exitcode=1; echo positional parameters were not saved. fi test x\$exitcode = x0 || exit 1 test -x / || exit 1" as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1" if (eval "$as_required") 2>/dev/null; then : as_have_required=yes else as_have_required=no fi if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_found=false for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. as_found=: case $as_dir in #( /*) for as_base in sh bash ksh sh5; do # Try only shells that exist, to save several forks. as_shell=$as_dir/$as_base if { test -f "$as_shell" || test -f "$as_shell.exe"; } && { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : CONFIG_SHELL=$as_shell as_have_required=yes if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : break 2 fi fi done;; esac as_found=false done $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : CONFIG_SHELL=$SHELL as_have_required=yes fi; } IFS=$as_save_IFS if test "x$CONFIG_SHELL" != x; then : export CONFIG_SHELL # We cannot yet assume a decent shell, so we have to provide a # neutralization value for shells without unset; and this also # works around shells that cannot unset nonexistent variables. # Preserve -v and -x to the replacement shell. BASH_ENV=/dev/null ENV=/dev/null (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV case $- in # (((( *v*x* | *x*v* ) as_opts=-vx ;; *v* ) as_opts=-v ;; *x* ) as_opts=-x ;; * ) as_opts= ;; esac exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} # Admittedly, this is quite paranoid, since all the known shells bail # out after a failed `exec'. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 exit 255 fi if test x$as_have_required = xno; then : $as_echo "$0: This script requires a shell more modern than all" $as_echo "$0: the shells that I found on your system." if test x${ZSH_VERSION+set} = xset ; then $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" $as_echo "$0: be upgraded to zsh 4.3.4 or later." else $as_echo "$0: Please tell bug-autoconf@gnu.org and BUG-REPORT-ADDRESS $0: about your system, including any error possibly output $0: before this message. Then install a modern shell, or $0: manually run the script under such a shell if you do $0: have one." fi exit 1 fi fi fi SHELL=${CONFIG_SHELL-/bin/sh} export SHELL # Unset more variables known to interfere with behavior of common tools. CLICOLOR_FORCE= GREP_OPTIONS= unset CLICOLOR_FORCE GREP_OPTIONS ## --------------------- ## ## M4sh Shell Functions. ## ## --------------------- ## # as_fn_unset VAR # --------------- # Portably unset VAR. as_fn_unset () { { eval $1=; unset $1;} } as_unset=as_fn_unset # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. as_fn_set_status () { return $1 } # as_fn_set_status # as_fn_exit STATUS # ----------------- # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. as_fn_exit () { set +e as_fn_set_status $1 exit $1 } # as_fn_exit # as_fn_mkdir_p # ------------- # Create "$as_dir" as a directory, including parents if necessary. as_fn_mkdir_p () { case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || eval $as_mkdir_p || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" } # as_fn_mkdir_p # as_fn_executable_p FILE # ----------------------- # Test if FILE is an executable regular file. as_fn_executable_p () { test -f "$1" && test -x "$1" } # as_fn_executable_p # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. Take # advantage of any shell optimizations that allow amortized linear growth over # repeated appends, instead of the typical quadratic growth present in naive # implementations. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : eval 'as_fn_append () { eval $1+=\$2 }' else as_fn_append () { eval $1=\$$1\$2 } fi # as_fn_append # as_fn_arith ARG... # ------------------ # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The arguments # must be portable across $(()) and expr. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : eval 'as_fn_arith () { as_val=$(( $* )) }' else as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` } fi # as_fn_arith # as_fn_error STATUS ERROR [LINENO LOG_FD] # ---------------------------------------- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are # provided, also output the error to LOG_FD, referencing LINENO. Then exit the # script with STATUS, using 1 if that was 0. as_fn_error () { as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi $as_echo "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits as_lineno_1=$LINENO as_lineno_1a=$LINENO as_lineno_2=$LINENO as_lineno_2a=$LINENO eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) sed -n ' p /[$]LINENO/= ' <$as_myself | sed ' s/[$]LINENO.*/&-/ t lineno b :lineno N :loop s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ t loop s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } # If we had to re-execute with $CONFIG_SHELL, we're ensured to have # already done that, so ensure we don't try to do so again and fall # in an infinite loop. This has already happened in practice. _as_can_reexec=no; export _as_can_reexec # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensitive to this). . "./$as_me.lineno" # Exit status is that of the last command. exit } ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in #((((( -n*) case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. xy) ECHO_C='\c';; *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -pR' fi else as_ln_s='cp -pR' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null if mkdir -p . 2>/dev/null; then as_mkdir_p='mkdir -p "$as_dir"' else test -d ./-p && rmdir ./-p as_mkdir_p=false fi as_test_x='test -x' as_executable_p=as_fn_executable_p # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" test -n "$DJDIR" || exec 7<&0 &1 # Name of the host. # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, # so uname gets run too. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` # # Initializations. # ac_default_prefix=/usr/local ac_clean_files= ac_config_libobj_dir=. LIBOBJS= cross_compiling=no subdirs= MFLAGS= MAKEFLAGS= # Identity of this package. PACKAGE_NAME='mednaffe' PACKAGE_TARNAME='mednaffe' PACKAGE_VERSION='0.8.6' PACKAGE_STRING='mednaffe 0.8.6' PACKAGE_BUGREPORT='BUG-REPORT-ADDRESS' PACKAGE_URL='' ac_unique_file="src/common.h" ac_subst_vars='am__EXEEXT_FALSE am__EXEEXT_TRUE LTLIBOBJS LIBOBJS GTK_DEFINES GTK_LIBS GTK_CFLAGS PKG_CONFIG_LIBDIR PKG_CONFIG_PATH PKG_CONFIG have_pkg_config am__fastdepCC_FALSE am__fastdepCC_TRUE CCDEPMODE am__nodep AMDEPBACKSLASH AMDEP_FALSE AMDEP_TRUE am__quote am__include DEPDIR OBJEXT EXEEXT ac_ct_CC CPPFLAGS LDFLAGS CFLAGS CC AM_BACKSLASH AM_DEFAULT_VERBOSITY AM_DEFAULT_V AM_V am__untar am__tar AMTAR am__leading_dot SET_MAKE AWK mkdir_p MKDIR_P INSTALL_STRIP_PROGRAM STRIP install_sh MAKEINFO AUTOHEADER AUTOMAKE AUTOCONF ACLOCAL VERSION PACKAGE CYGPATH_W am__isrc INSTALL_DATA INSTALL_SCRIPT INSTALL_PROGRAM target_alias host_alias build_alias LIBS ECHO_T ECHO_N ECHO_C DEFS mandir localedir libdir psdir pdfdir dvidir htmldir infodir docdir oldincludedir includedir localstatedir sharedstatedir sysconfdir datadir datarootdir libexecdir sbindir bindir program_transform_name prefix exec_prefix PACKAGE_URL PACKAGE_BUGREPORT PACKAGE_STRING PACKAGE_VERSION PACKAGE_TARNAME PACKAGE_NAME PATH_SEPARATOR SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking enable_silent_rules enable_dependency_tracking enable_gtk3 ' ac_precious_vars='build_alias host_alias target_alias CC CFLAGS LDFLAGS LIBS CPPFLAGS PKG_CONFIG PKG_CONFIG_PATH PKG_CONFIG_LIBDIR GTK_CFLAGS GTK_LIBS' # Initialize some variables set by options. ac_init_help= ac_init_version=false ac_unrecognized_opts= ac_unrecognized_sep= # The variables have the same names as the options, with # dashes changed to underlines. cache_file=/dev/null exec_prefix=NONE no_create= no_recursion= prefix=NONE program_prefix=NONE program_suffix=NONE program_transform_name=s,x,x, silent= site= srcdir= verbose= x_includes=NONE x_libraries=NONE # Installation directory options. # These are left unexpanded so users can "make install exec_prefix=/foo" # and all the variables that are supposed to be based on exec_prefix # by default will actually change. # Use braces instead of parens because sh, perl, etc. also accept them. # (The list follows the same order as the GNU Coding Standards.) bindir='${exec_prefix}/bin' sbindir='${exec_prefix}/sbin' libexecdir='${exec_prefix}/libexec' datarootdir='${prefix}/share' datadir='${datarootdir}' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' includedir='${prefix}/include' oldincludedir='/usr/include' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' infodir='${datarootdir}/info' htmldir='${docdir}' dvidir='${docdir}' pdfdir='${docdir}' psdir='${docdir}' libdir='${exec_prefix}/lib' localedir='${datarootdir}/locale' mandir='${datarootdir}/man' ac_prev= ac_dashdash= for ac_option do # If the previous option needs an argument, assign it. if test -n "$ac_prev"; then eval $ac_prev=\$ac_option ac_prev= continue fi case $ac_option in *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; *=) ac_optarg= ;; *) ac_optarg=yes ;; esac # Accept the important Cygnus configure options, so we can diagnose typos. case $ac_dashdash$ac_option in --) ac_dashdash=yes ;; -bindir | --bindir | --bindi | --bind | --bin | --bi) ac_prev=bindir ;; -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) bindir=$ac_optarg ;; -build | --build | --buil | --bui | --bu) ac_prev=build_alias ;; -build=* | --build=* | --buil=* | --bui=* | --bu=*) build_alias=$ac_optarg ;; -cache-file | --cache-file | --cache-fil | --cache-fi \ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ac_prev=cache_file ;; -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) cache_file=$ac_optarg ;; --config-cache | -C) cache_file=config.cache ;; -datadir | --datadir | --datadi | --datad) ac_prev=datadir ;; -datadir=* | --datadir=* | --datadi=* | --datad=*) datadir=$ac_optarg ;; -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | --dataroo | --dataro | --datar) ac_prev=datarootdir ;; -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) datarootdir=$ac_optarg ;; -disable-* | --disable-*) ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid feature name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=no ;; -docdir | --docdir | --docdi | --doc | --do) ac_prev=docdir ;; -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) docdir=$ac_optarg ;; -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) ac_prev=dvidir ;; -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) dvidir=$ac_optarg ;; -enable-* | --enable-*) ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid feature name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=\$ac_optarg ;; -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | --exec | --exe | --ex) ac_prev=exec_prefix ;; -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | --exec=* | --exe=* | --ex=*) exec_prefix=$ac_optarg ;; -gas | --gas | --ga | --g) # Obsolete; use --with-gas. with_gas=yes ;; -help | --help | --hel | --he | -h) ac_init_help=long ;; -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) ac_init_help=recursive ;; -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) ac_init_help=short ;; -host | --host | --hos | --ho) ac_prev=host_alias ;; -host=* | --host=* | --hos=* | --ho=*) host_alias=$ac_optarg ;; -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) ac_prev=htmldir ;; -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | --ht=*) htmldir=$ac_optarg ;; -includedir | --includedir | --includedi | --included | --include \ | --includ | --inclu | --incl | --inc) ac_prev=includedir ;; -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | --includ=* | --inclu=* | --incl=* | --inc=*) includedir=$ac_optarg ;; -infodir | --infodir | --infodi | --infod | --info | --inf) ac_prev=infodir ;; -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) infodir=$ac_optarg ;; -libdir | --libdir | --libdi | --libd) ac_prev=libdir ;; -libdir=* | --libdir=* | --libdi=* | --libd=*) libdir=$ac_optarg ;; -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | --libexe | --libex | --libe) ac_prev=libexecdir ;; -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | --libexe=* | --libex=* | --libe=*) libexecdir=$ac_optarg ;; -localedir | --localedir | --localedi | --localed | --locale) ac_prev=localedir ;; -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) localedir=$ac_optarg ;; -localstatedir | --localstatedir | --localstatedi | --localstated \ | --localstate | --localstat | --localsta | --localst | --locals) ac_prev=localstatedir ;; -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) localstatedir=$ac_optarg ;; -mandir | --mandir | --mandi | --mand | --man | --ma | --m) ac_prev=mandir ;; -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) mandir=$ac_optarg ;; -nfp | --nfp | --nf) # Obsolete; use --without-fp. with_fp=no ;; -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | --no-cr | --no-c | -n) no_create=yes ;; -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) no_recursion=yes ;; -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | --oldin | --oldi | --old | --ol | --o) ac_prev=oldincludedir ;; -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) oldincludedir=$ac_optarg ;; -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ac_prev=prefix ;; -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) prefix=$ac_optarg ;; -program-prefix | --program-prefix | --program-prefi | --program-pref \ | --program-pre | --program-pr | --program-p) ac_prev=program_prefix ;; -program-prefix=* | --program-prefix=* | --program-prefi=* \ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) program_prefix=$ac_optarg ;; -program-suffix | --program-suffix | --program-suffi | --program-suff \ | --program-suf | --program-su | --program-s) ac_prev=program_suffix ;; -program-suffix=* | --program-suffix=* | --program-suffi=* \ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) program_suffix=$ac_optarg ;; -program-transform-name | --program-transform-name \ | --program-transform-nam | --program-transform-na \ | --program-transform-n | --program-transform- \ | --program-transform | --program-transfor \ | --program-transfo | --program-transf \ | --program-trans | --program-tran \ | --progr-tra | --program-tr | --program-t) ac_prev=program_transform_name ;; -program-transform-name=* | --program-transform-name=* \ | --program-transform-nam=* | --program-transform-na=* \ | --program-transform-n=* | --program-transform-=* \ | --program-transform=* | --program-transfor=* \ | --program-transfo=* | --program-transf=* \ | --program-trans=* | --program-tran=* \ | --progr-tra=* | --program-tr=* | --program-t=*) program_transform_name=$ac_optarg ;; -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) ac_prev=pdfdir ;; -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) pdfdir=$ac_optarg ;; -psdir | --psdir | --psdi | --psd | --ps) ac_prev=psdir ;; -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) psdir=$ac_optarg ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) silent=yes ;; -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | --sbi=* | --sb=*) sbindir=$ac_optarg ;; -sharedstatedir | --sharedstatedir | --sharedstatedi \ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | --sharedst | --shareds | --shared | --share | --shar \ | --sha | --sh) ac_prev=sharedstatedir ;; -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | --sha=* | --sh=*) sharedstatedir=$ac_optarg ;; -site | --site | --sit) ac_prev=site ;; -site=* | --site=* | --sit=*) site=$ac_optarg ;; -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ac_prev=srcdir ;; -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) srcdir=$ac_optarg ;; -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | --syscon | --sysco | --sysc | --sys | --sy) ac_prev=sysconfdir ;; -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) sysconfdir=$ac_optarg ;; -target | --target | --targe | --targ | --tar | --ta | --t) ac_prev=target_alias ;; -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) target_alias=$ac_optarg ;; -v | -verbose | --verbose | --verbos | --verbo | --verb) verbose=yes ;; -version | --version | --versio | --versi | --vers | -V) ac_init_version=: ;; -with-* | --with-*) ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid package name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=\$ac_optarg ;; -without-* | --without-*) ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid package name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=no ;; --x) # Obsolete; use --with-x. with_x=yes ;; -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | --x-incl | --x-inc | --x-in | --x-i) ac_prev=x_includes ;; -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) x_includes=$ac_optarg ;; -x-libraries | --x-libraries | --x-librarie | --x-librari \ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) ac_prev=x_libraries ;; -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) x_libraries=$ac_optarg ;; -*) as_fn_error $? "unrecognized option: \`$ac_option' Try \`$0 --help' for more information" ;; *=*) ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` # Reject names that are not valid shell variable names. case $ac_envvar in #( '' | [0-9]* | *[!_$as_cr_alnum]* ) as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; esac eval $ac_envvar=\$ac_optarg export $ac_envvar ;; *) # FIXME: should be removed in autoconf 3.0. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" ;; esac done if test -n "$ac_prev"; then ac_option=--`echo $ac_prev | sed 's/_/-/g'` as_fn_error $? "missing argument to $ac_option" fi if test -n "$ac_unrecognized_opts"; then case $enable_option_checking in no) ;; fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; esac fi # Check all directory arguments for consistency. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ datadir sysconfdir sharedstatedir localstatedir includedir \ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ libdir localedir mandir do eval ac_val=\$$ac_var # Remove trailing slashes. case $ac_val in */ ) ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` eval $ac_var=\$ac_val;; esac # Be sure to have absolute directory names. case $ac_val in [\\/$]* | ?:[\\/]* ) continue;; NONE | '' ) case $ac_var in *prefix ) continue;; esac;; esac as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" done # There might be people who depend on the old broken behavior: `$host' # used to hold the argument of --host etc. # FIXME: To remove some day. build=$build_alias host=$host_alias target=$target_alias # FIXME: To remove some day. if test "x$host_alias" != x; then if test "x$build_alias" = x; then cross_compiling=maybe elif test "x$build_alias" != "x$host_alias"; then cross_compiling=yes fi fi ac_tool_prefix= test -n "$host_alias" && ac_tool_prefix=$host_alias- test "$silent" = yes && exec 6>/dev/null ac_pwd=`pwd` && test -n "$ac_pwd" && ac_ls_di=`ls -di .` && ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || as_fn_error $? "working directory cannot be determined" test "X$ac_ls_di" = "X$ac_pwd_ls_di" || as_fn_error $? "pwd does not report name of working directory" # Find the source files, if location was not specified. if test -z "$srcdir"; then ac_srcdir_defaulted=yes # Try the directory containing this script, then the parent directory. ac_confdir=`$as_dirname -- "$as_myself" || $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_myself" : 'X\(//\)[^/]' \| \ X"$as_myself" : 'X\(//\)$' \| \ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_myself" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` srcdir=$ac_confdir if test ! -r "$srcdir/$ac_unique_file"; then srcdir=.. fi else ac_srcdir_defaulted=no fi if test ! -r "$srcdir/$ac_unique_file"; then test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" fi ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" ac_abs_confdir=`( cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" pwd)` # When building in place, set srcdir=. if test "$ac_abs_confdir" = "$ac_pwd"; then srcdir=. fi # Remove unnecessary trailing slashes from srcdir. # Double slashes in file names in object file debugging info # mess up M-x gdb in Emacs. case $srcdir in */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; esac for ac_var in $ac_precious_vars; do eval ac_env_${ac_var}_set=\${${ac_var}+set} eval ac_env_${ac_var}_value=\$${ac_var} eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} eval ac_cv_env_${ac_var}_value=\$${ac_var} done # # Report the --help message. # if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF \`configure' configures mednaffe 0.8.6 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... To assign environment variables (e.g., CC, CFLAGS...), specify them as VAR=VALUE. See below for descriptions of some of the useful variables. Defaults for the options are specified in brackets. Configuration: -h, --help display this help and exit --help=short display options specific to this package --help=recursive display the short help of all the included packages -V, --version display version information and exit -q, --quiet, --silent do not print \`checking ...' messages --cache-file=FILE cache test results in FILE [disabled] -C, --config-cache alias for \`--cache-file=config.cache' -n, --no-create do not create output files --srcdir=DIR find the sources in DIR [configure dir or \`..'] Installation directories: --prefix=PREFIX install architecture-independent files in PREFIX [$ac_default_prefix] --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX [PREFIX] By default, \`make install' will install all the files in \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify an installation prefix other than \`$ac_default_prefix' using \`--prefix', for instance \`--prefix=\$HOME'. For better control, use the options below. Fine tuning of the installation directories: --bindir=DIR user executables [EPREFIX/bin] --sbindir=DIR system admin executables [EPREFIX/sbin] --libexecdir=DIR program executables [EPREFIX/libexec] --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] --datadir=DIR read-only architecture-independent data [DATAROOTDIR] --infodir=DIR info documentation [DATAROOTDIR/info] --localedir=DIR locale-dependent data [DATAROOTDIR/locale] --mandir=DIR man documentation [DATAROOTDIR/man] --docdir=DIR documentation root [DATAROOTDIR/doc/mednaffe] --htmldir=DIR html documentation [DOCDIR] --dvidir=DIR dvi documentation [DOCDIR] --pdfdir=DIR pdf documentation [DOCDIR] --psdir=DIR ps documentation [DOCDIR] _ACEOF cat <<\_ACEOF Program names: --program-prefix=PREFIX prepend PREFIX to installed program names --program-suffix=SUFFIX append SUFFIX to installed program names --program-transform-name=PROGRAM run sed PROGRAM on installed program names _ACEOF fi if test -n "$ac_init_help"; then case $ac_init_help in short | recursive ) echo "Configuration of mednaffe 0.8.6:";; esac cat <<\_ACEOF Optional Features: --disable-option-checking ignore unrecognized --enable/--with options --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --enable-silent-rules less verbose build output (undo: "make V=1") --disable-silent-rules verbose build output (undo: "make V=0") --enable-dependency-tracking do not reject slow dependency extractors --disable-dependency-tracking speeds up one-time build --enable-gtk3 Compile against GTK 3.x explicitly Some influential environment variables: CC C compiler command CFLAGS C compiler flags LDFLAGS linker flags, e.g. -L if you have libraries in a nonstandard directory LIBS libraries to pass to the linker, e.g. -l CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if you have headers in a nonstandard directory PKG_CONFIG path to pkg-config utility PKG_CONFIG_PATH directories to add to pkg-config's search path PKG_CONFIG_LIBDIR path overriding pkg-config's built-in search path GTK_CFLAGS C compiler flags for GTK, overriding pkg-config GTK_LIBS linker flags for GTK, overriding pkg-config Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. Report bugs to . _ACEOF ac_status=$? fi if test "$ac_init_help" = "recursive"; then # If there are subdirs, report their specific --help. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue test -d "$ac_dir" || { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || continue ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix cd "$ac_dir" || { ac_status=$?; continue; } # Check for guested configure. if test -f "$ac_srcdir/configure.gnu"; then echo && $SHELL "$ac_srcdir/configure.gnu" --help=recursive elif test -f "$ac_srcdir/configure"; then echo && $SHELL "$ac_srcdir/configure" --help=recursive else $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 fi || ac_status=$? cd "$ac_pwd" || { ac_status=$?; break; } done fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF mednaffe configure 0.8.6 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF exit fi ## ------------------------ ## ## Autoconf initialization. ## ## ------------------------ ## # ac_fn_c_try_compile LINENO # -------------------------- # Try to compile conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack rm -f conftest.$ac_objext if { { ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_compile cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by mednaffe $as_me 0.8.6, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ _ACEOF exec 5>>config.log { cat <<_ASUNAME ## --------- ## ## Platform. ## ## --------- ## hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` _ASUNAME as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. $as_echo "PATH: $as_dir" done IFS=$as_save_IFS } >&5 cat >&5 <<_ACEOF ## ----------- ## ## Core tests. ## ## ----------- ## _ACEOF # Keep a trace of the command line. # Strip out --no-create and --no-recursion so they do not pile up. # Strip out --silent because we don't want to record it for future runs. # Also quote any args containing shell meta-characters. # Make two passes to allow for proper duplicate-argument suppression. ac_configure_args= ac_configure_args0= ac_configure_args1= ac_must_keep_next=false for ac_pass in 1 2 do for ac_arg do case $ac_arg in -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) continue ;; *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2) as_fn_append ac_configure_args1 " '$ac_arg'" if test $ac_must_keep_next = true; then ac_must_keep_next=false # Got value, back to normal. else case $ac_arg in *=* | --config-cache | -C | -disable-* | --disable-* \ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | -with-* | --with-* | -without-* | --without-* | --x) case "$ac_configure_args0 " in "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; esac ;; -* ) ac_must_keep_next=true ;; esac fi as_fn_append ac_configure_args " '$ac_arg'" ;; esac done done { ac_configure_args0=; unset ac_configure_args0;} { ac_configure_args1=; unset ac_configure_args1;} # When interrupted or exit'd, cleanup temporary files, and complete # config.log. We remove comments because anyway the quotes in there # would cause problems or look ugly. # WARNING: Use '\'' to represent an apostrophe within the trap. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. trap 'exit_status=$? # Save into config.log some information that might help in debugging. { echo $as_echo "## ---------------- ## ## Cache variables. ## ## ---------------- ##" echo # The following way of writing the cache mishandles newlines in values, ( for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) { eval $ac_var=; unset $ac_var;} ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( *${as_nl}ac_space=\ *) sed -n \ "s/'\''/'\''\\\\'\'''\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" ;; #( *) sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) echo $as_echo "## ----------------- ## ## Output variables. ## ## ----------------- ##" echo for ac_var in $ac_subst_vars do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac $as_echo "$ac_var='\''$ac_val'\''" done | sort echo if test -n "$ac_subst_files"; then $as_echo "## ------------------- ## ## File substitutions. ## ## ------------------- ##" echo for ac_var in $ac_subst_files do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac $as_echo "$ac_var='\''$ac_val'\''" done | sort echo fi if test -s confdefs.h; then $as_echo "## ----------- ## ## confdefs.h. ## ## ----------- ##" echo cat confdefs.h echo fi test "$ac_signal" != 0 && $as_echo "$as_me: caught signal $ac_signal" $as_echo "$as_me: exit $exit_status" } >&5 rm -f core *.core core.conftest.* && rm -f -r conftest* confdefs* conf$$* $ac_clean_files && exit $exit_status ' 0 for ac_signal in 1 2 13 15; do trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal done ac_signal=0 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -f -r conftest* confdefs.h $as_echo "/* confdefs.h */" > confdefs.h # Predefined preprocessor variables. cat >>confdefs.h <<_ACEOF #define PACKAGE_NAME "$PACKAGE_NAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_TARNAME "$PACKAGE_TARNAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_VERSION "$PACKAGE_VERSION" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_STRING "$PACKAGE_STRING" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_URL "$PACKAGE_URL" _ACEOF # Let the site file select an alternate cache file if it wants to. # Prefer an explicitly selected file to automatically selected ones. ac_site_file1=NONE ac_site_file2=NONE if test -n "$CONFIG_SITE"; then # We do not want a PATH search for config.site. case $CONFIG_SITE in #(( -*) ac_site_file1=./$CONFIG_SITE;; */*) ac_site_file1=$CONFIG_SITE;; *) ac_site_file1=./$CONFIG_SITE;; esac elif test "x$prefix" != xNONE; then ac_site_file1=$prefix/share/config.site ac_site_file2=$prefix/etc/config.site else ac_site_file1=$ac_default_prefix/share/config.site ac_site_file2=$ac_default_prefix/etc/config.site fi for ac_site_file in "$ac_site_file1" "$ac_site_file2" do test "x$ac_site_file" = xNONE && continue if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 $as_echo "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" \ || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "failed to load site script $ac_site_file See \`config.log' for more details" "$LINENO" 5; } fi done if test -r "$cache_file"; then # Some versions of bash will fail to source /dev/null (special files # actually), so we avoid doing that. DJGPP emulates it as a regular file. if test /dev/null != "$cache_file" && test -f "$cache_file"; then { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 $as_echo "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . "$cache_file";; *) . "./$cache_file";; esac fi else { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false for ac_var in $ac_precious_vars; do eval ac_old_set=\$ac_cv_env_${ac_var}_set eval ac_new_set=\$ac_env_${ac_var}_set eval ac_old_val=\$ac_cv_env_${ac_var}_value eval ac_new_val=\$ac_env_${ac_var}_value case $ac_old_set,$ac_new_set in set,) { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ac_cache_corrupted=: ;; ,);; *) if test "x$ac_old_val" != "x$ac_new_val"; then # differences in whitespace do not lead to failure. ac_old_val_w=`echo x $ac_old_val` ac_new_val_w=`echo x $ac_new_val` if test "$ac_old_val_w" != "$ac_new_val_w"; then { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} ac_cache_corrupted=: else { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} eval $ac_var=\$ac_old_val fi { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" = set; then case $ac_new_val in *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; *) ac_arg=$ac_var=$ac_new_val ;; esac case " $ac_configure_args " in *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. *) as_fn_append ac_configure_args " '$ac_arg'" ;; esac fi done if $ac_cache_corrupted; then { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 fi ## -------------------- ## ## Main body of script. ## ## -------------------- ## ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu am__api_version='1.15' ac_aux_dir= for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do if test -f "$ac_dir/install-sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install-sh -c" break elif test -f "$ac_dir/install.sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install.sh -c" break elif test -f "$ac_dir/shtool"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/shtool install -c" break fi done if test -z "$ac_aux_dir"; then as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 fi # These three variables are undocumented and unsupported, # and are intended to be withdrawn in a future Autoconf release. # They can cause serious problems if a builder's source tree is in a directory # whose full name contains unusual characters. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: # SysV /etc/install, /usr/sbin/install # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install # AmigaOS /C/install, which installs bootblocks on floppy discs # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. # Reject install programs that cannot install multiple files. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 $as_echo_n "checking for a BSD-compatible install... " >&6; } if test -z "$INSTALL"; then if ${ac_cv_path_install+:} false; then : $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. # Account for people who put trailing slashes in PATH elements. case $as_dir/ in #(( ./ | .// | /[cC]/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ /usr/ucb/* ) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then if test $ac_prog = install && grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : elif test $ac_prog = install && grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # program-specific install script used by HP pwplus--don't use. : else rm -rf conftest.one conftest.two conftest.dir echo one > conftest.one echo two > conftest.two mkdir conftest.dir if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && test -s conftest.one && test -s conftest.two && test -s conftest.dir/conftest.one && test -s conftest.dir/conftest.two then ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" break 3 fi fi fi done done ;; esac done IFS=$as_save_IFS rm -rf conftest.one conftest.two conftest.dir fi if test "${ac_cv_path_install+set}" = set; then INSTALL=$ac_cv_path_install else # As a last resort, use the slow shell script. Don't cache a # value for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. INSTALL=$ac_install_sh fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 $as_echo "$INSTALL" >&6; } # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 $as_echo_n "checking whether build environment is sane... " >&6; } # Reject unsafe characters in $srcdir or the absolute working directory # name. Accept space and tab only in the latter. am_lf=' ' case `pwd` in *[\\\"\#\$\&\'\`$am_lf]*) as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; esac case $srcdir in *[\\\"\#\$\&\'\`$am_lf\ \ ]*) as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; esac # Do 'set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( am_has_slept=no for am_try in 1 2; do echo "timestamp, slept: $am_has_slept" > conftest.file set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` if test "$*" = "X"; then # -L didn't work. set X `ls -t "$srcdir/configure" conftest.file` fi if test "$*" != "X $srcdir/configure conftest.file" \ && test "$*" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". as_fn_error $? "ls -t appears to fail. Make sure there is not a broken alias in your environment" "$LINENO" 5 fi if test "$2" = conftest.file || test $am_try -eq 2; then break fi # Just in case. sleep 1 am_has_slept=yes done test "$2" = conftest.file ) then # Ok. : else as_fn_error $? "newly created file is older than distributed files! Check your system clock" "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } # If we didn't sleep, we still need to ensure time stamps of config.status and # generated files are strictly newer. am_sleep_pid= if grep 'slept: no' conftest.file >/dev/null 2>&1; then ( sleep 1 ) & am_sleep_pid=$! fi rm -f conftest.file test "$program_prefix" != NONE && program_transform_name="s&^&$program_prefix&;$program_transform_name" # Use a double $ so make ignores it. test "$program_suffix" != NONE && program_transform_name="s&\$&$program_suffix&;$program_transform_name" # Double any \ or $. # By default was `s,x,x', remove it if useless. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` # Expand $ac_aux_dir to an absolute path. am_aux_dir=`cd "$ac_aux_dir" && pwd` if test x"${MISSING+set}" != xset; then case $am_aux_dir in *\ * | *\ *) MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; *) MISSING="\${SHELL} $am_aux_dir/missing" ;; esac fi # Use eval to expand $SHELL if eval "$MISSING --is-lightweight"; then am_missing_run="$MISSING " else am_missing_run= { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} fi if test x"${install_sh+set}" != xset; then case $am_aux_dir in *\ * | *\ *) install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; *) install_sh="\${SHELL} $am_aux_dir/install-sh" esac fi # Installed binaries are usually stripped using 'strip' when the user # run "make install-strip". However 'strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the 'STRIP' environment variable to overrule this program. if test "$cross_compiling" != no; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 $as_echo "$STRIP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_STRIP"; then ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_STRIP="strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 $as_echo "$ac_ct_STRIP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_STRIP" = x; then STRIP=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac STRIP=$ac_ct_STRIP fi else STRIP="$ac_cv_prog_STRIP" fi fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } if test -z "$MKDIR_P"; then if ${ac_cv_path_mkdir+:} false; then : $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in mkdir gmkdir; do for ac_exec_ext in '' $ac_executable_extensions; do as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 'mkdir (GNU coreutils) '* | \ 'mkdir (coreutils) '* | \ 'mkdir (fileutils) '4.1*) ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext break 3;; esac done done done IFS=$as_save_IFS fi test -d ./--version && rmdir ./--version if test "${ac_cv_path_mkdir+set}" = set; then MKDIR_P="$ac_cv_path_mkdir -p" else # As a last resort, use the slow shell script. Don't cache a # value for MKDIR_P within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. MKDIR_P="$ac_install_sh -d" fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 $as_echo "$MKDIR_P" >&6; } for ac_prog in gawk mawk nawk awk do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_AWK+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AWK="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 $as_echo "$AWK" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$AWK" && break done { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } set x ${MAKE-make} ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : $as_echo_n "(cached) " >&6 else cat >conftest.make <<\_ACEOF SHELL = /bin/sh all: @echo '@@@%%%=$(MAKE)=@@@%%%' _ACEOF # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. case `${MAKE-make} -f conftest.make 2>/dev/null` in *@@@%%%=?*=@@@%%%*) eval ac_cv_prog_make_${ac_make}_set=yes;; *) eval ac_cv_prog_make_${ac_make}_set=no;; esac rm -f conftest.make fi if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } SET_MAKE= else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } SET_MAKE="MAKE=${MAKE-make}" fi rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null # Check whether --enable-silent-rules was given. if test "${enable_silent_rules+set}" = set; then : enableval=$enable_silent_rules; fi case $enable_silent_rules in # ((( yes) AM_DEFAULT_VERBOSITY=0;; no) AM_DEFAULT_VERBOSITY=1;; *) AM_DEFAULT_VERBOSITY=1;; esac am_make=${MAKE-make} { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 $as_echo_n "checking whether $am_make supports nested variables... " >&6; } if ${am_cv_make_support_nested_variables+:} false; then : $as_echo_n "(cached) " >&6 else if $as_echo 'TRUE=$(BAR$(V)) BAR0=false BAR1=true V=1 am__doit: @$(TRUE) .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then am_cv_make_support_nested_variables=yes else am_cv_make_support_nested_variables=no fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 $as_echo "$am_cv_make_support_nested_variables" >&6; } if test $am_cv_make_support_nested_variables = yes; then AM_V='$(V)' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' else AM_V=$AM_DEFAULT_VERBOSITY AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY fi AM_BACKSLASH='\' if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." am__isrc=' -I$(srcdir)' # test to see if srcdir already configured if test -f $srcdir/config.status; then as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 fi fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi # Define the identity of the package. PACKAGE='mednaffe' VERSION='0.8.6' cat >>confdefs.h <<_ACEOF #define PACKAGE "$PACKAGE" _ACEOF cat >>confdefs.h <<_ACEOF #define VERSION "$VERSION" _ACEOF # Some tools Automake needs. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} # For better backward compatibility. To be removed once Automake 1.9.x # dies out for good. For more background, see: # # mkdir_p='$(MKDIR_P)' # We need awk for the "check" target (and possibly the TAP driver). The # system "awk" is bad on some platforms. # Always define AMTAR for backward compatibility. Yes, it's still used # in the wild :-( We should find a proper way to deprecate it ... AMTAR='$${TAR-tar}' # We'll loop over all known methods to create a tar archive until one works. _am_tools='gnutar pax cpio none' am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' # POSIX will say in a future version that running "rm -f" with no argument # is OK; and we want to be able to make that assumption in our Makefile # recipes. So use an aggressive probe to check that the usage we want is # actually supported "in the wild" to an acceptable degree. # See automake bug#10828. # To make any issue more visible, cause the running configure to be aborted # by default if the 'rm' program in use doesn't match our expectations; the # user can still override this though. if rm -f && rm -fr && rm -rf; then : OK; else cat >&2 <<'END' Oops! Your 'rm' program seems unable to run without file operands specified on the command line, even when the '-f' option is present. This is contrary to the behaviour of most rm programs out there, and not conforming with the upcoming POSIX standard: Please tell bug-automake@gnu.org about your system, including the value of your $PATH and any error possibly output before this message. This can help us improve future automake versions. END if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then echo 'Configuration will proceed anyway, since you have set the' >&2 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 echo >&2 else cat >&2 <<'END' Aborting the configuration process, to ensure you take notice of the issue. You can download and install GNU coreutils to get an 'rm' implementation that behaves properly: . If you want to complete the configuration process using your problematic 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM to "yes", and re-run configure. END as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 fi fi ac_config_headers="$ac_config_headers config.h" # Checks for programs. ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi else CC="$ac_cv_prog_CC" fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}cc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi fi if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else ac_prog_rejected=no as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue fi ac_cv_prog_CC="cc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS if test $ac_prog_rejected = yes; then # We found a bogon in the path, so make sure we never use it. set dummy $ac_cv_prog_CC shift if test $# != 0; then # We chose a different compiler from the bogus one. # However, it has the same basename, so the bogon will be chosen # first if we set CC to just the basename; use the full file name. shift ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" fi fi fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then for ac_prog in cl.exe do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$CC" && break done fi if test -z "$CC"; then ac_ct_CC=$CC for ac_prog in cl.exe do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$ac_ct_CC" && break done if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi fi fi test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "no acceptable C compiler found in \$PATH See \`config.log' for more details" "$LINENO" 5; } # Provide some information about the compiler. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 set X $ac_compile ac_compiler=$2 for ac_option in --version -v -V -qversion; do { { ac_try="$ac_compiler $ac_option >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compiler $ac_option >&5") 2>conftest.err ac_status=$? if test -s conftest.err; then sed '10a\ ... rest of stderr output deleted ... 10q' conftest.err >conftest.er1 cat conftest.er1 >&5 fi rm -f conftest.er1 conftest.err $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } done cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" # Try to create an executable without -o first, disregard a.out. # It will help us diagnose broken compilers, and finding out an intuition # of exeext. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 $as_echo_n "checking whether the C compiler works... " >&6; } ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` # The possible output files: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" ac_rmfiles= for ac_file in $ac_files do case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; * ) ac_rmfiles="$ac_rmfiles $ac_file";; esac done rm -f $ac_rmfiles if { { ac_try="$ac_link_default" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link_default") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' # in a Makefile. We should not override ac_cv_exeext if it was cached, # so that the user can short-circuit this test for compilers unknown to # Autoconf. for ac_file in $ac_files '' do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; [ab].out ) # We found the default executable, but exeext='' is most # certainly right. break;; *.* ) if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; then :; else ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` fi # We set ac_cv_exeext here because the later test for it is not # safe: cross compilers may not add the suffix if given an `-o' # argument, so we may need to know it at that point already. # Even if this section looks crufty: it has the advantage of # actually working. break;; * ) break;; esac done test "$ac_cv_exeext" = no && ac_cv_exeext= else ac_file='' fi if test -z "$ac_file"; then : { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error 77 "C compiler cannot create executables See \`config.log' for more details" "$LINENO" 5; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 $as_echo_n "checking for C compiler default output file name... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 $as_echo "$ac_file" >&6; } ac_exeext=$ac_cv_exeext rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out ac_clean_files=$ac_clean_files_save { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 $as_echo_n "checking for suffix of executables... " >&6; } if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : # If both `conftest.exe' and `conftest' are `present' (well, observable) # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will # work properly (i.e., refer to `conftest.exe'), while it won't with # `rm'. for ac_file in conftest.exe conftest conftest.*; do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` break;; * ) break;; esac done else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of executables: cannot compile and link See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest conftest$ac_cv_exeext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 $as_echo "$ac_cv_exeext" >&6; } rm -f conftest.$ac_ext EXEEXT=$ac_cv_exeext ac_exeext=$EXEEXT cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { FILE *f = fopen ("conftest.out", "w"); return ferror (f) || fclose (f) != 0; ; return 0; } _ACEOF ac_clean_files="$ac_clean_files conftest.out" # Check that the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 $as_echo_n "checking whether we are cross compiling... " >&6; } if test "$cross_compiling" != yes; then { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } if { ac_try='./conftest$ac_cv_exeext' { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; }; then cross_compiling=no else if test "$cross_compiling" = maybe; then cross_compiling=yes else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details" "$LINENO" 5; } fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 $as_echo "$cross_compiling" >&6; } rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out ac_clean_files=$ac_clean_files_save { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 $as_echo_n "checking for suffix of object files... " >&6; } if ${ac_cv_objext+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.o conftest.obj if { { ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : for ac_file in conftest.o conftest.obj conftest.*; do test -f "$ac_file" || continue; case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` break;; esac done else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of object files: cannot compile See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest.$ac_cv_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 $as_echo "$ac_cv_objext" >&6; } OBJEXT=$ac_cv_objext ac_objext=$OBJEXT { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } if ${ac_cv_c_compiler_gnu+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_compiler_gnu=yes else ac_compiler_gnu=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 $as_echo "$ac_cv_c_compiler_gnu" >&6; } if test $ac_compiler_gnu = yes; then GCC=yes else GCC= fi ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 $as_echo_n "checking whether $CC accepts -g... " >&6; } if ${ac_cv_prog_cc_g+:} false; then : $as_echo_n "(cached) " >&6 else ac_save_c_werror_flag=$ac_c_werror_flag ac_c_werror_flag=yes ac_cv_prog_cc_g=no CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes else CFLAGS="" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : else ac_c_werror_flag=$ac_save_c_werror_flag CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_c_werror_flag=$ac_save_c_werror_flag fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 $as_echo "$ac_cv_prog_cc_g" >&6; } if test "$ac_test_CFLAGS" = set; then CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then CFLAGS="-g -O2" else CFLAGS="-g" fi else if test "$GCC" = yes; then CFLAGS="-O2" else CFLAGS= fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } if ${ac_cv_prog_cc_c89+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_prog_cc_c89=no ac_save_CC=$CC cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include struct stat; /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); static char *e (p, i) char **p; int i; { return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { char *s; va_list v; va_start (v,p); s = g (p, va_arg (v,int)); va_end (v); return s; } /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has function prototypes and stuff, but not '\xHH' hex character constants. These don't provoke an error unfortunately, instead are silently treated as 'x'. The following induces an error, until -std is added to get proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an array size at least. It's necessary to write '\x00'==0 to get something that's true only with -std. */ int osf4_cc_array ['\x00' == 0 ? 1 : -1]; /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters inside strings and character constants. */ #define FOO(x) 'x' int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); int argc; char **argv; int main () { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0; } _ACEOF for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_c89=$ac_arg fi rm -f core conftest.err conftest.$ac_objext test "x$ac_cv_prog_cc_c89" != "xno" && break done rm -f conftest.$ac_ext CC=$ac_save_CC fi # AC_CACHE_VAL case "x$ac_cv_prog_cc_c89" in x) { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 $as_echo "none needed" >&6; } ;; xno) { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 $as_echo "unsupported" >&6; } ;; *) CC="$CC $ac_cv_prog_cc_c89" { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; esac if test "x$ac_cv_prog_cc_c89" != xno; then : fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; } if ${am_cv_prog_cc_c_o+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF # Make sure it works both with $CC and with simple cc. # Following AC_PROG_CC_C_O, we do the test twice because some # compilers refuse to overwrite an existing .o file with -o, # though they will create one. am_cv_prog_cc_c_o=yes for am_i in 1 2; do if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } \ && test -f conftest2.$ac_objext; then : OK else am_cv_prog_cc_c_o=no break fi done rm -f core conftest* unset am_i fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 $as_echo "$am_cv_prog_cc_c_o" >&6; } if test "$am_cv_prog_cc_c_o" != yes; then # Losing compiler, so override with the script. # FIXME: It is wrong to rewrite CC. # But if we don't then we get into trouble of one sort or another. # A longer-term fix would be to have automake use am__CC in this case, # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" CC="$am_aux_dir/compile $CC" fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu DEPDIR="${am__leading_dot}deps" ac_config_commands="$ac_config_commands depfiles" am_make=${MAKE-make} cat > confinc << 'END' am__doit: @echo this is the am__doit target .PHONY: am__doit END # If we don't find an include directive, just comment out the code. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 $as_echo_n "checking for style of include used by $am_make... " >&6; } am__include="#" am__quote= _am_result=none # First try GNU make style include. echo "include confinc" > confmf # Ignore all kinds of additional output from 'make'. case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=include am__quote= _am_result=GNU ;; esac # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=.include am__quote="\"" _am_result=BSD ;; esac fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 $as_echo "$_am_result" >&6; } rm -f confinc confmf # Check whether --enable-dependency-tracking was given. if test "${enable_dependency_tracking+set}" = set; then : enableval=$enable_dependency_tracking; fi if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' am__nodep='_no' fi if test "x$enable_dependency_tracking" != xno; then AMDEP_TRUE= AMDEP_FALSE='#' else AMDEP_TRUE='#' AMDEP_FALSE= fi depcc="$CC" am_compiler_list= { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 $as_echo_n "checking dependency style of $depcc... " >&6; } if ${am_cv_CC_dependencies_compiler_type+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named 'D' -- because '-MD' means "put the output # in D". rm -rf conftest.dir mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_CC_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` fi am__universal=false case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with # Solaris 10 /bin/sh. echo '/* dummy */' > sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf # We check with '-c' and '-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle '-M -o', and we need to detect this. Also, some Intel # versions had trouble with output in subdirs. am__obj=sub/conftest.${OBJEXT-o} am__minus_obj="-o $am__obj" case $depmode in gcc) # This depmode causes a compiler race in universal mode. test "$am__universal" = false || continue ;; nosideeffect) # After this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested. if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; msvc7 | msvc7msys | msvisualcpp | msvcmsys) # This compiler won't grok '-c -o', but also, the minuso test has # not run yet. These depmodes are late enough in the game, and # so weak that their functioning should not be impacted. am__obj=conftest.${OBJEXT-o} am__minus_obj= ;; none) break ;; esac if depmode=$depmode \ source=sub/conftest.c object=$am__obj \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep $am__obj sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_CC_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_CC_dependencies_compiler_type=none fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type if test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then am__fastdepCC_TRUE= am__fastdepCC_FALSE='#' else am__fastdepCC_TRUE='#' am__fastdepCC_FALSE= fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu CFLAGS="-s -O2 -std=c99 -Wall -Wl,-export-dynamic" # Checks for libraries. # Check whether --enable-gtk3 was given. if test "${enable_gtk3+set}" = set; then : enableval=$enable_gtk3; enable_gtk3=$enableval else enable_gtk3="no" fi # Extract the first word of "pkg-config", so it can be a program name with args. set dummy pkg-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_have_pkg_config+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$have_pkg_config"; then ac_cv_prog_have_pkg_config="$have_pkg_config" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_have_pkg_config="yes" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_prog_have_pkg_config" && ac_cv_prog_have_pkg_config="no" fi fi have_pkg_config=$ac_cv_prog_have_pkg_config if test -n "$have_pkg_config"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_pkg_config" >&5 $as_echo "$have_pkg_config" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$have_pkg_config" = xno; then as_fn_error $? "pkg-config is required to compile Mednaffe" "$LINENO" 5 else if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_PKG_CONFIG+:} false; then : $as_echo_n "(cached) " >&6 else case $PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi PKG_CONFIG=$ac_cv_path_PKG_CONFIG if test -n "$PKG_CONFIG"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 $as_echo "$PKG_CONFIG" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_path_PKG_CONFIG"; then ac_pt_PKG_CONFIG=$PKG_CONFIG # Extract the first word of "pkg-config", so it can be a program name with args. set dummy pkg-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : $as_echo_n "(cached) " >&6 else case $ac_pt_PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG if test -n "$ac_pt_PKG_CONFIG"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 $as_echo "$ac_pt_PKG_CONFIG" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_pt_PKG_CONFIG" = x; then PKG_CONFIG="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac PKG_CONFIG=$ac_pt_PKG_CONFIG fi else PKG_CONFIG="$ac_cv_path_PKG_CONFIG" fi fi if test -n "$PKG_CONFIG"; then _pkg_min_version=0.9.0 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } PKG_CONFIG="" fi fi fi if test "x$enable_gtk3" = xyes; then pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk+-3.0 >= 3.4 glib-2.0 >= 2.32 gthread-2.0" >&5 $as_echo_n "checking for gtk+-3.0 >= 3.4 glib-2.0 >= 2.32 gthread-2.0... " >&6; } if test -n "$GTK_CFLAGS"; then pkg_cv_GTK_CFLAGS="$GTK_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= 3.4 glib-2.0 >= 2.32 gthread-2.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= 3.4 glib-2.0 >= 2.32 gthread-2.0") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 >= 3.4 glib-2.0 >= 2.32 gthread-2.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$GTK_LIBS"; then pkg_cv_GTK_LIBS="$GTK_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= 3.4 glib-2.0 >= 2.32 gthread-2.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= 3.4 glib-2.0 >= 2.32 gthread-2.0") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 >= 3.4 glib-2.0 >= 2.32 gthread-2.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0 >= 3.4 glib-2.0 >= 2.32 gthread-2.0" 2>&1` else GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0 >= 3.4 glib-2.0 >= 2.32 gthread-2.0" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$GTK_PKG_ERRORS" >&5 as_fn_error $? "Mednaffe needs GTK+ >= 3.4 development libraries" "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } as_fn_error $? "Mednaffe needs GTK+ >= 3.4 development libraries" "$LINENO" 5 else GTK_CFLAGS=$pkg_cv_GTK_CFLAGS GTK_LIBS=$pkg_cv_GTK_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: GTK 3.x selected explicitly" >&5 $as_echo "$as_me: GTK 3.x selected explicitly" >&6;} fi GTK_DEFINES="-DGTK3_ENABLED" $as_echo "#define GTK3_ENABLED 1" >>confdefs.h else pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk+-2.0 >= 2.24 glib-2.0 >= 2.32 gthread-2.0" >&5 $as_echo_n "checking for gtk+-2.0 >= 2.24 glib-2.0 >= 2.32 gthread-2.0... " >&6; } if test -n "$GTK_CFLAGS"; then pkg_cv_GTK_CFLAGS="$GTK_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.24 glib-2.0 >= 2.32 gthread-2.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.24 glib-2.0 >= 2.32 gthread-2.0") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.24 glib-2.0 >= 2.32 gthread-2.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$GTK_LIBS"; then pkg_cv_GTK_LIBS="$GTK_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.24 glib-2.0 >= 2.32 gthread-2.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.24 glib-2.0 >= 2.32 gthread-2.0") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.24 glib-2.0 >= 2.32 gthread-2.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= 2.24 glib-2.0 >= 2.32 gthread-2.0" 2>&1` else GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= 2.24 glib-2.0 >= 2.32 gthread-2.0" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$GTK_PKG_ERRORS" >&5 as_fn_error $? "Mednaffe needs GTK+ >= 2.24 development libraries" "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } as_fn_error $? "Mednaffe needs GTK+ >= 2.24 development libraries" "$LINENO" 5 else GTK_CFLAGS=$pkg_cv_GTK_CFLAGS GTK_LIBS=$pkg_cv_GTK_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: selecting GTK 2.x automatically" >&5 $as_echo "$as_me: selecting GTK 2.x automatically" >&6;} fi GTK_DEFINES="-DGTK2_ENABLED" $as_echo "#define GTK2_ENABLED 1" >>confdefs.h fi ac_config_files="$ac_config_files Makefile share/Makefile src/Makefile" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure # scripts and configure runs, see configure's option --config-cache. # It is not useful on other systems. If it contains results you don't # want to keep, you may remove or edit it. # # config.status only pays attention to the cache file if you give it # the --recheck option to rerun configure. # # `ac_cv_env_foo' variables (set or unset) will be overridden when # loading this file, other *unset* `ac_cv_foo' will be assigned the # following values. _ACEOF # The following way of writing the cache mishandles newlines in values, # but we know of no workaround that is simple, portable, and efficient. # So, we kill variables containing newlines. # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. ( for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) { eval $ac_var=; unset $ac_var;} ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space=' '; set) 2>&1` in #( *${as_nl}ac_space=\ *) # `set' does not quote correctly, so add quotes: double-quote # substitution turns \\\\ into \\, and sed turns \\ into \. sed -n \ "s/'/'\\\\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" ;; #( *) # `set' quotes correctly as required by POSIX, so do not add quotes. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) | sed ' /^ac_cv_env_/b end t clear :clear s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ t end s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ :end' >>confcache if diff "$cache_file" confcache >/dev/null 2>&1; then :; else if test -w "$cache_file"; then if test "x$cache_file" != "x/dev/null"; then { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 $as_echo "$as_me: updating cache $cache_file" >&6;} if test ! -f "$cache_file" || test -h "$cache_file"; then cat confcache >"$cache_file" else case $cache_file in #( */* | ?:*) mv -f confcache "$cache_file"$$ && mv -f "$cache_file"$$ "$cache_file" ;; #( *) mv -f confcache "$cache_file" ;; esac fi fi else { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} fi fi rm -f confcache test "x$prefix" = xNONE && prefix=$ac_default_prefix # Let make expand exec_prefix. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' DEFS=-DHAVE_CONFIG_H ac_libobjs= ac_ltlibobjs= U= for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' ac_i=`$as_echo "$ac_i" | sed "$ac_script"` # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR # will be set to the directory where LIBOBJS objects are built. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' done LIBOBJS=$ac_libobjs LTLIBOBJS=$ac_ltlibobjs { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 $as_echo_n "checking that generated files are newer than configure... " >&6; } if test -n "$am_sleep_pid"; then # Hide warnings about reused PIDs. wait $am_sleep_pid 2>/dev/null fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 $as_echo "done" >&6; } if test -n "$EXEEXT"; then am__EXEEXT_TRUE= am__EXEEXT_FALSE='#' else am__EXEEXT_TRUE='#' am__EXEEXT_FALSE= fi if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then as_fn_error $? "conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then as_fn_error $? "conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi : "${CONFIG_STATUS=./config.status}" ac_write_fail=0 ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} as_write_fail=0 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 #! $SHELL # Generated by $as_me. # Run this file to recreate the current configuration. # Compiler output produced by configure, useful for debugging # configure, is in config.log if it exists. debug=false ac_cs_recheck=false ac_cs_silent=false SHELL=\${CONFIG_SHELL-$SHELL} export SHELL _ASEOF cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 ## -------------------- ## ## M4sh Initialization. ## ## -------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi as_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo # Prefer a ksh shell builtin over an external printf program on Solaris, # but without wasting forks for bash or zsh. if test -z "$BASH_VERSION$ZSH_VERSION" \ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='print -r --' as_echo_n='print -rn --' elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in #( *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. as_myself= case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi # Unset variables that we do not need and which cause bugs (e.g. in # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" # suppresses any "Segmentation fault" message there. '((' could # trigger a bug in pdksh 5.2.14. for as_var in BASH_ENV ENV MAIL MAILPATH do eval test x\${$as_var+set} = xset \ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH # as_fn_error STATUS ERROR [LINENO LOG_FD] # ---------------------------------------- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are # provided, also output the error to LOG_FD, referencing LINENO. Then exit the # script with STATUS, using 1 if that was 0. as_fn_error () { as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi $as_echo "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. as_fn_set_status () { return $1 } # as_fn_set_status # as_fn_exit STATUS # ----------------- # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. as_fn_exit () { set +e as_fn_set_status $1 exit $1 } # as_fn_exit # as_fn_unset VAR # --------------- # Portably unset VAR. as_fn_unset () { { eval $1=; unset $1;} } as_unset=as_fn_unset # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. Take # advantage of any shell optimizations that allow amortized linear growth over # repeated appends, instead of the typical quadratic growth present in naive # implementations. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : eval 'as_fn_append () { eval $1+=\$2 }' else as_fn_append () { eval $1=\$$1\$2 } fi # as_fn_append # as_fn_arith ARG... # ------------------ # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The arguments # must be portable across $(()) and expr. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : eval 'as_fn_arith () { as_val=$(( $* )) }' else as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` } fi # as_fn_arith if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in #((((( -n*) case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. xy) ECHO_C='\c';; *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -pR' fi else as_ln_s='cp -pR' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null # as_fn_mkdir_p # ------------- # Create "$as_dir" as a directory, including parents if necessary. as_fn_mkdir_p () { case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || eval $as_mkdir_p || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" } # as_fn_mkdir_p if mkdir -p . 2>/dev/null; then as_mkdir_p='mkdir -p "$as_dir"' else test -d ./-p && rmdir ./-p as_mkdir_p=false fi # as_fn_executable_p FILE # ----------------------- # Test if FILE is an executable regular file. as_fn_executable_p () { test -f "$1" && test -x "$1" } # as_fn_executable_p as_test_x='test -x' as_executable_p=as_fn_executable_p # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" exec 6>&1 ## ----------------------------------- ## ## Main body of $CONFIG_STATUS script. ## ## ----------------------------------- ## _ASEOF test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # Save the log message, to keep $0 and so on meaningful, and to # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" This file was extended by mednaffe $as_me 0.8.6, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_LINKS = $CONFIG_LINKS CONFIG_COMMANDS = $CONFIG_COMMANDS $ $0 $@ on `(hostname || uname -n) 2>/dev/null | sed 1q` " _ACEOF case $ac_config_files in *" "*) set x $ac_config_files; shift; ac_config_files=$*;; esac case $ac_config_headers in *" "*) set x $ac_config_headers; shift; ac_config_headers=$*;; esac cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # Files that config.status was made for. config_files="$ac_config_files" config_headers="$ac_config_headers" config_commands="$ac_config_commands" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ac_cs_usage="\ \`$as_me' instantiates files and other configuration actions from templates according to the current configuration. Unless the files and actions are specified as TAGs, all are instantiated by default. Usage: $0 [OPTION]... [TAG]... -h, --help print this help, then exit -V, --version print version number and configuration settings, then exit --config print configuration, then exit -q, --quiet, --silent do not print progress messages -d, --debug don't remove temporary files --recheck update $as_me by reconfiguring in the same conditions --file=FILE[:TEMPLATE] instantiate the configuration file FILE --header=FILE[:TEMPLATE] instantiate the configuration header FILE Configuration files: $config_files Configuration headers: $config_headers Configuration commands: $config_commands Report bugs to ." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ mednaffe config.status 0.8.6 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" Copyright (C) 2012 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." ac_pwd='$ac_pwd' srcdir='$srcdir' INSTALL='$INSTALL' MKDIR_P='$MKDIR_P' AWK='$AWK' test -n "\$AWK" || AWK=awk _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # The default lists apply if the user does not specify any file. ac_need_defaults=: while test $# != 0 do case $1 in --*=?*) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` ac_shift=: ;; --*=) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg= ac_shift=: ;; *) ac_option=$1 ac_optarg=$2 ac_shift=shift ;; esac case $ac_option in # Handling of the options. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) $as_echo "$ac_cs_version"; exit ;; --config | --confi | --conf | --con | --co | --c ) $as_echo "$ac_cs_config"; exit ;; --debug | --debu | --deb | --de | --d | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; '') as_fn_error $? "missing file argument" ;; esac as_fn_append CONFIG_FILES " '$ac_optarg'" ac_need_defaults=false;; --header | --heade | --head | --hea ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; esac as_fn_append CONFIG_HEADERS " '$ac_optarg'" ac_need_defaults=false;; --he | --h) # Conflict between --help and --header as_fn_error $? "ambiguous option: \`$1' Try \`$0 --help' for more information.";; --help | --hel | -h ) $as_echo "$ac_cs_usage"; exit ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=: ;; # This is an error. -*) as_fn_error $? "unrecognized option: \`$1' Try \`$0 --help' for more information." ;; *) as_fn_append ac_config_targets " $1" ac_need_defaults=false ;; esac shift done ac_configure_extra_args= if $ac_cs_silent; then exec 6>/dev/null ac_configure_extra_args="$ac_configure_extra_args --silent" fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 if \$ac_cs_recheck; then set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion shift \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 CONFIG_SHELL='$SHELL' export CONFIG_SHELL exec "\$@" fi _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 exec 5>>config.log { echo sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX $as_echo "$ac_log" } >&5 _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # # INIT-COMMANDS # AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # Handling of arguments. for ac_config_target in $ac_config_targets do case $ac_config_target in "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "share/Makefile") CONFIG_FILES="$CONFIG_FILES share/Makefile" ;; "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; esac done # If the user did not use the arguments to specify the items to instantiate, # then the envvar interface is used. Set only those that are not. # We use the long form for the default assignment because of an extremely # bizarre bug on SunOS 4.1.3. if $ac_need_defaults; then test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands fi # Have a temporary directory for convenience. Make it in the build tree # simply because there is no reason against having it here, and in addition, # creating and moving files from /tmp can sometimes cause problems. # Hook for its removal unless debugging. # Note that there is a small window in which the directory will not be cleaned: # after its creation but before its name has been assigned to `$tmp'. $debug || { tmp= ac_tmp= trap 'exit_status=$? : "${ac_tmp:=$tmp}" { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status ' 0 trap 'as_fn_exit 1' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. { tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && test -d "$tmp" } || { tmp=./conf$$-$RANDOM (umask 077 && mkdir "$tmp") } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 ac_tmp=$tmp # Set up the scripts for CONFIG_FILES section. # No need to generate them if there are no CONFIG_FILES. # This happens for instance with `./config.status config.h'. if test -n "$CONFIG_FILES"; then ac_cr=`echo X | tr X '\015'` # On cygwin, bash can eat \r inside `` if the user requested igncr. # But we know of no other shell where ac_cr would be empty at this # point, so we can use a bashism as a fallback. if test "x$ac_cr" = x; then eval ac_cr=\$\'\\r\' fi ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then ac_cs_awk_cr='\\r' else ac_cs_awk_cr=$ac_cr fi echo 'BEGIN {' >"$ac_tmp/subs1.awk" && _ACEOF { echo "cat >conf$$subs.awk <<_ACEOF" && echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && echo "_ACEOF" } >conf$$subs.sh || as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` ac_delim='%!_!# ' for ac_last_try in false false false false false :; do . ./conf$$subs.sh || as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` if test $ac_delim_n = $ac_delim_num; then break elif $ac_last_try; then as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done rm -f conf$$subs.sh cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && _ACEOF sed -n ' h s/^/S["/; s/!.*/"]=/ p g s/^[^!]*!// :repl t repl s/'"$ac_delim"'$// t delim :nl h s/\(.\{148\}\)..*/\1/ t more1 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ p n b repl :more1 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t nl :delim h s/\(.\{148\}\)..*/\1/ t more2 s/["\\]/\\&/g; s/^/"/; s/$/"/ p b :more2 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t delim ' >$CONFIG_STATUS || ac_write_fail=1 rm -f conf$$subs.awk cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 _ACAWK cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && for (key in S) S_is_set[key] = 1 FS = "" } { line = $ 0 nfields = split(line, field, "@") substed = 0 len = length(field[1]) for (i = 2; i < nfields; i++) { key = field[i] keylen = length(key) if (S_is_set[key]) { value = S[key] line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) len += length(value) + length(field[++i]) substed = 1 } else len += 1 + keylen } print line } _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" else cat fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 _ACEOF # VPATH may cause trouble with some makes, so we remove sole $(srcdir), # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and # trailing colons and then remove the whole line if VPATH becomes empty # (actually we leave an empty line to preserve line numbers). if test "x$srcdir" = x.; then ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ h s/// s/^/:/ s/[ ]*$/:/ s/:\$(srcdir):/:/g s/:\${srcdir}:/:/g s/:@srcdir@:/:/g s/^:*// s/:*$// x s/\(=[ ]*\).*/\1/ G s/\n// s/^[^=]*=[ ]*$// }' fi cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 fi # test -n "$CONFIG_FILES" # Set up the scripts for CONFIG_HEADERS section. # No need to generate them if there are no CONFIG_HEADERS. # This happens for instance with `./config.status Makefile'. if test -n "$CONFIG_HEADERS"; then cat >"$ac_tmp/defines.awk" <<\_ACAWK || BEGIN { _ACEOF # Transform confdefs.h into an awk script `defines.awk', embedded as # here-document in config.status, that substitutes the proper values into # config.h.in to produce config.h. # Create a delimiter string that does not exist in confdefs.h, to ease # handling of long lines. ac_delim='%!_!# ' for ac_last_try in false false :; do ac_tt=`sed -n "/$ac_delim/p" confdefs.h` if test -z "$ac_tt"; then break elif $ac_last_try; then as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done # For the awk script, D is an array of macro values keyed by name, # likewise P contains macro parameters if any. Preserve backslash # newline sequences. ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* sed -n ' s/.\{148\}/&'"$ac_delim"'/g t rset :rset s/^[ ]*#[ ]*define[ ][ ]*/ / t def d :def s/\\$// t bsnl s/["\\]/\\&/g s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ D["\1"]=" \3"/p s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p d :bsnl s/["\\]/\\&/g s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ D["\1"]=" \3\\\\\\n"\\/p t cont s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p t cont d :cont n s/.\{148\}/&'"$ac_delim"'/g t clear :clear s/\\$// t bsnlc s/["\\]/\\&/g; s/^/"/; s/$/"/p d :bsnlc s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p b cont ' >$CONFIG_STATUS || ac_write_fail=1 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 for (key in D) D_is_set[key] = 1 FS = "" } /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { line = \$ 0 split(line, arg, " ") if (arg[1] == "#") { defundef = arg[2] mac1 = arg[3] } else { defundef = substr(arg[1], 2) mac1 = arg[2] } split(mac1, mac2, "(") #) macro = mac2[1] prefix = substr(line, 1, index(line, defundef) - 1) if (D_is_set[macro]) { # Preserve the white space surrounding the "#". print prefix "define", macro P[macro] D[macro] next } else { # Replace #undef with comments. This is necessary, for example, # in the case of _POSIX_SOURCE, which is predefined and required # on some systems where configure will not decide to define it. if (defundef == "undef") { print "/*", prefix defundef, macro, "*/" next } } } { print } _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 fi # test -n "$CONFIG_HEADERS" eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" shift for ac_tag do case $ac_tag in :[FHLC]) ac_mode=$ac_tag; continue;; esac case $ac_mode$ac_tag in :[FHL]*:*);; :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; :[FH]-) ac_tag=-:-;; :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; esac ac_save_IFS=$IFS IFS=: set x $ac_tag IFS=$ac_save_IFS shift ac_file=$1 shift case $ac_mode in :L) ac_source=$1;; :[FH]) ac_file_inputs= for ac_f do case $ac_f in -) ac_f="$ac_tmp/stdin";; *) # Look for the file first in the build tree, then in the source tree # (if the path is not absolute). The absolute path cannot be DOS-style, # because $ac_f cannot contain `:'. test -f "$ac_f" || case $ac_f in [\\/$]*) false;; *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; esac || as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; esac case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac as_fn_append ac_file_inputs " '$ac_f'" done # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ configure_input='Generated from '` $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' `' by configure.' if test x"$ac_file" != x-; then configure_input="$ac_file. $configure_input" { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 $as_echo "$as_me: creating $ac_file" >&6;} fi # Neutralize special characters interpreted by sed in replacement strings. case $configure_input in #( *\&* | *\|* | *\\* ) ac_sed_conf_input=`$as_echo "$configure_input" | sed 's/[\\\\&|]/\\\\&/g'`;; #( *) ac_sed_conf_input=$configure_input;; esac case $ac_tag in *:-:* | *:-) cat >"$ac_tmp/stdin" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; esac ;; esac ac_dir=`$as_dirname -- "$ac_file" || $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` as_dir="$ac_dir"; as_fn_mkdir_p ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix case $ac_mode in :F) # # CONFIG_FILE # case $INSTALL in [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; esac ac_MKDIR_P=$MKDIR_P case $MKDIR_P in [\\/$]* | ?:[\\/]* ) ;; */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; esac _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # If the template does not know about datarootdir, expand it. # FIXME: This hack should be removed a few years after 2.60. ac_datarootdir_hack=; ac_datarootdir_seen= ac_sed_dataroot=' /datarootdir/ { p q } /@datadir@/p /@docdir@/p /@infodir@/p /@localedir@/p /@mandir@/p' case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in *datarootdir*) ac_datarootdir_seen=yes;; *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_datarootdir_hack=' s&@datadir@&$datadir&g s&@docdir@&$docdir&g s&@infodir@&$infodir&g s&@localedir@&$localedir&g s&@mandir@&$mandir&g s&\\\${datarootdir}&$datarootdir&g' ;; esac _ACEOF # Neutralize VPATH when `$srcdir' = `.'. # Shell code in configure.ac might set extrasub. # FIXME: do we really want to maintain this feature? cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_sed_extra="$ac_vpsub $extrasub _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 :t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b s|@configure_input@|$ac_sed_conf_input|;t t s&@top_builddir@&$ac_top_builddir_sub&;t t s&@top_build_prefix@&$ac_top_build_prefix&;t t s&@srcdir@&$ac_srcdir&;t t s&@abs_srcdir@&$ac_abs_srcdir&;t t s&@top_srcdir@&$ac_top_srcdir&;t t s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t s&@builddir@&$ac_builddir&;t t s&@abs_builddir@&$ac_abs_builddir&;t t s&@abs_top_builddir@&$ac_abs_top_builddir&;t t s&@INSTALL@&$ac_INSTALL&;t t s&@MKDIR_P@&$ac_MKDIR_P&;t t $ac_datarootdir_hack " eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ "$ac_tmp/out"`; test -z "$ac_out"; } && { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&5 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&2;} rm -f "$ac_tmp/stdin" case $ac_file in -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; esac \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; :H) # # CONFIG_HEADER # if test x"$ac_file" != x-; then { $as_echo "/* $configure_input */" \ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" } >"$ac_tmp/config.h" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 $as_echo "$as_me: $ac_file is unchanged" >&6;} else rm -f "$ac_file" mv "$ac_tmp/config.h" "$ac_file" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 fi else $as_echo "/* $configure_input */" \ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ || as_fn_error $? "could not create -" "$LINENO" 5 fi # Compute "$ac_file"'s index in $config_headers. _am_arg="$ac_file" _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $_am_arg | $_am_arg:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$_am_arg" : 'X\(//\)[^/]' \| \ X"$_am_arg" : 'X\(//\)$' \| \ X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$_am_arg" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'`/stamp-h$_am_stamp_count ;; :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 $as_echo "$as_me: executing $ac_file commands" >&6;} ;; esac case $ac_file$ac_mode in "depfiles":C) test x"$AMDEP_TRUE" != x"" || { # Older Autoconf quotes --file arguments for eval, but not when files # are listed without --file. Let's play safe and only enable the eval # if we detect the quoting. case $CONFIG_FILES in *\'*) eval set x "$CONFIG_FILES" ;; *) set x $CONFIG_FILES ;; esac shift for mf do # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. # We used to match only the files named 'Makefile.in', but # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. # Grep'ing the whole file is not good either: AIX grep has a line # limit of 2048, but all sed's we know have understand at least 4000. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then dirpart=`$as_dirname -- "$mf" || $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$mf" : 'X\(//\)[^/]' \| \ X"$mf" : 'X\(//\)$' \| \ X"$mf" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$mf" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` else continue fi # Extract the definition of DEPDIR, am__include, and am__quote # from the Makefile without running 'make'. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue am__include=`sed -n 's/^am__include = //p' < "$mf"` test -z "$am__include" && continue am__quote=`sed -n 's/^am__quote = //p' < "$mf"` # Find all dependency output files, they are included files with # $(DEPDIR) in their names. We invoke sed twice because it is the # simplest approach to changing $(DEPDIR) to its actual value in the # expansion. for file in `sed -n " s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`$as_dirname -- "$file" || $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$file" : 'X\(//\)[^/]' \| \ X"$file" : 'X\(//\)$' \| \ X"$file" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` as_dir=$dirpart/$fdir; as_fn_mkdir_p # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done } ;; esac done # for ac_tag as_fn_exit 0 _ACEOF ac_clean_files=$ac_clean_files_save test $ac_write_fail = 0 || as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 # configure is writing to config.log, and then calls config.status. # config.status does its own redirection, appending to config.log. # Unfortunately, on DOS this fails, as config.log is still kept open # by configure, so config.status won't be able to write to it; its # output is simply discarded. So we exec the FD to /dev/null, # effectively closing config.log, so it can be properly (re)opened and # appended to by config.status. When coming back to configure, we # need to make the FD available again. if test "$no_create" != yes; then ac_cs_success=: ac_config_status_args= test "$silent" = yes && ac_config_status_args="$ac_config_status_args --quiet" exec 5>/dev/null $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false exec 5>>config.log # Use ||, not &&, to avoid exiting from the if with $? = 1, which # would make configure fail if this is the last instruction. $ac_cs_success || as_fn_exit 1 fi if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} fi mednaffe-0.8.6/configure.ac000066400000000000000000000026501313731622300155640ustar00rootroot00000000000000# -*- Autoconf -*- # Process this file with autoconf to produce a configure script. AC_PREREQ([2.68]) AC_INIT([mednaffe], [0.8.6], [BUG-REPORT-ADDRESS]) AM_INIT_AUTOMAKE([foreign -Wall -Werror]) AC_CONFIG_SRCDIR([src/common.h]) AC_CONFIG_HEADERS([config.h]) # Checks for programs. AC_PROG_CC AC_LANG_C CFLAGS="-s -O2 -std=c99 -Wall -Wl,-export-dynamic" # Checks for libraries. AC_ARG_ENABLE(gtk3, [AC_HELP_STRING([--enable-gtk3], [Compile against GTK 3.x explicitly])], [enable_gtk3=$enableval], [enable_gtk3="no"]) AC_CHECK_PROG(have_pkg_config, pkg-config, yes, no) if test "x$have_pkg_config" = xno; then AC_MSG_ERROR(pkg-config is required to compile Mednaffe) else PKG_PROG_PKG_CONFIG fi if test "x$enable_gtk3" = xyes; then PKG_CHECK_MODULES([GTK],[gtk+-3.0 >= 3.4 glib-2.0 >= 2.32 gthread-2.0], AC_MSG_NOTICE([GTK 3.x selected explicitly]), AC_MSG_ERROR(Mednaffe needs GTK+ >= 3.4 development libraries)) GTK_DEFINES="-DGTK3_ENABLED" AC_DEFINE([GTK3_ENABLED],[1],[Define to 1 if you have GTK 3]) else PKG_CHECK_MODULES([GTK],[gtk+-2.0 >= 2.24 glib-2.0 >= 2.32 gthread-2.0], AC_MSG_NOTICE([selecting GTK 2.x automatically]), AC_MSG_ERROR(Mednaffe needs GTK+ >= 2.24 development libraries)) GTK_DEFINES="-DGTK2_ENABLED" AC_DEFINE([GTK2_ENABLED],[1],[Define to 1 if you have GTK 2]) fi AC_SUBST(GTK_DEFINES) AC_CONFIG_FILES([Makefile share/Makefile src/Makefile]) AC_OUTPUT mednaffe-0.8.6/depcomp000077500000000000000000000560171313731622300146610ustar00rootroot00000000000000#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2016-01-11.22; # UTC # Copyright (C) 1999-2017 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # Originally written by Alexandre Oliva . case $1 in '') echo "$0: No command. Try '$0 --help' for more information." 1>&2 exit 1; ;; -h | --h*) cat <<\EOF Usage: depcomp [--help] [--version] PROGRAM [ARGS] Run PROGRAMS ARGS to compile a file, generating dependencies as side-effects. Environment variables: depmode Dependency tracking mode. source Source file read by 'PROGRAMS ARGS'. object Object file output by 'PROGRAMS ARGS'. DEPDIR directory where to store dependencies. depfile Dependency file to output. tmpdepfile Temporary file to use when outputting dependencies. libtool Whether libtool is used (yes/no). Report bugs to . EOF exit $? ;; -v | --v*) echo "depcomp $scriptversion" exit $? ;; esac # Get the directory component of the given path, and save it in the # global variables '$dir'. Note that this directory component will # be either empty or ending with a '/' character. This is deliberate. set_dir_from () { case $1 in */*) dir=`echo "$1" | sed -e 's|/[^/]*$|/|'`;; *) dir=;; esac } # Get the suffix-stripped basename of the given path, and save it the # global variable '$base'. set_base_from () { base=`echo "$1" | sed -e 's|^.*/||' -e 's/\.[^.]*$//'` } # If no dependency file was actually created by the compiler invocation, # we still have to create a dummy depfile, to avoid errors with the # Makefile "include basename.Plo" scheme. make_dummy_depfile () { echo "#dummy" > "$depfile" } # Factor out some common post-processing of the generated depfile. # Requires the auxiliary global variable '$tmpdepfile' to be set. aix_post_process_depfile () { # If the compiler actually managed to produce a dependency file, # post-process it. if test -f "$tmpdepfile"; then # Each line is of the form 'foo.o: dependency.h'. # Do two passes, one to just change these to # $object: dependency.h # and one to simply output # dependency.h: # which is needed to avoid the deleted-header problem. { sed -e "s,^.*\.[$lower]*:,$object:," < "$tmpdepfile" sed -e "s,^.*\.[$lower]*:[$tab ]*,," -e 's,$,:,' < "$tmpdepfile" } > "$depfile" rm -f "$tmpdepfile" else make_dummy_depfile fi } # A tabulation character. tab=' ' # A newline character. nl=' ' # Character ranges might be problematic outside the C locale. # These definitions help. upper=ABCDEFGHIJKLMNOPQRSTUVWXYZ lower=abcdefghijklmnopqrstuvwxyz digits=0123456789 alpha=${upper}${lower} if test -z "$depmode" || test -z "$source" || test -z "$object"; then echo "depcomp: Variables source, object and depmode must be set" 1>&2 exit 1 fi # Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po. depfile=${depfile-`echo "$object" | sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`} tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} rm -f "$tmpdepfile" # Avoid interferences from the environment. gccflag= dashmflag= # Some modes work just like other modes, but use different flags. We # parameterize here, but still list the modes in the big case below, # to make depend.m4 easier to write. Note that we *cannot* use a case # here, because this file can only contain one case statement. if test "$depmode" = hp; then # HP compiler uses -M and no extra arg. gccflag=-M depmode=gcc fi if test "$depmode" = dashXmstdout; then # This is just like dashmstdout with a different argument. dashmflag=-xM depmode=dashmstdout fi cygpath_u="cygpath -u -f -" if test "$depmode" = msvcmsys; then # This is just like msvisualcpp but w/o cygpath translation. # Just convert the backslash-escaped backslashes to single forward # slashes to satisfy depend.m4 cygpath_u='sed s,\\\\,/,g' depmode=msvisualcpp fi if test "$depmode" = msvc7msys; then # This is just like msvc7 but w/o cygpath translation. # Just convert the backslash-escaped backslashes to single forward # slashes to satisfy depend.m4 cygpath_u='sed s,\\\\,/,g' depmode=msvc7 fi if test "$depmode" = xlc; then # IBM C/C++ Compilers xlc/xlC can output gcc-like dependency information. gccflag=-qmakedep=gcc,-MF depmode=gcc fi case "$depmode" in gcc3) ## gcc 3 implements dependency tracking that does exactly what ## we want. Yay! Note: for some reason libtool 1.4 doesn't like ## it if -MD -MP comes after the -MF stuff. Hmm. ## Unfortunately, FreeBSD c89 acceptance of flags depends upon ## the command line argument order; so add the flags where they ## appear in depend2.am. Note that the slowdown incurred here ## affects only configure: in makefiles, %FASTDEP% shortcuts this. for arg do case $arg in -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;; *) set fnord "$@" "$arg" ;; esac shift # fnord shift # $arg done "$@" stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi mv "$tmpdepfile" "$depfile" ;; gcc) ## Note that this doesn't just cater to obsosete pre-3.x GCC compilers. ## but also to in-use compilers like IMB xlc/xlC and the HP C compiler. ## (see the conditional assignment to $gccflag above). ## There are various ways to get dependency output from gcc. Here's ## why we pick this rather obscure method: ## - Don't want to use -MD because we'd like the dependencies to end ## up in a subdir. Having to rename by hand is ugly. ## (We might end up doing this anyway to support other compilers.) ## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like ## -MM, not -M (despite what the docs say). Also, it might not be ## supported by the other compilers which use the 'gcc' depmode. ## - Using -M directly means running the compiler twice (even worse ## than renaming). if test -z "$gccflag"; then gccflag=-MD, fi "$@" -Wp,"$gccflag$tmpdepfile" stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" echo "$object : \\" > "$depfile" # The second -e expression handles DOS-style file names with drive # letters. sed -e 's/^[^:]*: / /' \ -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" ## This next piece of magic avoids the "deleted header file" problem. ## The problem is that when a header file which appears in a .P file ## is deleted, the dependency causes make to die (because there is ## typically no way to rebuild the header). We avoid this by adding ## dummy dependencies for each header file. Too bad gcc doesn't do ## this for us directly. ## Some versions of gcc put a space before the ':'. On the theory ## that the space means something, we add a space to the output as ## well. hp depmode also adds that space, but also prefixes the VPATH ## to the object. Take care to not repeat it in the output. ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. tr ' ' "$nl" < "$tmpdepfile" \ | sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; hp) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; sgi) if test "$libtool" = yes; then "$@" "-Wp,-MDupdate,$tmpdepfile" else "$@" -MDupdate "$tmpdepfile" fi stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files echo "$object : \\" > "$depfile" # Clip off the initial element (the dependent). Don't try to be # clever and replace this with sed code, as IRIX sed won't handle # lines with more than a fixed number of characters (4096 in # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; # the IRIX cc adds comments like '#:fec' to the end of the # dependency line. tr ' ' "$nl" < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' \ | tr "$nl" ' ' >> "$depfile" echo >> "$depfile" # The second pass generates a dummy entry for each header file. tr ' ' "$nl" < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ >> "$depfile" else make_dummy_depfile fi rm -f "$tmpdepfile" ;; xlc) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; aix) # The C for AIX Compiler uses -M and outputs the dependencies # in a .u file. In older versions, this file always lives in the # current directory. Also, the AIX compiler puts '$object:' at the # start of each line; $object doesn't have directory information. # Version 6 uses the directory in both cases. set_dir_from "$object" set_base_from "$object" if test "$libtool" = yes; then tmpdepfile1=$dir$base.u tmpdepfile2=$base.u tmpdepfile3=$dir.libs/$base.u "$@" -Wc,-M else tmpdepfile1=$dir$base.u tmpdepfile2=$dir$base.u tmpdepfile3=$dir$base.u "$@" -M fi stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" do test -f "$tmpdepfile" && break done aix_post_process_depfile ;; tcc) # tcc (Tiny C Compiler) understand '-MD -MF file' since version 0.9.26 # FIXME: That version still under development at the moment of writing. # Make that this statement remains true also for stable, released # versions. # It will wrap lines (doesn't matter whether long or short) with a # trailing '\', as in: # # foo.o : \ # foo.c \ # foo.h \ # # It will put a trailing '\' even on the last line, and will use leading # spaces rather than leading tabs (at least since its commit 0394caf7 # "Emit spaces for -MD"). "$@" -MD -MF "$tmpdepfile" stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" # Each non-empty line is of the form 'foo.o : \' or ' dep.h \'. # We have to change lines of the first kind to '$object: \'. sed -e "s|.*:|$object :|" < "$tmpdepfile" > "$depfile" # And for each line of the second kind, we have to emit a 'dep.h:' # dummy dependency, to avoid the deleted-header problem. sed -n -e 's|^ *\(.*\) *\\$|\1:|p' < "$tmpdepfile" >> "$depfile" rm -f "$tmpdepfile" ;; ## The order of this option in the case statement is important, since the ## shell code in configure will try each of these formats in the order ## listed in this file. A plain '-MD' option would be understood by many ## compilers, so we must ensure this comes after the gcc and icc options. pgcc) # Portland's C compiler understands '-MD'. # Will always output deps to 'file.d' where file is the root name of the # source file under compilation, even if file resides in a subdirectory. # The object file name does not affect the name of the '.d' file. # pgcc 10.2 will output # foo.o: sub/foo.c sub/foo.h # and will wrap long lines using '\' : # foo.o: sub/foo.c ... \ # sub/foo.h ... \ # ... set_dir_from "$object" # Use the source, not the object, to determine the base name, since # that's sadly what pgcc will do too. set_base_from "$source" tmpdepfile=$base.d # For projects that build the same source file twice into different object # files, the pgcc approach of using the *source* file root name can cause # problems in parallel builds. Use a locking strategy to avoid stomping on # the same $tmpdepfile. lockdir=$base.d-lock trap " echo '$0: caught signal, cleaning up...' >&2 rmdir '$lockdir' exit 1 " 1 2 13 15 numtries=100 i=$numtries while test $i -gt 0; do # mkdir is a portable test-and-set. if mkdir "$lockdir" 2>/dev/null; then # This process acquired the lock. "$@" -MD stat=$? # Release the lock. rmdir "$lockdir" break else # If the lock is being held by a different process, wait # until the winning process is done or we timeout. while test -d "$lockdir" && test $i -gt 0; do sleep 1 i=`expr $i - 1` done fi i=`expr $i - 1` done trap - 1 2 13 15 if test $i -le 0; then echo "$0: failed to acquire lock after $numtries attempts" >&2 echo "$0: check lockdir '$lockdir'" >&2 exit 1 fi if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" # Each line is of the form `foo.o: dependent.h', # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'. # Do two passes, one to just change these to # `$object: dependent.h' and one to simply `dependent.h:'. sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process this invocation # correctly. Breaking it into two sed invocations is a workaround. sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; hp2) # The "hp" stanza above does not work with aCC (C++) and HP's ia64 # compilers, which have integrated preprocessors. The correct option # to use with these is +Maked; it writes dependencies to a file named # 'foo.d', which lands next to the object file, wherever that # happens to be. # Much of this is similar to the tru64 case; see comments there. set_dir_from "$object" set_base_from "$object" if test "$libtool" = yes; then tmpdepfile1=$dir$base.d tmpdepfile2=$dir.libs/$base.d "$@" -Wc,+Maked else tmpdepfile1=$dir$base.d tmpdepfile2=$dir$base.d "$@" +Maked fi stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile1" "$tmpdepfile2" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" do test -f "$tmpdepfile" && break done if test -f "$tmpdepfile"; then sed -e "s,^.*\.[$lower]*:,$object:," "$tmpdepfile" > "$depfile" # Add 'dependent.h:' lines. sed -ne '2,${ s/^ *// s/ \\*$// s/$/:/ p }' "$tmpdepfile" >> "$depfile" else make_dummy_depfile fi rm -f "$tmpdepfile" "$tmpdepfile2" ;; tru64) # The Tru64 compiler uses -MD to generate dependencies as a side # effect. 'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'. # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put # dependencies in 'foo.d' instead, so we check for that too. # Subdirectories are respected. set_dir_from "$object" set_base_from "$object" if test "$libtool" = yes; then # Libtool generates 2 separate objects for the 2 libraries. These # two compilations output dependencies in $dir.libs/$base.o.d and # in $dir$base.o.d. We have to check for both files, because # one of the two compilations can be disabled. We should prefer # $dir$base.o.d over $dir.libs/$base.o.d because the latter is # automatically cleaned when .libs/ is deleted, while ignoring # the former would cause a distcleancheck panic. tmpdepfile1=$dir$base.o.d # libtool 1.5 tmpdepfile2=$dir.libs/$base.o.d # Likewise. tmpdepfile3=$dir.libs/$base.d # Compaq CCC V6.2-504 "$@" -Wc,-MD else tmpdepfile1=$dir$base.d tmpdepfile2=$dir$base.d tmpdepfile3=$dir$base.d "$@" -MD fi stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" do test -f "$tmpdepfile" && break done # Same post-processing that is required for AIX mode. aix_post_process_depfile ;; msvc7) if test "$libtool" = yes; then showIncludes=-Wc,-showIncludes else showIncludes=-showIncludes fi "$@" $showIncludes > "$tmpdepfile" stat=$? grep -v '^Note: including file: ' "$tmpdepfile" if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" echo "$object : \\" > "$depfile" # The first sed program below extracts the file names and escapes # backslashes for cygpath. The second sed program outputs the file # name when reading, but also accumulates all include files in the # hold buffer in order to output them again at the end. This only # works with sed implementations that can handle large buffers. sed < "$tmpdepfile" -n ' /^Note: including file: *\(.*\)/ { s//\1/ s/\\/\\\\/g p }' | $cygpath_u | sort -u | sed -n ' s/ /\\ /g s/\(.*\)/'"$tab"'\1 \\/p s/.\(.*\) \\/\1:/ H $ { s/.*/'"$tab"'/ G p }' >> "$depfile" echo >> "$depfile" # make sure the fragment doesn't end with a backslash rm -f "$tmpdepfile" ;; msvc7msys) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; #nosideeffect) # This comment above is used by automake to tell side-effect # dependency tracking mechanisms from slower ones. dashmstdout) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout, regardless of -o. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi # Remove '-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done test -z "$dashmflag" && dashmflag=-M # Require at least two characters before searching for ':' # in the target name. This is to cope with DOS-style filenames: # a dependency such as 'c:/foo/bar' could be seen as target 'c' otherwise. "$@" $dashmflag | sed "s|^[$tab ]*[^:$tab ][^:][^:]*:[$tab ]*|$object: |" > "$tmpdepfile" rm -f "$depfile" cat < "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process this sed invocation # correctly. Breaking it into two sed invocations is a workaround. tr ' ' "$nl" < "$tmpdepfile" \ | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; dashXmstdout) # This case only exists to satisfy depend.m4. It is never actually # run, as this mode is specially recognized in the preamble. exit 1 ;; makedepend) "$@" || exit $? # Remove any Libtool call if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi # X makedepend shift cleared=no eat=no for arg do case $cleared in no) set ""; shift cleared=yes ;; esac if test $eat = yes; then eat=no continue fi case "$arg" in -D*|-I*) set fnord "$@" "$arg"; shift ;; # Strip any option that makedepend may not understand. Remove # the object too, otherwise makedepend will parse it as a source file. -arch) eat=yes ;; -*|$object) ;; *) set fnord "$@" "$arg"; shift ;; esac done obj_suffix=`echo "$object" | sed 's/^.*\././'` touch "$tmpdepfile" ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" rm -f "$depfile" # makedepend may prepend the VPATH from the source file name to the object. # No need to regex-escape $object, excess matching of '.' is harmless. sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process the last invocation # correctly. Breaking it into two sed invocations is a workaround. sed '1,2d' "$tmpdepfile" \ | tr ' ' "$nl" \ | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" "$tmpdepfile".bak ;; cpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi # Remove '-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done "$@" -E \ | sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ | sed '$ s: \\$::' > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" cat < "$tmpdepfile" >> "$depfile" sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; msvisualcpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi IFS=" " for arg do case "$arg" in -o) shift ;; $object) shift ;; "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") set fnord "$@" shift shift ;; *) set fnord "$@" "$arg" shift shift ;; esac done "$@" -E 2>/dev/null | sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::'"$tab"'\1 \\:p' >> "$depfile" echo "$tab" >> "$depfile" sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile" rm -f "$tmpdepfile" ;; msvcmsys) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; none) exec "$@" ;; *) echo "Unknown depmode $depmode" 1>&2 exit 1 ;; esac exit 0 # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC0" # time-stamp-end: "; # UTC" # End: mednaffe-0.8.6/install-sh000077500000000000000000000345241313731622300153070ustar00rootroot00000000000000#!/bin/sh # install - install a program, script, or datafile scriptversion=2016-01-11.22; # UTC # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the # following copyright and license. # # Copyright (C) 1994 X Consortium # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation the # rights to use, copy, modify, merge, publish, distribute, sublicense, and/or # sell copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN # AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- # TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # # Except as contained in this notice, the name of the X Consortium shall not # be used in advertising or otherwise to promote the sale, use or other deal- # ings in this Software without prior written authorization from the X Consor- # tium. # # # FSF changes to this file are in the public domain. # # Calling this script install-sh is preferred over install.sh, to prevent # 'make' implicit rules from creating a file called install from it # when there is no Makefile. # # This script is compatible with the BSD install script, but was written # from scratch. tab=' ' nl=' ' IFS=" $tab$nl" # Set DOITPROG to "echo" to test this script. doit=${DOITPROG-} doit_exec=${doit:-exec} # Put in absolute file names if you don't have them in your path; # or use environment vars. chgrpprog=${CHGRPPROG-chgrp} chmodprog=${CHMODPROG-chmod} chownprog=${CHOWNPROG-chown} cmpprog=${CMPPROG-cmp} cpprog=${CPPROG-cp} mkdirprog=${MKDIRPROG-mkdir} mvprog=${MVPROG-mv} rmprog=${RMPROG-rm} stripprog=${STRIPPROG-strip} posix_mkdir= # Desired mode of installed file. mode=0755 chgrpcmd= chmodcmd=$chmodprog chowncmd= mvcmd=$mvprog rmcmd="$rmprog -f" stripcmd= src= dst= dir_arg= dst_arg= copy_on_change=false is_target_a_directory=possibly usage="\ Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE or: $0 [OPTION]... SRCFILES... DIRECTORY or: $0 [OPTION]... -t DIRECTORY SRCFILES... or: $0 [OPTION]... -d DIRECTORIES... In the 1st form, copy SRCFILE to DSTFILE. In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. In the 4th, create DIRECTORIES. Options: --help display this help and exit. --version display version info and exit. -c (ignored) -C install only if different (preserve the last data modification time) -d create directories instead of installing files. -g GROUP $chgrpprog installed files to GROUP. -m MODE $chmodprog installed files to MODE. -o USER $chownprog installed files to USER. -s $stripprog installed files. -t DIRECTORY install into DIRECTORY. -T report an error if DSTFILE is a directory. Environment variables override the default commands: CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG " while test $# -ne 0; do case $1 in -c) ;; -C) copy_on_change=true;; -d) dir_arg=true;; -g) chgrpcmd="$chgrpprog $2" shift;; --help) echo "$usage"; exit $?;; -m) mode=$2 case $mode in *' '* | *"$tab"* | *"$nl"* | *'*'* | *'?'* | *'['*) echo "$0: invalid mode: $mode" >&2 exit 1;; esac shift;; -o) chowncmd="$chownprog $2" shift;; -s) stripcmd=$stripprog;; -t) is_target_a_directory=always dst_arg=$2 # Protect names problematic for 'test' and other utilities. case $dst_arg in -* | [=\(\)!]) dst_arg=./$dst_arg;; esac shift;; -T) is_target_a_directory=never;; --version) echo "$0 $scriptversion"; exit $?;; --) shift break;; -*) echo "$0: invalid option: $1" >&2 exit 1;; *) break;; esac shift done # We allow the use of options -d and -T together, by making -d # take the precedence; this is for compatibility with GNU install. if test -n "$dir_arg"; then if test -n "$dst_arg"; then echo "$0: target directory not allowed when installing a directory." >&2 exit 1 fi fi if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then # When -d is used, all remaining arguments are directories to create. # When -t is used, the destination is already specified. # Otherwise, the last argument is the destination. Remove it from $@. for arg do if test -n "$dst_arg"; then # $@ is not empty: it contains at least $arg. set fnord "$@" "$dst_arg" shift # fnord fi shift # arg dst_arg=$arg # Protect names problematic for 'test' and other utilities. case $dst_arg in -* | [=\(\)!]) dst_arg=./$dst_arg;; esac done fi if test $# -eq 0; then if test -z "$dir_arg"; then echo "$0: no input file specified." >&2 exit 1 fi # It's OK to call 'install-sh -d' without argument. # This can happen when creating conditional directories. exit 0 fi if test -z "$dir_arg"; then if test $# -gt 1 || test "$is_target_a_directory" = always; then if test ! -d "$dst_arg"; then echo "$0: $dst_arg: Is not a directory." >&2 exit 1 fi fi fi if test -z "$dir_arg"; then do_exit='(exit $ret); exit $ret' trap "ret=129; $do_exit" 1 trap "ret=130; $do_exit" 2 trap "ret=141; $do_exit" 13 trap "ret=143; $do_exit" 15 # Set umask so as not to create temps with too-generous modes. # However, 'strip' requires both read and write access to temps. case $mode in # Optimize common cases. *644) cp_umask=133;; *755) cp_umask=22;; *[0-7]) if test -z "$stripcmd"; then u_plus_rw= else u_plus_rw='% 200' fi cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;; *) if test -z "$stripcmd"; then u_plus_rw= else u_plus_rw=,u+rw fi cp_umask=$mode$u_plus_rw;; esac fi for src do # Protect names problematic for 'test' and other utilities. case $src in -* | [=\(\)!]) src=./$src;; esac if test -n "$dir_arg"; then dst=$src dstdir=$dst test -d "$dstdir" dstdir_status=$? else # Waiting for this to be detected by the "$cpprog $src $dsttmp" command # might cause directories to be created, which would be especially bad # if $src (and thus $dsttmp) contains '*'. if test ! -f "$src" && test ! -d "$src"; then echo "$0: $src does not exist." >&2 exit 1 fi if test -z "$dst_arg"; then echo "$0: no destination specified." >&2 exit 1 fi dst=$dst_arg # If destination is a directory, append the input filename; won't work # if double slashes aren't ignored. if test -d "$dst"; then if test "$is_target_a_directory" = never; then echo "$0: $dst_arg: Is a directory" >&2 exit 1 fi dstdir=$dst dst=$dstdir/`basename "$src"` dstdir_status=0 else dstdir=`dirname "$dst"` test -d "$dstdir" dstdir_status=$? fi fi obsolete_mkdir_used=false if test $dstdir_status != 0; then case $posix_mkdir in '') # Create intermediate dirs using mode 755 as modified by the umask. # This is like FreeBSD 'install' as of 1997-10-28. umask=`umask` case $stripcmd.$umask in # Optimize common cases. *[2367][2367]) mkdir_umask=$umask;; .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;; *[0-7]) mkdir_umask=`expr $umask + 22 \ - $umask % 100 % 40 + $umask % 20 \ - $umask % 10 % 4 + $umask % 2 `;; *) mkdir_umask=$umask,go-w;; esac # With -d, create the new directory with the user-specified mode. # Otherwise, rely on $mkdir_umask. if test -n "$dir_arg"; then mkdir_mode=-m$mode else mkdir_mode= fi posix_mkdir=false case $umask in *[123567][0-7][0-7]) # POSIX mkdir -p sets u+wx bits regardless of umask, which # is incompatible with FreeBSD 'install' when (umask & 300) != 0. ;; *) tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0 if (umask $mkdir_umask && exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1 then if test -z "$dir_arg" || { # Check for POSIX incompatibilities with -m. # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or # other-writable bit of parent directory when it shouldn't. # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. ls_ld_tmpdir=`ls -ld "$tmpdir"` case $ls_ld_tmpdir in d????-?r-*) different_mode=700;; d????-?--*) different_mode=755;; *) false;; esac && $mkdirprog -m$different_mode -p -- "$tmpdir" && { ls_ld_tmpdir_1=`ls -ld "$tmpdir"` test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" } } then posix_mkdir=: fi rmdir "$tmpdir/d" "$tmpdir" else # Remove any dirs left behind by ancient mkdir implementations. rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null fi trap '' 0;; esac;; esac if $posix_mkdir && ( umask $mkdir_umask && $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" ) then : else # The umask is ridiculous, or mkdir does not conform to POSIX, # or it failed possibly due to a race condition. Create the # directory the slow way, step by step, checking for races as we go. case $dstdir in /*) prefix='/';; [-=\(\)!]*) prefix='./';; *) prefix='';; esac oIFS=$IFS IFS=/ set -f set fnord $dstdir shift set +f IFS=$oIFS prefixes= for d do test X"$d" = X && continue prefix=$prefix$d if test -d "$prefix"; then prefixes= else if $posix_mkdir; then (umask=$mkdir_umask && $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break # Don't fail if two instances are running concurrently. test -d "$prefix" || exit 1 else case $prefix in *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; *) qprefix=$prefix;; esac prefixes="$prefixes '$qprefix'" fi fi prefix=$prefix/ done if test -n "$prefixes"; then # Don't fail if two instances are running concurrently. (umask $mkdir_umask && eval "\$doit_exec \$mkdirprog $prefixes") || test -d "$dstdir" || exit 1 obsolete_mkdir_used=true fi fi fi if test -n "$dir_arg"; then { test -z "$chowncmd" || $doit $chowncmd "$dst"; } && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } && { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false || test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1 else # Make a couple of temp file names in the proper directory. dsttmp=$dstdir/_inst.$$_ rmtmp=$dstdir/_rm.$$_ # Trap to clean up those temp files at exit. trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 # Copy the file name to the temp name. (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") && # and set any options; do chmod last to preserve setuid bits. # # If any of these fail, we abort the whole thing. If we want to # ignore errors from any of these, just make sure not to ignore # errors from the above "$doit $cpprog $src $dsttmp" command. # { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } && { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } && # If -C, don't bother to copy if it wouldn't change the file. if $copy_on_change && old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` && new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` && set -f && set X $old && old=:$2:$4:$5:$6 && set X $new && new=:$2:$4:$5:$6 && set +f && test "$old" = "$new" && $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1 then rm -f "$dsttmp" else # Rename the file to the real destination. $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null || # The rename failed, perhaps because mv can't rename something else # to itself, or perhaps because mv is so ancient that it does not # support -f. { # Now remove or move aside any old file at destination location. # We try this two ways since rm can't unlink itself on some # systems and the destination file might be busy for other # reasons. In this case, the final cleanup might fail but the new # file should still install successfully. { test ! -f "$dst" || $doit $rmcmd -f "$dst" 2>/dev/null || { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; } } || { echo "$0: cannot unlink or rename $dst" >&2 (exit 1); exit 1 } } && # Now rename the file to the real destination. $doit $mvcmd "$dsttmp" "$dst" } fi || exit 1 trap '' 0 fi done # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC0" # time-stamp-end: "; # UTC" # End: mednaffe-0.8.6/missing000077500000000000000000000153311313731622300146750ustar00rootroot00000000000000#! /bin/sh # Common wrapper for a few potentially missing GNU programs. scriptversion=2016-01-11.22; # UTC # Copyright (C) 1996-2017 Free Software Foundation, Inc. # Originally written by Fran,cois Pinard , 1996. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. if test $# -eq 0; then echo 1>&2 "Try '$0 --help' for more information" exit 1 fi case $1 in --is-lightweight) # Used by our autoconf macros to check whether the available missing # script is modern enough. exit 0 ;; --run) # Back-compat with the calling convention used by older automake. shift ;; -h|--h|--he|--hel|--help) echo "\ $0 [OPTION]... PROGRAM [ARGUMENT]... Run 'PROGRAM [ARGUMENT]...', returning a proper advice when this fails due to PROGRAM being missing or too old. Options: -h, --help display this help and exit -v, --version output version information and exit Supported PROGRAM values: aclocal autoconf autoheader autom4te automake makeinfo bison yacc flex lex help2man Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and 'g' are ignored when checking the name. Send bug reports to ." exit $? ;; -v|--v|--ve|--ver|--vers|--versi|--versio|--version) echo "missing $scriptversion (GNU Automake)" exit $? ;; -*) echo 1>&2 "$0: unknown '$1' option" echo 1>&2 "Try '$0 --help' for more information" exit 1 ;; esac # Run the given program, remember its exit status. "$@"; st=$? # If it succeeded, we are done. test $st -eq 0 && exit 0 # Also exit now if we it failed (or wasn't found), and '--version' was # passed; such an option is passed most likely to detect whether the # program is present and works. case $2 in --version|--help) exit $st;; esac # Exit code 63 means version mismatch. This often happens when the user # tries to use an ancient version of a tool on a file that requires a # minimum version. if test $st -eq 63; then msg="probably too old" elif test $st -eq 127; then # Program was missing. msg="missing on your system" else # Program was found and executed, but failed. Give up. exit $st fi perl_URL=http://www.perl.org/ flex_URL=http://flex.sourceforge.net/ gnu_software_URL=http://www.gnu.org/software program_details () { case $1 in aclocal|automake) echo "The '$1' program is part of the GNU Automake package:" echo "<$gnu_software_URL/automake>" echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:" echo "<$gnu_software_URL/autoconf>" echo "<$gnu_software_URL/m4/>" echo "<$perl_URL>" ;; autoconf|autom4te|autoheader) echo "The '$1' program is part of the GNU Autoconf package:" echo "<$gnu_software_URL/autoconf/>" echo "It also requires GNU m4 and Perl in order to run:" echo "<$gnu_software_URL/m4/>" echo "<$perl_URL>" ;; esac } give_advice () { # Normalize program name to check for. normalized_program=`echo "$1" | sed ' s/^gnu-//; t s/^gnu//; t s/^g//; t'` printf '%s\n' "'$1' is $msg." configure_deps="'configure.ac' or m4 files included by 'configure.ac'" case $normalized_program in autoconf*) echo "You should only need it if you modified 'configure.ac'," echo "or m4 files included by it." program_details 'autoconf' ;; autoheader*) echo "You should only need it if you modified 'acconfig.h' or" echo "$configure_deps." program_details 'autoheader' ;; automake*) echo "You should only need it if you modified 'Makefile.am' or" echo "$configure_deps." program_details 'automake' ;; aclocal*) echo "You should only need it if you modified 'acinclude.m4' or" echo "$configure_deps." program_details 'aclocal' ;; autom4te*) echo "You might have modified some maintainer files that require" echo "the 'autom4te' program to be rebuilt." program_details 'autom4te' ;; bison*|yacc*) echo "You should only need it if you modified a '.y' file." echo "You may want to install the GNU Bison package:" echo "<$gnu_software_URL/bison/>" ;; lex*|flex*) echo "You should only need it if you modified a '.l' file." echo "You may want to install the Fast Lexical Analyzer package:" echo "<$flex_URL>" ;; help2man*) echo "You should only need it if you modified a dependency" \ "of a man page." echo "You may want to install the GNU Help2man package:" echo "<$gnu_software_URL/help2man/>" ;; makeinfo*) echo "You should only need it if you modified a '.texi' file, or" echo "any other file indirectly affecting the aspect of the manual." echo "You might want to install the Texinfo package:" echo "<$gnu_software_URL/texinfo/>" echo "The spurious makeinfo call might also be the consequence of" echo "using a buggy 'make' (AIX, DU, IRIX), in which case you might" echo "want to install GNU make:" echo "<$gnu_software_URL/make/>" ;; *) echo "You might have modified some files without having the proper" echo "tools for further handling them. Check the 'README' file, it" echo "often tells you about the needed prerequisites for installing" echo "this package. You may also peek at any GNU archive site, in" echo "case some other package contains this missing '$1' program." ;; esac } give_advice "$1" | sed -e '1s/^/WARNING: /' \ -e '2,$s/^/ /' >&2 # Propagate the correct exit status (expected to be 127 for a program # not found, 63 for a program that failed due to version mismatch). exit $st # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC0" # time-stamp-end: "; # UTC" # End: mednaffe-0.8.6/share/000077500000000000000000000000001313731622300143755ustar00rootroot00000000000000mednaffe-0.8.6/share/Makefile.am000066400000000000000000000021621313731622300164320ustar00rootroot00000000000000EXTRA_DIST = \ applications/mednaffe.desktop \ pixmaps/mednaffe.png \ icons/hicolor/16x16/apps/mednaffe.png \ icons/hicolor/32x32/apps/mednaffe.png \ icons/hicolor/48x48/apps/mednaffe.png \ icons/hicolor/64x64/apps/mednaffe.png \ icons/hicolor/128x128/apps/mednaffe.png \ icons/hicolor/scalable/apps/mednaffe.svg # Desktop file desktopdir = $(datadir)/applications desktop_DATA = applications/mednaffe.desktop # Pixmap file pixmapdir = $(datadir)/pixmaps pixmap_DATA = pixmaps/mednaffe.png # Icon files icon16dir = $(datadir)/icons/hicolor/16x16/apps icon16_DATA = icons/hicolor/16x16/apps/mednaffe.png icon32dir = $(datadir)/icons/hicolor/32x32/apps icon32_DATA = icons/hicolor/32x32/apps/mednaffe.png icon48dir = $(datadir)/icons/hicolor/48x48/apps icon48_DATA = icons/hicolor/48x48/apps/mednaffe.png icon64dir = $(datadir)/icons/hicolor/64x64/apps icon64_DATA = icons/hicolor/64x64/apps/mednaffe.png icon128dir = $(datadir)/icons/hicolor/128x128/apps icon128_DATA = icons/hicolor/128x128/apps/mednaffe.png iconsdir = $(datadir)/icons/hicolor/scalable/apps icons_DATA = icons/hicolor/scalable/apps/mednaffe.svg mednaffe-0.8.6/share/Makefile.in000066400000000000000000000510061313731622300164440ustar00rootroot00000000000000# Makefile.in generated by automake 1.15.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2017 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : subdir = share ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(desktopdir)" "$(DESTDIR)$(icon128dir)" \ "$(DESTDIR)$(icon16dir)" "$(DESTDIR)$(icon32dir)" \ "$(DESTDIR)$(icon48dir)" "$(DESTDIR)$(icon64dir)" \ "$(DESTDIR)$(iconsdir)" "$(DESTDIR)$(pixmapdir)" DATA = $(desktop_DATA) $(icon128_DATA) $(icon16_DATA) $(icon32_DATA) \ $(icon48_DATA) $(icon64_DATA) $(icons_DATA) $(pixmap_DATA) am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) am__DIST_COMMON = $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EXEEXT = @EXEEXT@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_DEFINES = @GTK_DEFINES@ GTK_LIBS = @GTK_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build_alias = @build_alias@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ have_pkg_config = @have_pkg_config@ host_alias = @host_alias@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ EXTRA_DIST = \ applications/mednaffe.desktop \ pixmaps/mednaffe.png \ icons/hicolor/16x16/apps/mednaffe.png \ icons/hicolor/32x32/apps/mednaffe.png \ icons/hicolor/48x48/apps/mednaffe.png \ icons/hicolor/64x64/apps/mednaffe.png \ icons/hicolor/128x128/apps/mednaffe.png \ icons/hicolor/scalable/apps/mednaffe.svg # Desktop file desktopdir = $(datadir)/applications desktop_DATA = applications/mednaffe.desktop # Pixmap file pixmapdir = $(datadir)/pixmaps pixmap_DATA = pixmaps/mednaffe.png # Icon files icon16dir = $(datadir)/icons/hicolor/16x16/apps icon16_DATA = icons/hicolor/16x16/apps/mednaffe.png icon32dir = $(datadir)/icons/hicolor/32x32/apps icon32_DATA = icons/hicolor/32x32/apps/mednaffe.png icon48dir = $(datadir)/icons/hicolor/48x48/apps icon48_DATA = icons/hicolor/48x48/apps/mednaffe.png icon64dir = $(datadir)/icons/hicolor/64x64/apps icon64_DATA = icons/hicolor/64x64/apps/mednaffe.png icon128dir = $(datadir)/icons/hicolor/128x128/apps icon128_DATA = icons/hicolor/128x128/apps/mednaffe.png iconsdir = $(datadir)/icons/hicolor/scalable/apps icons_DATA = icons/hicolor/scalable/apps/mednaffe.svg all: all-am .SUFFIXES: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign share/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign share/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): install-desktopDATA: $(desktop_DATA) @$(NORMAL_INSTALL) @list='$(desktop_DATA)'; test -n "$(desktopdir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(desktopdir)'"; \ $(MKDIR_P) "$(DESTDIR)$(desktopdir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(desktopdir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(desktopdir)" || exit $$?; \ done uninstall-desktopDATA: @$(NORMAL_UNINSTALL) @list='$(desktop_DATA)'; test -n "$(desktopdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(desktopdir)'; $(am__uninstall_files_from_dir) install-icon128DATA: $(icon128_DATA) @$(NORMAL_INSTALL) @list='$(icon128_DATA)'; test -n "$(icon128dir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(icon128dir)'"; \ $(MKDIR_P) "$(DESTDIR)$(icon128dir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(icon128dir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(icon128dir)" || exit $$?; \ done uninstall-icon128DATA: @$(NORMAL_UNINSTALL) @list='$(icon128_DATA)'; test -n "$(icon128dir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(icon128dir)'; $(am__uninstall_files_from_dir) install-icon16DATA: $(icon16_DATA) @$(NORMAL_INSTALL) @list='$(icon16_DATA)'; test -n "$(icon16dir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(icon16dir)'"; \ $(MKDIR_P) "$(DESTDIR)$(icon16dir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(icon16dir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(icon16dir)" || exit $$?; \ done uninstall-icon16DATA: @$(NORMAL_UNINSTALL) @list='$(icon16_DATA)'; test -n "$(icon16dir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(icon16dir)'; $(am__uninstall_files_from_dir) install-icon32DATA: $(icon32_DATA) @$(NORMAL_INSTALL) @list='$(icon32_DATA)'; test -n "$(icon32dir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(icon32dir)'"; \ $(MKDIR_P) "$(DESTDIR)$(icon32dir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(icon32dir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(icon32dir)" || exit $$?; \ done uninstall-icon32DATA: @$(NORMAL_UNINSTALL) @list='$(icon32_DATA)'; test -n "$(icon32dir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(icon32dir)'; $(am__uninstall_files_from_dir) install-icon48DATA: $(icon48_DATA) @$(NORMAL_INSTALL) @list='$(icon48_DATA)'; test -n "$(icon48dir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(icon48dir)'"; \ $(MKDIR_P) "$(DESTDIR)$(icon48dir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(icon48dir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(icon48dir)" || exit $$?; \ done uninstall-icon48DATA: @$(NORMAL_UNINSTALL) @list='$(icon48_DATA)'; test -n "$(icon48dir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(icon48dir)'; $(am__uninstall_files_from_dir) install-icon64DATA: $(icon64_DATA) @$(NORMAL_INSTALL) @list='$(icon64_DATA)'; test -n "$(icon64dir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(icon64dir)'"; \ $(MKDIR_P) "$(DESTDIR)$(icon64dir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(icon64dir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(icon64dir)" || exit $$?; \ done uninstall-icon64DATA: @$(NORMAL_UNINSTALL) @list='$(icon64_DATA)'; test -n "$(icon64dir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(icon64dir)'; $(am__uninstall_files_from_dir) install-iconsDATA: $(icons_DATA) @$(NORMAL_INSTALL) @list='$(icons_DATA)'; test -n "$(iconsdir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(iconsdir)'"; \ $(MKDIR_P) "$(DESTDIR)$(iconsdir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(iconsdir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(iconsdir)" || exit $$?; \ done uninstall-iconsDATA: @$(NORMAL_UNINSTALL) @list='$(icons_DATA)'; test -n "$(iconsdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(iconsdir)'; $(am__uninstall_files_from_dir) install-pixmapDATA: $(pixmap_DATA) @$(NORMAL_INSTALL) @list='$(pixmap_DATA)'; test -n "$(pixmapdir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(pixmapdir)'"; \ $(MKDIR_P) "$(DESTDIR)$(pixmapdir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pixmapdir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(pixmapdir)" || exit $$?; \ done uninstall-pixmapDATA: @$(NORMAL_UNINSTALL) @list='$(pixmap_DATA)'; test -n "$(pixmapdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(pixmapdir)'; $(am__uninstall_files_from_dir) tags TAGS: ctags CTAGS: cscope cscopelist: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(DATA) installdirs: for dir in "$(DESTDIR)$(desktopdir)" "$(DESTDIR)$(icon128dir)" "$(DESTDIR)$(icon16dir)" "$(DESTDIR)$(icon32dir)" "$(DESTDIR)$(icon48dir)" "$(DESTDIR)$(icon64dir)" "$(DESTDIR)$(iconsdir)" "$(DESTDIR)$(pixmapdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-desktopDATA install-icon128DATA \ install-icon16DATA install-icon32DATA install-icon48DATA \ install-icon64DATA install-iconsDATA install-pixmapDATA install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-desktopDATA uninstall-icon128DATA \ uninstall-icon16DATA uninstall-icon32DATA uninstall-icon48DATA \ uninstall-icon64DATA uninstall-iconsDATA uninstall-pixmapDATA .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic cscopelist-am \ ctags-am distclean distclean-generic distdir dvi dvi-am html \ html-am info info-am install install-am install-data \ install-data-am install-desktopDATA install-dvi install-dvi-am \ install-exec install-exec-am install-html install-html-am \ install-icon128DATA install-icon16DATA install-icon32DATA \ install-icon48DATA install-icon64DATA install-iconsDATA \ install-info install-info-am install-man install-pdf \ install-pdf-am install-pixmapDATA install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-generic pdf pdf-am ps ps-am tags-am uninstall \ uninstall-am uninstall-desktopDATA uninstall-icon128DATA \ uninstall-icon16DATA uninstall-icon32DATA uninstall-icon48DATA \ uninstall-icon64DATA uninstall-iconsDATA uninstall-pixmapDATA .PRECIOUS: Makefile # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: mednaffe-0.8.6/share/applications/000077500000000000000000000000001313731622300170635ustar00rootroot00000000000000mednaffe-0.8.6/share/applications/mednaffe.desktop000066400000000000000000000002641313731622300222250ustar00rootroot00000000000000[Desktop Entry] Type=Application Version=1.0 Name=Mednaffe Comment=A front-end (GUI) for mednafen emulator Exec=mednaffe Terminal=false Icon=mednaffe Categories=GTK;Game;Emulator; mednaffe-0.8.6/share/icons/000077500000000000000000000000001313731622300155105ustar00rootroot00000000000000mednaffe-0.8.6/share/icons/hicolor/000077500000000000000000000000001313731622300171475ustar00rootroot00000000000000mednaffe-0.8.6/share/icons/hicolor/128x128/000077500000000000000000000000001313731622300201045ustar00rootroot00000000000000mednaffe-0.8.6/share/icons/hicolor/128x128/apps/000077500000000000000000000000001313731622300210475ustar00rootroot00000000000000mednaffe-0.8.6/share/icons/hicolor/128x128/apps/mednaffe.png000066400000000000000000001276651313731622300233430ustar00rootroot00000000000000PNG  IHDRgAMA a cHRMz&u0`:pQ<bKGDC pHYsZZp#}IDATxgT0aAr a2bYT19! EP@PPQ䌈Y1 H0 9 0LP9ynf' vw6U>?&:mkkkL3nP[0Um%MyagLSgօ_:y:lW׻כ'8G\kV?ֽsKL}'߽7emwKo/Wmƛ7W n#,7UqM)W;/kw7?Uz7u]nh՟ 0uT~s1$aN8eޅ9ujj*f0H3oyWOb__ʯ:Voƛm5F9B'$Y{7WU;%Ͻ/^v]tE}zْ×{worPnlք|K{93˟2Y>Ϳ+(~ʿ?Ԣj`NJ?o {ǼpnUtԙُsEK=oXU+SUY1=~hm^vMo SRE=Rnlz~."#<[/8 ڃ]S*8Dߧlf -E7m ٶ?rSY0~ĿqO@rQspw!ޭw%*՟mL:'6 >Q?c*9j'xn.:7+::KCy73!λOOzVWZсwQDPM̥YޯQ~uuiO{S^e읦>㬿X^7uM'#rIb Ҍ7J^t( pu+luUay巾[|uRk.Һ߶xԨS纏m"@vȍ졒fXB!pK-^xswݱ[kYl^sRmx)&h6R5}%:xΜqߵWVzK؋3 ΢Q ԉm]ᅫ)HI4|?y}Zy/wS^xAPΓwutWA%w]q;RJ߭]b{D l=DŽD,LlF!MAwQLWAe0ڇ s ,NG՛w=_ުѺ#iB ڵh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/Û-riXgAOm/|+{ rA5;Y< XDofPNmYw>(quGɪ +$?A;ʢw&oz#{3-psVްvLayޗj痵]+ z':b5o(+?\[uv-]Qs}Ϯ%63f{_pVa3nx،~m:ltȂ'nbnFo<*}'9ko_b!]EfD95d_9^a`W'ZlsW)!K}I)Iڱ̅\`/?cKw e?=@pRIWs (E0}fsnTaugnhfƹU5)6:FcyN_cj|Xgڇ= ̕QVȰ: %Z:׸^g?4ySmpn ]]I/|BW^:6 Uao5!tog٥ޚS]P鹕mP1>oQr$Ӭݹ>ók/߯n<+&ftiW98m>mƽ͘=o,7ՌMff<գ pv3Yc v3C &ʼ]AbeShȏϝͽAW7:M&#Pm@%tEXtdate:create2013-12-09T07:19:22+01:00GB%tEXtdate:modify2013-11-22T16:10:50+01:00}dtEXtsvg:base-urifile:///home/aklein/Sources/mednaffe-0.5/share/icons/hicolor/scalable/apps/mednaffe.svg,!IENDB`mednaffe-0.8.6/share/icons/hicolor/16x16/000077500000000000000000000000001313731622300177345ustar00rootroot00000000000000mednaffe-0.8.6/share/icons/hicolor/16x16/apps/000077500000000000000000000000001313731622300206775ustar00rootroot00000000000000mednaffe-0.8.6/share/icons/hicolor/16x16/apps/mednaffe.png000066400000000000000000000040731313731622300231560ustar00rootroot00000000000000PNG  IHDROc#"gAMA asRGB cHRMz&u0`:pQ<bKGDC pHYsHHFk>IDATHǍyPTG_{o00 XL X*E%+(ZWUJY6ZD L$^!FD+p80f^1.[[[?}?*öEZW̦T6r?T;f[=@  vqxCJLj(F޵HGzRƵŭz)NIX룙8> DufG( º~ۈb؄ۆ!AױYOWa?t߀u*[`IDP/[jUC(Z;%>OLJ5s/nG6XnWO|~f,<^jawz, h3AZW(V׻3N樼 C7\~ɣ(3GioQ؄8IVmxEd+KCG5;m0ł\ld U=>\%-B1ܠ0|V6["{ 2*!69(CQ4-O48N_' MfKm9좵ԓ֐fZR쳹 MFWfتN0|רX#00Z$vX.Dk]O-(mIACQD軠iH4!NW%2i/_rXnxbĮADMRԈeN7KP8 tBv#JJL[S kcy⺅u%(_cW1U`_/@7Ży0r mh;PJp9(elzg''b8-TrvLc/a1\:\Xk;ֳIt2ϢT#Xh8}ҥ$)~gu|ُ:TT}P@ RУ#(u%0ueE4)Zi>l׎|%'Jm溫R)3\ ):TcGGܢݴE+֗WcLa](τdp_J-E.eZĎRV }i7J bmK+0JtdfCĎ?t_1͢h!HD{ tFhUCI6=i!r sY V]?u(Je2Cuj8۶T*;y8dŞ50֔@ itZjS&Jg-p+'&/+SߋzR{1= \@x%tEXtdate:create2013-08-27T16:33:39+00:007M&!%tEXtdate:modify2013-08-27T16:33:39+00:00FAtEXtsvg:base-urifile:///home/tc/mednaffe/icons/scalable/mednaffe.svgIENDB`mednaffe-0.8.6/share/icons/hicolor/32x32/000077500000000000000000000000001313731622300177305ustar00rootroot00000000000000mednaffe-0.8.6/share/icons/hicolor/32x32/apps/000077500000000000000000000000001313731622300206735ustar00rootroot00000000000000mednaffe-0.8.6/share/icons/hicolor/32x32/apps/mednaffe.png000066400000000000000000000132001313731622300231420ustar00rootroot00000000000000PNG  IHDR #ꦷgAMA a cHRMz&u0`:pQ<bKGDC pHYsZZp#}IDATh޵Yw\G~fwJo"UE@5VFQ5%&c$,%Ʈ11b5*. ^+wٙ9f4| iUh} KgߣW'"եnd @t-f_1au䭿Ye_cX?UE-Ўl[s.X`хvl*~bg7:V+V1;q ADzN3v")nC6eぜ`ڬ/*^/,kY?%@)J$Hj?}n~7M&!Z-__;P &@2g_3npn_:|j2Jpؤy/d4{l1$v`T-іH{ -$hy/BX)D{\^)>"sV4H;ILj <ї}]P4wJ_ϣ H9`֙mbb΁UnRmܚgW*9.Yܯ9fQkS0r)]Wl+0wu'>߳/]KS;–EDPB@PTh]c nn,W[l4ꁯKGyIj-;?\Az-6` NݰY2<t"eKa~bn#@Y DS ]lM6 42+K4[֪x-4@@F:'UhT3Z|S߆NJX;uC<ɳ̾ko !xܵؔ^FR Acܖ^~d ҆?P l N^C_@:&S  :(rotz//AO2\1;/6H `zuSZ"+ɠh0Z(bsK:Χ)QSHsX6mMNlz*FqtJT?Y {[M8} 1979p50%2@pO"w(lV1ԏ۩; S;u6b< v`D }å.5Jz NMͿY.;NaͲWzкRfžE$[t:mdt?װXmQXs2vXH>HB $,hBTg7[׃TgJ:lgC9*Ǹp_ja/!Pr~ڐ ,Hv( ,_iHv2I̤G'-= @5EźbQ|OXӣp7", FFoR2@;;@FFDٌys>l1Uf?q7B)r3}٬#ETϼl8n0;@F`lIJD;kE>D\Hnb&/'m#Ϝ/jzmX*{F[qx3w[X=W/S"bvH;퉂XM=p|4,zn'ɷ׫(4ޗ_p4o38^,^\ anÙ o :$@؃L_=0*DzO4= )70IS7qA;\;tp+ `5 AE&6L9-٧L`"#L rc@S6ŨNR C΅k8=N+6aF.ݣr176IeY 6RRrocmG8\fb:dBJ-ُHml\t/^A;-OD FԟzX\nc=?UHUrH_J=m\E/Մa5 Xhdz(`UWJ |H wlWx#${|_sw1eB=&t"V:-7b[EE/ʸ0~-;y^A 宦 GcB}'sU /ۢsKˎ1f'N@>̷ TÚ,GŪarr+T?֥ȇD{ ?h2" ii*@ O&i$.]{wXSs!  8jyTv_Bi& T߇zMްcޝ 玜z5w|Tnp~/bn~e ߐhV{7:xXz0  0k-K{ dL}oNJ? UA!{C>l;Xokk;zApf>s]C;b:fv$8}槎q.>wZR)rS{6\yd=7[MgxuN{/YUTuc,-8Q<U4]|^VU]jV"xKtT*ۜ&::? LD3y?kP7Dgz 4P1oƋOUʣ]zyuߍԏ =B %tEXtdate:create2013-11-22T16:10:50+01:00 t_%tEXtdate:modify2013-11-22T16:10:50+01:00}dtEXtsvg:base-urifile:///home/aklein/Sources/mednaffe-0.5/share/icons/hicolor/scalable/apps/mednaffe.svg,!IENDB`mednaffe-0.8.6/share/icons/hicolor/48x48/000077500000000000000000000000001313731622300177465ustar00rootroot00000000000000mednaffe-0.8.6/share/icons/hicolor/48x48/apps/000077500000000000000000000000001313731622300207115ustar00rootroot00000000000000medn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]Y`G݈o:q&`^tGMƦE-CYԎZ1T5s ܕ3H\d~+'Z\%c_P[C]lXtDN3=O޾#¹p@#Ow?%wW \,ã3"yk #G$כ\gu<3SE`dKغZ >/`KO Y& 0KQ\! c+\b8V] ݩZPGCE e)wnwDܟ+WexwF6M =ѥVre218׏:C ¸- XZxI>b]\*^m䕻6 P;kG}wWZ˥|w.c αo:ˏ5Nꑳ`yd2zY?T uxd6N W Ϝ8#|eg37K0*A 2yo/O.0lpˋ( oPXQ`<&A\y 'zZ^9DOLQoKN{,RH*t\G͏rt =S`EgVGGsҳw ʱtY0\.vӛ(*9@ptb.t-+\+Q<Y{hR[<tp冴{'Eq /l{B_⟙#SYi.~[}sy|gg7s[| @bJpU}4%5<#nm( *j10ҚgBR#xhX04՗9'|i`<ғ4x4V}ʌ58r0uլ8s C.\9wOw%ϤCp߮qS{>HRlf/V[Y^uٽ@f2[r=́@ZN̓w'g&Mr9@Y7nxcM8t ҆`l(:LIS} C#DG d%.fz%ݞR@( en Tx6߇*o?F lBL}dnz$dp BpEI4:ˬȓ3l]VoO TC?Bd6Vzb -B7~} A猢WUMk_f,GK,Ak}JΙQ+nqSn֝αVlb*Uud:#:@Lʓk9z=^5WxSr$^ۼ'Z؇A-[CmK/'dh=4|$[x7 K6[ѨWq'ڔ-r~Cܔ2o:PGemkZpPéS?}(i.U`˝9z\Ч~~$qX@NI šiYC7T 埥g^9A˒guuz߁.YCo%tEXtdate:create2013-08-27T16:33:39+00:007M&!%tEXtdate:modify2013-08-27T16:33:39+00:00FAtEXtsvg:base-urifile:///home/tc/mednaffe/icons/scalable/mednaffe.svgIENDB`mednaffe-0.8.6/share/icons/hicolor/64x64/000077500000000000000000000000001313731622300177425ustar00rootroot00000000000000mednaffe-0.8.6/share/icons/hicolor/64x64/apps/000077500000000000000000000000001313731622300207055ustar00rootroot00000000000000mednaffe-0.8.6/share/icons/hicolor/64x64/apps/mednaffe.png000066400000000000000000000363271313731622300231730ustar00rootroot00000000000000PNG  IHDR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q&`^tGMƦE-CYԎZ1T5s ܕ3H\d~+'Z\%c_P[C]lXtDN3=O޾#¹p@#Ow?%wW \,ã3"yk #G$כ\gu<3SE`dKغZ >/`KO Y& 0KQ\! c+\b8V] ݩZPGCE e)wnwDܟ+WexwF6M =ѥVre218׏:C ¸- XZxI>b]\*^m䕻6 P;kG}wWZ˥|w.c αo:ˏ5Nꑳ`yd2zY?T uxd6N W Ϝ8#|eg37K0*A 2yo/O.0lpˋ( oPXQ`<&A\y 'zZ^9DOLQoKN{,RH*t\G͏rt =S`EgVGGsҳw ʱtY0\.vӛ(*9@ptb.t-+\+Q<Y{hR[<tp冴{'Eq /l{B_⟙#SYi.~[}sy|gg7s[| @bJpU}4%5<#nm( *j10ҚgBR#xhX04՗9'|i`<ғ4x4V}ʌ58r0uլ8s C.\9wOw%ϤCp߮qS{>HRlf/V[Y^uٽ@f2[r=́@ZN̓w'g&Mr9@Y7nxcM8t ҆`l(:LIS} C#DG d%.fz%ݞR@( en Tx6߇*o?F lBL}dnz$dp BpEI4:ˬȓ3l]VoO TC?Bd6Vzb -B7~} A猢WUMk_f,GK,Ak}JΙQ+nqSn֝αVlb*Uud:#:@Lʓk9z=^5WxSr$^ۼ'Z؇A-[CmK/'dh=4|$[x7 K6[ѨWq'ڔ-r~Cܔ2o:PGemkZpPéS?}(i.U`˝9z\Ч~~$qX@NI šiYC7T 埥g^9A˒guuz߁.YCo%tEXtdate:create2013-08-27T16:33:39+00:007M&!%tEXtdate:modify2013-08-27T16:33:39+00:00FAtEXtsvg:base-urifile:///home/tc/mednaffe/icons/scalable/mednaffe.svgIENDB`mednaffe-0.8.6/share/win/000077500000000000000000000000001313731622300151725ustar00rootroot00000000000000mednaffe-0.8.6/share/win/ChangeLog_Mednaffe.txt000066400000000000000000000100401313731622300213420ustar00rootroot00000000000000#### 29 / Jul / 2017 Mednaffe 0.8.6 is released with the following changes: - Add checks to avoid access array out of bounds (It cause a segfault when configuring some keys) #### 14 / Feb / 2017 Mednaffe 0.8.5 is released with the following changes: - Check properly version of mednafen emulator (It fails when used spanish locale on Linux). - Fixed Saturn bios setup. - Add expansion cart option for Saturn. #### 21 / Jan / 2017 Mednaffe 0.8.4 is released with the following changes: - Added support for new settings added by mednafen 0.9.41 (Obviously, it needs this version or higher to work). #### 19 / Nov / 2016 Mednaffe 0.8.3 is released with the following changes: - Added support for Sega Saturn (It needs 0.9.39.1 or higher of mednafen emulator). - [Linux] Fix stack smashing when compiling with '-fstack-protector' caused by buffer overflow (Thanks to 'not-a-user' for report it). #### 21 / Feb / 2016 Mednaffe 0.8.1 is released with the following changes: - [Windows] Fix xbox 360 controller detection on some conditions. #### 24 / Jul / 2015 Mednaffe 0.8 is released with the following changes: - [Windows] Support for XInput devices. - Support for key assignments to (some) mednafen functions. - Added deadzones for analog axis (Thanks to tapcio for report it). - New tab with text widgets in order to read logs. - Added the ability to select an mednafen executable if it is not found in path. - [Windows] 'video.disable_composition' option added. - [Windows] Missing sound driver options added. - [Linux] Rewrite the error handling process. - [Linux] Fix (mostly) deprecated functions. - Better alingment between widgets. - Minor cosmetic changes. #### 02 / May / 2015 Mednaffe 0.7 is released with the following changes: - Controller setup for systems (keyboard and gamepads) - Static build for Windows (standalone executable to avoid GTK+ runtime dependency) - Descriptive error messages on Windows. - Added new settings until 0.9.36 - Mednafen version is detected properly now on Linux. - Fixed freezing while executing emulator under some conditions on Linux. - Fix to handle spaces in paths on Windows. - Spins disregarding values fixed. - More minor fixes. Note: This version will need 0.9.36 (or above) of mednafen emulator. #### 10 / December / 2013 Mednaffe 0.6 is released with the following changes: - A message error is showed when mednafen gives an error. - Descriptive error messages via '-remote' option (Only on Linux). - Gui options have been moved to Edit->Preferences menu. - Now you can choose which systems are showed. (Thanks to Shinra for the suggestion) - Now Mednaffe can resize down to 768x516. (Thanks to StarrySky for report it) - Added an option to remember window size. - Add support to filter ccd files from CloneCd images. - Add a desktop file and icons to install on Linux. - Some minor fixes. #### 16 / September / 2013 Mednaffe 0.5 is released with the following changes: - Support for 0.9.31/32-WIP added. - Added an option to search files recursively. (Thanks to Shoegazer for the suggestion) - Improve performance when filling list (x20 speed up). - List options (filters, sort direction) are saved now. - Fix 'Open' buttons signals on Windows. - Now Mednaffe restore after minimize on Windows. - Fix Windows icon (hopefully) #### 30 / August / 2013 Mednaffe 0.4 is released with the following changes: - Mednaffe has been rewritten from scratch in C language. #### 24 / October / 2010 Mednaffe 0.3 is released with the following changes: - New: Qt version for Linux. - Rewrite 'Scanlines' component for better understanding. - Rewrite 'Resolution' and 'Scale' components for better usability. - Now Mednaffe remember his position on the screen #### 22 / August / 2010 Mednaffe 0.2 is released with the following changes: - Fixed: Values by default are shown now. - Fixed: Size of sound buffer in Linux. - Minor cosmetics changes. #### 12 / August / 2010 Mednaffe 0.1 is released. It's an alpha version. mednaffe-0.8.6/share/win/NOTICE.txt000066400000000000000000000065151313731622300167230ustar00rootroot00000000000000 NOTICE ------------------ Mednaffe is licensed under the GNU GENERAL PUBLIC LICENSE version 3. See: /licenses/mednaffe/COPYING This build of Mednaffe uses libraries (statically-linked) and resources from various free sofware / open source projects. Most of them are been modified by MXE (M cross environment) in order to cross compile statically-linked executables. Source code of all packages and patches applied are available on: Libraries used (with their respectives licenses) are: * GTK+ Modified by MXE (M cross environment) and by me (AmatCoder). Licensed under the GNU LIBRARY GENERAL PUBLIC LICENSE version 2 See: /licenses/gtk+-2.24.27/COPYING * SDL Modified by MXE (M cross environment) and by me (AmatCoder). Licensed under the zlib license. See: /licenses/SDL2-2.0.3/COPYING.txt * gdk-pixbuf Modified by MXE (M cross environment). Licensed under the GNU LIBRARY GENERAL PUBLIC LICENSE version 2 See: /licenses/gdk-pixbuf-2.30.8/COPYING * pango Modified by MXE (M cross environment). Licensed under the GNU LIBRARY GENERAL PUBLIC LICENSE version 2 See: /licenses/pango-1.36.1/COPYING * cairo Modified by MXE (M cross environment). Licensed under the GNU LIBRARY GENERAL PUBLIC LICENSE version 2.1 See: /licenses/cairo-1.12.18/COPYING and /licenses/cairo-1.12.18/COPYING-LPGL-2.1 * atk Modified by MXE (M cross environment). Licensed under the GNU LIBRARY GENERAL PUBLIC LICENSE version 2 See: /licenses/atk-2.14.0/COPYING * glib Modified by MXE (M cross environment). Licensed under the GNU LIBRARY GENERAL PUBLIC LICENSE version 2 See: /licenses/glib-2.42.1/COPYING * libpng Unmodified. Licensed under the zlib license See: /licenses/libpng-1.6.16/LICENSE * libintl Unmodified. Licensed under the GNU LIBRARY GENERAL PUBLIC LICENSE version 2.1 See: /licenses/gettext-0.19.3/gettext-runtime/COPYING and /licenses/gettext-0.19.3/gettext-runtime/intl/COPYING.LIB * harfbuzz Unmodified. Licensed under the GNU LIBRARY GENERAL PUBLIC LICENSE version 2 See: /licenses/harfbuzz-0.9.38/COPYING * libffi Unmodified. Licensed under the MIT license See: /licenses/libffi-3.2.1/LICENSE * pixman Unmodified. Licensed under the MIT license See: /licenses/pixman-0.31.2/COPYING * libtiff Unmodified. Licensed under a custom license See: /licenses/tiff-4.0.3/COPYRIGHT * zlib Unmodified. Licensed under the zlib license See: /licenses/zlib-1.2.8/README Mednaffe includes modified code of MD5 implementation by Christophe Devine, licensed under the GNU GENERAL PUBLIC LICENSE version 2 (or later). Mednaffe includes modified code from mednafen licensed under the GNU GENERAL PUBLIC LICENSE version 2 (or later). mednaffe-0.8.6/share/win/README_WINDOWS.txt000066400000000000000000000005161313731622300201040ustar00rootroot00000000000000 README for Mednaffe 0.8.6 (Windows version) ------------------------------------------------------------------------------------------- Mednaffe is a front-end (GUI) for mednafen emulator. It only works with 0.9.41 or higher versions of mednafen emulator. This is a static build. See NOTICE.txt for license details. mednaffe-0.8.6/share/win/mednaffe.ico000066400000000000000000010554461313731622300174520ustar00rootroot00000000000000 ( F hn   $00 %~5(   9srrrrrrrrrrrrrrrrrrrrsE[srrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrsVj D-'0nMNKop+ `  # )/49#>'C&E%F%F(D*A'<"61+%   ?"{Prayr~~rw`oNgDZ7J'9* .$c|~}}}~~~os\bEN/8! gK9{}}~~~x\c>H$) Cj|}~~~|hfBD# ) ~~~~tXT20 E}~z]X40 @"hQL}xYQ,' ,,Z<z{vt^}lN@`F >$l]~wtuvu~1}fT3$AiK.xzytuuuvvvx ~zcC/"S8}wstuuuvvwwu   k*BV<~usttuuvvvwwwv3      V;~tsttuuuvvvwwwxvb          J4{urtttuuuvvvwwwxxwT          8 9&t~urstttuuuvvvwwwxxxy~0           h$icwrsstttuuuvvvwwwxxxyyy             6 SA{rrsstttuuuvvvwwwxxxyyzy              V5vtrssstttuuuvvvwwwxxyyyzzx<               y4 ZGxqrssstttuuuvvvwwxxxyyyzzzyf                !2 yrrrssstttuuuvvwwwxxxyyyzzz{zT                 C  R>xqrrssstttuuvvvwwwxxxyyyzzz{{{+                  q!~!rtrqrrssstttuuvvvwwwxxxyyyzzz{{{|}                   :;)|qrrrsssttuuuvvvwwwxxxyyyzzz{{|||z"                       Z RDvqrrrsstttuuuvvvwwwxxxyyyzzz{{|||}{@                       jnrqrrssstttuuuvvvwwwxxxyyyzz{{{|||}}|w                        ''xqqrrssstttuuuvvvwwwxxxyyzzz{{{|||}}}}I                         I5'zprrrssstttuuuvvvwwwxxyyyzzz{{{|||}}}~~'                          z$F7vprrrssstttuuuvvvwwxxxyyyzzz{{{|||}}}~~~~                           @RDsqrrrssstttuuuvvvwwwxxyyyzzz{{{|||}}}~~~}&                              i# \Yrqrrrssstttuuuvvvwwxxxyyyzzz{{{|||}}}~~~~N                               (7 adqqrrrssstttuuuvvvwwxxxyyyzzz{{{|||}}}~~~s                               + .! goqqrrrssstttuuuvvvwwxxxyyyzzz{{{|||}}}~~~F                                S  37 hqqqrrrssstttuuuvvwwwxxxyyyzzz{{{|||}}}~~$                                   4 jvqqrrrssstttuuuvvwwwxxxyyyzzz{{{|||}}~~~                                  Y   4( fmqqrrrssstttuuvvvwwwxxxyyyzzz{{{||}}}~~~.                                                      4    . bfqqrrrsssttuuuvvvwwwxxxyyyzzz{{|||}}}~~~T(54555555666666667777778888888899998P                        @@@A'h\\\\\\\\\\\\\\\\\\\\\\\\\\\\\^-ZXqqrrrsstttuuuvvvwwwxxxyyyzzz{{|||}}}~~~                      4RKrqrrssstttuuuvvvwwwxxxyyyzz{{{|||}}}~~~n                      ^ C8sqrrssstttuuuvvvwwwxxxyyzzz{{{|||}}}~~~ C                      4*uqrrssstttuuuvvvwwwxxyyyzzz{{{|||}}}~~~"                      2!yqrrssstttuuuvvvwwwxxyyyzzz{{{|||}}}~~~3                        Pz}qrrssstttuuuvvvwwxxxyyyzzz{{{|||}}}~~^                      s hwqrrssstttuuuvvwwwxxxyyyzzz{{{|||}}~~~                      :PPrrrssstttuuvvvwwwxxxyyyzzz{{{|||}}~~~i                      c 40trrsssttuuuvvvwwwxxxyyyzzz{{{||}}}~~~ 9                      zqrsstttuuuvvvwwwxxxyyyzzz{{|||}}}~~~                       6 pqrsstttuuuvvvwwwxxxyyyzz{{{|||}}}~~~<                        WNNrssstttuuuvvvwwwxxxyyzzz{{{|||}}}~~~l                      !~*'ursstttuuuvvvwwwxxxyyzzz{{{|||}}}~~~                      @y~rsstttuuuvvvwwwxxyyyzzz{{{|||}}}~~~Y                      rX`rsstttuuuvvvwwxxxyyyzzz{{{|||}}}~~~2                      "+(usstttuuuvvwwwxxxyyyzzz{{{|||}}}~~#                       > yrstttuuvvvwwwxxxyyyzzz{{{|||}}~~~D                        bxNPrsttuuuvvvwwwxxxyyyzzz{{{||}}}~~~q                      &xsttuuuvvvwwwxxxyyyzzz{{|||}}}~~~                      K isttuuuvvvwwwxxxyyyzzz{{|||}}}~~~                                    ߁                      w                 23tttuuuvvvwwwxxxyyyzz{{{|||}}}~~~                                                        u                 vq zstuuuvvvwwwxxxyyzzz{{{|||}}}~~~'                                                            H                  ; DGstuuuvvvwwwxxyyyzzz{{{|||}}}~~~J                                                           $                    |tuuuvvvwwwxxyyyzzz{{{|||}}}~~~                                                           -                 J PYsuuuvvvwwwxxxyyzzz{{{|||}}}~~~T                                                           O                   zuuuvvvwwwxxyyyzzz{{{|||}}}~~~ .                                                                            R,)RVctuuvvvwwwxxyyyzzz{{{|||}}}~~~                                                            m                   zuuvvvwwxxxyyyzzz{{{|||}}}~~~-                                                             =                  T/BRbtuvvwwwxxxyyyzzz{{{|||}}}~~W                                                                              {uvvwwwxxxyyyzzz{{{|||}}~~~}                                                           1               O  HRuvvwwwxxxyyyzzz{{{||}}}~~~O                                                           [                  ~vvwwwxxxyyyzzz{{|||}}}~~~ *                                                                       B9Auvwwwxxxyyyzzz{{|||}}}~~~                                                             a             tvwwwxxxyyyzz{{{|||}}}~~~ 5                                                             :        0 &*wwwwxxxyyzzz{{{|||}}}~~~ \                                                                   oz  ]vvwwxxyyyzzz{{{|||}}}~~~ y                                                           :          |wxxxyyyzzz{{{|||}}}~~~ G                                                           e       Q =Hvxxxyyyzzz{{{|||}}}~~  #                                                             qwxxyyyzzz{{{|||}}~~~   3                     $############$$$$$$$$A$zxxyyyzzz{{{||}}}~~~    9                     J]wxyyyzzz{{{||}}}~~~      ir                    !  yxyyyzzz{{|||}}}~~~       F                    @'zyyyzz{{{|||}}}~~~        #                    k5K]xyzzz{{{|||}}}~~~                               R wxzzz{{{|||}}}~~~           !                     v {zzz{{{|||}}}~~~            E                    =Myzz{{{|||}}}~~             tn                    % hyz{{{|||}}}~~              ?                    H z{{{|||}}~~~                                    z6&0{{{{||}}}~~~                                      WJ^z{|||}}}~~~                   (                     } lz|||}}}~~~                    L                     {||}}}~~~                     {d                    , +|||}}}~~~                      <                   R?P{|}}}~~~                                            ~<\{}}}~~~                                              ]x|}}~~~                          -                     }}~~~                           S                  "-~}~~~                             #٨                  k!!!!!!!!!!!!""""""""""""#############$$$$$$$$%e7J|~~~                                                                                                               Mj}~                                                                                                                  h}                                                                                                                 " |~                                                                                                                  2                                                                                                                    I$                                                                                                                   a"2                                                                                                                 v/.@                                                                                                                 ?U                                                                                                                   Ok                                                                                                                 ^                                                                                                                 "h                                                                                                                 n                                                                                                                 ( t                                                                                                                   3y                                                                                                                   <+IHHHHHHHHHHHM<HGHHHHHIIIIIIII                                                 YWXXXXXXXYYYYYYZZZZZZZ[[[[[[\Zń                                 B                                                  V                                HS                                                                                M/                                                     p                            O]                                                      <                           R0                                                       !                          R}                                                        F                          PU                                                          y                         N5                                                                                  Jq                                                              M                      DB                                                              '                     >                                                               7                    5d                                                                 b                   +?                                                                                !                                                                    a              U                                                                    2             )                                                                     *             q                                                                      R            H                                                                                 )                                                                          q       ig                                                                            >       Q8                                                                                    9}                                                                              D        'U                                                                              v    5                                                                                |                                                              P ~L                                                           )\$                             M                             5 <c                            d                            _ >                                                                                       2                            c _                           V                           3W20                           #                           (/q                            W                          O  H                                                     )                         _*                          sWr                         '                          @+@                                                     |                        J                        A  t#T                         d                       r ?y 4                       -"                                               s                       R T                                              *D+                      n>                     3c                      2                    \ |=                                             <                    d                    ej                    x                     4g7                    73                 &'p                                    L  G                                      A)                  V                t }                  =                   BWH                  *                !{%                              ? j&T                            o !3                EK           q                        T#^                "       +pk 1               r     1b               K      Y f1<               ?                     fTl t               6 ?             QXd%<o             " &  J S F                   4 !)               P  u V0a            [G       D Q           %    W"Ļ,n {+                  0 = ] T                  +k  3          b8      `à  &         *p          VL/h                  J,yV 9                 ; / b        h+         #V*;         0_       qsŏ  ӻH3                 !   hh)p ~                   ?7h G      r          I # n$      5P        G  "<F            d} 04)             +  Ȯ w ǥ<.    |         5 EͫGQ    :?      X #ѯPUz Ӳ    |      :ӰU!` S"        WhԯXH2 "     6 ʜ  ѭUO$$1    +XΨP&\;k g -ǠG9_  - <Sa-  ¤ JT /:W&C Ҏ  x !4Z $ i߶a  = xe8Ҩf= w { & GDmŴ  w )EGPԨtG(x  GA Ɗ Gܱf "0$ X/ Ry8  ۫d &Sv` N' X1  ̞ vQHS ɚ Zٮe 2 #y%ij <.޸{ G) _ H),xu   X< 'a# //~} o߾ `<:  ..{z " ܷ{ \6 )'qh ͩ j جn R2 V \Q J:˘ f A% ,B;v ذ lM*&l$"]Q ΀  ݼ \C( E 2-j[ +Vk R5(e4.f\ й E6 &&PJs Xe3.YGn x')J>k[s Ւ Sr 7'M<eSbv 0B %7JW(`Qi9'+@L u^!k1]E !'7D xF]5?????????????????????????????????????????????????@@@????(    XL&b9)0 6O2k^Qwk~ 9/ lMz~?+w~_ 8K?iHW & Iko V )!~"  3>  &k    $= &  i|xx!;{P 19++ I \t\ i S)m5 qI( @   s< `9,g ]b\M4(b<#N&l  lJpw]  I `vxy    f!~"gvxz}&AA@c  9]RSPkdvx{}  hVM; Uwx{~ w  4vy{~?[\]e   >k/|A%OF cz{~q       e -x| )))>  $3.p0Q~  HAA i   {ojw        ƙ ʚ ̛ Μ ҕ A*3              (ߜ         /Z          ,.          x a   "   E9  <  A" m  uQx 1   E j   ib"   \<u  <91<'t7W~  C# Wó  <pՅkQp h H  H| ^ (nW3 =0fr??p|(0` $  82]""u >= ?  y|~}zq_C"" L9]lJ*7 7evv*  JGGGGHD\YtvwwS_    &t1juvwyz4    =!*<puvxy{}       l^ {<qtvxz{} "##$$#R    rsssq'l3quvxz|}    pQ kuvxz|~6   3$ \vvxz|~d   % r;vwxz|~A?@AAF   I.LK VXFC6ixyz|~          {i& u>yy{|~            <G(! ez{}~ !Ymmnopr    |y{]<91Y(x{} C:   .5I}}  t   /R b       W|55s     '+   Z^P!|                      e,                     /Y`),=         =:;;:r      :                >K                 :t%                0I              T &    Nզ    ?+         qd   f     ^s6   g      *K   -5   i*    4:N   b r]  JK 4k   X%  M/  4   ,L=XIJ&N/$N    &2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : bin_PROGRAMS = mednaffe$(EXEEXT) subdir = src ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = am__installdirs = "$(DESTDIR)$(bindir)" PROGRAMS = $(bin_PROGRAMS) am_mednaffe_OBJECTS = mednaffe.$(OBJEXT) about.$(OBJEXT) \ active.$(OBJEXT) command.$(OBJEXT) list.$(OBJEXT) \ toggles.$(OBJEXT) input.$(OBJEXT) gui.$(OBJEXT) \ prefs.$(OBJEXT) log.$(OBJEXT) joystick_linux.$(OBJEXT) \ md5.$(OBJEXT) resource.$(OBJEXT) mednaffe_OBJECTS = $(am_mednaffe_OBJECTS) mednaffe_LDADD = $(LDADD) mednaffe_DEPENDENCIES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles am__mv = mv -f COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) AM_V_CC = $(am__v_CC_@AM_V@) am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) am__v_CC_0 = @echo " CC " $@; am__v_CC_1 = CCLD = $(CC) LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ AM_V_CCLD = $(am__v_CCLD_@AM_V@) am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) am__v_CCLD_0 = @echo " CCLD " $@; am__v_CCLD_1 = SOURCES = $(mednaffe_SOURCES) DIST_SOURCES = $(mednaffe_SOURCES) am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EXEEXT = @EXEEXT@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_DEFINES = @GTK_DEFINES@ GTK_LIBS = @GTK_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build_alias = @build_alias@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ have_pkg_config = @have_pkg_config@ host_alias = @host_alias@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ mednaffe_SOURCES = mednaffe.c about.c active.c command.c list.c toggles.c input.c gui.c prefs.c log.c joystick_linux.c md5.c resource.c common.h mednaffe_glade.h settings_glade.h system_glade.h toggles.h prefs.h input.h log.h joystick_linux.h md5.h resource.h AM_CPPFLAGS = @GTK_CFLAGS@ $(GTK_DEFINES) LDADD = @GTK_LIBS@ CLEANFILES = *~ DISTCLEANFILES = .deps/*.P all: all-am .SUFFIXES: .SUFFIXES: .c .o .obj $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign src/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): install-binPROGRAMS: $(bin_PROGRAMS) @$(NORMAL_INSTALL) @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \ $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \ fi; \ for p in $$list; do echo "$$p $$p"; done | \ sed 's/$(EXEEXT)$$//' | \ while read p p1; do if test -f $$p \ ; then echo "$$p"; echo "$$p"; else :; fi; \ done | \ sed -e 'p;s,.*/,,;n;h' \ -e 's|.*|.|' \ -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ sed 'N;N;N;s,\n, ,g' | \ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ if ($$2 == $$4) files[d] = files[d] " " $$1; \ else { print "f", $$3 "/" $$4, $$1; } } \ END { for (d in files) print "f", d, files[d] }' | \ while read type dir files; do \ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ test -z "$$files" || { \ echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \ $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ } \ ; done uninstall-binPROGRAMS: @$(NORMAL_UNINSTALL) @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ files=`for p in $$list; do echo "$$p"; done | \ sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ -e 's/$$/$(EXEEXT)/' \ `; \ test -n "$$list" || exit 0; \ echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ cd "$(DESTDIR)$(bindir)" && rm -f $$files clean-binPROGRAMS: -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) mednaffe$(EXEEXT): $(mednaffe_OBJECTS) $(mednaffe_DEPENDENCIES) $(EXTRA_mednaffe_DEPENDENCIES) @rm -f mednaffe$(EXEEXT) $(AM_V_CCLD)$(LINK) $(mednaffe_OBJECTS) $(mednaffe_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/about.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/active.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/command.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gui.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/input.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/joystick_linux.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/list.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/log.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/md5.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mednaffe.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prefs.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/resource.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/toggles.Po@am__quote@ .c.o: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< .c.obj: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-am TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-am CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscopelist: cscopelist-am cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(PROGRAMS) installdirs: for dir in "$(DESTDIR)$(bindir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-binPROGRAMS clean-generic mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-binPROGRAMS install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-binPROGRAMS .MAKE: install-am install-strip .PHONY: CTAGS GTAGS TAGS all all-am check check-am clean \ clean-binPROGRAMS clean-generic cscopelist-am ctags ctags-am \ distclean distclean-compile distclean-generic distclean-tags \ distdir dvi dvi-am html html-am info info-am install \ install-am install-binPROGRAMS install-data install-data-am \ install-dvi install-dvi-am install-exec install-exec-am \ install-html install-html-am install-info install-info-am \ install-man install-pdf install-pdf-am install-ps \ install-ps-am install-strip installcheck installcheck-am \ installdirs maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-compile mostlyclean-generic pdf pdf-am \ ps ps-am tags tags-am uninstall uninstall-am \ uninstall-binPROGRAMS .PRECIOUS: Makefile # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: mednaffe-0.8.6/src/about.c000066400000000000000000000037261313731622300153500ustar00rootroot00000000000000/* * about.c * * Copyright 2013-2015 AmatCoder * * This file is part of Mednaffe. * * Mednaffe is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * Mednaffe is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with Mednaffe; if not, see . * */ #include "common.h" #ifdef G_OS_WIN32 G_MODULE_EXPORT #endif void show_about(GtkMenuItem *menuitem, guidata *gui) { const char *authors[2] = {"AmatCoder", NULL}; const char *gpl3 = "Mednaffe is free software: you can redistribute it and/or modifyit \ under the terms of the GNU General Public License as published by \ the Free Software Foundation, either version 3 of the License, or \ (at your option) any later version.\n\n\ Mednaffe is distributed in the hope that it will be useful, \ but WITHOUT ANY WARRANTY; without even the implied warranty of \ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the \ GNU General Public License for more details.\n\n\ You should have received a copy of the GNU General Public License \ along with Mednaffe. If not, see ."; gtk_show_about_dialog( GTK_WINDOW(gui->topwindow), "program-name", "Mednaffe", "version" ,"0.8.6", "authors", authors, #ifdef STATIC_ENABLED "copyright", "See NOTICE file for license details.", #else "copyright", "Copyright \xc2\xa9 2010-2017 AmatCoder", #endif "comments", "A front-end (GUI) for Mednafen emulator", "license", gpl3, "wrap-license", TRUE, "website", "https://github.com/AmatCoder/mednaffe", "logo", gui->pixbuf, NULL); } mednaffe-0.8.6/src/active.c000066400000000000000000000135521313731622300155070ustar00rootroot00000000000000/* * active.c * * Copyright 2013-2015 AmatCoder * * This file is part of Mednaffe. * * Mednaffe is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * Mednaffe is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with Mednaffe; if not, see . * */ #include "common.h" #ifdef G_OS_WIN32 G_MODULE_EXPORT #endif void on_entry_color_changed(GtkEditable *editable, gpointer colorbutton) { gchar *text; gchar *total; text = gtk_editable_get_chars(editable,2,-1); total = g_strconcat("#", text, NULL); #ifdef GTK2_ENABLED GdkColor color; gdk_color_parse(total, &color); gtk_color_button_set_color(GTK_COLOR_BUTTON(colorbutton), &color); #else GdkRGBA color; gdk_rgba_parse (&color, total); gtk_color_chooser_set_rgba(GTK_COLOR_CHOOSER(colorbutton), &color); #endif g_free(text); g_free(total); } #ifdef G_OS_WIN32 G_MODULE_EXPORT #endif void on_cbvbdefault_color_set(GtkColorButton *widget, gpointer entry) { gchar *hex; gchar *total; #ifdef GTK2_ENABLED GdkColor color; gtk_color_button_get_color(widget, &color); hex = gtk_color_selection_palette_to_string(&color, 1); hex++; total = g_strconcat("0x", hex, NULL); hex--; #else GdkRGBA color; gtk_color_chooser_get_rgba(GTK_COLOR_CHOOSER(widget), &color); hex = gdk_rgba_to_string(&color); total = g_strdup_printf ("0x%02X%02X%02X", (unsigned int)(color.red * 255), (unsigned int)(color.green * 255), (unsigned int)(color.blue * 255)); #endif gtk_entry_set_text(entry, total); g_free(hex); g_free(total); } #ifdef G_OS_WIN32 G_MODULE_EXPORT #endif void on_entry_icon_release(GtkEntry *entry, GtkEntryIconPosition icon_pos, GdkEvent *event, gpointer user_data) { gtk_entry_set_text(entry,""); } #ifdef G_OS_WIN32 G_MODULE_EXPORT #endif void on_button_entry_clicked_folder(GtkButton *button, GtkEntry *entry) { GtkWidget *folder; #ifdef GTK2_ENABLED folder = gtk_file_chooser_dialog_new( "Choose a folder...", NULL, GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT, NULL); #else folder = gtk_file_chooser_dialog_new( "Choose a folder...", NULL, GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER, ("_Cancel"), GTK_RESPONSE_CANCEL, ("_Open"), GTK_RESPONSE_ACCEPT, NULL); #endif if (gtk_dialog_run(GTK_DIALOG(folder)) == GTK_RESPONSE_ACCEPT) { gchar *path; path = gtk_file_chooser_get_filename(GTK_FILE_CHOOSER (folder)); gtk_entry_set_text(entry, path); g_free(path); } gtk_widget_destroy(folder); } #ifdef G_OS_WIN32 G_MODULE_EXPORT #endif void on_button_entry_clicked(GtkButton *button, GtkEntry *entry) { GtkWidget *folder; #ifdef GTK2_ENABLED folder = gtk_file_chooser_dialog_new( "Choose a file...", NULL, GTK_FILE_CHOOSER_ACTION_OPEN, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT, NULL); #else folder = gtk_file_chooser_dialog_new( "Choose a file...", NULL, GTK_FILE_CHOOSER_ACTION_OPEN, ("_Cancel"), GTK_RESPONSE_CANCEL, ("_Open"), GTK_RESPONSE_ACCEPT, NULL); #endif if (gtk_dialog_run(GTK_DIALOG(folder)) == GTK_RESPONSE_ACCEPT) { gchar *path; path = gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (folder)); gtk_entry_set_text(entry, path); g_free(path); } gtk_widget_destroy(folder); } #ifdef G_OS_WIN32 G_MODULE_EXPORT #endif void cbvideodrv_changed_cb(GtkComboBox *combobox, GtkWidget *widget) { if (gtk_combo_box_get_active(combobox)==0) gtk_widget_set_sensitive(widget, TRUE); else gtk_widget_set_sensitive(widget, FALSE); } #ifdef G_OS_WIN32 G_MODULE_EXPORT #endif void on_tbsound_toggled(GtkToggleButton *sender, GtkWidget *widget) { GList *list = NULL; list = gtk_container_get_children(GTK_CONTAINER(widget)); list = g_list_remove(list, sender); while (list) { gtk_widget_set_sensitive( list->data, gtk_toggle_button_get_active(sender)); list = list->next; } g_list_free (list); } #ifdef G_OS_WIN32 G_MODULE_EXPORT #endif void on_tblur_toggled(GtkToggleButton *sender, GtkWidget *widget) { gtk_widget_set_sensitive(widget, gtk_toggle_button_get_active(sender)); } #ifdef G_OS_WIN32 G_MODULE_EXPORT #endif void on_ntsc_changed(GtkComboBox *combobox, GtkWidget *widget) { if ((gtk_combo_box_get_active(combobox)==0) || (gtk_combo_box_get_active(combobox)==5)) gtk_widget_set_sensitive(widget, TRUE); else gtk_widget_set_sensitive(widget, FALSE); } #ifdef G_OS_WIN32 G_MODULE_EXPORT #endif void on_vbmode2_changed(GtkComboBox *combobox, GtkWidget *widget) { if (gtk_combo_box_get_active(combobox)!=0) gtk_widget_set_sensitive(widget, TRUE); else gtk_widget_set_sensitive(widget, FALSE); } #ifdef G_OS_WIN32 G_MODULE_EXPORT #endif void on_shader_changed(GtkComboBox *combobox, GtkWidget *widget) { if (gtk_combo_box_get_active(combobox) == 10) gtk_widget_set_sensitive(widget, TRUE); else gtk_widget_set_sensitive(widget, FALSE); } #ifdef G_OS_WIN32 G_MODULE_EXPORT #endif void on_audio_changed(GtkComboBox *combobox, GtkWidget *widget) { if ( #ifdef G_OS_WIN32 (gtk_combo_box_get_active(combobox)==0) || #endif (gtk_combo_box_get_active(combobox)==3) || (gtk_combo_box_get_active(combobox)==4) || (gtk_combo_box_get_active(combobox)==7)) gtk_widget_set_sensitive(widget, FALSE); else gtk_widget_set_sensitive(widget, TRUE); } mednaffe-0.8.6/src/command.c000066400000000000000000000243351313731622300156530ustar00rootroot00000000000000/* * command.c * * Copyright 2013-2015 AmatCoder * * This file is part of Mednaffe. * * Mednaffe is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * Mednaffe is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with Mednaffe; if not, see . * */ #include "common.h" #include "log.h" #ifdef G_OS_WIN32 #include #endif #ifdef G_OS_WIN32 gchar *build_command_win(guidata *gui) { gchar *command; gchar *command2; GList *list = NULL; GList *iterator = NULL; list = g_hash_table_get_keys(gui->clist); command = g_strconcat("\"", gui->binpath, "\"", NULL); for (iterator = list; iterator; iterator = iterator->next) { command2 = g_strconcat(command, " ", iterator->data, NULL); g_free(command); iterator->data = ((gchar *)iterator->data)+1; command = g_strconcat(command2, " \"", g_hash_table_lookup(gui->hash, iterator->data), "\"", NULL); g_free(command2); } g_list_free(list); command2 = g_strconcat(command, " -psx.dbg_level \"0\"", NULL ); g_free(command); command = g_strconcat(command2, " \"", gui->fullpath, "\"", NULL ); g_free(command2); return command; } #else gchar **build_command(guidata *gui) { gchar **command; gint num = 3; GList *list = NULL; GList *iterator = NULL; list = g_hash_table_get_keys(gui->clist); command = g_new(gchar *, ((g_list_length(list))*2)+5); command[0] = g_strdup(gui->binpath); command[1] = g_strdup("-psx.dbg_level"); command[2] = g_strdup("0"); for (iterator = list; iterator; iterator = iterator->next) { command[num] = g_strdup(iterator->data); num++; iterator->data = ((gchar *)iterator->data)+1; command[num] = g_strdup(g_hash_table_lookup(gui->hash, iterator->data)); num++; } g_list_free(list); command[num] = g_strdup(gui->fullpath); num++; command[num] = NULL; return command; } gboolean out_watch( GIOChannel *channel, GIOCondition cond, guidata *gui) { gsize size; if (cond == G_IO_HUP) { g_io_channel_unref(channel); return FALSE; } g_free(gui->m_error); gui->m_error= NULL; if (g_io_channel_read_line(channel, &gui->m_error, &size, NULL, NULL) != G_IO_STATUS_NORMAL) return TRUE; if (gui->m_error != NULL) { if (g_utf8_validate (gui->m_error, -1, NULL)) gtk_text_buffer_insert_at_cursor(gui->textout, gui->m_error, size); } return TRUE; } #endif void child_watch(GPid pid, gint status, guidata *gui) { #ifdef G_OS_WIN32 DWORD lpExitCode=0; GetExitCodeProcess( pid, &lpExitCode); gchar *string; gchar *dir = g_path_get_dirname (gui->binpath); gchar *path =g_strconcat(dir, "\\stdout.txt", NULL); if (g_file_get_contents(path, &string, NULL, NULL)) { print_log("----\n", EMU, gui); print_log(string, EMU, gui); gchar **aline = g_strsplit(string, "\n", 0); gint num = g_strv_length(aline); if (num > 2) gui->m_error = g_strconcat("Mednafen error: ", aline[num-2], NULL); g_strfreev(aline); } g_free(string); g_free(dir); g_free(path); if (lpExitCode!=0) { if (gui->m_error == NULL) gui->m_error = g_strdup("Mednafen error. Read stdout.txt for details."); GtkWidget *dialog; dialog = gtk_message_dialog_new (GTK_WINDOW(gui->topwindow), GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, "%s", gui->m_error); gtk_dialog_run (GTK_DIALOG (dialog)); gtk_widget_destroy (dialog); print_log("***ERROR***: ", FE, gui); print_log(gui->m_error, FE, gui); } #else if (status!=0) { GtkWidget *dialog; if (gui->state==1) gtk_window_present(GTK_WINDOW(gui->topwindow)); if (gui->state==2) gtk_widget_show(gui->topwindow); if (gui->m_error == NULL) gui->m_error = g_strdup("Unspecified error"); dialog = gtk_message_dialog_new (GTK_WINDOW(gui->topwindow), GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, "%s", gui->m_error); gtk_dialog_run (GTK_DIALOG (dialog)); gtk_widget_destroy (dialog); print_log("***ERROR***: ", FE, gui); print_log(gui->m_error, FE, gui); } #endif else { g_hash_table_remove_all(gui->clist); /* Send 'video.fs' and 'cheats' every time */ gpointer name; name = g_strdup(g_object_get_data(gtk_builder_get_object( gui->builder, "-video.fs"), "cname")); g_hash_table_insert(gui->clist, name, name); name = g_strdup(g_object_get_data(gtk_builder_get_object( gui->builder, "-cheats"), "cname")); g_hash_table_insert(gui->clist, name, name); } g_free(gui->m_error); gui->m_error = NULL; g_spawn_close_pid(pid); gui->executing = FALSE; gui->changed = TRUE; #ifdef G_OS_WIN32 g_free(gui->command); #else g_strfreev(gui->command); #endif if (gui->state==1) gtk_window_present(GTK_WINDOW(gui->topwindow)); if (gui->state==2) gtk_widget_show(gui->topwindow); gtk_widget_set_sensitive (gui->launch, TRUE); gtk_widget_set_sensitive (GTK_WIDGET(gtk_builder_get_object(gui->builder, "inputbutton")), TRUE); gtk_widget_set_sensitive (GTK_WIDGET(gtk_builder_get_object(gui->builder, "keyinputbutton")), TRUE); print_log("----\n", EMU, gui); print_log("End of execution caught.\n", FE|EMU, gui); } #ifdef G_OS_WIN32 G_MODULE_EXPORT void row_exec(GtkTreeView *treeview, GtkTreePath *patho, GtkTreeViewColumn *col, guidata *gui) { if ((gui->executing == TRUE) || (gui->fullpath == NULL)) return; BOOL ret; STARTUPINFO si; PROCESS_INFORMATION pi; ZeroMemory(&si, sizeof(STARTUPINFO)); si.cb = sizeof(STARTUPINFO); ZeroMemory(&pi, sizeof(PROCESS_INFORMATION)); gui->command = build_command_win(gui); delete_log(EMU, gui); print_log("\nExecuting mednafen with command line: \n", FE|EMU, gui); print_log(gui->command, FE|EMU, gui); print_log("\n", FE|EMU, gui); ret = CreateProcess(NULL, gui->command, NULL, NULL, FALSE, 0, NULL, NULL, &si, &pi); if (!ret) { print_log("Executing mednafen failed!\n", FE, gui); g_free(gui->command); return; } else { g_child_watch_add(pi.hProcess, (GChildWatchFunc)child_watch, gui); CloseHandle(pi.hThread); gui->executing = TRUE; gtk_widget_set_sensitive(gui->launch, FALSE); gtk_widget_set_sensitive (GTK_WIDGET(gtk_builder_get_object(gui->builder, "inputbutton")), FALSE); gtk_widget_set_sensitive (GTK_WIDGET(gtk_builder_get_object(gui->builder, "keyinputbutton")), FALSE); if (gui->state==1) gtk_window_iconify(GTK_WINDOW(gui->topwindow)); if (gui->state==2) gtk_widget_hide(gui->topwindow); } } #else void row_exec(GtkTreeView *treeview, GtkTreePath *patho, GtkTreeViewColumn *col, guidata *gui) { GPid pid; gboolean ret; gint out; GIOChannel *out_ch; if ((gui->executing == TRUE) || (gui->fullpath == NULL)) return; gui->command = build_command(gui); delete_log(EMU, gui); print_log("\nExecuting mednafen with command line: \n\"", FE|EMU, gui); gint i=0; while (gui->command[i]) { print_log(gui->command[i], FE|EMU, gui); print_log(" ", FE|EMU, gui); i++; } print_log("\"\n", FE|EMU, gui); print_log("----\n", EMU, gui); ret = g_spawn_async_with_pipes( NULL, gui->command, NULL, G_SPAWN_DO_NOT_REAP_CHILD, NULL, NULL, &pid, NULL, &out, NULL, NULL ); if (!ret) { print_log("Executing mednafen failed!\n", FE, gui); g_strfreev(gui->command); return; } g_child_watch_add(pid, (GChildWatchFunc)child_watch, gui); out_ch = g_io_channel_unix_new(out); g_io_channel_set_encoding(out_ch, NULL, NULL); g_io_channel_set_flags (out_ch, G_IO_FLAG_NONBLOCK, NULL); g_io_add_watch(out_ch, G_IO_IN|G_IO_HUP, (GIOFunc)out_watch, gui); gui->executing = TRUE; gtk_widget_set_sensitive (gui->launch, FALSE); gtk_widget_set_sensitive (GTK_WIDGET(gtk_builder_get_object(gui->builder, "inputbutton")), FALSE); gtk_widget_set_sensitive (GTK_WIDGET(gtk_builder_get_object(gui->builder, "keyinputbutton")), FALSE); if (gui->state==1) gtk_window_iconify(GTK_WINDOW(gui->topwindow)); if (gui->state==2) gtk_widget_hide(gui->topwindow); } #endif #ifdef G_OS_WIN32 G_MODULE_EXPORT #endif void play_exec(GtkButton *button, guidata *gui) { row_exec(NULL, NULL, NULL, gui); } #ifdef G_OS_WIN32 G_MODULE_EXPORT #endif void open_rom(GtkWidget *sender, guidata *gui) { GtkWidget *folder; #ifdef GTK2_ENABLED folder = gtk_file_chooser_dialog_new( "Choose a ROM...", GTK_WINDOW(gui->topwindow), GTK_FILE_CHOOSER_ACTION_OPEN, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT, NULL ); #else folder = gtk_file_chooser_dialog_new( "Choose a ROM...", GTK_WINDOW(gui->topwindow), GTK_FILE_CHOOSER_ACTION_OPEN, ("_Cancel"), GTK_RESPONSE_CANCEL, ("_Open"), GTK_RESPONSE_ACCEPT, NULL); #endif if (gtk_dialog_run(GTK_DIALOG(folder)) == GTK_RESPONSE_ACCEPT) { gchar *filename; filename = gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (folder)); if (filename != NULL) { gchar *g_fullpath; g_fullpath = gui->fullpath; gui->fullpath = filename; row_exec(NULL, NULL, NULL, gui); g_free(gui->fullpath); gui->fullpath = g_fullpath; } } gtk_widget_destroy(folder); } mednaffe-0.8.6/src/common.h000066400000000000000000000043011313731622300155210ustar00rootroot00000000000000/* * common.h * * Copyright 2013-2015 AmatCoder * * This file is part of Mednaffe. * * Mednaffe is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * Mednaffe is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with Mednaffe; if not, see . * */ #include #ifdef G_OS_WIN32 #include #include "SDL2/SDL.h" #endif typedef struct { #ifdef G_OS_UNIX gint js_fd; gint ev_fd; long long unsigned int id; gchar name[128]; GIOChannel *channel; #else SDL_Joystick *sdljoy; SDL_JoystickID sdl_id; long long unsigned int id; gchar *name; gboolean xinput; #endif }joydata; typedef struct { GtkWidget *topwindow; GtkWidget *prefwindow; GtkWidget *inputwindow; GtkWidget *cbpath; GtkWidget *sbname; GtkWidget *sbnumber; GtkWidget *gamelist; GtkWidget *scrollwindow; GtkWidget *notebook; GtkWidget *notebook2; GtkWidget *setlabel; GtkWidget *launch; GtkWidget *systemlist; GtkWidget *globalist; GtkTextBuffer *textfe; GtkTextBuffer *textout; GtkBuilder *specific; GtkBuilder *builder; GtkBuilder *settings; GtkTreeViewColumn *column; GtkListStore *store; GtkCellEditable *editable; GdkPixbuf *pixbuf; gint listmode; gint filter; gint pagesys; GSList *itemlist; gchar *binpath; gchar *fullpath; gchar *rompath; gchar *rom; gchar *cfgfile; GHashTable* hash; GHashTable* clist; GSList *dinlist; gboolean executing; gboolean changed; #ifdef G_OS_WIN32 gchar *command; #else gchar **command; #endif gchar *system; gchar *fullsystem; gchar *treepath; gchar *port; gboolean changing; gint state; joydata joy[9]; gboolean inputedited; gboolean inputkeys; gchar *m_error; }guidata; mednaffe-0.8.6/src/gui.c000066400000000000000000000045721313731622300150220ustar00rootroot00000000000000/* * gui.c * * Copyright 2013-2015 AmatCoder * * This file is part of Mednaffe. * * Mednaffe is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * Mednaffe is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with Mednaffe; if not, see . * */ #include "common.h" void display_tooltips(GtkBuilder *builder, gboolean state) { gchar *text; GSList *list = NULL; GSList *iterator = NULL; list = gtk_builder_get_objects(builder); for (iterator = list; iterator; iterator = iterator->next) { if (GTK_IS_WIDGET(iterator->data)) { text = gtk_widget_get_tooltip_text(iterator->data); if (text!=NULL) gtk_widget_set_has_tooltip( iterator->data, state); g_free(text); } } g_slist_free(list); } #ifdef G_OS_WIN32 G_MODULE_EXPORT #endif void on_showtooltips_toggled(GtkToggleButton *togglebutton, guidata *gui) { gboolean state; state = gtk_toggle_button_get_active(togglebutton); display_tooltips(gui->builder, state); display_tooltips(gui->specific, state); display_tooltips(gui->settings, state); } #ifdef G_OS_WIN32 G_MODULE_EXPORT #endif void on_rbnothing_activate(GtkButton *button, guidata *gui) { gui->state=0; } #ifdef G_OS_WIN32 G_MODULE_EXPORT #endif void on_rbminimize_activate(GtkButton *button, guidata *gui) { gui->state=1; } #ifdef G_OS_WIN32 G_MODULE_EXPORT #endif void on_rbhide_activate(GtkButton *button, guidata *gui) { gui->state=2; } #ifdef G_OS_WIN32 G_MODULE_EXPORT #endif gboolean close_prefs(GtkWidget *widget, GdkEvent *event, guidata *gui) { gtk_widget_hide_on_delete(gui->prefwindow); return TRUE; } #ifdef G_OS_WIN32 G_MODULE_EXPORT #endif void cancel_prefs(GtkButton *button, guidata *gui) { gtk_widget_hide(gui->prefwindow); } #ifdef G_OS_WIN32 G_MODULE_EXPORT #endif void on_preferences_activate(GtkMenuItem *menuitem, guidata *gui) { gtk_widget_show(gui->prefwindow); } mednaffe-0.8.6/src/input.c000066400000000000000000000665371313731622300154060ustar00rootroot00000000000000/* * input.c * * Copyright 2013-2015 AmatCoder * * This file is part of Mednaffe. * * Mednaffe is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * Mednaffe is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with Mednaffe; if not, see . * */ #include "common.h" #include "input.h" #include "toggles.h" #include "log.h" #ifdef G_OS_UNIX #include "joystick_linux.h" #include #include #else #include #include "joystick_win.h" static int bool; static guint which; static gchar *on; static gchar *joyc; static GMutex mutex; #endif #define DEADZONE 16384 void close_channels(guidata *gui) { #ifdef G_OS_UNIX int a; for (a=0;a<9;a++) { if (gui->joy[a].channel != NULL) { g_io_channel_unref(gui->joy[a].channel); } } #endif #ifdef G_OS_WIN32 int i; for(i=0;i<9;i++) { if(SDL_JoystickGetAttached(gui->joy[i].sdljoy)) SDL_JoystickClose(gui->joy[i].sdljoy); } SDL_Quit(); #endif gtk_window_set_resizable(GTK_WINDOW(gui->inputwindow), TRUE); } #ifdef G_OS_WIN32 G_MODULE_EXPORT #endif gboolean close_input(GtkWidget *widget, GdkEvent *event, guidata *gui) { close_channels(gui); gtk_widget_hide_on_delete(gui->inputwindow); return TRUE; } #ifdef G_OS_WIN32 G_MODULE_EXPORT #endif void cancel_input(GtkButton *button, guidata *gui) { close_channels(gui); gtk_widget_hide(gui->inputwindow); } gchar* hash2joy(gchar *key ,gint i) { gchar **line; gchar *joy_hash; if (key[0] == '\0') return NULL; line = g_strsplit(key, " ", 0); if (line == NULL) return NULL; joy_hash = g_strdup(line[i]); g_strfreev(line); return joy_hash; } gchar* modkeys(gchar *key, gchar *value) { if (key[0] == '\0') return NULL; gchar **items; gchar *value2 = NULL; guint num,i; items = g_strsplit(key, "+", 4); num = g_strv_length(items); if (num>1) { for (i=(num-1);i>0;i--) { if (items[i][0]=='a') value2 = g_strconcat("Alt+", value, NULL); else if (items[i][0]=='c') value2 = g_strconcat("Ctrl+", value, NULL); else if (items[i][0]=='s') value2 = g_strconcat("Shift+", value, NULL); g_free(value); value = value2; } } g_strfreev(items); return value; } gchar* sdl2gdk(gchar *key) { gchar **line; gchar **item; gchar *gdk_key; guint sdl_value; if (key[0] == '\0') return NULL; line = g_strsplit(key, " ", 2); if (!line) return NULL; item = g_strsplit(line[1], "~", 2); if (item[1] != NULL) sdl_value = g_ascii_strtod(item[0], NULL); else sdl_value = g_ascii_strtod(line[1], NULL); g_strfreev(item); g_strfreev(line); if (sdl_value < 324) gdk_key = g_strdup(sdl_to_gdk[sdl_value]); else gdk_key = NULL; return gdk_key; } #ifdef G_OS_UNIX gboolean joy_watch( GIOChannel *channel, GIOCondition cond, guidata *gui) { if(cond == G_IO_HUP) { //g_io_channel_unref(channel); return FALSE; } struct js_event e; int fd; int a; for (a=0;a<9;a++) { fd=0; if (gui->joy[a].channel) fd = g_io_channel_unix_get_fd (channel); if ((fd > 0) && (fd == gui->joy[a].js_fd)) break; } if (fd==0) return FALSE; if (a>8) return FALSE; if (fd != gui->joy[a].js_fd) return FALSE; ssize_t s = read (fd, &e, sizeof(e)); if (s==-1) return TRUE; if (gui->inputedited == TRUE) return TRUE; if ((e.type == JS_EVENT_BUTTON) || ((e.type == JS_EVENT_AXIS) && ((e.value < -DEADZONE) || (e.value > DEADZONE)))) { GtkTreeIter iter; gchar *command; gchar *on; gchar *joyc; unsigned int b; if (e.type == JS_EVENT_BUTTON) { b = e.number; on = g_strdup_printf("Button %02i", b); //printf("Event: %08x\n", b); joyc = g_strdup_printf("joystick %016llx %08x", gui->joy[a].id, b); } else if (e.type == JS_EVENT_AXIS) { //printf("%i\n", e.value); if (e.number % 2) { if (e.value<0) on = g_strdup_printf("Axis %i Up", e.number); else on = g_strdup_printf("Axis %i Down", e.number); } else { if (e.value<0) on = g_strdup_printf("Axis %i Left", e.number); else on = g_strdup_printf("Axis %i Right", e.number); } b = (0x8000 | e.number); if (e.value<0) b = (0x4000 | b); //printf("Event: %08x\n", b); joyc = g_strdup_printf("joystick %016llx %08x", gui->joy[a].id, b); } if ((gui->treepath != NULL) && (!gui->inputedited)) { gchar *fullcommand; GtkTreeModel *model; model = gtk_tree_view_get_model(GTK_TREE_VIEW(gtk_builder_get_object(gui->specific, "treeview_input"))); gtk_tree_model_get_iter_from_string(model, &iter, gui->treepath); gtk_list_store_set(GTK_LIST_STORE(model), &iter, 2, on, 3, gui->joy[a].name, -1); gtk_tree_model_get(model, &iter, 1, &command, -1); if (gui->inputkeys) fullcommand = g_strconcat("-command.", command, NULL); else fullcommand = g_strconcat(gui->system,".input.",gui->port, command, NULL); g_free(command); g_hash_table_replace(gui->clist, fullcommand, fullcommand); fullcommand++; g_hash_table_insert(gui->hash, g_strdup(fullcommand), joyc); fullcommand--; gui->inputedited = TRUE; } else g_free(joyc); g_free(on); return TRUE; } return TRUE; } #endif #ifdef G_OS_WIN32 gchar* xinput_map(long long unsigned int b) { gchar *string = NULL; switch (b) { case 0: string = g_strdup("D-Pad Up"); break; case 1: string = g_strdup("D-Pad Down"); break; case 2: string = g_strdup("D-Pad Left"); break; case 3: string = g_strdup("D-Pad Right"); break; case 4: string = g_strdup("Button Start"); break; case 5: string = g_strdup("Button Back"); break; case 6: string = g_strdup("Stick Button Left"); break; case 7: string = g_strdup("Stick Button Right"); break; case 8: string = g_strdup("Shoulder Left"); break; case 9: string = g_strdup("Shoulder Right"); break; case 12: string = g_strdup("Button A"); break; case 13: string = g_strdup("Button B"); break; case 14: string = g_strdup("Button X"); break; case 15: string = g_strdup("Button Y"); break; default : break; } return string; } #endif void read_input(guidata *gui) { GtkTreeModel *model; GtkTreeIter iter; gui->system++; if (gui->inputkeys) { model = GTK_TREE_MODEL(gtk_builder_get_object(gui->builder, "keys")); } else { model = GTK_TREE_MODEL(gtk_builder_get_object( gui->specific, gui->system)); } gtk_tree_view_set_model(GTK_TREE_VIEW(gtk_builder_get_object( gui->specific, "treeview_input")), model); if (gtk_tree_model_get_iter_first(model, &iter)) { do { gchar *action; gchar *command; gchar *hashkey; gtk_tree_model_get(model, &iter, 1, &action, -1); if (gui->inputkeys) command = g_strconcat("command.", action, NULL); else command = g_strconcat(gui->system, ".input.", gui->port, action, NULL); g_free(action); hashkey = g_hash_table_lookup(gui->hash, command); g_free(command); if (hashkey != NULL) { if (hashkey[0]=='k') { gchar *value = sdl2gdk(hashkey); if ((value != NULL) && (gui->inputkeys)) value = modkeys(hashkey, value); if (value != NULL) { gtk_list_store_set(GTK_LIST_STORE(model), &iter, 2, value, 3, "Keyboard", -1); g_free(value); } else gtk_list_store_set(GTK_LIST_STORE(model), &iter, 2, "", 3 , "", -1); } #ifdef G_OS_UNIX else if (hashkey[0]=='j') { gchar *value = hash2joy(hashkey, 2); gchar *hash = hash2joy(hashkey, 1); long long unsigned int ll = g_ascii_strtoull(value, NULL, 16); g_free(value); int a; for (a=0;a<9;a++) { if (gui->joy[a].id == g_ascii_strtoull(hash, NULL, 16)) { if (ll>0x7FFF) { if (ll % 2) { if (ll<0xc000) value = g_strdup_printf("Axis %01llx Down", ll & 0xFFF); else value = g_strdup_printf("Axis %01llx Up", ll & 0xFFF); } else { if (ll<0xc000) value = g_strdup_printf("Axis %01llx Right", ll & 0xFFF); else value = g_strdup_printf("Axis %01llx Left", ll & 0xFFF); } } else value = g_strdup_printf("Button %02lli", ll & 0xFF); gtk_list_store_set(GTK_LIST_STORE(model), &iter, 2, value, 3, gui->joy[a].name, -1); g_free(value); } // else gtk_list_store_set(GTK_LIST_STORE(model), &iter, 2, "", 3 , hash, -1); } g_free(hash); } #endif #ifdef G_OS_WIN32 else if (hashkey[0]=='j') { gchar *value = hash2joy(hashkey, 2); gchar *hash = hash2joy(hashkey, 1); long long unsigned int ll = g_ascii_strtoull(value, NULL, 16); g_free(value); int a; for (a=0;a<9;a++) { if (gui->joy[a].id == g_ascii_strtoull(hash, NULL, 16)) { if (ll>0x7FFF) { if (ll % 2) { if (ll<0xc000) value = g_strdup_printf("Axis %01I64x Down", ll & 0xFFF); else value = g_strdup_printf("Axis %01I64x Up", ll & 0xFFF); } else { if (ll<0xc000) value = g_strdup_printf("Axis %01I64x Right", ll & 0xFFF); else value = g_strdup_printf("Axis %01I64x Left", ll & 0xFFF); } if (gui->joy[a].xinput==TRUE) { if ((ll & 0xFFF)==4) { g_free(value); value = g_strdup("Trigger Left"); } else if ((ll & 0xFFF)==5) { g_free(value); value = g_strdup("Trigger Right"); } } } else { if (gui->joy[a].xinput==TRUE) { value = xinput_map((ll & 0xFF)); } else value = g_strdup_printf("Button %02I64i", ll & 0xFF); } if ((value) && (gui->joy[a].name)) gtk_list_store_set(GTK_LIST_STORE(model), &iter, 2, value, 3, gui->joy[a].name, -1); g_free(value); } // else gtk_list_store_set(GTK_LIST_STORE(model), &iter, 2, "", 3 , hash, -1); } g_free(hash); } #endif else gtk_list_store_set(GTK_LIST_STORE(model), &iter, 2, "", 3 , "", -1); } } while (gtk_tree_model_iter_next(model, &iter)); } gui->system--; } #ifdef G_OS_WIN32 G_MODULE_EXPORT #endif void switch_page(GtkNotebook *notebook, GtkWidget *page, guint page_num, guidata *gui) { g_free(gui->port); gui->port = g_strdup_printf("port%i.", (page_num+1)); read_input(gui); } void set_ports(guint page, GtkNotebook *notebook, guidata *gui) { gint i; gui->port = g_strdup("port1."); gtk_notebook_set_show_tabs(notebook, TRUE); for (i=0;iport = g_strdup("builtin."); gtk_notebook_set_show_tabs(notebook, FALSE); } #ifdef G_OS_WIN32 int GetControllerIndex(SDL_JoystickID instance, guidata *gui) { int i; for(i=0;i<9;i++){ if (gui->joy[i].sdl_id == instance) return i; } return -1; } DWORD WINAPI joy_thread(LPVOID lpParam) { guidata *gui = lpParam; SDL_Event event; SDL_JoystickEventState(SDL_ENABLE); while (SDL_PollEvent(&event)){} //Drops pending events while(SDL_WaitEvent(&event)) { if (bool==1) break; //printf("Unhandled Event: %i\n", event.type); if ((event.type == SDL_JOYBUTTONDOWN) || (event.type == SDL_JOYHATMOTION) || ((event.type == SDL_JOYAXISMOTION) && ((event.jaxis.value < -DEADZONE) || (event.jaxis.value > DEADZONE)))) { unsigned int b; int a; g_mutex_lock (&mutex); bool=1; g_mutex_unlock (&mutex); if (event.type == SDL_JOYBUTTONDOWN) { b = event.jbutton.button; a = GetControllerIndex(event.jbutton.which, gui); if (a>-1) { if ((gui->joy[a].xinput==TRUE) && (b>9)) b=b+2; joyc = g_strdup_printf("joystick %016I64x %08x", gui->joy[a].id, b); //printf("Button Event: %s\n", joyc); which = a; } if (gui->joy[a].xinput==TRUE) { on = xinput_map(b); } else on = g_strdup_printf("Button %02i", b); } else if (event.type == SDL_JOYHATMOTION) { a = GetControllerIndex(event.jhat.which, gui); if (a>-1) { //printf("Value: %i\n", event.jhat.value); int h=(((event.jhat.hat*2)-1) + SDL_JoystickNumAxes(gui->joy[a].sdljoy)); b = (0x8000 | h); if (event.jhat.value == SDL_HAT_UP) { on = g_strdup_printf("Axis %i Up", h+2); b = (0x4000 | b)+2; } else if(event.jhat.value == SDL_HAT_DOWN) { on = g_strdup_printf("Axis %i Down", h+2); b=b+2; } else if(event.jhat.value == SDL_HAT_RIGHT) { on = g_strdup_printf("Axis %i Right", h+1); b=b+1; } else if(event.jhat.value == SDL_HAT_LEFT) { on = g_strdup_printf("Axis %i Left", h+1); b = (0x4000 | b)+1; } which = a; joyc = g_strdup_printf("joystick %016I64x %08x", gui->joy[a].id, b); //printf("Hat Event: %s\n", joyc); } } else if (event.type == SDL_JOYAXISMOTION) { a = GetControllerIndex(event.jaxis.which, gui); if (a>-1) { printf("Value: %i\n", event.jaxis.value); if (event.jaxis.axis % 2) { if (gui->joy[a].xinput==TRUE) { if (event.jaxis.value<0) on = g_strdup_printf("Axis %i Up", event.jaxis.axis); else on = g_strdup_printf("Axis %i Down", event.jaxis.axis); if (event.jaxis.axis==5) { g_free(on); on = g_strdup("Trigger Right"); } } else { if (event.jaxis.value<0) on = g_strdup_printf("Axis %i Up", event.jaxis.axis); else on = g_strdup_printf("Axis %i Down", event.jaxis.axis); } } else { if (event.jaxis.value<0) {on = g_strdup_printf("Axis %i Left", event.jaxis.axis);} else {on = g_strdup_printf("Axis %i Right", event.jaxis.axis);} if (gui->joy[a].xinput==TRUE) { if (event.jaxis.axis==4) { g_free(on); on = g_strdup("Trigger Left"); } } } which = a; b = (0x8000 | event.jaxis.axis); if ((gui->joy[a].xinput==TRUE) && (event.jaxis.axis % 2)) { if (event.jaxis.value>0) b = (0x4000 | b); } else { if (event.jaxis.value<0) b = (0x4000 | b); } joyc = g_strdup_printf("joystick %016I64x %08x", gui->joy[a].id, b); printf("Axis Event: %s\n", joyc); } } } } SDL_JoystickEventState(SDL_IGNORE); return 0; } #endif #ifdef G_OS_WIN32 G_MODULE_EXPORT #endif void on_input_clicked (GtkButton *button, guidata *gui) { if (gui->executing) return; gui->inputkeys = (gtk_button_get_label(button)[0]=='K'); GtkNotebook *notebook = GTK_NOTEBOOK(gtk_builder_get_object(gui->specific, "notebook1")); if (gui->inputkeys) { gtk_label_set_markup(GTK_LABEL(gtk_builder_get_object( gui->specific, "label108")), "Key Assignments"); gtk_window_set_title (GTK_WINDOW(gui->inputwindow), "Key Assignments"); gtk_widget_hide(GTK_WIDGET(notebook)); } else { gchar *text = g_strconcat("Controller Setup - ", gui->fullsystem, "", NULL); gtk_label_set_markup(GTK_LABEL(gtk_builder_get_object( gui->specific, "label108")), text); g_free(text); text = g_strconcat("Controller Setup - ", gui->fullsystem, NULL); gtk_window_set_title (GTK_WINDOW(gui->inputwindow), text); g_free(text); g_free(gui->port); gtk_widget_show(GTK_WIDGET(notebook)); switch (gui->pagesys) { case 0: set_builtin(notebook, gui); break; case 1: set_builtin(notebook, gui); break; case 2: set_builtin(notebook, gui); break; case 3: set_builtin(notebook, gui); break; case 4: set_ports(4, notebook, gui); break; case 5: set_ports(5, notebook, gui); break; case 6: set_ports(2, notebook, gui); break; case 7: set_builtin(notebook, gui); break; case 8: set_ports(2, notebook, gui); break; case 9: set_ports(2, notebook, gui); break; case 10: set_ports(2, notebook, gui); break; case 11: set_ports(2, notebook, gui); break; case 12: set_ports(2, notebook, gui); break; case 13: set_builtin(notebook, gui); break; case 14: set_builtin(notebook, gui); break; default : break; } gtk_notebook_set_current_page(notebook, 0); } if (gui->changed) { g_hash_table_remove_all(gui->hash); read_cfg(gui); gui->changed = FALSE; } #ifdef G_OS_UNIX int a; for (a=0;a<9;a++) { if (GetJoy(a,gui)>0) { gchar *id =g_strdup_printf(" - Unique ID: %016llx\n", gui->joy[a].id); print_log("Joystick detected: ", FE, gui); print_log(gui->joy[a].name, FE, gui); print_log(id, FE, gui); g_free(id); gui->joy[a].channel = g_io_channel_unix_new(gui->joy[a].js_fd); //g_io_channel_set_flags (gui->joy[a].channel, G_IO_FLAG_NONBLOCK, NULL); g_io_channel_set_close_on_unref(gui->joy[a].channel, TRUE); g_io_add_watch(gui->joy[a].channel, G_IO_IN|G_IO_HUP, (GIOFunc)joy_watch, gui); } else { gui->joy[a].channel = NULL; } } #endif #ifdef G_OS_WIN32 SDL_SetHint("SDL_JOYSTICK_ALLOW_BACKGROUND_EVENTS", "1"); SDL_Init(SDL_INIT_VIDEO | SDL_INIT_JOYSTICK); int i; for(i=0;i<9;i++) { gui->joy[i].sdljoy = SDL_JoystickOpen(i); gui->joy[i].xinput = FALSE; if(!gui->joy[i].sdljoy) { //printf("Couldn't open Joystick %i\n", i); gui->joy[i].sdl_id = 0; gui->joy[i].id = 1; gui->joy[i].name = NULL; } else { gui->joy[i].sdl_id = SDL_JoystickInstanceID(gui->joy[i].sdljoy); gui->joy[i].name = g_strdup(SDL_JoystickName(gui->joy[i].sdljoy)); SDL_JoystickGUID guid = SDL_JoystickGetGUID(gui->joy[i].sdljoy); char pszGUID[32]; SDL_JoystickGetGUIDString(guid, (char *)pszGUID, 33); /*printf("GUID: %s\n", pszGUID);*/ /*if ((guid.data[0]=='x') && (guid.data[1]=='i') && (guid.data[2]=='n') && (guid.data[3]=='p') && (guid.data[4]=='u') && (guid.data[5]=='t'))*/ if (g_strcmp0(pszGUID, "00000000000000000000000000000000")==0) { int type, subtype; type = SDL_JoystickDevType(gui->joy[i].sdljoy); // Those functions do not exist in SDL subtype = SDL_JoystickDevSubType(gui->joy[i].sdljoy); // I patched it to expose XINPUT_CAPABILITIES if ((type > -1) && (type < 2) && (subtype > -1 ) && (subtype < 20)) { gui->joy[i].id = ((type << 24) | (subtype << 16)); } else gui->joy[i].id = (0x00000000 << 24) | (0x00000001 << 16); gui->joy[i].xinput = TRUE; CheckDuplicatesXInput(i, gui); } else { GetJoy(i, gui); } CheckDuplicates(i, gui); } } for(i=0;i<9;i++) { if (gui->joy[i].name != NULL) { gchar *id =g_strdup_printf(" - Unique ID: %016I64x\n", gui->joy[i].id); print_log("Joystick detected: ", FE, gui); print_log(SDL_JoystickName(gui->joy[i].sdljoy), FE, gui); print_log(id, FE, gui); g_free(id); } } /* gchar *string; gchar *dir = g_win32_get_package_installation_directory_of_module(NULL); gchar *path =g_strconcat(dir, "\\stdout.txt", NULL); if (g_file_get_contents(path, &string, NULL, NULL)) { gchar **aline = g_strsplit(string, "\n", 0); gint num = g_strv_length(aline); gint l; for(l=0;ljoy[ii].id = g_strndup(id+=4,16); //id = g_strrstr(aline[l],"Joystick "); //gui->joy[ii].name = g_strndup(id+=13,(strlen(aline[l])-45)); printf (gui->joy[ii].id); //printf (gui->joy[ii].name); } } g_free(string); g_strfreev(aline); } g_free(dir); g_free(path); */ #endif read_input(gui); if (!gui->executing) g_object_set(G_OBJECT(gtk_builder_get_object(gui->specific, "cellkey")), "editable", TRUE, NULL); else g_object_set(G_OBJECT(gtk_builder_get_object(gui->specific, "cellkey")), "editable", FALSE, NULL); gtk_widget_show(gui->inputwindow); gtk_tree_view_columns_autosize(GTK_TREE_VIEW(gtk_builder_get_object( gui->specific, "treeview_input"))); gtk_window_set_resizable(GTK_WINDOW(gui->inputwindow), FALSE); } guint gdk_to_sdl_keyval(guint gdk_key) { if (!(gdk_key & 0xFF00)) { gdk_key = g_ascii_tolower(gdk_key); return gdk_key; } if (gdk_key & 0xFFFF0000) return 0; if ((gdk_key & 0xFF) > 323) return 0; guint sdl_key = gdk_to_sdl[gdk_key & 0xFF]; return sdl_key; } #ifdef G_OS_WIN32 G_MODULE_EXPORT #endif gboolean editable_mouse_cb(GtkWidget *ed, GdkEvent *event, guidata *gui) { return TRUE; } #ifdef G_OS_WIN32 G_MODULE_EXPORT #endif gboolean editable_key_cb(GtkWidget *ed, GdkEventKey *event, guidata *gui) { GtkTreeModel *model; GtkTreeIter iter; gchar *command; gchar *fullcommand; gchar *key = NULL; gchar *key2; guint nkey; if (gui->inputkeys) { if ( (event->keyval==65505) || (event->keyval==65506) || (event->keyval==65507) || (event->keyval==65508) || (event->keyval==65511) || (event->keyval==65512) || (event->keyval==65513) || (event->keyval==65514) ) return FALSE; } nkey = gdk_to_sdl_keyval(event->keyval); if (nkey > 323) return TRUE; if (sdl_to_gdk[nkey] != NULL) key = g_strdup(sdl_to_gdk[nkey]);//g_ascii_strup(gdk_keyval_name(event->keyval), -1); else return TRUE; #ifdef G_OS_WIN32 g_mutex_lock (&mutex); if (bool==1) { g_mutex_unlock (&mutex); return TRUE; } bool=1; #endif model = gtk_tree_view_get_model(GTK_TREE_VIEW(gtk_builder_get_object(gui->specific, "treeview_input"))); gtk_tree_model_get_iter_from_string(model, &iter, gui->treepath); if (gui->inputkeys) { key2 = key; if (event->state & GDK_SHIFT_MASK) { key = g_strconcat("Shift+", key2, NULL); g_free(key2); key2 = key; } if (event->state & GDK_MOD1_MASK) { key = g_strconcat("Alt+", key2, NULL); g_free(key2); key2 = key; } if (event->state & GDK_CONTROL_MASK) { key = g_strconcat("Ctrl+", key2, NULL); g_free(key2); } } gtk_list_store_set(GTK_LIST_STORE(model), &iter, 2, key, 3, "Keyboard", -1); g_free(key); gtk_tree_model_get(model, &iter, 1, &command, -1); if (gui->inputkeys) fullcommand = g_strconcat("-command.", command, NULL); else fullcommand = g_strconcat(gui->system,".input.",gui->port, command, NULL); g_free(command); g_hash_table_replace(gui->clist, fullcommand, fullcommand); key = g_strdup_printf("%i",nkey); if (gui->inputkeys) { key2 = key; if (event->state & GDK_CONTROL_MASK) { key = g_strconcat(key2, "+ctrl", NULL); g_free(key2); key2 = key; } if (event->state & GDK_MOD1_MASK) { key = g_strconcat(key2, "+alt", NULL); g_free(key2); key2 = key; } if (event->state & GDK_SHIFT_MASK) { key = g_strconcat(key2, "+shift", NULL); g_free(key2); } } fullcommand++; g_hash_table_insert(gui->hash, g_strdup(fullcommand), g_strconcat("keyboard ", key, NULL)); fullcommand--; g_free(key); gtk_cell_editable_editing_done(GTK_CELL_EDITABLE(ed)); gtk_cell_editable_remove_widget(GTK_CELL_EDITABLE(ed)); gui->inputedited = TRUE; #ifdef G_OS_WIN32 g_mutex_unlock (&mutex); #endif return TRUE; } #ifdef G_OS_WIN32 G_MODULE_EXPORT #endif gboolean on_treeview_input_button_press_event(GtkWidget *widget, GdkEvent *event, guidata *gui) { if (event->type == GDK_2BUTTON_PRESS) return TRUE; else return FALSE; } #ifdef G_OS_WIN32 void thread_watch(GPid pid, gint status, guidata *gui) { //printf("Exiting from thread\n"); g_mutex_lock (&mutex); if ((joyc != NULL) && (on != NULL) && (!gui->inputedited)) { GtkTreeIter iter; gchar *command; gchar* fullcommand; GtkTreeModel *model = gtk_tree_view_get_model(GTK_TREE_VIEW(gtk_builder_get_object(gui->specific, "treeview_input"))); gtk_tree_model_get_iter_from_string(model, &iter, gui->treepath); gtk_list_store_set(GTK_LIST_STORE(model), &iter, 2, on, 3, gui->joy[which].name, -1); gtk_tree_model_get(model, &iter, 1, &command, -1); if (gui->inputkeys) fullcommand = g_strconcat("-command.", command, NULL); else fullcommand = g_strconcat(gui->system,".input.",gui->port, command, NULL); g_free(command); g_hash_table_replace(gui->clist, fullcommand, fullcommand); fullcommand++; g_hash_table_insert(gui->hash, g_strdup(fullcommand), g_strdup(joyc)); fullcommand--; gtk_cell_editable_editing_done(gui->editable); gtk_cell_editable_remove_widget(gui->editable); } gui->inputedited = TRUE; g_free(on); g_free(joyc); g_mutex_unlock (&mutex); g_spawn_close_pid(pid); } #endif #ifdef G_OS_WIN32 G_MODULE_EXPORT #endif void key_setting (GtkCellRendererText *renderer, GtkCellEditable *editable, gchar *path, guidata *gui) { if(GTK_IS_ENTRY(editable)) { gtk_entry_set_text(GTK_ENTRY(editable), ""); g_free(gui->treepath); gui->treepath = g_strdup(path); gui->editable = editable; gui->inputedited = FALSE; g_signal_connect(GTK_WIDGET(editable), "button-press-event", G_CALLBACK(editable_mouse_cb), gui); g_signal_connect(GTK_WIDGET(editable), "key-press-event", G_CALLBACK(editable_key_cb), gui); #ifdef G_OS_WIN32 bool = 0; on = NULL; joyc = NULL; which = 0; HANDLE hThread = CreateThread(NULL, 0, joy_thread, gui, 0, NULL); g_child_watch_add(hThread, (GChildWatchFunc)thread_watch, gui); #endif } } mednaffe-0.8.6/src/input.h000066400000000000000000000100051313731622300153660ustar00rootroot00000000000000/* * input.h * * Copyright 2013-2015 AmatCoder * * This file is part of Mednaffe. * * Mednaffe is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * Mednaffe is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with Mednaffe; if not, see . * */ #ifndef INPUT_H #define INPUT_H static const guint gdk_to_sdl[256] = { 0, 0, 0, 0, 0, 0, 0, 0, 8, 9, 13, 12, 0, 13, 0, 0, 0, 0, 0, 19, 302, 317, 0, 0, 0, 0, 0, 27, 0, 0, 0, 0, 314, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 278, 276, 273, 275, 274, 280, 281, 279, 0, 0, 0, 0, 0, 0, 0, 0, 0, 316, 0, 277, 322, 0, 0, 319, 0, 315, 318, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 313, 300, 261, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 271, 0, 0, 0, 0, 0, 0, 0, 263, 260, 264, 262, 258, 265, 259, 257, 261, 256, 266, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 268, 270, 0, 269, 266, 267, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 0, 0, 0, 272, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 304, 303, 306, 305, 301, 0, 310, 309, 308, 307, 311, 312, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 127 }; static const char* const sdl_to_gdk[324] = { NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, "Backspace", "Tab", NULL, NULL, "Clear", "Enter", NULL, NULL, NULL, NULL, NULL, "Pause", NULL, NULL, NULL, NULL, NULL, NULL, NULL, "Escape", NULL, NULL, NULL, NULL, "Space", "!", "\"", "#", "$", NULL, "&", "'", "(", ")", "*", "+", ",", "-", ".", "/", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", ":", ";", "<", "=", ">", "?", "@", NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, "[", "\\", "]", "^", "_", "`", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "{", "|", "}", "~", "Delete", NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, "Numpad 0", "Numpad 1", "Numpad 2", "Numpad 3", "Numpad 4", "Numpad 5", "Numpad 6", "Numpad 7", "Numpad 8", "Numpad 9", "Numpad .", "Numpad /", "Numpad *", "Numpad -", "Numpad +", "Numpad Enter", "Numpad =", "Up", "Down", "Right", "Left", "Insert", "Home", "End", "Page Up", "PageDown", "F1", "F2", "F3", "F4", "F5", "F6", "F7", "F8", "F9", "F10", "F11", "F12", "F13", "F14", "F15", NULL, NULL, NULL, "Num Lock", "Caps Lock", "Scroll Lock", "Right Shift", "Left Shift", "Right Ctrl", "Left Ctrl", "Right Alt", "Left Alt", "Right Meta", "Left Meta", "Left Super", "Right Super", "Alt Gr", "Compose", "Help", "Print Screen", "SysRq", "Break", "Menu", "Power", "Euro", "Undo", NULL }; #endif /* INPUT_H */ mednaffe-0.8.6/src/joystick_linux.c000066400000000000000000000110371313731622300173060ustar00rootroot00000000000000/* * joystick_linux.c * * Copyright 2013-2015 AmatCoder * * This file is part of Mednaffe. * * Mednaffe is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * Mednaffe is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with Mednaffe; if not, see . * */ #include "common.h" #include "md5.h" #include "stdint.h" #include "string.h" #include #include gchar* FindEv(int js) { gchar *path = NULL; gchar *syspath; gchar *number = g_strdup_printf("%i",js); syspath = g_strconcat("/sys/class/input/js", number, "/device/", NULL); g_free(number); GDir *dir =g_dir_open (syspath, 0, NULL); if (dir) { const gchar* file = NULL; do { file = g_dir_read_name(dir); if ((g_ascii_strncasecmp("event",file,5) == 0)) break; } while (file != NULL); if (file) path = g_strconcat("/dev/input/", file, NULL); g_dir_close(dir); } g_free(syspath); return path; } uint64_t CalcOldStyleID(unsigned arg_num_axes, unsigned arg_num_balls, unsigned arg_num_hats, unsigned arg_num_buttons) { uint8 digest[16]; int tohash[4]; md5_context hashie; uint64_t ret = 0; tohash[0] = arg_num_axes; tohash[1] = arg_num_balls; tohash[2] = arg_num_hats; tohash[3] = arg_num_buttons; md5_starts(&hashie); md5_update(&hashie, (uint8 *)tohash, sizeof(tohash)); md5_finish(&hashie, digest); int x; for(x = 0; x < 16; x++) { ret ^= (uint64_t)digest[x] << ((x & 7) * 8); } return ret; } void CheckDuplicates(guint js, guidata *gui) { int a; for (a=0;a<9;a++) { if (a==js) break; if (gui->joy[js].id == gui->joy[a].id){ gui->joy[js].id++; CheckDuplicates(js, gui); } } } gint GetJoy(guint js, guidata *gui) { unsigned num_axes = 0; unsigned num_buttons = 0; unsigned char tmp; gui->joy[js].channel= NULL; gui->joy[js].name[0]= '\0'; gui->joy[js].id = 1; gui->joy[js].ev_fd = -1; gchar *number = g_strdup_printf("%i",js); gchar *path = g_strconcat("/dev/input/js", number, NULL); gui->joy[js].js_fd = open(path, O_RDONLY); g_free(number); g_free(path); if(gui->joy[js].js_fd == -1) { return 0; } gchar *evdev_path = FindEv(js); fcntl(gui->joy[js].js_fd, F_SETFL, fcntl(gui->joy[js].js_fd, F_GETFL) | O_NONBLOCK); if(evdev_path != NULL) { gui->joy[js].ev_fd = open(evdev_path, O_RDWR); if(gui->joy[js].ev_fd == -1) { gui->joy[js].ev_fd = open(evdev_path, O_RDONLY); if(gui->joy[js].ev_fd == -1) { printf("WARNING: Failed to open event device \"%s\"\n", evdev_path); } else { printf("WARNING: Could only open event device \"%s\" for reading, and not reading+writing\n", evdev_path); } } } else printf("WARNING: Failed to find a valid corresponding event device to joystick device\n"); if(gui->joy[js].ev_fd != -1) fcntl(gui->joy[js].ev_fd, F_SETFL, fcntl(gui->joy[js].ev_fd, F_GETFL) | O_NONBLOCK); if(ioctl(gui->joy[js].js_fd, JSIOCGAXES, &tmp) == -1) { printf("Failed to get number of axes"); } else num_axes = tmp; if(ioctl(gui->joy[js].js_fd, JSIOCGBUTTONS, &tmp) == -1) { printf("Failed to get number of buttons"); } else num_buttons = tmp; ioctl(gui->joy[js].js_fd, JSIOCGNAME(sizeof(gui->joy[js].name)),gui->joy[js].name); if(gui->joy[js].ev_fd != -1) { uint8 absaxbits[(ABS_CNT + 7) / 8]; unsigned ev_abs_count = 0; unsigned ev_hat_count = 0; unsigned aat; memset(absaxbits, 0, sizeof(absaxbits)); ioctl(gui->joy[js].ev_fd, EVIOCGBIT(EV_ABS, sizeof(absaxbits)), absaxbits); for(aat = 0; aat < ABS_CNT; aat++) { if(absaxbits[(aat >> 3)] & (1U << (aat & 0x7))) { if(aat >= ABS_HAT0X && aat <= ABS_HAT3Y) { ev_hat_count++; } ev_abs_count++; } } close(gui->joy[js].ev_fd); g_free(evdev_path); gui->joy[js].id = CalcOldStyleID(ev_abs_count - ev_hat_count, 0, ev_hat_count / 2, num_buttons); CheckDuplicates(js, gui); return 2; } else { g_free(evdev_path); gui->joy[js].id = CalcOldStyleID(num_axes, 0, 0, num_buttons); CheckDuplicates(js, gui); return 1; } } mednaffe-0.8.6/src/joystick_linux.h000066400000000000000000000015441313731622300173150ustar00rootroot00000000000000/* * joystick_linux.h * * Copyright 2013-2015 AmatCoder * * This file is part of Mednaffe. * * Mednaffe is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * Mednaffe is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with Mednaffe; if not, see . * */ #ifndef JOYSTICK_LINUX_H #define JOYSTICK_LINUX_H gint GetJoy(guint js, guidata *gui); #endif /* JOYSTICK_LINUX_H */ mednaffe-0.8.6/src/joystick_win.c000066400000000000000000000046321313731622300167470ustar00rootroot00000000000000/* * joystick_win.c * * Copyright 2013-2015 AmatCoder * * This file is part of Mednaffe. * * Mednaffe is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * Mednaffe is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with Mednaffe; if not, see . * */ #include "common.h" #include "md5.h" #include "stdint.h" #include "string.h" uint64_t CalcOldStyleID(unsigned arg_num_axes, unsigned arg_num_balls, unsigned arg_num_hats, unsigned arg_num_buttons) { uint8 digest[16]; int tohash[4]; md5_context hashie; uint64_t ret = 0; tohash[0] = arg_num_axes; tohash[1] = arg_num_balls; tohash[2] = arg_num_hats; tohash[3] = arg_num_buttons; md5_starts(&hashie); md5_update(&hashie, (uint8 *)tohash, sizeof(tohash)); md5_finish(&hashie, digest); int x; for(x = 0; x < 16; x++) { ret ^= (uint64_t)digest[x] << ((x & 7) * 8); } return ret; } void CheckDuplicates(guint js, guidata *gui) { int a; for (a=0;a<9;a++) { if (a==js) break; if (gui->joy[js].id == gui->joy[a].id) { gui->joy[a].id++; CheckDuplicates(a, gui); } } } void CheckDuplicatesXInput(guint js, guidata *gui) { int a; for (a=0;a<9;a++) { if (a==js) break; if (gui->joy[js].id == gui->joy[a].id) { gui->joy[js].id++; CheckDuplicatesXInput(js, gui); } } } gint GetJoy(guint js, guidata *gui) { //printf("Number of Axes: %d\n", SDL_JoystickNumAxes(gui->joy[js].sdljoy)); //printf("Number of Hats: %d\n", SDL_JoystickNumHats(gui->joy[js].sdljoy)); //printf("Number of Buttons: %d\n", SDL_JoystickNumButtons(gui->joy[js].sdljoy)); //printf("Number of Balls: %d\n", SDL_JoystickNumBalls(gui->joy[js].sdljoy)); gui->joy[js].id = CalcOldStyleID(SDL_JoystickNumAxes(gui->joy[js].sdljoy), 0, SDL_JoystickNumHats(gui->joy[js].sdljoy), SDL_JoystickNumButtons(gui->joy[js].sdljoy)); return 1; } mednaffe-0.8.6/src/joystick_win.h000066400000000000000000000016731313731622300167560ustar00rootroot00000000000000/* * joystick_win.h * * Copyright 2013-2015 AmatCoder * * This file is part of Mednaffe. * * Mednaffe is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * Mednaffe is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with Mednaffe; if not, see . * */ #ifndef JOYSTICK_WIN_H #define JOYSTICK_WIN_H void CheckDuplicates(guint js, guidata *gui); void CheckDuplicatesXInput(guint js, guidata *gui); gint GetJoy(guint js, guidata *gui); #endif /* JOYSTICK_WIN_H */ mednaffe-0.8.6/src/list.c000066400000000000000000000261251313731622300152070ustar00rootroot00000000000000/* * list.c * * Copyright 2013-2015 AmatCoder * * This file is part of Mednaffe. * * Mednaffe is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * Mednaffe is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with Mednaffe; if not, see . * */ #include "common.h" #include #ifdef G_OS_WIN32 #include #endif void change_list (guidata *gui) { GtkAdjustment *adjustament; gchar *buff, *total; buff=g_strdup_printf("%i", gtk_tree_model_iter_n_children(GTK_TREE_MODEL(gui->store), NULL)); total = g_strconcat(" Games in list: ", buff, NULL); gtk_statusbar_pop(GTK_STATUSBAR(gui->sbnumber), 1); gtk_statusbar_pop(GTK_STATUSBAR(gui->sbname), 1); gtk_statusbar_push(GTK_STATUSBAR(gui->sbnumber), 1, total); gtk_statusbar_push(GTK_STATUSBAR(gui->sbname), 1, " Game selected: None"); g_free(gui->rom); g_free(gui->fullpath); gui->rom = NULL; gui->fullpath = NULL; g_free(total); g_free(buff); adjustament = gtk_scrolled_window_get_vadjustment( GTK_SCROLLED_WINDOW(gui->scrollwindow)); gtk_adjustment_set_value (adjustament, 0); gtk_widget_grab_focus(gui->gamelist); } #ifdef G_OS_WIN32 G_MODULE_EXPORT #endif void remove_folder(GtkWidget *sender, guidata *gui) { GtkTreeIter iter, iter2; GtkListStore *combostore; combostore = GTK_LIST_STORE(gtk_combo_box_get_model(GTK_COMBO_BOX(gui->cbpath))); if (gtk_combo_box_get_active_iter(GTK_COMBO_BOX(gui->cbpath), &iter)) { if (gtk_tree_model_get_iter_first(GTK_TREE_MODEL(combostore), &iter2)) gtk_list_store_remove(combostore, &iter); gtk_list_store_clear(gui->store); gtk_statusbar_pop(GTK_STATUSBAR(gui->sbnumber), 1); gtk_statusbar_push(GTK_STATUSBAR(gui->sbnumber), 1, " Games in list: 0 "); gtk_statusbar_pop(GTK_STATUSBAR(gui->sbname), 1); gtk_statusbar_push(GTK_STATUSBAR(gui->sbname), 1, " Game selected: None"); g_free(gui->rompath); g_free(gui->rom); gui->rompath=NULL; gui->rom=NULL; } } void add_combo(GtkComboBox *combopath, const char *string) { GtkTreeIter iter; GtkListStore *combostore; combostore = GTK_LIST_STORE(gtk_combo_box_get_model(combopath)); gtk_list_store_prepend(combostore, &iter); gtk_list_store_set(combostore, &iter, 0, string, -1); gtk_combo_box_set_active(combopath, 0); } #ifdef G_OS_WIN32 G_MODULE_EXPORT #endif void open_folder(GtkWidget *sender, guidata *gui) { GtkWidget *folder; #ifdef GTK2_ENABLED folder = gtk_file_chooser_dialog_new( "Choose a ROM folder...", GTK_WINDOW(gui->topwindow), GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT, NULL ); #else folder = gtk_file_chooser_dialog_new( "Choose a ROM folder...", GTK_WINDOW(gui->topwindow), GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER, ("_Cancel"), GTK_RESPONSE_CANCEL, ("_Open"), GTK_RESPONSE_ACCEPT, NULL); #endif if (gtk_dialog_run(GTK_DIALOG(folder)) == GTK_RESPONSE_ACCEPT) { gchar *path; path = gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (folder)); add_combo(GTK_COMBO_BOX(gui->cbpath), path); g_free(path); } gtk_widget_destroy(folder); } int descend_sort(const void * a, const void * b) { return strcmp(a, b); } int ascend_sort(const void * a, const void * b) { return strcmp(b, a); } #ifdef G_OS_WIN32 /* g_file_test is too slow on Windows */ void scan_files(gchar *romdir, guidata *gui) { WIN32_FIND_DATA FindFileData; gchar *romdir2 = g_strconcat(romdir, G_DIR_SEPARATOR_S, "*", NULL); HANDLE hFind = FindFirstFile(romdir2, &FindFileData); while (hFind != INVALID_HANDLE_VALUE) { gchar *testdir = g_strconcat(romdir, G_DIR_SEPARATOR_S, FindFileData.cFileName, NULL); if ((FindFileData.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY)) { if (gui->listmode == 1 && (0 != strcmp(FindFileData.cFileName, ".") && 0 != strcmp (FindFileData.cFileName, ".."))) { scan_files(testdir, gui); } } else { if (gui->filter == 0) { gui->itemlist = g_slist_prepend(gui->itemlist, g_strconcat(FindFileData.cFileName, G_DIR_SEPARATOR_S, testdir, NULL)); } else if ((gui->filter == 1) && (g_str_has_suffix(FindFileData.cFileName, ".zip") || g_str_has_suffix(FindFileData.cFileName, ".ZIP"))) { gui->itemlist = g_slist_prepend(gui->itemlist, g_strconcat(FindFileData.cFileName, G_DIR_SEPARATOR_S, testdir, NULL)); } else if ((gui->filter == 2) && (g_str_has_suffix(FindFileData.cFileName, ".cue") || g_str_has_suffix(FindFileData.cFileName, ".toc") || g_str_has_suffix(FindFileData.cFileName, ".ccd") || g_str_has_suffix(FindFileData.cFileName, ".m3u") || g_str_has_suffix(FindFileData.cFileName, ".CUE") || g_str_has_suffix(FindFileData.cFileName, ".TOC") || g_str_has_suffix(FindFileData.cFileName, ".CCD") || g_str_has_suffix(FindFileData.cFileName, ".M3U"))) { gui->itemlist = g_slist_prepend(gui->itemlist, g_strconcat(FindFileData.cFileName, G_DIR_SEPARATOR_S, testdir, NULL)); } } g_free(testdir); if (!FindNextFile(hFind, &FindFileData)) { FindClose(hFind); hFind = INVALID_HANDLE_VALUE; } } g_free(romdir2); } #else void scan_files(gchar *romdir, guidata *gui) { GDir *dir = NULL; dir = g_dir_open(romdir, 0, NULL); if (dir != NULL) { const gchar *file = NULL; while ((file=g_dir_read_name(dir)) != NULL) { gchar *testdir = g_strconcat(romdir, G_DIR_SEPARATOR_S, file, NULL); if (!g_file_test (testdir, G_FILE_TEST_IS_DIR)) { if (gui->filter == 0) { gui->itemlist = g_slist_prepend(gui->itemlist, g_strconcat(file, G_DIR_SEPARATOR_S, testdir, NULL)); } else if ((gui->filter == 1) && (g_str_has_suffix(file, ".zip") || g_str_has_suffix(file, ".ZIP"))) { gui->itemlist = g_slist_prepend(gui->itemlist, g_strconcat(file, G_DIR_SEPARATOR_S, testdir, NULL)); } else if ((gui->filter == 2) && (g_str_has_suffix(file, ".cue") || g_str_has_suffix(file, ".toc") || g_str_has_suffix(file, ".ccd") || g_str_has_suffix(file, ".m3u") || g_str_has_suffix(file, ".CUE") || g_str_has_suffix(file, ".TOC") || g_str_has_suffix(file, ".CCD") || g_str_has_suffix(file, ".M3U"))) { gui->itemlist = g_slist_prepend(gui->itemlist, g_strconcat(file, G_DIR_SEPARATOR_S, testdir, NULL)); } } else { if (gui->listmode == 1) scan_files(testdir, gui); } g_free(testdir); } g_dir_close(dir); } } #endif void sort_items(guidata *gui) { if (gtk_tree_view_column_get_sort_order(gui->column) == GTK_SORT_ASCENDING) gui->itemlist = g_slist_sort(gui->itemlist, (GCompareFunc)descend_sort); else gui->itemlist = g_slist_sort(gui->itemlist, (GCompareFunc)ascend_sort); } void populate_list(guidata *gui) { GtkTreeIter iter; GSList *iterator = NULL; gint i = 0; for (iterator = gui->itemlist; iterator; iterator = iterator->next) { gchar **str; str = g_strsplit (iterator->data, G_DIR_SEPARATOR_S, 2); gtk_list_store_insert_with_values(gui->store, &iter, -1, 0, str[0], 1, str[1], -1); i++; g_strfreev(str); } } void scan_dir(gchar *romdir, guidata *gui) { g_slist_free_full(gui->itemlist, g_free); gui->itemlist = NULL; scan_files(romdir, gui); sort_items(gui); populate_list(gui); } #ifdef G_OS_WIN32 G_MODULE_EXPORT #endif void fill_list(GtkComboBox *combobox, guidata *gui) { GtkTreeModel *model; GtkTreeIter iter; model=gtk_combo_box_get_model(GTK_COMBO_BOX(gui->cbpath)); if (gtk_combo_box_get_active_iter(GTK_COMBO_BOX(gui->cbpath), &iter)) { g_free(gui->rompath); gtk_tree_model_get(model, &iter, 0 ,&gui->rompath, -1); gtk_tree_view_set_model(GTK_TREE_VIEW(gui->gamelist), NULL); gtk_list_store_clear(gui->store); if (gui->rompath!=NULL) scan_dir(gui->rompath, gui); gtk_tree_view_set_model(GTK_TREE_VIEW(gui->gamelist), GTK_TREE_MODEL(gui->store)); change_list(gui); if (gtk_tree_model_get_iter_first(gtk_tree_view_get_model( GTK_TREE_VIEW(gui->gamelist)), &iter)) { gtk_tree_selection_select_iter(gtk_tree_view_get_selection( GTK_TREE_VIEW(gui->gamelist)), &iter); } } gtk_tree_view_column_set_sort_indicator(gui->column, TRUE); } #ifdef G_OS_WIN32 G_MODULE_EXPORT #endif void header_clicked(GtkTreeViewColumn *treeviewcolumn, guidata *gui) { if (gtk_tree_view_column_get_sort_order(gui->column) == GTK_SORT_ASCENDING) gtk_tree_view_column_set_sort_order(gui->column, GTK_SORT_DESCENDING); else gtk_tree_view_column_set_sort_order(gui->column, GTK_SORT_ASCENDING); gtk_tree_view_set_model(GTK_TREE_VIEW(gui->gamelist), NULL); gtk_list_store_clear(gui->store); gui->itemlist = g_slist_reverse(gui->itemlist); populate_list(gui); gtk_tree_view_set_model(GTK_TREE_VIEW(gui->gamelist), GTK_TREE_MODEL(gui->store)); gtk_tree_view_column_set_sort_indicator(gui->column, TRUE); } #ifdef G_OS_WIN32 G_MODULE_EXPORT #endif void on_radiomenuall_activate(GtkMenuItem *menuitem, guidata *gui) { if (gui->filter != 0) { gui->filter=0; fill_list(NULL, gui); gtk_tree_view_column_set_title(gui->column, " Games"); } } #ifdef G_OS_WIN32 G_MODULE_EXPORT #endif void on_radiomenuzip_activate(GtkMenuItem *menuitem, guidata *gui) { if (gui->filter != 1) { gui->filter=1; fill_list(NULL, gui); gtk_tree_view_column_set_title(gui->column, " Games (zip)"); } } #ifdef G_OS_WIN32 G_MODULE_EXPORT #endif void on_radiomenucue_activate(GtkMenuItem *menuitem, guidata *gui) { if (gui->filter != 2) { gui->filter=2; fill_list(NULL, gui); gtk_tree_view_column_set_title(gui->column, " Games (cue/toc/ccd/m3u)"); } } #ifdef G_OS_WIN32 G_MODULE_EXPORT #endif void on_normalmenu_activate(GtkMenuItem *menuitem, guidata *gui) { if (gui->listmode != 0) { gui->listmode = 0; fill_list(NULL,gui); } } #ifdef G_OS_WIN32 G_MODULE_EXPORT #endif void on_recursivemenu_activate(GtkMenuItem *menuitem, guidata *gui) { if (gui->listmode != 1) { gui->listmode = 1; fill_list(NULL,gui); } } mednaffe-0.8.6/src/log.c000066400000000000000000000027541313731622300150170ustar00rootroot00000000000000/* * log.c * * Copyright 2013-2015 AmatCoder * * This file is part of Mednaffe. * * Mednaffe is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * Mednaffe is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with Mednaffe; if not, see . * */ #include "common.h" #include "log.h" void delete_log(elog log, guidata *gui) { GtkTextIter start, end; if (log & FE) { gtk_text_buffer_get_start_iter (gui->textfe, &start); gtk_text_buffer_get_end_iter (gui->textfe, &end); gtk_text_buffer_delete (gui->textfe, &start, &end); } if (log & EMU) { gtk_text_buffer_get_start_iter (gui->textout, &start); gtk_text_buffer_get_end_iter (gui->textout, &end); gtk_text_buffer_delete (gui->textout, &start, &end); } } void print_log(const gchar *text, elog log, guidata *gui) { if (log & FE) { #ifdef G_OS_UNIX printf("%s", text); #endif gtk_text_buffer_insert_at_cursor(gui->textfe, text, -1); } if (log & EMU) { gtk_text_buffer_insert_at_cursor(gui->textout, text, -1); } } mednaffe-0.8.6/src/log.h000066400000000000000000000016321313731622300150160ustar00rootroot00000000000000/* * log.h * * Copyright 2013-2015 AmatCoder * * This file is part of Mednaffe. * * Mednaffe is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * Mednaffe is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with Mednaffe; if not, see . * */ #ifndef LOG_H #define LOG_H typedef enum { FE = 1, EMU = 2 } elog; void delete_log(elog log, guidata *gui); void print_log(const gchar *text, elog log, guidata *gui); #endif /* LOG_H */ mednaffe-0.8.6/src/logo.h000066400000000000000000000500511313731622300151740ustar00rootroot00000000000000/* * logo.h * * Copyright 2013-2015 AmatCoder * * This file is part of Mednaffe. * * Mednaffe is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * Mednaffe is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with Mednaffe; if not, see . * */ #ifndef LOGO_H #define LOGO_H static const guint8 logo[] = { "" /* Pixbuf magic (0x47646b50) */ "GdkP" /* length: header (24) + pixel_data (6524) */ "\0\0\31\224" /* pixdata_type (0x2010002) */ "\2\1\0\2" /* rowstride (192) */ "\0\0\0\300" /* width (48) */ "\0\0\0""0" /* height (48) */ "\0\0\0""0" /* pixel_data: */ "\204\0\0\0\0\1\0\0\0&\206\0\0\0m\2\0\0\0l\0\0\0&\211\0\0\0\0\3\0\0\0" "\5\0\0\0R\0\0\0o\204\0\0\0m\3\0\0\0n\0\0\0h\0\0\0\27\224\0\0\0\0\2\0" "\0\0r\0\0\0\377\205\0\0\0\376\2\0\0\0\377\0\0\0v\211\0\0\0\0\3\0\0\0" "@\0\0\0\352\0\0\0\377\204\0\0\0\376\3\0\0\0\377\0\0\0\343\0\0\0%\224" "\0\0\0\0\1\0\0\0\234\207\0\0\0\377\2\0\0\0\252\0\0\0\3\204\0\0\0\0\5" "\2\32[\0\2\22\77\1\5""5\267\10\2\34b\35\0\0\1\270\207\0\0\0\377\2\0\0" "\0\310\0\0\0\16\223\0\0\0\0\2\0\0\0\13\0\0\0\302\207\0\0\0\377\13\0\0" "\0\325\0\0\0\26\0\0\0\0\6<\332\0\4&\214\6\5""7\307#\6>\336P\6B\352}\7" "F\365\235\3\40q\310\0\0\0\374\207\0\0\0\377\4\0\3\13\255\2""1\236\7\2" "*\211\0\0\7\26\0\221\0\0\0\0\2\0\0\0\40\0\0\0\340\207\0\0\0\377\12\0" "\0\0\361\0\0\0""9\7:\331\13\7""9\324F\7\77\352\212\7D\366\267\7F\375" "\312\7H\377\317\6;\321\330\0\11!\371\210\0\0\0\377\6\2#r\340\4N\374\225" "\4J\356I\3E\333\15\4Q\377\0\2+\207\0\217\0\0\0\0\2\0\0\0>\0\0\0\365\207" "\0\0\0\377\11\0\0\0\376\2\21D\230\11\77\362\222\11B\372\300\11D\377\310" "\10E\377\307\7F\377\310\7E\371\313\2\31Z\352\210\0\0\0\377\10\0\1\3\377" "\3""3\246\352\4P\377\343\4N\376\334\4N\371\250\4K\360F\3D\330\6\4H\346" "\0\216\0\0\0\0\1\0\0\0e\211\0\0\0\377\10\3\25R\347\11B\377\301\11C\377" "\301\11D\377\302\11D\377\304\10F\377\305\5.\247\330\0\3\13\374\210\0" "\0\0\377\12\0\5\20\375\3=\313\343\4O\377\336\4N\377\341\4O\377\345\4" "O\376\332\4N\370\214\4J\354\36\4T\377\0\3\77\306\0\214\0\0\0\0\1\0\0" "\0\217\204\0\0\0\377\2\0\0\0\366\0\0\0\331\203\0\0\0\377\7\1\12*\361" "\10=\353\301\11C\377\276\11C\377\300\11D\377\302\10>\345\311\1\15""3" "\361\203\0\0\0\377\2\0\7\31\371\0\4\16\374\204\0\0\0\377\13\0\13'\371" "\4E\347\335\4M\377\334\4N\377\336\4N\377\340\4O\377\343\4P\377\346\4" "O\373\271\4M\363;\2\40\\\0\3F\335\0\212\0\0\0\0\2\0\0\0\6\0\0\0\267\204" "\0\0\0\377\3\0\0\2\345\1\10\"\245\0\0\2\377\202\0\0\0\377\7\0\3\17\372" "\7""2\305\307\11C\377\274\11B\377\276\11C\377\300\4\37w\336\0\0\1\377" "\202\0\0\0\377\3\0\2\12\375\3\35j\347\0\4\20\373\204\0\0\0\377\14\1\24" "F\363\5J\372\331\5L\377\332\4M\377\334\4N\377\336\4N\377\340\4O\377\342" "\4P\377\347\4P\375\316\4N\366M\3<\274\1\4H\345\0\211\0\0\0\0\2\0\0\0" "\30\0\0\0\330\204\0\0\0\377\3\1\10$\352\7&\241\276\0\3\15\372\202\0\0" "\0\377\6\0\0\1\377\6%\222\322\12B\377\271\11C\377\274\7""3\303\312\0" "\6\27\370\203\0\0\0\377\3\2\26R\352\4)\223\335\0\0\3\377\204\0\0\0\377" "\15\2\37l\354\6L\377\326\5K\377\330\5L\377\332\4M\377\334\4N\377\336" "\4N\377\340\4O\377\341\4P\377\346\4P\376\323\4N\367M\13\377\377\0\4H" "\345\0\210\0\0\0\0\2\0\0\0""3\0\0\0\357\204\0\0\0\377\3\3\20G\341\13" "6\343\264\1\10$\357\203\0\0\0\377\4\4\27^\337\13A\377\270\12>\364\274" "\2\23K\347\203\0\0\0\377\3\0\6\30\370\7""6\310\317\3\37s\342\205\0\0" "\0\377\16\4+\225\343\6L\377\324\5K\377\326\5K\377\330\5L\377\332\4M\377" "\334\4N\377\336\4N\377\337\4O\377\341\4P\377\346\4P\376\315\4N\370<\4" "R\377\0\3D\332\0\207\0\0\0\0\2\0\0\0X\0\0\0\375\204\0\0\0\377\3\5\31" "j\323\15<\377\252\3\21K\340\203\0\0\0\377\4\2\14""2\354\12>\365\270\6" "&\226\320\0\1\7\375\202\0\0\0\377\4\0\0\1\377\4\37x\336\11D\375\303\2" "\24J\353\204\0\0\0\377\20\0\3\12\375\5""6\275\333\7K\377\322\6J\377\324" "\6K\377\326\5K\377\330\5L\377\332\4M\377\334\4N\377\335\4N\377\337\4" "O\377\341\4O\377\346\4O\375\271\4M\367\37\4N\371\0\1\0\0\0\206\0\0\0" "\0\1\0\0\0\201\204\0\0\0\377\4\0\0\2\376\7\"\224\304\16>\377\246\6\35" "}\315\203\0\0\0\377\3\0\5\26\366\7+\257\307\1\12*\360\203\0\0\0\377\4" "\1\15""1\357\10<\346\304\10>\354\305\1\13*\363\204\0\0\0\377\20\0\10" "\35\371\6\77\335\324\7J\377\320\7I\377\322\6J\377\324\6K\377\326\5K\377" "\330\5L\377\332\4L\377\333\4M\377\335\4N\377\337\4O\377\341\4O\377\345" "\4O\375\214\4L\360\6\4M\364\0\205\0\0\0\0\2\0\0\0\3\0\0\0\252\204\0\0" "\0\377\5\0\2\14\371\12+\274\266\16=\377\245\11)\263\273\0\2\12\372\202" "\0\0\0\377\3\0\1\6\375\2\12,\356\0\0\2\376\202\0\0\0\377\5\0\2\12\373" "\6*\243\317\11D\377\274\7""6\316\311\0\5\23\371\204\0\0\0\377\21\1\17" "8\362\7E\364\316\7H\377\316\7I\377\320\7I\377\322\6J\377\324\6K\377\326" "\5K\377\330\5L\377\331\4L\377\333\4M\377\335\4N\377\337\4O\377\342\4" "O\377\332\4N\373I\4P\377\0\4I\353\0\204\0\0\0\0\2\0\0\0\21\0\0\0\316" "\204\0\0\0\377\5\1\6\35\360\14""1\337\253\16;\377\244\14""4\341\256\1" "\7\40\360\207\0\0\0\377\5\3\25T\342\12\77\371\273\12C\377\272\6+\247" "\317\0\1\5\376\204\0\0\0\377\21\2\31[\351\7G\377\312\7H\377\314\7H\377" "\316\7I\377\320\7I\377\322\6J\377\324\6K\377\325\5K\377\327\5L\377\331" "\4L\377\333\4M\377\335\4N\377\337\4N\377\344\4O\376\252\4M\370\16\4M" "\371\0\204\0\0\0\0\2\0\0\0)\0\0\0\351\204\0\0\0\377\5\3\13""6\343\15" "6\367\243\16""9\377\243\15""9\374\246\3\17D\337\206\0\0\0\377\5\1\6\34" "\364\11""3\313\301\13A\377\267\13B\377\270\5\40}\330\205\0\0\0\377\22" "\4$\204\337\7H\377\307\7G\377\312\7H\377\314\7H\377\316\7I\377\320\7" "I\377\322\6J\377\323\6K\377\325\5K\377\327\5L\377\331\4L\377\333\4M\377" "\335\4N\377\337\4N\377\334\4N\375M\4O\377\0\4J\354\0\203\0\0\0\0\2\0" "\0\0J\0\0\0\371\204\0\0\0\377\5\5\23W\323\16""8\377\236\16""8\377\241" "\16:\377\241\6\32u\313\205\0\0\0\377\6\0\0\3\376\5\36~\322\13\77\377" "\263\13\77\377\265\13@\377\267\3\25T\343\204\0\0\0\377\23\0\1\6\376\6" ".\255\324\10G\377\305\7F\377\310\7G\377\312\7H\377\314\7H\377\316\7I" "\377\320\7I\377\321\6J\377\323\6K\377\325\5K\377\327\5L\377\331\4L\377" "\333\4M\377\335\4N\377\342\4N\376\233\4L\370\6\4L\372\0\203\0\0\0\0\1" "\0\0\0r\205\0\0\0\377\6\7\33\177\301\17""8\377\233\16""7\377\237\16""9" "\377\240\11&\253\270\0\1\10\373\204\0\0\0\377\6\2\15""7\350\12""9\352" "\264\13>\377\261\13>\377\263\12<\362\270\2\14""2\355\204\0\0\0\377\23" "\0\5\25\371\7""8\321\313\11E\377\304\10E\377\306\7F\377\310\7G\377\312" "\7H\377\314\7H\377\315\7H\377\317\7I\377\321\6J\377\323\6K\377\325\5" "K\377\327\5K\377\331\5L\377\333\4M\377\336\4N\377\314\4M\375)\4M\376" "\0\203\0\0\0\0\1\0\0\0\234\204\0\0\0\377\7\0\1\7\373\13#\251\261\20""8" "\377\232\16""7\377\235\16""8\377\236\14""0\333\251\1\6\34\360\203\0\0" "\0\377\7\0\3\15\371\10(\252\301\14>\377\255\13=\377\260\13>\377\261\11" "4\330\274\1\6\31\365\204\0\0\0\377\27\1\13,\361\11>\355\304\11D\377\302" "\11D\377\304\10E\377\306\7F\377\310\7G\377\312\7G\377\313\7H\377\315" "\7H\377\317\7I\377\321\7J\377\323\6K\377\325\5K\377\327\5K\377\330\5" "L\377\332\4M\377\335\4M\377]\4N\377\0\3J\365\0\0\0\0\0\0\0\0\15\0\0\0" "\301\204\0\0\0\377\7\1\4\24\362\14+\320\243\20""6\377\230\20""6\377\233" "\17""7\377\235\16""6\372\240\3\15=\337\203\0\0\0\377\7\4\25Z\330\15;" "\374\252\15<\377\254\14<\377\255\14\77\377\256\10+\263\303\0\2\11\374" "\204\0\0\0\377\27\2\23K\347\11B\375\277\11C\377\300\11D\377\302\11D\377" "\304\10E\377\306\10F\377\310\7G\377\311\7G\377\313\7H\377\315\7H\377" "\317\7I\377\321\7J\377\323\6J\377\325\5K\377\326\5K\377\330\5L\377\336" "\4L\377\216\3L\371\1\4L\374\0\0\0\0\0\0\0\0%\0\0\0\337\204\0\0\0\377" "\20\2\10)\345\16""0\356\231\17""5\377\227\20""5\377\231\20""6\377\233" "\17""8\377\234\10\40\225\273\4\20J\331\4\20L\332\4\23X\326\13""1\324" "\260\15<\377\247\15;\377\252\15;\377\253\15>\377\254\6!\210\315\205\0" "\0\0\377\27\4\35r\333\11C\377\273\11B\377\276\11C\377\300\11C\377\302" "\11D\377\304\10E\377\306\10F\377\307\7G\377\311\7G\377\313\7H\377\315" "\7H\377\317\7I\377\321\7J\377\323\6J\377\324\5K\377\326\5K\377\333\5" "L\377\257\4L\376\16\5L\376\0\0\0\0\0\0\0\0H\0\0\0\363\204\0\0\0\377\20" "\4\16E\324\21""3\377\223\20""4\377\225\17""4\377\227\20""5\377\231\20" "6\377\232\17""7\377\234\16""8\377\236\16""8\377\240\16""8\377\241\16" "9\377\243\15:\377\246\15;\377\250\15;\377\251\15<\377\252\4\26^\331\204" "\0\0\0\377\30\0\0\3\376\6'\233\317\12B\377\271\11B\377\274\11B\377\276" "\11C\377\300\11C\377\302\11D\377\303\10E\377\305\10F\377\307\7F\377\311" "\7G\377\313\7H\377\315\7H\377\317\7I\377\321\7J\377\322\6J\377\324\5" "K\377\330\5K\377\302\5K\377\37\5K\377\0\0\0\0\0\0\0\0s\0\0\0\376\204" "\0\0\0\377\20\7\24j\301\22""4\377\217\21""3\377\223\20""4\377\225\17" "4\377\227\20""5\377\230\20""6\377\232\17""7\377\234\16""7\377\236\16" "7\377\240\16""8\377\242\16""9\377\244\15:\377\245\15;\377\247\15""9\370" "\253\3\15:\345\204\0\0\0\377\27\0\3\16\372\10""1\303\304\13A\377\267" "\12A\377\272\11B\377\274\11B\377\276\11C\377\300\11C\377\301\11D\377" "\303\11E\377\305\10F\377\307\7F\377\311\7G\377\313\7H\377\315\7H\377" "\316\7I\377\320\7J\377\322\6J\377\325\6K\377\313\5K\377/\5K\377\0\0\0" "\0\0\0\0\0\243\204\0\0\0\377\21\0\0\3\374\12\34\224\256\22""3\377\215" "\21""2\377\221\21""3\377\223\20""3\377\225\17""4\377\226\20""5\377\230" "\20""6\377\232\17""7\377\234\16""7\377\236\16""7\377\240\16""8\377\242" "\16""9\377\243\16;\377\245\14""4\341\256\1\7\37\360\204\0\0\0\377\27" "\1\10!\362\12""8\343\272\13@\377\266\13@\377\270\12A\377\272\11A\377" "\274\11B\377\276\11C\377\277\11C\377\301\11D\377\303\11E\377\305\10F" "\377\307\7F\377\311\7G\377\313\7H\377\314\7H\377\316\7I\377\320\7I\377" "\322\6J\377\316\6K\3779\6K\377\0\0\0\0\0\0\0\0\320\204\0\0\0\377\21\0" "\2\15\364\15$\276\235\22""2\377\214\21""2\377\217\21""2\377\221\21""3" "\377\223\20""3\377\224\17""4\377\226\20""5\377\230\20""6\377\232\17""7" "\377\234\16""7\377\236\16""7\377\240\16""8\377\241\16:\377\242\12+\276" "\265\0\3\15\371\204\0\0\0\377E\2\16=\347\13<\371\264\13\77\377\264\13" "@\377\266\13@\377\270\12A\377\272\11A\377\274\11B\377\275\11C\377\277" "\11C\377\301\11D\377\303\11E\377\305\10F\377\307\7F\377\311\7G\377\312" "\7H\377\314\7H\377\316\7I\377\320\7I\377\315\7J\377=\7J\377\0\0\0\0\0" "\0\0\0X\0\0\0_\3\7*\200\10\24q\263\10\25u\263\12\31\207\255\21-\357\215" "\22""1\377\213\22""1\377\215\21""2\377\217\21""2\377\220\21""3\377\222" "\20""3\377\224\17""4\377\226\20""5\377\230\20""6\377\232\17""7\377\234" "\16""7\377\236\16""7\377\237\16""8\377\241\14""0\332\254\7\36\207\306" "\7\36\204\310\7\36\205\311\7\37\206\312\6\37\205\314\10+\263\300\13>" "\377\260\13>\377\262\13>\377\264\13\77\377\266\13@\377\270\12A\377\271" "\11A\377\273\11B\377\275\11B\377\277\11C\377\301\11D\377\303\11E\377" "\305\10E\377\307\7F\377\310\7G\377\312\7H\377\314\7H\377\316\7I\377\312" "\7I\3779\7I\377\0\202\0\0\0\0.\17#\301\0\15\36\251+\23-\363\177\24""0" "\377\201\23""0\377\203\23""0\377\207\22""0\377\211\22""1\377\213\22""1" "\377\215\21""1\377\216\21""2\377\220\21""3\377\222\20""3\377\224\17""4" "\377\226\20""5\377\230\20""6\377\232\17""7\377\233\16""7\377\235\16""7" "\377\237\16""8\377\241\16:\377\241\16;\377\243\16<\377\245\16=\377\247" "\15=\377\251\15=\377\253\14=\377\256\13>\377\260\13>\377\262\13>\377" "\264\13\77\377\266\13@\377\267\12A\377\271\12A\377\273\11B\377\275\11" "B\377\277\11C\377\301\11D\377\303\11D\377\304\10E\377\306\7F\377\310" "\7G\377\312\7H\377\315\7H\377\304\7H\377.\7H\377\0\202\0\0\0\0.\14\34" "\240\0\14\32\227\40\22)\355|\23-\377\201\23.\377\203\23/\377\205\22/" "\377\207\22""0\377\211\22""0\377\213\22""1\377\214\22""1\377\216\21""2" "\377\220\21""3\377\222\20""3\377\224\17""4\377\226\20""5\377\230\20""6" "\377\231\17""6\377\233\16""7\377\235\16""8\377\237\16""8\377\240\16""9" "\377\242\16:\377\244\15;\377\246\15;\377\250\15<\377\252\15<\377\254" "\14=\377\255\13>\377\257\13>\377\261\13\77\377\263\13\77\377\265\13@" "\377\267\12A\377\271\12A\377\273\11C\377\274\11C\377\276\11C\377\300" "\11D\377\302\11E\377\304\10F\377\306\7G\377\310\7G\377\313\7H\377\270" "\7I\377\37\7I\377\0\202\0\0\0\0D\11\25{\0\11\25|\23\22'\343s\24-\377" "\200\23-\377\201\23.\377\203\23/\377\205\23/\377\207\22""0\377\210\22" "0\377\212\22""1\377\214\22""1\377\216\21""2\377\220\21""3\377\222\20" "3\377\224\17""4\377\226\17""5\377\227\20""6\377\231\17""4\364\236\6\27" "m\312\4\20L\331\4\21N\331\4\21O\332\4\22O\332\4\22P\333\4\22Q\334\4\23" "Q\335\4\23R\335\3\23R\336\3\23Q\340\5\33q\326\12;\364\266\13\77\377\265" "\13A\377\267\11""6\326\302\3\30^\341\3\26V\344\3\27X\345\3\27X\346\3" "\27Y\347\3\30Y\347\2\30Z\350\2\31[\352\2\27R\336\0\3\16\237\0\0\0\227" "\0\0\0[\0\0\0\0\6\14K\0\4\11;\6\21$\324b\24,\377\177\24-\377\177\23-" "\377\201\23.\377\203\23/\377\205\23/\377\206\22""0\377\210\22""0\377" "\212\22""1\377\214\22""1\377\216\21""2\377\220\21""3\377\222\21""3\377" "\224\17""4\377\225\20""5\377\227\16-\330\243\1\5\30\360\212\0\0\0\377" "\6\2\16:\350\13<\370\263\13>\377\263\13A\377\264\6(\236\315\0\0\3\376" "\212\0\0\0\377\26\0\0\0{\0\0\0\0\1\3\26\0D\215\377\0\17\40\276H\24+\374" "~\24,\377}\24,\377\177\23-\377\201\23.\377\203\23/\377\204\23/\377\206" "\22""0\377\210\22""0\377\212\22""1\377\214\22""1\377\216\21""2\377\220" "\21""2\377\221\21""3\377\223\20""5\377\224\13%\265\253\0\2\12\371\212" "\0\0\0\377\5\4\25[\333\13>\377\257\13>\377\261\13\77\377\262\5\35w\326" "\212\0\0\0\377\2\0\0\0\367\0\0\0Q\202\0\0\0\0\23\17\37\273\0\15\32\237" "'\23(\357x\24+\377{\24,\377}\24,\377\177\23-\377\201\23.\377\202\23/" "\377\204\23/\377\206\22""0\377\210\22""0\377\212\22""1\377\214\22""1" "\377\216\21""2\377\217\21""2\377\221\21""5\377\221\10\34\214\267\0\0" "\2\376\202\0\0\0\377\2\0\0\1\377\0\1\7\373\205\0\1\10\373\6\0\1\7\373" "\6\36\203\314\15>\377\254\13=\377\257\13>\377\261\3\23Q\340\203\0\0\0" "\377\1\0\0\3\376\203\0\2\11\374\1\0\2\10\373\202\0\0\0\364\2\0\0\0\334" "\0\0\0.\202\0\0\0\0\22\11\22l\0\10\20d\13\22$\330e\25+\377z\24+\377{" "\24,\377}\24,\377~\23-\377\200\23.\377\202\23/\377\204\23/\377\206\22" "0\377\210\22""0\377\212\22""1\377\214\22""1\377\215\21""2\377\217\22" "4\377\220\6\24e\305\203\0\0\0\377\15\1\6\34\356\11#\242\266\12&\260\263" "\11&\260\265\11&\261\266\11'\261\270\11(\262\271\11)\263\272\14""5\344" "\260\15<\377\253\14<\377\255\13:\363\262\2\14""2\353\203\0\0\0\377\11" "\3\23L\345\7/\273\310\7/\271\313\6""0\272\317\6*\244\236\0\3\14;\0\0" "\0""8\0\0\0""0\0\0\0\7\202\0\0\0\0\22\2\4\35\0+S\377\0\17\35\266>\24" ")\370y\25*\377y\24+\377{\24,\377|\24,\377~\23-\377\200\23-\377\202\23" ".\377\204\23/\377\206\22""0\377\210\22""0\377\211\22""1\377\213\22""1" "\377\215\21""2\377\217\4\15B\325\203\0\0\0\377\15\3\14:\335\20""6\372" "\232\17""8\377\233\16""8\377\235\16""9\377\237\16""9\377\240\16:\377" "\242\16;\377\244\15;\377\247\15;\377\251\15<\377\253\13""3\333\265\1" "\6\33\363\203\0\0\0\377\7\5\"\205\323\13C\377\266\12B\377\271\11C\377" "\271\11D\377G\11B\377\0\14R\377\0\205\0\0\0\0\21\13\26\212\0\12\24\177" "\23\23$\336i\25*\377x\25*\377y\24+\377z\24,\377|\24,\377~\24-\377\200" "\23-\377\202\23.\377\204\23/\377\206\22""0\377\207\22""0\377\211\22""1" "\377\213\20.\355\222\2\7'\343\203\0\0\0\377\15\5\23Z\314\21""8\377\225" "\20""8\377\230\17""8\377\232\17""9\377\234\16""9\377\236\16""9\377\240" "\16""9\377\243\15:\377\245\15;\377\247\15<\377\250\11+\272\273\0\2\13" "\372\202\0\0\0\377\7\0\1\7\374\7+\255\306\13C\377\264\13B\377\271\13" "B\377\216\12D\377\16\12D\377\0\206\0\0\0\0\21\4\7/\0]\256\377\0\17\35" "\264;\25'\365v\25*\377w\25*\377x\24+\377z\24,\377|\24,\377~\24-\377\200" "\23-\377\202\23.\377\204\23/\377\205\22""0\377\207\22""1\377\210\16'" "\317\230\1\3\24\360\203\0\0\0\377\15\4\16E\326\10\34\212\271\10\34\210" "\274\10\35\211\275\10\35\212\276\7\36\212\300\10\37\217\300\14""0\336" "\252\16""9\377\243\15:\377\245\16<\377\246\7\"\223\305\0\0\2\376\202" "\0\0\0\377\11\0\2\12\373\5\34v\325\6$\225\316\6%\223\320\4\31c\220\0" "\0\0V\0\0\0X\0\0\0G\0\0\0\5\205\0\0\0\0\20\12\23{\0\11\20i\13\22!\322" "\\\25)\376v\25*\377v\25*\377x\24+\377z\24,\377|\24,\377~\24-\377\200" "\23-\377\202\23.\377\203\23/\377\205\23""1\377\206\14\40\251\242\0\1" "\7\371\207\0\0\0\377\10\0\0\1\377\0\0\0\377\0\2\15\370\12)\275\261\16" "9\377\240\16""8\377\243\16;\377\244\5\30k\320\204\0\0\0\377\203\0\0\1" "\377\5\0\0\0\375\0\0\0\376\0\0\0\377\0\0\0\272\0\0\0\10\205\0\0\0\0\20" "\0\1\10\0\22!\324\0\15\30\231\40\24$\345l\26)\377u\25*\377v\25*\377x" "\24+\377z\24+\377|\24,\377~\24-\377\177\23-\377\201\23.\377\203\23""1" "\377\203\11\27\177\260\0\0\1\376\211\0\0\0\377\6\1\6\33\357\14""0\335" "\246\16""8\377\237\16""8\377\241\16""8\377\243\3\20G\335\212\0\0\0\377" "\1\0\0\0\227\207\0\0\0\0\16\5\12@\0\0\0\0\0\17\33\2572\24%\357q\26)\377" "u\25)\377v\25*\377x\25+\377z\24+\377|\24,\377}\24-\377\177\23-\377\201" "\24/\377\201\6\20X\301\212\0\0\0\377\6\3\12""2\342\17""4\365\236\16""7" "\377\235\16""8\377\237\15""4\356\245\2\11+\351\212\0\0\0\377\1\0\0\0" "p\210\0\0\0\0\15\10\17_\0\3\6(\3\20\35\271<\25&\362r\26)\377t\25)\377" "v\25*\377x\25+\377z\24+\377{\24,\377}\24-\377\177\23-\374\202\4\12""8" "\323\203\0\0\0\377\15\2\6!\346\7\23g\277\7\24h\300\7\24i\301\7\25i\302" "\7\25j\304\6\25i\305\11\40\233\264\20""6\377\231\20""6\377\233\17""8" "\377\234\14.\323\252\1\4\26\363\202\0\0\0\377\4\0\0\1\377\3\16=\325\1" "\10#\203\0\0\0q\203\0\0\0r\2\0\0\0q\0\0\0'\211\0\0\0\0\14\11\21o\0\6" "\14J\4\20\35\274;\25&\360p\26)\377u\25)\377v\25*\377w\25+\377y\24+\377" "{\24,\377}\22(\346\205\2\5\40\343\203\0\0\0\377\15\6\21X\303\23""3\377" "\207\22""2\377\212\22""3\377\214\22""3\377\216\22""4\377\220\21""5\377" "\222\20""5\377\224\17""5\377\227\20""5\377\231\20""8\377\232\12&\257" "\262\0\1\10\372\202\0\0\0\377\4\0\0\3\370\4\25Y]\236\377\377\0\20E\377" "\0\217\0\0\0\0\13\11\20g\0\5\11<\3\17\34\2641\24$\350j\26(\376u\25)\377" "v\25*\377w\25+\377y\25,\377z\17\"\304\215\1\2\20\360\203\0\0\0\377\15" "\11\27}\261\23""1\377\206\22""0\377\212\22""1\377\214\22""1\377\216\21" "2\377\220\21""2\377\221\21""3\377\223\17""4\377\225\17""4\377\227\21" "7\377\227\10\34\206\276\0\0\1\377\202\0\0\0\377\2\0\0\0\341\0\0\0\40" "\222\0\0\0\0\12\6\13G\0\0\0\0\0\16\31\242\36\23\"\331Y\25'\370t\25)\377" "v\25*\377w\25,\377w\14\32\233\232\0\1\5\371\202\0\0\0\377\15\0\1\7\371" "\14\36\245\237\23""0\377\204\22""0\377\210\22""0\377\212\22""1\377\214" "\22""1\377\216\21""2\377\217\21""2\377\221\21""3\377\223\20""4\377\225" "\20""6\377\226\6\24_\314\203\0\0\0\377\2\0\0\0\305\0\0\0\14\223\0\0\0" "\0\10\0\0\5\0\22!\324\0\13\24\177\12\21\36\3027\23$\346e\25(\372v\26" "+\377v\11\23q\253\203\0\0\0\377\15\1\3\22\357\17$\313\221\23/\377\203" "\23/\377\206\22""0\377\210\22""0\377\212\22""1\377\213\22""1\377\215" "\21""2\377\217\21""2\377\222\21""3\377\225\17""3\373\225\3\14;\330\203" "\0\0\0\377\2\0\0\0\302\0\0\0I\205\0\0\0G\2\0\0\0D\0\0\0\20\216\0\0\0" "\0\6\5\10""6\0\0\0\0\0\14\27\224\20\21\40\3068\23&\352]\5\13F\273\203" "\0\0\0\377\15\2\6#\341\22)\352\206\23.\377\202\23.\377\204\23/\377\206" "\22""0\377\210\22""0\377\213\22""1\377\216\22""1\376\217\21""1\372\210" "\20""0\365l\14&\277I\0\1\11\320\203\0\0\0\377\1\0\0\0\375\205\0\0\0\371" "\3\0\0\0\373\0\0\0\344\0\0\0)\220\0\0\0\0\4\2\4\32\0\32""2\377\0\10\20" "e\14\0\1\10\263\203\0\0\0\377\15\4\11""4\313\23*\365y\23,\371|\23,\371" "~\22-\370~\22-\366z\21-\363q\21-\356_\20,\346B\17*\331!\22""2\377\5\0" "\0\0\40\0\0\0\341\212\0\0\0\377\2\0\0\0\323\0\0\0\25\222\0\0\0\0\2\0" "\0\0\20\0\0\0\313\203\0\0\0\377\15\1\2\17\204\21&\336\31\17#\312!\17" "$\315!\17$\312\35\16$\303\25\15!\263\13\11\30\201\2\32E\377\0\0\0\4\0" "\0\0\0\0\0\0\0>\0\0\0\365\212\0\0\0\377\2\0\0\0\265\0\0\0\6\222\0\0\0" "\0\3\0\0\0\21\0\0\0\203\0\0\0\227\202\0\0\0\226\1\0\0\0""8\212\0\0\0" "\0\2\0\0\0""1\0\0\0\225\211\0\0\0\226\2\0\0\0\231\0\0\0]\203\0\0\0\0"}; #endif /* LOGO_H */ mednaffe-0.8.6/src/md5.c000066400000000000000000000161211313731622300147140ustar00rootroot00000000000000/* * RFC 1321 compliant MD5 implementation * * Copyright (C) 2001-2003 Christophe Devine * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include #include "md5.h" #define GET_UINT32(n,b,i) \ { \ (n) = ( (uint32) (b)[(i) ] ) \ | ( (uint32) (b)[(i) + 1] << 8 ) \ | ( (uint32) (b)[(i) + 2] << 16 ) \ | ( (uint32) (b)[(i) + 3] << 24 ); \ } #define PUT_UINT32(n,b,i) \ { \ (b)[(i) ] = (uint8) ( (n) ); \ (b)[(i) + 1] = (uint8) ( (n) >> 8 ); \ (b)[(i) + 2] = (uint8) ( (n) >> 16 ); \ (b)[(i) + 3] = (uint8) ( (n) >> 24 ); \ } void md5_starts( md5_context *ctx ) { ctx->total[0] = 0; ctx->total[1] = 0; ctx->state[0] = 0x67452301; ctx->state[1] = 0xEFCDAB89; ctx->state[2] = 0x98BADCFE; ctx->state[3] = 0x10325476; } void md5_process( md5_context *ctx, uint8 data[64] ) { uint32 X[16], A, B, C, D; GET_UINT32( X[0], data, 0 ); GET_UINT32( X[1], data, 4 ); GET_UINT32( X[2], data, 8 ); GET_UINT32( X[3], data, 12 ); GET_UINT32( X[4], data, 16 ); GET_UINT32( X[5], data, 20 ); GET_UINT32( X[6], data, 24 ); GET_UINT32( X[7], data, 28 ); GET_UINT32( X[8], data, 32 ); GET_UINT32( X[9], data, 36 ); GET_UINT32( X[10], data, 40 ); GET_UINT32( X[11], data, 44 ); GET_UINT32( X[12], data, 48 ); GET_UINT32( X[13], data, 52 ); GET_UINT32( X[14], data, 56 ); GET_UINT32( X[15], data, 60 ); #define S(x,n) ((x << n) | ((x & 0xFFFFFFFF) >> (32 - n))) #define P(a,b,c,d,k,s,t) \ { \ a += F(b,c,d) + X[k] + t; a = S(a,s) + b; \ } A = ctx->state[0]; B = ctx->state[1]; C = ctx->state[2]; D = ctx->state[3]; #define F(x,y,z) (z ^ (x & (y ^ z))) P( A, B, C, D, 0, 7, 0xD76AA478 ); P( D, A, B, C, 1, 12, 0xE8C7B756 ); P( C, D, A, B, 2, 17, 0x242070DB ); P( B, C, D, A, 3, 22, 0xC1BDCEEE ); P( A, B, C, D, 4, 7, 0xF57C0FAF ); P( D, A, B, C, 5, 12, 0x4787C62A ); P( C, D, A, B, 6, 17, 0xA8304613 ); P( B, C, D, A, 7, 22, 0xFD469501 ); P( A, B, C, D, 8, 7, 0x698098D8 ); P( D, A, B, C, 9, 12, 0x8B44F7AF ); P( C, D, A, B, 10, 17, 0xFFFF5BB1 ); P( B, C, D, A, 11, 22, 0x895CD7BE ); P( A, B, C, D, 12, 7, 0x6B901122 ); P( D, A, B, C, 13, 12, 0xFD987193 ); P( C, D, A, B, 14, 17, 0xA679438E ); P( B, C, D, A, 15, 22, 0x49B40821 ); #undef F #define F(x,y,z) (y ^ (z & (x ^ y))) P( A, B, C, D, 1, 5, 0xF61E2562 ); P( D, A, B, C, 6, 9, 0xC040B340 ); P( C, D, A, B, 11, 14, 0x265E5A51 ); P( B, C, D, A, 0, 20, 0xE9B6C7AA ); P( A, B, C, D, 5, 5, 0xD62F105D ); P( D, A, B, C, 10, 9, 0x02441453 ); P( C, D, A, B, 15, 14, 0xD8A1E681 ); P( B, C, D, A, 4, 20, 0xE7D3FBC8 ); P( A, B, C, D, 9, 5, 0x21E1CDE6 ); P( D, A, B, C, 14, 9, 0xC33707D6 ); P( C, D, A, B, 3, 14, 0xF4D50D87 ); P( B, C, D, A, 8, 20, 0x455A14ED ); P( A, B, C, D, 13, 5, 0xA9E3E905 ); P( D, A, B, C, 2, 9, 0xFCEFA3F8 ); P( C, D, A, B, 7, 14, 0x676F02D9 ); P( B, C, D, A, 12, 20, 0x8D2A4C8A ); #undef F #define F(x,y,z) (x ^ y ^ z) P( A, B, C, D, 5, 4, 0xFFFA3942 ); P( D, A, B, C, 8, 11, 0x8771F681 ); P( C, D, A, B, 11, 16, 0x6D9D6122 ); P( B, C, D, A, 14, 23, 0xFDE5380C ); P( A, B, C, D, 1, 4, 0xA4BEEA44 ); P( D, A, B, C, 4, 11, 0x4BDECFA9 ); P( C, D, A, B, 7, 16, 0xF6BB4B60 ); P( B, C, D, A, 10, 23, 0xBEBFBC70 ); P( A, B, C, D, 13, 4, 0x289B7EC6 ); P( D, A, B, C, 0, 11, 0xEAA127FA ); P( C, D, A, B, 3, 16, 0xD4EF3085 ); P( B, C, D, A, 6, 23, 0x04881D05 ); P( A, B, C, D, 9, 4, 0xD9D4D039 ); P( D, A, B, C, 12, 11, 0xE6DB99E5 ); P( C, D, A, B, 15, 16, 0x1FA27CF8 ); P( B, C, D, A, 2, 23, 0xC4AC5665 ); #undef F #define F(x,y,z) (y ^ (x | ~z)) P( A, B, C, D, 0, 6, 0xF4292244 ); P( D, A, B, C, 7, 10, 0x432AFF97 ); P( C, D, A, B, 14, 15, 0xAB9423A7 ); P( B, C, D, A, 5, 21, 0xFC93A039 ); P( A, B, C, D, 12, 6, 0x655B59C3 ); P( D, A, B, C, 3, 10, 0x8F0CCC92 ); P( C, D, A, B, 10, 15, 0xFFEFF47D ); P( B, C, D, A, 1, 21, 0x85845DD1 ); P( A, B, C, D, 8, 6, 0x6FA87E4F ); P( D, A, B, C, 15, 10, 0xFE2CE6E0 ); P( C, D, A, B, 6, 15, 0xA3014314 ); P( B, C, D, A, 13, 21, 0x4E0811A1 ); P( A, B, C, D, 4, 6, 0xF7537E82 ); P( D, A, B, C, 11, 10, 0xBD3AF235 ); P( C, D, A, B, 2, 15, 0x2AD7D2BB ); P( B, C, D, A, 9, 21, 0xEB86D391 ); #undef F ctx->state[0] += A; ctx->state[1] += B; ctx->state[2] += C; ctx->state[3] += D; } void md5_update( md5_context *ctx, uint8 *input, uint32 length ) { uint32 left, fill; if( ! length ) return; left = ctx->total[0] & 0x3F; fill = 64 - left; ctx->total[0] += length; ctx->total[0] &= 0xFFFFFFFF; if( ctx->total[0] < length ) ctx->total[1]++; if( left && length >= fill ) { memcpy( (void *) (ctx->buffer + left), (void *) input, fill ); md5_process( ctx, ctx->buffer ); length -= fill; input += fill; left = 0; } while( length >= 64 ) { md5_process( ctx, input ); length -= 64; input += 64; } if( length ) { memcpy( (void *) (ctx->buffer + left), (void *) input, length ); } } static uint8 md5_padding[64] = { 0x80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; void md5_finish( md5_context *ctx, uint8 digest[16] ) { uint32 last, padn; uint32 high, low; uint8 msglen[8]; high = ( ctx->total[0] >> 29 ) | ( ctx->total[1] << 3 ); low = ( ctx->total[0] << 3 ); PUT_UINT32( low, msglen, 0 ); PUT_UINT32( high, msglen, 4 ); last = ctx->total[0] & 0x3F; padn = ( last < 56 ) ? ( 56 - last ) : ( 120 - last ); md5_update( ctx, md5_padding, padn ); md5_update( ctx, msglen, 8 ); PUT_UINT32( ctx->state[0], digest, 0 ); PUT_UINT32( ctx->state[1], digest, 4 ); PUT_UINT32( ctx->state[2], digest, 8 ); PUT_UINT32( ctx->state[3], digest, 12 ); } mednaffe-0.8.6/src/md5.h000066400000000000000000000006341313731622300147230ustar00rootroot00000000000000#ifndef _MD5_H #define _MD5_H #ifndef uint8 #define uint8 unsigned char #endif #ifndef uint32 #define uint32 unsigned long int #endif typedef struct { uint32 total[2]; uint32 state[4]; uint8 buffer[64]; } md5_context; void md5_starts( md5_context *ctx ); void md5_update( md5_context *ctx, uint8 *input, uint32 length ); void md5_finish( md5_context *ctx, uint8 digest[16] ); #endif /* md5.h */mednaffe-0.8.6/src/mednaffe.c000066400000000000000000000434601313731622300160020ustar00rootroot00000000000000/* * mednaffe.c * * Copyright 2013-2015 AmatCoder * * This file is part of Mednaffe. * * Mednaffe is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * Mednaffe is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with Mednaffe; if not, see . * */ /* Compile me with: gcc -g -std=c99 -Wall -DGTK2_ENABLED -o mednaffe about.c active.c command.c gui.c prefs.c list.c toggles.c log.c input.c joystick_linux.c md5.c resource.c mednaffe.c $(pkg-config --cflags --libs gtk+-2.0 gmodule-export-2.0) */ #include "common.h" #include "toggles.h" #include "prefs.h" #include "mednaffe_glade.h" #include "system_glade.h" #include "settings_glade.h" #ifdef G_OS_WIN32 #include #include "logo.h" #else #include "resource.h" #endif void show_error(const gchar *message) { GtkWidget *dialog; dialog = gtk_message_dialog_new (NULL, GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, "%s", message); gtk_dialog_run (GTK_DIALOG (dialog)); gtk_widget_destroy (dialog); printf("%s", message); } gchar* show_chooser(const gchar *message, guidata *gui) { GtkWidget *exe; gchar *filename = NULL; GtkWidget *dialog; dialog = gtk_message_dialog_new (NULL, GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_QUESTION, GTK_BUTTONS_YES_NO, "%s", message); if (gtk_dialog_run (GTK_DIALOG (dialog)) == GTK_RESPONSE_NO) { gtk_widget_destroy (dialog); return NULL; } gtk_widget_destroy (dialog); #ifdef GTK2_ENABLED exe = gtk_file_chooser_dialog_new( "Choose a mednafen executable...", GTK_WINDOW(gui->topwindow), GTK_FILE_CHOOSER_ACTION_OPEN, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT, NULL ); #else exe = gtk_file_chooser_dialog_new( "Choose a mednafen executable...", GTK_WINDOW(gui->topwindow), GTK_FILE_CHOOSER_ACTION_OPEN, ("_Cancel"), GTK_RESPONSE_CANCEL, ("_Open"), GTK_RESPONSE_ACCEPT, NULL); #endif GtkFileFilter* filter = gtk_file_filter_new(); #ifdef G_OS_WIN32 gtk_file_filter_add_pattern(filter, "mednafen.exe"); #else gtk_file_filter_add_pattern(filter, "mednafen"); #endif gtk_file_chooser_set_filter(GTK_FILE_CHOOSER(exe), filter); if (gtk_dialog_run(GTK_DIALOG(exe)) == GTK_RESPONSE_ACCEPT) { filename = gtk_file_chooser_get_filename (GTK_FILE_CHOOSER(exe)); } gtk_widget_destroy(exe); return filename; } void global_selected(GtkTreeSelection *treeselection, guidata *gui) { GtkTreeIter iter; GtkTreeModel *model; gint page; model=gtk_tree_view_get_model(GTK_TREE_VIEW(gui->globalist)); if (gtk_tree_selection_get_selected(treeselection, &model, &iter)) { gtk_tree_model_get(model, &iter, 1, &page, -1); gtk_notebook_set_current_page (GTK_NOTEBOOK(gui->notebook2), page); } } void system_selected(GtkTreeSelection *treeselection, guidata *gui) { GtkTreeIter iter; GtkTreeModel *model; GSList *iterator; model = gtk_tree_view_get_model(GTK_TREE_VIEW(gui->systemlist)); if (gtk_tree_selection_get_selected(treeselection, &model, &iter)) { GtkWidget *embed; GtkContainer *container; gchar *astring; if (gui->system) { gui->system++; astring = g_strconcat(gui->system, "inputbox", NULL); gui->system--; container = GTK_CONTAINER(gtk_builder_get_object(gui->builder, "inputbox")); embed = GTK_WIDGET(gtk_builder_get_object(gui->specific, (const char *)astring)); g_free(astring); gtk_container_remove (container, embed); container = GTK_CONTAINER(gtk_builder_get_object(gui->builder, "embox")); embed = GTK_WIDGET(gtk_builder_get_object(gui->specific, (const char *)gui->system)); gtk_container_remove (container, embed); g_free(gui->system); } g_free(gui->fullsystem); gtk_tree_model_get(model, &iter, 0, &gui->fullsystem, 1, &gui->system, 2, &gui->pagesys, -1); gui->changing = TRUE; for (iterator = gui->dinlist; iterator; iterator = iterator->next) { if (GTK_IS_TOGGLE_BUTTON(iterator->data)) set_toogle(iterator->data, gui); else if (GTK_IS_COMBO_BOX(iterator->data)) set_combo(iterator->data, gui); else set_spin(iterator->data, gui); } g_slist_free(iterator); gui->changing = FALSE; container = GTK_CONTAINER(gtk_builder_get_object(gui->builder, "embox")); embed = GTK_WIDGET(gtk_builder_get_object(gui->specific, (const char *)gui->system)); gtk_container_add (container, embed); gui->system++; astring = g_strconcat(gui->system, "inputbox", NULL); gui->system--; container = GTK_CONTAINER(gtk_builder_get_object(gui->builder, "inputbox")); embed = GTK_WIDGET(gtk_builder_get_object(gui->specific, (const char *)astring)); gtk_container_add (container, embed); gtk_box_set_child_packing(GTK_BOX(container), embed, FALSE, FALSE, 0, GTK_PACK_START); g_free(astring); /*gtk_notebook_remove_page(GTK_NOTEBOOK(gui->notebook),0); gtk_notebook_prepend_page(GTK_NOTEBOOK(gui->notebook), embed, gui->setlabel);*/ gtk_notebook_set_current_page(GTK_NOTEBOOK(gui->notebook), 0); if (gui->pagesys==4) gtk_widget_show(GTK_WIDGET( gtk_notebook_get_nth_page(GTK_NOTEBOOK(gui->notebook), 4))); else gtk_widget_hide(GTK_WIDGET( gtk_notebook_get_nth_page(GTK_NOTEBOOK(gui->notebook), 4))); } } void game_selected(GtkTreeSelection *treeselection, guidata *gui) { GtkTreeIter iter; GtkTreeModel *model; model=gtk_tree_view_get_model(GTK_TREE_VIEW(gui->gamelist)); if (gtk_tree_selection_get_selected(treeselection, &model, &iter)) { gchar *selected = NULL; g_free(gui->rom); g_free(gui->fullpath); gtk_tree_model_get(model, &iter, 0, &gui->rom, 1, &gui->fullpath, -1); gtk_statusbar_pop(GTK_STATUSBAR(gui->sbname), 1); selected = g_strconcat(" Game selected: ", gui->rom, NULL); gtk_statusbar_push(GTK_STATUSBAR(gui->sbname), 1, selected); g_free(selected); } } #ifdef G_OS_WIN32 G_MODULE_EXPORT #endif void on_cell_toggled(GtkCellRendererToggle *cell_renderer, gchar *path, guidata *gui) { GtkTreeIter iter, iter2, iter3; GtkTreeModel *model; GtkTreeModel *model2; gboolean bool; gint row, row2; model = gtk_tree_view_get_model(GTK_TREE_VIEW(gtk_builder_get_object( gui->settings,"se_treeview"))); model2 = GTK_TREE_MODEL(gtk_builder_get_object( gui->builder, "liststore3")); if (gtk_tree_model_get_iter_from_string(model, &iter, path)) { gtk_tree_model_get(model, &iter, 1, &bool, 2, &row, -1); gtk_list_store_set(GTK_LIST_STORE(model), &iter, 1, (!bool), -1); gtk_tree_model_get_iter_first(model2, &iter2); do { gtk_tree_model_get(model2, &iter2, 2, &row2, -1); if (row==row2) { gtk_list_store_set(GTK_LIST_STORE(model2), &iter2, 3, (!bool), -1); break; } } while (gtk_tree_model_iter_next(model2, &iter2)); if (gtk_tree_model_get_iter_first( gtk_tree_view_get_model(GTK_TREE_VIEW(gui->systemlist)), &iter3)) { gtk_tree_selection_select_iter( gtk_tree_view_get_selection(GTK_TREE_VIEW(gui->systemlist)), &iter3); gtk_tree_model_filter_refilter(GTK_TREE_MODEL_FILTER( gtk_tree_view_get_model(GTK_TREE_VIEW(gui->systemlist)))); } if (!gtk_tree_selection_get_selected(gtk_tree_view_get_selection( GTK_TREE_VIEW(gui->systemlist)), NULL, NULL)) gtk_widget_hide(gui->notebook); else gtk_widget_show(gui->notebook); } } #ifdef G_OS_WIN32 G_MODULE_EXPORT #endif void quit(GtkWidget *widget, guidata *gui) { save_prefs(gui); printf("Exiting Mednaffe...\n"); /* To free items makes happy to Valgrind ;-) */ g_object_unref(gui->pixbuf); g_object_unref(G_OBJECT(gui->builder)); g_object_unref(G_OBJECT(gui->specific)); g_object_unref(G_OBJECT(gui->settings)); g_hash_table_destroy(gui->hash); g_hash_table_destroy(gui->clist); g_slist_free(gui->dinlist); g_free(gui->binpath); g_free(gui->fullpath); g_free(gui->rompath); g_free(gui->rom); g_free(gui->fullsystem); g_free(gui->system); g_free(gui->cfgfile); g_free(gui->port); g_free(gui->treepath); g_slist_free_full(gui->itemlist, g_free); gtk_main_quit(); } #ifdef G_OS_WIN32 G_MODULE_EXPORT #endif void delete(GtkWidget *widget, GdkEvent *event, guidata *gui) { quit(widget,gui); } int main(int argc, char **argv) { guidata gui; const gchar *home = NULL; gchar *stout = NULL; GKeyFile *key_file; /* Init GTK+ */ gtk_init(&argc, &argv); /* Create new GtkBuilder objects */ gui.builder = gtk_builder_new(); if (!gtk_builder_add_from_string(gui.builder, mednaffe_glade, -1, NULL)) { printf("Error reading mednaffe glade file!\n"); return 1; } gui.specific = gtk_builder_new(); if (!gtk_builder_add_from_string(gui.specific, system_glade, -1, NULL)) { show_error("Error reading system glade file!\n"); return 1; } gui.settings = gtk_builder_new(); if (!gtk_builder_add_from_string(gui.settings, settings_glade, -1, NULL)) { show_error("Error reading settings glade file!\n"); return 1; } /* Get widget pointers from UI */ gui.topwindow = GTK_WIDGET(gtk_builder_get_object(gui.builder, "topwindow")); gui.prefwindow = GTK_WIDGET(gtk_builder_get_object(gui.settings, "dialog1")); gui.inputwindow = GTK_WIDGET(gtk_builder_get_object(gui.specific, "inputdialog")); gui.cbpath = GTK_WIDGET(gtk_builder_get_object(gui.builder, "cbpath")); gui.sbname = GTK_WIDGET(gtk_builder_get_object(gui.builder, "sbname")); gui.sbnumber = GTK_WIDGET(gtk_builder_get_object(gui.builder, "sbnumber")); gui.gamelist = GTK_WIDGET(gtk_builder_get_object(gui.builder, "gamelist")); gui.scrollwindow = GTK_WIDGET(gtk_builder_get_object(gui.builder, "scrollwindow")); gui.systemlist = GTK_WIDGET(gtk_builder_get_object(gui.builder, "systemlist")); gui.globalist = GTK_WIDGET(gtk_builder_get_object(gui.builder, "globalist")); gui.notebook = GTK_WIDGET(gtk_builder_get_object(gui.builder, "notebook3")); gui.notebook2 = GTK_WIDGET(gtk_builder_get_object(gui.builder, "notebook2")); gui.launch = GTK_WIDGET(gtk_builder_get_object(gui.builder, "button1")); gui.textfe = GTK_TEXT_BUFFER(gtk_builder_get_object(gui.builder, "textbufferfe")); gui.textout = GTK_TEXT_BUFFER(gtk_builder_get_object(gui.builder, "textbufferout")); /*gui.setlabel = GTK_WIDGET(gtk_builder_get_object(gui.builder, "settings_label")); g_object_ref(gui.setlabel);*/ /* Connect signals */ gtk_builder_connect_signals(gui.builder, &gui); gtk_builder_connect_signals(gui.specific, &gui); gtk_builder_connect_signals(gui.settings, &gui); g_signal_connect( gtk_tree_view_get_selection(GTK_TREE_VIEW(gui.gamelist)), "changed", G_CALLBACK(game_selected), &gui); g_signal_connect( gtk_tree_view_get_selection(GTK_TREE_VIEW(gui.systemlist)), "changed", G_CALLBACK(system_selected), &gui); g_signal_connect( gtk_tree_view_get_selection(GTK_TREE_VIEW(gui.globalist)), "changed", G_CALLBACK(global_selected), &gui); /* Create store and models */ gui.store = gtk_list_store_new(2, G_TYPE_STRING, G_TYPE_STRING); gtk_tree_view_set_model( GTK_TREE_VIEW(gui.gamelist), GTK_TREE_MODEL(gui.store)); gui.column = gtk_tree_view_get_column(GTK_TREE_VIEW(gui.gamelist), 0); gtk_tree_sortable_set_sort_column_id(GTK_TREE_SORTABLE(gui.store), GTK_TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID, GTK_SORT_ASCENDING); gtk_tree_model_filter_set_visible_column(GTK_TREE_MODEL_FILTER( gtk_tree_view_get_model(GTK_TREE_VIEW(gui.systemlist))), 3); /* Windows-Only options */ #ifdef G_OS_WIN32 gtk_widget_set_visible(GTK_WIDGET(gtk_builder_get_object(gui.builder, "-video.disable_composition")), TRUE); gtk_widget_set_sensitive(GTK_WIDGET(gtk_builder_get_object(gui.builder, "-sound.period_time")), FALSE); #endif /* Set initial values */ gui.listmode = 0; gui.filter = 0; gui.itemlist = NULL; gui.state = 0; gui.executing = FALSE; gui.changed = FALSE; gui.binpath = NULL; gui.fullpath = NULL; gui.rompath = NULL; gui.rom = NULL; gui.command = NULL; gui.changing = FALSE; gui.dinlist = NULL; gui.fullsystem = NULL; gui.system = NULL; gui.port = NULL; gui.treepath = NULL; gui.editable = NULL; gui.inputedited = TRUE; gui.m_error = NULL; gui.clist = g_hash_table_new_full(g_str_hash, g_str_equal, g_free, NULL); gui.hash = g_hash_table_new_full(g_str_hash, g_str_equal, g_free, g_free); gtk_notebook_set_show_tabs(GTK_NOTEBOOK(gui.notebook2),FALSE); gtk_window_set_transient_for(GTK_WINDOW(gui.prefwindow), GTK_WINDOW(gui.topwindow)); gtk_window_set_transient_for(GTK_WINDOW(gui.inputwindow), GTK_WINDOW(gui.topwindow)); /* Set statusbar messages */ #ifdef GTK2_ENABLED gtk_statusbar_set_has_resize_grip(GTK_STATUSBAR(gui.sbname),FALSE); gtk_statusbar_set_has_resize_grip(GTK_STATUSBAR(gui.sbnumber),FALSE); #endif gtk_statusbar_push (GTK_STATUSBAR(gui.sbname), 1, " Game selected: None"); gtk_statusbar_push (GTK_STATUSBAR(gui.sbnumber), 1, " Games in list: 0"); /* Set cellrenderertoogle (bug in gtk-win?) */ GtkCellRenderer *celltoggle = gtk_cell_renderer_toggle_new(); gtk_tree_view_column_pack_end((GTK_TREE_VIEW_COLUMN( gtk_builder_get_object(gui.settings, "Visible"))), celltoggle, TRUE); gtk_tree_view_column_add_attribute((GTK_TREE_VIEW_COLUMN( gtk_builder_get_object(gui.settings, "Visible"))), celltoggle, "active", 1); g_signal_connect(celltoggle, "toggled", G_CALLBACK(on_cell_toggled), &gui); /* Load preferences */ key_file = load_prefs(&gui); /* Search for mednafen executable */ if (gui.binpath==NULL) { gui.binpath = g_find_program_in_path("mednafen"); } else { if (!g_file_test(gui.binpath, G_FILE_TEST_IS_EXECUTABLE)) { g_free(gui.binpath); gui.binpath = NULL; } } if (gui.binpath==NULL) { gui.binpath = show_chooser( "Warning: Mednafen executable is not installed in path.\nDo you \ want to select the file manually?\n", &gui); if (gui.binpath==NULL) { show_error( "Error: Mednafen executable not found.\n"); return 1; } } /* Search for HOME variable */ #ifdef G_OS_WIN32 home = g_path_get_dirname(gui.binpath); #else home = g_getenv ("HOME"); if (!home) home = g_get_home_dir(); #endif if (!home) { show_error("Error searching for home variable.\n"); return 1; } #ifdef G_OS_WIN32 gchar *path = g_strconcat(home, "\\stdout.txt", NULL); gchar *qbin = g_strconcat("\"", gui.binpath, "\"", NULL); gchar *cfg_path = g_strconcat(home, "\\mednafen-09x.cfg", NULL); if ((g_file_get_contents(path, &stout, NULL, NULL)) && (g_file_test(cfg_path, G_FILE_TEST_IS_REGULAR))) {} else { system(qbin); //Sleep(1000); /* race condition? */ g_file_get_contents(path, &stout, NULL, NULL); } g_free(cfg_path); g_free(qbin); g_free(path); #else g_spawn_command_line_sync(gui.binpath, &stout, NULL, NULL, NULL); //sleep (1); /* race condition? */ #endif /* Search mednafen configuration file */ gui.cfgfile = get_cfg(home, &gui); if (!gui.cfgfile) { show_error("Error: No mednafen configuration file found.\n"); return 1; } /* Check mednafen version */ if (!check_version(stout, &gui)) { show_error( "Error: Mednafen version is not compatible.\nYou need 0.9.41 \ version or above.\n"); return 1; /* Items are not freed here */ } g_free(stout); /* Read configuration from mednafen-09x.cfg */ if (!read_cfg(&gui)) { show_error( "Error parsing mednafen configuration file.\n"); return 1; /* Items are not freed here */ } /* Set values into gui */ if (key_file) load_emu_options(key_file, &gui); set_values(gui.builder, &gui); set_values(gui.specific, &gui); select_rows(&gui); /* Create icon */ #ifdef G_OS_WIN32 gui.pixbuf = gdk_pixbuf_new_from_inline (-1, logo, FALSE, NULL); #else gui.pixbuf = gdk_pixbuf_new_from_resource("/org/gtk/mednaffe/mednaffe.png", NULL); #endif gtk_window_set_icon(GTK_WINDOW(gui.topwindow), gui.pixbuf); /* Show window and set focus */ gtk_widget_show(gui.topwindow); gtk_widget_grab_focus(gui.gamelist); /* Start main loop */ gtk_main(); return 0; } mednaffe-0.8.6/src/mednaffe_glade.h000066400000000000000000006473141313731622300171530ustar00rootroot00000000000000/* * mednaffe_glade.h * * Copyright 2013-2017 AmatCoder * * This file is part of Mednaffe. * * Mednaffe is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * Mednaffe is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with Mednaffe; if not, see . * */ #ifndef MEDNAFFE_GLADE_H #define MEDNAFFE_GLADE_H static const char *mednaffe_glade = "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "gtk-add\n" "\n" "\n" "1000\n" "3\n" "1\n" "10\n" "\n" "\n" "100\n" "75\n" "0.01\n" "1\n" "\n" "\n" "99999\n" "1\n" "100\n" "\n" "\n" "1\n" "15\n" "4\n" "0.01\n" "1\n" "\n" "\n" "-2\n" "2\n" "0.5\n" "0.01\n" "0.10000000000000001\n" "\n" "\n" "1\n" "0.5\n" "0.01\n" "0.10000000000000001\n" "\n" "\n" "-2\n" "2\n" "0.5\n" "0.01\n" "0.10000000000000001\n" "\n" "\n" "16\n" "1\n" "1\n" "1\n" "\n" "\n" "1\n" "65535\n" "4046\n" "1\n" "10\n" "\n" "\n" "-1\n" "1\n" "0.01\n" "0.10000000000000001\n" "\n" "\n" "-1\n" "1\n" "0.01\n" "0.10000000000000001\n" "\n" "\n" "-1\n" "1\n" "0.01\n" "0.10000000000000001\n" "\n" "\n" "-2\n" "2\n" "1.5389999999999999\n" "0.001\n" "0.10000000000000001\n" "\n" "\n" "-2\n" "2\n" "-0.622\n" "0.001\n" "0.10000000000000001\n" "\n" "\n" "-2\n" "2\n" "-0.57099999999999995\n" "0.001\n" "0.10000000000000001\n" "\n" "\n" "-2\n" "2\n" "-0.185\n" "0.001\n" "0.10000000000000001\n" "\n" "\n" "-2\n" "2\n" "0.001\n" "0.10000000000000001\n" "\n" "\n" "-2\n" "2\n" "2\n" "0.001\n" "0.10000000000000001\n" "\n" "\n" "-1\n" "1\n" "0.01\n" "0.10000000000000001\n" "\n" "\n" "-1\n" "1\n" "0.01\n" "0.10000000000000001\n" "\n" "\n" "15000\n" "2000\n" "1\n" "100\n" "\n" "\n" "0.25\n" "1\n" "0.75\n" "0.01\n" "0.10000000000000001\n" "\n" "\n" "100000\n" "1\n" "100\n" "\n" "\n" "10\n" "99999\n" "600\n" "1\n" "100\n" "\n" "\n" "100\n" "50\n" "1\n" "10\n" "\n" "\n" "1000\n" "1\n" "10\n" "\n" "\n" "22050\n" "192000\n" "48000\n" "1\n" "10\n" "\n" "\n" "150\n" "100\n" "1\n" "10\n" "\n" "\n" "65536\n" "1\n" "160\n" "\n" "\n" "0.01\n" "256\n" "0.01\n" "0.01\n" "1\n" "\n" "\n" "0.01\n" "256\n" "1\n" "0.01\n" "1\n" "\n" "\n" "0.01\n" "256\n" "0.0099999997764825821\n" "0.01\n" "1\n" "\n" "\n" "0.01\n" "256\n" "1\n" "0.01\n" "1\n" "\n" "\n" "-100\n" "100\n" "1\n" "10\n" "\n" "\n" "65536\n" "1\n" "160\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "0\n" "\n" "\n" "full\n" "\n" "\n" "aspect\n" "\n" "\n" "aspect_int\n" "\n" "\n" "aspect_mult2\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "none\n" "\n" "\n" "autoip\n" "\n" "\n" "autoipsharper\n" "\n" "\n" "scale2x\n" "\n" "\n" "sabr\n" "\n" "\n" "ipsharper\n" "\n" "\n" "ipxnoty\n" "\n" "\n" "ipynotx\n" "\n" "\n" "ipxnotysharper\n" "\n" "\n" "ipynotxsharper\n" "\n" "\n" "goat\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "none\n" "\n" "\n" "hq2x\n" "\n" "\n" "hq3x\n" "\n" "\n" "hq4x\n" "\n" "\n" "scale2x\n" "\n" "\n" "scale3x\n" "\n" "\n" "scale4x\n" "\n" "\n" "2xsai\n" "\n" "\n" "super2xsai\n" "\n" "\n" "supereagle\n" "\n" "\n" "nn2x\n" "\n" "\n" "nn3x\n" "\n" "\n" "nn4x\n" "\n" "\n" "nny2x\n" "\n" "\n" "nny3x\n" "\n" "\n" "nny4x\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "0\n" "\n" "\n" "1\n" "\n" "\n" "x\n" "\n" "\n" "y\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "goatron\n" "\n" "\n" "borg\n" "\n" "\n" "slenderman\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "gtk-add\n" "1\n" "\n" "\n" "True\n" "False\n" "gtk-connect\n" "\n" "\n" "True\n" "False\n" "gtk-connect\n" "\n" "\n" "True\n" "False\n" "gtk-connect\n" "\n" "\n" "True\n" "False\n" "gtk-connect\n" "\n" "\n" "True\n" "False\n" "gtk-connect\n" "\n" "\n" "True\n" "False\n" "gtk-connect\n" "\n" "\n" "True\n" "False\n" "gtk-connect\n" "\n" "\n" "True\n" "False\n" "gtk-connect\n" "\n" "\n" "True\n" "False\n" "gtk-connect\n" "\n" "\n" "True\n" "False\n" "gtk-connect\n" "\n" "\n" "True\n" "False\n" "gtk-media-play\n" "\n" "\n" "True\n" "False\n" "gtk-connect\n" "\n" "\n" "True\n" "False\n" "gtk-connect\n" "\n" "\n" "True\n" "False\n" "gtk-connect\n" "\n" "\n" "True\n" "False\n" "gtk-connect\n" "\n" "\n" "True\n" "False\n" "gtk-remove\n" "1\n" "\n" "\n" "True\n" "False\n" "gtk-open\n" "1\n" "\n" "\n" "True\n" "False\n" "gtk-connect\n" "\n" "\n" "True\n" "False\n" "gtk-connect\n" "\n" "\n" "True\n" "False\n" "gtk-connect\n" "\n" "\n" "True\n" "False\n" "gtk-connect\n" "\n" "\n" "True\n" "False\n" "gtk-connect\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "Toggle in-game quick help screen\n" "toggle_help\n" " \n" " \n" "\n" "\n" "Save state\n" "save_state\n" " \n" " \n" "\n" "\n" "Load state\n" "load_state\n" " \n" " \n" "\n" "\n" "Decrement selected save state slot\n" "state_slot_dec\n" " \n" " \n" "\n" "\n" "Increment selected save state slot\n" "state_slot_inc\n" " \n" " \n" "\n" "\n" "Toggle save-state rewinding functionality\n" "toggle_state_rewind\n" " \n" " \n" "\n" "\n" "Toggle cheat console\n" "togglecheatview\n" " \n" " \n" "\n" "\n" "Toggle cheats active\n" "togglecheatactive\n" " \n" " \n" "\n" "\n" "Enable network play console input\n" "togglenetview\n" " \n" " \n" "\n" "\n" "Toggle debugger\n" "toggle_debugger\n" " \n" " \n" "\n" "\n" "Enter frame advance mode\n" "advance_frame\n" " \n" " \n" "\n" "\n" "Exit frame advance mode\n" "run_normal\n" " \n" " \n" "\n" "\n" "Toggle frames-per-second display\n" "toggle_fps_view\n" " \n" " \n" "\n" "\n" "Rewind emulation\n" "state_rewind\n" " \n" " \n" "\n" "\n" "Save raw screen snapshot\n" "take_snapshot\n" " \n" " \n" "\n" "\n" "Save screen snapshot\n" "take_scaled_snapshot\n" " \n" " \n" "\n" "\n" "Rotate the screen\n" "rotate_screen\n" " \n" " \n" "\n" "\n" "Toggle fullscreen mode\n" "toggle_fs\n" " \n" " \n" "\n" "\n" "Fast-forward\n" "fast_forward\n" " \n" " \n" "\n" "\n" "Slow-forward\n" "slow_forward\n" " \n" " \n" "\n" "\n" "Detect analog buttons on physical joysticks/gamepads\n" "input_config_abd\n" " \n" " \n" "\n" "\n" "Configure buttons for emulated device on input port 1\n" "input_config1\n" " \n" " \n" "\n" "\n" "Configure buttons for emulated device on input port 2\n" "input_config2\n" " \n" " \n" "\n" "\n" "Activate in-game input configuration process for a command key\n" "input_configc\n" " \n" " \n" "\n" "\n" "Reset\n" "reset\n" " \n" " \n" "\n" "\n" "Hard reset\n" "power\n" " \n" " \n" "\n" "\n" "Exit the emulator (or netplay chat mode)\n" "exit\n" " \n" " \n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "opengl\n" "\n" "\n" "sdl\n" "\n" "\n" "overlay\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "Atari Lynx\n" "-lynx\n" "0\n" "True\n" "\n" "\n" "GameBoy (Color)\n" "-gb\n" "1\n" "True\n" "\n" "\n" "GameBoy Advance\n" "-gba\n" "2\n" "True\n" "\n" "\n" "Neo Geo Pocket (Color)\n" "-ngp\n" "3\n" "True\n" "\n" "\n" "Nintendo Entertainment System/Famicom\n" "-nes\n" "4\n" "True\n" "\n" "\n" "PC Engine (CD)/TurboGrafx 16 (CD)/SuperGrafx\n" "-pce\n" "5\n" "True\n" "\n" "\n" "PC-FX\n" "-pcfx\n" "6\n" "True\n" "\n" "\n" "Sega Game Gear\n" "-gg\n" "7\n" "True\n" "\n" "\n" "Sega Genesis/MegaDrive\n" "-md\n" "8\n" "True\n" "\n" "\n" "Sega Master System\n" "-sms\n" "9\n" "True\n" "\n" "\n" "Sega Saturn\n" "-ss\n" "10\n" "True\n" "\n" "\n" "Sony PlayStation\n" "-psx\n" "11\n" "True\n" "\n" "\n" "Super Nintendo Entertainment System/Super Famicom\n" "-snes\n" "12\n" "True\n" "\n" "\n" "Virtual Boy\n" "-vb\n" "13\n" "True\n" "\n" "\n" "WonderSwan (Color)\n" "-wswan\n" "14\n" "True\n" "\n" "\n" "\n" "\n" "liststore3\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "default\n" "\n" "\n" "alsa\n" "\n" "\n" "oss\n" "\n" "\n" "wasapish\n" "\n" "\n" "dsound\n" "\n" "\n" "wasapi\n" "\n" "\n" "sdl\n" "\n" "\n" "jack\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "Video\n" "0\n" "\n" "\n" "Audio\n" "1\n" "\n" "\n" "Miscellaneous\n" "2\n" "\n" "\n" "Key Assignments\n" "3\n" "\n" "\n" "Input\n" "4\n" "\n" "\n" "Netplay\n" "5\n" "\n" "\n" "State Rewinding\n" "6\n" "\n" "\n" "Slow-Forwarding\n" "7\n" "\n" "\n" "Fast-Forwarding\n" "8\n" "\n" "\n" "OSD\n" "9\n" "\n" "\n" "Paths\n" "10\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "minilzo\n" "\n" "\n" "quicklz\n" "\n" "\n" "blz\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "weave\n" "\n" "\n" "bob\n" "\n" "\n" "bob_offset\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "none\n" "\n" "\n" "composite\n" "\n" "\n" "svideo\n" "\n" "\n" "rgb\n" "\n" "\n" "monochrome\n" "\n" "\n" "disabled\n" "\n" "\n" "\n" "\n" "\n" "\n" "False\n" "Mednaffe\n" "1024\n" "768\n" "\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "True\n" "False\n" "_File\n" "True\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "Open ROM...\n" "True\n" "False\n" "image4\n" "False\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "\n" "\n" "Add Folder...\n" "True\n" "False\n" "image1\n" "False\n" "\n" "\n" "\n" "\n" "\n" "\n" "Remove Folder\n" "True\n" "False\n" "image3\n" "False\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "\n" "\n" "gtk-quit\n" "True\n" "False\n" "True\n" "True\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "_Edit\n" "True\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "gtk-preferences\n" "True\n" "False\n" "True\n" "True\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "_View\n" "True\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "True\n" "False\n" "List\n" "True\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "True\n" "False\n" "Show\n" "True\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "True\n" "False\n" "All Files\n" "True\n" "True\n" "True\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "Only zips\n" "True\n" "True\n" "radiomenuall\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "Only cue/toc/ccd/m3u\n" "True\n" "True\n" "radiomenuzip\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "Scan Mode\n" "True\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "True\n" "False\n" "Normal\n" "True\n" "True\n" "True\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "Recursive\n" "True\n" "True\n" "normalmenu\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "_Help\n" "True\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "gtk-about\n" "True\n" "False\n" "True\n" "True\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "True\n" "False\n" "4\n" "8\n" "\n" "\n" "True\n" "False\n" "cbpathstore\n" "\n" "\n" "\n" "\n" "\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "Add Folder\n" "True\n" "True\n" "True\n" "add_image\n" "True\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "4\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "automatic\n" "automatic\n" "\n" "\n" "True\n" "True\n" "\n" "\n" "\n" " Games\n" "True\n" "\n" "\n" "\n" "\n" "0\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "Game List \n" "\n" "\n" "False\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "200\n" "True\n" "True\n" "liststore5\n" "False\n" "False\n" "False\n" "\n" "\n" "column\n" "\n" "\n" "\n" "0\n" "\n" "\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "\n" "\n" "True\n" "False\n" "4\n" "0\n" "none\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "Enable fullscreen\n" "True\n" "True\n" "False\n" "True\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "Enable frameskip\n" "True\n" "True\n" "False\n" "True\n" "True\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "Enable time synchronization for frame blitting\n" "True\n" "True\n" "False\n" "True\n" "Disable to reduce latency, at the cost of potentially increased video \"juddering\", with the maximum reduction in latency being about 1 video frame's time.\n" "\n" "Will work best with emulated systems that are not very computationally expensive to emulate, combined with running on a relatively fast CPU.\n" "True\n" "True\n" "\n" "\n" "False\n" "True\n" "2\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "Video Driver:\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "True\n" "opengl - OpenGL + SDL\n" "This output method is preferred, as all features are available with it.\n" "\n" "sdl - SDL Surface\n" "Slower with lower-quality scaling than OpenGL, but if you don't have hardware-accelerated OpenGL rendering, it will be faster than software OpenGL rendering. Bilinear interpolation not available. Pixel shaders do not work with this output method, of course.\n" "\n" "overlay - SDL Overlay\n" "As fast as OpenGL, perhaps faster in some situations, *if* it's hardware-accelerated. Scanline effects are not available. hq2x, hq3x, hq4x are not available. The OSD may be missing or glitchy. Bilinear interpolation can't be turned off. Harsh chroma subsampling blurring in some picture types. If you use this output method, it is strongly recommended to use a special scaler with it, such as nn2x.\n" "liststore2\n" "0\n" "\n" "\n" "\n" "\n" "0\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "4\n" "3\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "18\n" "\n" "\n" "Synchronize OpenGL page flips to vertical retrace period\n" "True\n" "True\n" "False\n" "True\n" "True\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "4\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "Video Deinterlacer:\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "True\n" "Deinterlacer to use for interlaced video.\n" "\n" "weave - Good for low-motion video; can be used in conjunction with negative .scanlines setting values.\n" "\n" "bob - Good for causing a headache. All glory to Bob.\n" "\n" "bob_offset - Good for high-motion video, but is a bit flickery; reduces the subjective vertical resolution.\n" "liststore7\n" "0\n" "\n" "\n" "\n" "0\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "4\n" "5\n" "\n" "\n" "\n" "\n" "Disable desktop composition\n" "True\n" "False\n" "True\n" "This setting only has an effect on Windows Vista and Windows 7\n" "True\n" "True\n" "\n" "\n" "False\n" "False\n" "6\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "<b>Video</b>\n" "True\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "Video\n" "\n" "\n" "False\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "4\n" "0\n" "none\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "Enable sound\n" "True\n" "True\n" "False\n" "True\n" "True\n" "\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "8\n" "16\n" "\n" "\n" "True\n" "False\n" "6\n" "\n" "\n" "True\n" "False\n" "4\n" "2\n" "16\n" "\n" "\n" "True\n" "True\n" "True\n" "In microseconds.\n" "Currently only affects OSS, ALSA, WASAPI(exclusive mode) and SDL output.\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "adjsoundperiod\n" "True\n" "\n" "\n" "1\n" "2\n" "3\n" "4\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "True\n" "Desired buffer size in milliseconds(ms).\n" "\n" "The default value of 0 enables automatic buffer size selection.\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "adjustbuffsize\n" "True\n" "\n" "\n" "1\n" "2\n" "2\n" "3\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "True\n" "Specifies the sound playback rate, in sound frames per second(\"Hz\").\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "adjustplayrate\n" "True\n" "\n" "\n" "1\n" "2\n" "1\n" "2\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "1\n" "Period size:\n" "\n" "\n" "3\n" "4\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "1\n" "Total buffer size:\n" "\n" "\n" "2\n" "3\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "Sound playback rate:\n" "\n" "\n" "1\n" "2\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "True\n" "default - Default\n" "Default sound driver.\n" "\n" "alsa - ALSA\n" "A recommended driver, and the default for Linux(if available).\n" "\n" "oss - Open Sound System\n" "A recommended driver, and the default for non-Linux UN*X/POSIX/BSD systems, or anywhere ALSA is unavailable. If the ALSA driver gives you problems, you can try using this one instead.\n" "\n" "wasapish - WASAPI(Shared Mode)\n" "The default when it's available(running on Microsoft Windows Vista and newer).\n" "\n" "dsound - DirectSound\n" "The default for Microsoft Windows XP and older.\n" "\n" "wasapi - WASAPI(Exclusive Mode)\n" "Experimental exclusive-mode WASAPI driver, usable on Windows Vista and newer. Use it for lower-latency sound. May not work properly on all sound cards.\n" "\n" "sdl - Simple Directmedia Layer\n" "This driver is not recommended, but it serves as a backup driver if the others aren't available. Its performance is generally sub-par, requiring higher latency or faster CPUs/SMP for glitch-free playback, except where the OS provides a sound callback API itself, such as with Mac OS X and BeOS.\n" "\n" "jack - JACK\n" "Somewhat experimental driver, unusably buggy until Mednafen 0.8.C. The \"sound.buffer_time\" setting controls the size of the local sound buffer, not the server's sound buffer, and the latency reported during startup is for the local sound buffer only.\n" "liststore4\n" "0\n" "\n" "\n" "\n" "\n" "0\n" "\n" "\n" "\n" "\n" "1\n" "2\n" "GTK_FILL\n" "GTK_FILL\n" "8\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "1\n" "Sound driver:\n" "\n" "\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "24\n" "\n" "\n" "True\n" "False\n" "Volume:\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "250\n" "True\n" "True\n" "adjustvolume\n" "0\n" "0\n" "left\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "16\n" "1\n" "\n" "\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "<b>Audio</b>\n" "True\n" "\n" "\n" "\n" "\n" "1\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "Audio\n" "\n" "\n" "1\n" "False\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "4\n" "0\n" "none\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "Enable cheats\n" "True\n" "True\n" "False\n" "True\n" "True\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "Automatic load/save state on game load/save\n" "True\n" "True\n" "False\n" "True\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "Disable speed throttling when sound is disabled\n" "True\n" "True\n" "False\n" "True\n" "\n" "\n" "False\n" "True\n" "2\n" "\n" "\n" "\n" "\n" "Cache entire CD images in memory\n" "True\n" "True\n" "False\n" "True\n" "Reads the entire CD image(s) into memory at startup (which will cause a small delay). Can help obviate emulation hiccups due to emulated CD access. \n" "\n" "May cause more harm than good on low memory systems, systems with swap enabled, and/or when the disc images in question are on a fast SSD.\n" "True\n" "\n" "\n" "False\n" "True\n" "3\n" "\n" "\n" "\n" "\n" "Automatically go into the debugger's step mode after a game is loaded\n" "True\n" "True\n" "False\n" "True\n" "\n" "\n" "False\n" "True\n" "4\n" "\n" "\n" "\n" "\n" "Disable gzip compression when saving save states and backup memory\n" "True\n" "True\n" "False\n" "True\n" "\n" "\n" "False\n" "True\n" "5\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "<b>Miscellaneous</b>\n" "True\n" "\n" "\n" "\n" "\n" "2\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "Misc\n" "\n" "\n" "2\n" "False\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "4\n" "0\n" "none\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "Key Assignments\n" "300\n" "True\n" "True\n" "True\n" "\n" "\n" "\n" "False\n" "False\n" "0\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "12\n" "0\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "<b>Key Assignments</b>\n" "True\n" "\n" "\n" "\n" "\n" "3\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "Key Assignments\n" "\n" "\n" "3\n" "False\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "4\n" "0\n" "none\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "Update physical joystick(s) internal state even when Mednafen lacks OS focus\n" "True\n" "True\n" "False\n" "True\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "3\n" "2\n" "16\n" "\n" "\n" "True\n" "True\n" "True\n" "Auto-fire frequency = GameSystemFrameRateHz / (value + 1)\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "adjautofire\n" "True\n" "\n" "\n" "1\n" "2\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "True\n" "The length of time, in milliseconds, that a button/key corresponding to a \"dangerous\" command like power, reset, exit, etc. must be pressed before the command is executed.\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "adjckdelay\n" "True\n" "\n" "\n" "1\n" "2\n" "1\n" "2\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "True\n" "Threshold for detecting a digital-like \"button\" press on analog axis, in percent.\n" "\n" "False\n" "False\n" "True\n" "True\n" "adjaxis\n" "2\n" "\n" "\n" "1\n" "2\n" "2\n" "3\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "1\n" "Auto-fire frequency:\n" "\n" "\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "1\n" "Dangerous key action delay:\n" "\n" "\n" "1\n" "2\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "Analog axis binary press detection threshold:\n" "\n" "\n" "2\n" "3\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "8\n" "1\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "<b>Input</b>\n" "True\n" "\n" "\n" "\n" "\n" "4\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "Input\n" "\n" "\n" "4\n" "False\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "4\n" "0\n" "none\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "9\n" "\n" "\n" "True\n" "False\n" "13\n" "\n" "\n" "True\n" "False\n" "Server hostname:\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "\n" "False\n" "False\n" "True\n" "True\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "Server port:\n" "\n" "\n" "False\n" "True\n" "2\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "adjnetport\n" "True\n" "\n" "\n" "False\n" "True\n" "3\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "Server Password:\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "59\n" "\n" "\n" "True\n" "False\n" "Nickname:\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "2\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "6\n" "\n" "\n" "True\n" "False\n" "Key to hash with the MD5 hash of the game:\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "3\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "24\n" "\n" "\n" "True\n" "False\n" "Local player count:\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "308\n" "True\n" "True\n" "True\n" "Number of local players for network play. \n" "\n" "This number is advisory to the server, and the server may assign fewer players if the number of players requested is higher than the number of controllers currently available.\n" "adjnetplayers\n" "0\n" "0\n" "left\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "4\n" "\n" "\n" "\n" "\n" "Use small font for netplay chat console\n" "True\n" "True\n" "False\n" "True\n" "\n" "\n" "False\n" "True\n" "5\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "<b>Netplay</b>\n" "True\n" "\n" "\n" "\n" "\n" "5\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "Netplay\n" "\n" "\n" "5\n" "False\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "4\n" "0\n" "none\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "Number of frames to keep states for when state rewinding is enabled:\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "True\n" "WARNING: \n" "Setting this to a large value may cause excessive RAM usage in some circumstances, such as with games that stream large volumes of data off of CDs.\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "adjsrwframes\n" "True\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "6\n" "0\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "<b>State Rewinding</b>\n" "True\n" "\n" "\n" "\n" "\n" "6\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "State Rewinding\n" "\n" "\n" "6\n" "False\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "4\n" "0\n" "none\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "Treat the slow-forward button as a toggle\n" "True\n" "True\n" "False\n" "True\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "Slow-forwarding speed multiplier:\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "adjsfspeed\n" "2\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "6\n" "1\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "<b>Slow-Forwarding</b>\n" "True\n" "\n" "\n" "\n" "\n" "7\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "Slow-Forwarding\n" "\n" "\n" "7\n" "False\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "4\n" "0\n" "none\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "Treat the fast-forward button as a toggle\n" "True\n" "True\n" "False\n" "True\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "Silence sound output when fast-forwarding\n" "True\n" "True\n" "False\n" "True\n" "True\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "Fast-forwarding speed multiplier:\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "adjffspeed\n" "2\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "6\n" "2\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "<b>Fast-Forwarding</b>\n" "True\n" "\n" "\n" "\n" "\n" "8\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "Fast-Forwarding\n" "\n" "\n" "8\n" "False\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "4\n" "0\n" "none\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "Enable alpha blending for OSD elements\n" "True\n" "True\n" "False\n" "True\n" "True\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "The length of time to display the save state or \n" "the movie selector after selecting a state or movie:\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "True\n" "In milliseconds.\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "adjosdtime\n" "True\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "6\n" "1\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "<b>OSD</b>\n" "True\n" "\n" "\n" "\n" "\n" "9\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "OSD\n" "\n" "\n" "9\n" "False\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "4\n" "0\n" "none\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "6\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "True\n" "False\n" "0\n" "Path to directory for cheats:\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "400\n" "True\n" "True\n" "False\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "\n" "\n" "False\n" "True\n" "12\n" "0\n" "\n" "\n" "\n" "\n" "gtk-open\n" "True\n" "True\n" "True\n" "True\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "True\n" "False\n" "0\n" "Path to directory for firmware/BIOS:\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "400\n" "True\n" "True\n" "False\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "\n" "\n" "False\n" "True\n" "12\n" "0\n" "\n" "\n" "\n" "\n" "gtk-open\n" "True\n" "True\n" "True\n" "True\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "True\n" "False\n" "0\n" "Path to directory for movies:\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "400\n" "True\n" "True\n" "False\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "\n" "\n" "False\n" "True\n" "12\n" "0\n" "\n" "\n" "\n" "\n" "gtk-open\n" "True\n" "True\n" "True\n" "True\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "2\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "True\n" "False\n" "0\n" "Path to directory for custom palettes:\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "400\n" "True\n" "True\n" "False\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "\n" "\n" "False\n" "True\n" "12\n" "0\n" "\n" "\n" "\n" "\n" "gtk-open\n" "True\n" "True\n" "True\n" "True\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "3\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "True\n" "False\n" "0\n" "Path to directory for save games and nonvolatile memory:\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "400\n" "True\n" "True\n" "True\n" "WARNING: \n" "Do not set this path to a directory that contains Famicom Disk System disk images, or you will corrupt them when you load an FDS game and exit Mednafen.\n" "False\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "\n" "\n" "False\n" "True\n" "12\n" "0\n" "\n" "\n" "\n" "\n" "gtk-open\n" "True\n" "True\n" "True\n" "True\n" "WARNING: \n" "Do not set this path to a directory that contains Famicom Disk System disk images, or you will corrupt them when you load an FDS game and exit Mednafen.\n" "True\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "4\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "True\n" "False\n" "0\n" "Path to directory for screen snapshots:\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "400\n" "True\n" "True\n" "False\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "\n" "\n" "False\n" "True\n" "12\n" "0\n" "\n" "\n" "\n" "\n" "gtk-open\n" "True\n" "True\n" "True\n" "True\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "5\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "True\n" "False\n" "0\n" "Path to directory for save states:\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "400\n" "True\n" "True\n" "False\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "\n" "\n" "False\n" "True\n" "12\n" "0\n" "\n" "\n" "\n" "\n" "gtk-open\n" "True\n" "True\n" "True\n" "True\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "6\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "<b>Paths</b>\n" "True\n" "\n" "\n" "\n" "\n" "10\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "Paths\n" "\n" "\n" "10\n" "False\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "1\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "Global Settings \n" "\n" "\n" "1\n" "False\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "400\n" "True\n" "True\n" "treemodelfilter1\n" "False\n" "False\n" "False\n" "\n" "\n" "column\n" "\n" "\n" "\n" "0\n" "\n" "\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "automatic\n" "automatic\n" "\n" "\n" "True\n" "False\n" "none\n" "\n" "\n" "True\n" "True\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "Settings \n" "\n" "\n" "False\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "8\n" "18\n" "\n" "\n" "True\n" "False\n" "0\n" "none\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "6\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "True\n" "False\n" "4\n" "2\n" "16\n" "\n" "\n" "True\n" "False\n" "Bilinear interpolation:\n" "\n" "\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "True\n" "0 - Disabled\n" "\n" "1 - Bilinear\n" "\n" "x - Linear (X)\n" "Interpolation only on the X axis.\n" "\n" "y - Linear (Y)\n" "Interpolation only on the Y axis.\n" "cbstorevideoip\n" "0\n" "\n" "\n" "\n" "0\n" "\n" "\n" "\n" "\n" "1\n" "2\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "True\n" "0 - Disabled\n" "\n" "full - Full\n" "Full-screen stretch, disregarding aspect ratio.\n" "\n" "aspect - Aspect Preserve\n" "Full-screen stretch as far as the aspect ratio(in this sense, the equivalent xscalefs == yscalefs) can be maintained.\n" "\n" "aspect_int - Aspect Preserve + Integer Scale\n" "Full-screen stretch, same as 'aspect' except that the equivalent xscalefs and yscalefs are rounded down to the nearest integer.\n" "\n" "aspect_mult2 - Aspect Preserve + Integer Multiple-of-2 Scale\n" "Full-screen stretch, same as 'aspect_int', but rounds down to the nearest multiple of 2.\n" "cbstore_stretch\n" "4\n" "\n" "\n" "\n" "0\n" "\n" "\n" "\n" "\n" "1\n" "2\n" "1\n" "2\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "True\n" "The destination rectangle is NOT altered by this setting, so if you have xscale and yscale set to '2', and try to use a 3x scaling filter like hq3x, the image is not going to look that great. The nearest-neighbor scalers are intended for use with bilinear interpolation enabled, at high resolutions(such as 1280x1024; nn2x(or nny2x) + bilinear interpolation + fullscreen stretching at this resolution looks quite nice).\n" "cbstorespecial\n" "0\n" "\n" "\n" "\n" "0\n" "\n" "\n" "\n" "\n" "1\n" "2\n" "2\n" "3\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "True\n" "Obviously, this will only work with the OpenGL \"video.driver\" setting, and only on cards and OpenGL implementations that support shaders, otherwise you will get a black screen, or Mednafen may display an error message when starting up. When a shader is enabled, the \".videoip\" setting is ignored.\n" "\n" "none - None/Disabled\n" "\n" "autoip - Auto Interpolation\n" "Will automatically interpolate on each axis if the corresponding effective scaling factor is not an integer.\n" "\n" "autoipsharper - Sharper Auto Interpolation\n" "Same as \"autoip\", but when interpolation is done, it is done in a manner that will reduce blurriness if possible.\n" "\n" "scale2x - Scale2x\n" "\n" "sabr - SABR v3.0\n" "GPU-intensive.\n" "\n" "ipsharper - Sharper bilinear interpolation.\n" "\n" "ipxnoty - Linear interpolation on X axis only.\n" "\n" "ipynotx - Linear interpolation on Y axis only.\n" "\n" "ipxnotysharper - Sharper version of \"ipxnoty\".\n" "\n" "ipynotxsharper - Sharper version of \"ipynotx\".\n" "\n" "goat - Simple approximation of a color TV CRT look.\n" "Intended for fullscreen modes with a vertical resolution of around 1000 to 1500 pixels. Doesn't simulate halation and electron beam energy distribution nuances.\n" "cbstorepix\n" "0\n" "\n" "\n" "\n" "\n" "0\n" "\n" "\n" "\n" "\n" "1\n" "2\n" "3\n" "4\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "Stretch to fill screen:\n" "\n" "\n" "1\n" "2\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "Special video scaler:\n" "\n" "\n" "2\n" "3\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "OpenGL pixel shader:\n" "\n" "\n" "3\n" "4\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "4\n" "8\n" "48\n" "\n" "\n" "True\n" "False\n" "False\n" "0\n" "none\n" "\n" "\n" "True\n" "False\n" "4\n" "12\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "Force interlaced video to be treated as progressive\n" "True\n" "True\n" "False\n" "When disabled, the default, the \"video.deinterlacer\" setting is effectively ignored with respect to what appears on the screen. When enabled, it may be prudent to disable the scanlines effect controlled by the *.goat.slen setting, or else the scanline effect may look objectionable.\n" "True\n" "\n" "\n" "True\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "Enable scanlines effect\n" "True\n" "True\n" "False\n" "True\n" "True\n" "\n" "\n" "True\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "18\n" "\n" "\n" "True\n" "False\n" "Mask pattern:\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "150\n" "True\n" "False\n" "Mask pattern.\n" "\n" "goatron - Goatron\n" "Brightest.\n" "\n" "borg - Borg\n" "Darkest.\n" "\n" "slenderman - Slenderman\n" "Spookiest?\n" "goat_pat\n" "0\n" "\n" "\n" "\n" "0\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "6\n" "2\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "3\n" "2\n" "16\n" "\n" "\n" "True\n" "False\n" "0\n" "Constant RGB horizontal divergence:\n" "\n" "\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "\n" "False\n" "False\n" "True\n" "True\n" "adjgoathdiv\n" "2\n" "\n" "\n" "1\n" "2\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "0\n" "Constant RGB vertical divergence:\n" "\n" "\n" "1\n" "2\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "0\n" "Transparency of otherwise-opaque mask areas:\n" "\n" "\n" "2\n" "3\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "\n" "False\n" "False\n" "True\n" "True\n" "adjgoatvdiv\n" "2\n" "\n" "\n" "1\n" "2\n" "1\n" "2\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "\n" "False\n" "False\n" "True\n" "True\n" "adjgoattp\n" "2\n" "\n" "\n" "1\n" "2\n" "2\n" "3\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "3\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "<b>Goat shader settings</b>\n" "True\n" "\n" "\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "<b>Filters</b>\n" "True\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "0\n" "none\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "Opacity:\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "300\n" "True\n" "True\n" "True\n" "Enable scanlines with specified opacity.\n" "\n" "Opacity is specified in %; IE a value of \"100\" will give entirely black scanlines.\n" "\n" "Negative values are the same as positive values for non-interlaced video, but for interlaced video will cause the scanlines to be overlaid over the previous field's lines(only if the video.deinterlacer setting is set to \"weave\", the default).\n" "adscanlines\n" "0\n" "0\n" "left\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "<b>Scanlines</b>\n" "True\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "0\n" "none\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "Enable video temporal blur\n" "True\n" "True\n" "False\n" "True\n" "\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "16\n" "\n" "\n" "True\n" "False\n" "False\n" "\n" "\n" "Accumulate color data rather than discarding it\n" "True\n" "True\n" "False\n" "True\n" "\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "False\n" "8\n" "\n" "\n" "True\n" "False\n" "Blur amount in accumulation mode:\n" "\n" "\n" "False\n" "True\n" "24\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "True\n" "In percentage of accumulation buffer to mix with the current frame.\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "adjustblur\n" "True\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "<b>Blur</b>\n" "True\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "2\n" "\n" "\n" "\n" "\n" "1\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "Filters \n" "\n" "\n" "1\n" "False\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "8\n" "16\n" "\n" "\n" "True\n" "False\n" "0\n" "none\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "3\n" "3\n" "16\n" "8\n" "\n" "\n" "True\n" "False\n" "X\n" "\n" "\n" "1\n" "2\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "Y\n" "\n" "\n" "2\n" "3\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "Scaling factor:\n" "\n" "\n" "2\n" "3\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "True\n" "A value of '0' will cause the desktop horizontal resolution to be used.\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "adjxres\n" "True\n" "\n" "\n" "1\n" "2\n" "1\n" "2\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "True\n" "For this settings to have any effect, the 'stretch' setting must be set to '0'.\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "adjxscalefs\n" "2\n" "True\n" "\n" "\n" "1\n" "2\n" "2\n" "3\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "True\n" "A value of '0' will cause the desktop vertical resolution to be used.\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "adyres\n" "True\n" "\n" "\n" "2\n" "3\n" "1\n" "2\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "True\n" "For this settings to have any effect, the 'stretch' setting must be set to '0'.\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "adjyscalefs\n" "2\n" "True\n" "\n" "\n" "2\n" "3\n" "2\n" "3\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "Resolution:\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "1\n" "2\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "<b>Fullscreen</b>\n" "True\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "0\n" "none\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "2\n" "3\n" "16\n" "8\n" "\n" "\n" "True\n" "False\n" "X\n" "\n" "\n" "1\n" "2\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "Y\n" "\n" "\n" "2\n" "3\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "adjxscale\n" "2\n" "True\n" "\n" "\n" "1\n" "2\n" "1\n" "2\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "adjyscale\n" "2\n" "True\n" "\n" "\n" "2\n" "3\n" "1\n" "2\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "Scaling factor:\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "1\n" "2\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "<b>Windowed</b>\n" "True\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "2\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "Resolution \n" "\n" "\n" "2\n" "False\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "8\n" "18\n" "\n" "\n" "True\n" "False\n" "0\n" "none\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "Controller Setup\n" "300\n" "True\n" "True\n" "True\n" "image21\n" "\n" "\n" "\n" "False\n" "False\n" "0\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "<b>Input</b>\n" "True\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "3\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "Input \n" "\n" "\n" "3\n" "False\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "8\n" "18\n" "\n" "\n" "True\n" "False\n" "0\n" "none\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "Enable NTSC color generation and blitter\n" "True\n" "True\n" "False\n" "True\n" "NOTE: If your refresh rate isn't very close to 60.1Hz(+-0.1), you will need to enable the 'Merge fields to ...' setting to avoid excessive flickering.\n" "True\n" "\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "8\n" "16\n" "\n" "\n" "True\n" "False\n" "False\n" "\n" "\n" "Merge fields to partially work around !=60.1Hz refresh rates\n" "True\n" "True\n" "False\n" "True\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "18\n" "\n" "\n" "True\n" "False\n" "Video quality/type preset:\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "150\n" "True\n" "False\n" "ntscstore\n" "0\n" "\n" "\n" "\n" "\n" "0\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "4\n" "1\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "8\n" "16\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "True\n" "False\n" "5\n" "2\n" "16\n" "\n" "\n" "True\n" "False\n" "Brightness:\n" "\n" "\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "300\n" "True\n" "True\n" "adjntscbright\n" "2\n" "2\n" "left\n" "\n" "\n" "1\n" "2\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "300\n" "True\n" "True\n" "adjntsccon\n" "2\n" "2\n" "left\n" "\n" "\n" "1\n" "2\n" "1\n" "2\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "300\n" "True\n" "True\n" "adjntschue\n" "2\n" "2\n" "left\n" "\n" "\n" "1\n" "2\n" "2\n" "3\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "300\n" "True\n" "True\n" "adjntscsat\n" "2\n" "2\n" "left\n" "\n" "\n" "1\n" "2\n" "3\n" "4\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "300\n" "True\n" "True\n" "adjntscsharp\n" "2\n" "2\n" "left\n" "\n" "\n" "1\n" "2\n" "4\n" "5\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "Contrast:\n" "\n" "\n" "1\n" "2\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "Hue:\n" "\n" "\n" "2\n" "3\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "Saturation:\n" "\n" "\n" "3\n" "4\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "Sharpness:\n" "\n" "\n" "4\n" "5\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "Enable NTSC custom decoder matrix\n" "True\n" "True\n" "False\n" "True\n" "\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "8\n" "32\n" "\n" "\n" "True\n" "False\n" "False\n" "6\n" "2\n" "16\n" "\n" "\n" "True\n" "True\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "adjntscmatrix0\n" "3\n" "True\n" "\n" "\n" "1\n" "2\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "adjntscmatrix1\n" "3\n" "True\n" "\n" "\n" "1\n" "2\n" "1\n" "2\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "adjntscmatrix2\n" "3\n" "True\n" "\n" "\n" "1\n" "2\n" "2\n" "3\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "adjntscmatrix3\n" "3\n" "True\n" "\n" "\n" "1\n" "2\n" "3\n" "4\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "adjntscmatrix4\n" "3\n" "True\n" "\n" "\n" "1\n" "2\n" "4\n" "5\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "adjntscmatrix5\n" "3\n" "True\n" "\n" "\n" "1\n" "2\n" "5\n" "6\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "0\n" "Element 0 (red, value * V):\n" "\n" "\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "0\n" "Element 1 (red, value * U):\n" "\n" "\n" "1\n" "2\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "0\n" "Element 2 (green, value * V):\n" "\n" "\n" "2\n" "3\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "0\n" "Element 3 (green, value * U):\n" "\n" "\n" "3\n" "4\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "0\n" "Element 4 (blue, value * V):\n" "\n" "\n" "4\n" "5\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "0\n" "Element 5 (blue, value * U):\n" "\n" "\n" "5\n" "6\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "9\n" "1\n" "\n" "\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "9\n" "2\n" "\n" "\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "<b>NTSC Blitter</b>\n" "True\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "4\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "NTSC \n" "\n" "\n" "4\n" "False\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "2\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "Systems \n" "\n" "\n" "2\n" "False\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "\n" "\n" "True\n" "True\n" "automatic\n" "automatic\n" "\n" "\n" "True\n" "True\n" "False\n" "word\n" "False\n" "textbufferfe\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "Front End \n" "\n" "\n" "False\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "automatic\n" "automatic\n" "\n" "\n" "True\n" "True\n" "False\n" "word\n" "False\n" "textbufferout\n" "\n" "\n" "\n" "\n" "1\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "Emulator \n" "\n" "\n" "1\n" "False\n" "\n" "\n" "\n" "\n" "3\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "Logs \n" "\n" "\n" "3\n" "False\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "_Launch\n" "True\n" "True\n" "False\n" "image2\n" "True\n" "\n" "\n" "\n" "False\n" "True\n" "2\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "180\n" "True\n" "False\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "True\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "90\n" "True\n" "False\n" "\n" "\n" "False\n" "True\n" "2\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "3\n" "\n" "\n" "\n" "\n" "\n" "\n" ; #endif /* MEDNAFFE_GLADE_H */ mednaffe-0.8.6/src/prefs.c000066400000000000000000000243031313731622300153470ustar00rootroot00000000000000/* * prefs.c * * Copyright 2013-2015 AmatCoder * * This file is part of Mednaffe. * * Mednaffe is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * Mednaffe is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with Mednaffe; if not, see . * */ #include "common.h" void save_combo(GKeyFile *key_file, guidata *gui) { GtkTreeModel *combostore; GtkTreeIter iter; gint a_item, n_items; gchar **array; gboolean valid; gint i=0; combostore = gtk_combo_box_get_model(GTK_COMBO_BOX(gui->cbpath)); a_item = gtk_combo_box_get_active(GTK_COMBO_BOX(gui->cbpath)); n_items = gtk_tree_model_iter_n_children(combostore, NULL); /*const gchar* array[n_items];*/ array = g_new(gchar *, n_items+1); array[n_items]=NULL; valid = gtk_tree_model_get_iter_first (combostore, &iter); while (valid) { gtk_tree_model_get (combostore, &iter, 0, &array[i], -1); i++; valid = gtk_tree_model_iter_next (combostore, &iter); } g_key_file_set_string_list(key_file, "GUI", "Folders", (const gchar **)array, n_items); g_key_file_set_integer(key_file, "GUI", "Last Folder", a_item); g_strfreev(array); } void save_systems_showed(GKeyFile *key_file, guidata *gui) { GtkTreeModel *model; GtkTreeIter iter; gboolean blist[15]; gboolean valid; gint i=0; model = GTK_TREE_MODEL(gtk_builder_get_object(gui->builder, "liststore3")); valid = gtk_tree_model_get_iter_first (model, &iter); while (valid) { gtk_tree_model_get(model, &iter, 3, &blist[i], -1); i++; valid = gtk_tree_model_iter_next (model, &iter); } g_key_file_set_boolean_list(key_file, "GUI", "Show Systems", blist, 15); } void save_emu_options(GKeyFile *key_file, guidata *gui) { GList *list = NULL; GList *iterator = NULL; list = g_hash_table_get_keys(gui->clist); for (iterator = list; iterator; iterator = iterator->next) { gchar *value; iterator->data = ((gchar *)iterator->data)+1; value = g_strdup(g_hash_table_lookup(gui->hash, iterator->data)); iterator->data = ((gchar *)iterator->data)-1; g_key_file_set_string(key_file, "Emulator", iterator->data, value); g_free(value); } g_list_free(list); } void save_prefs(guidata *gui) { gchar *conf_file; gchar *conf; FILE *file; GKeyFile *key_file; GtkWidget *option; #ifdef G_OS_WIN32 conf_file=g_strconcat(g_win32_get_package_installation_directory_of_module(NULL), "\\mednaffe.ini", NULL); #else conf_file=g_strconcat(g_get_user_config_dir(),"/mednaffe.conf", NULL); #endif key_file=g_key_file_new(); /*g_key_file_set_list_separator(key_file, 0x0D);*/ g_key_file_set_comment(key_file, NULL, NULL, " Version 0.8.6\n \ Do not edit this file!", NULL); g_key_file_set_string(key_file, "GUI", "Bin", gui->binpath); save_combo(key_file, gui); option = GTK_WIDGET(gtk_builder_get_object(gui->settings,"showtooltips")); g_key_file_set_boolean(key_file, "GUI", "Tooltips", gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(option))); option = GTK_WIDGET(gtk_builder_get_object(gui->settings,"remembersize")); g_key_file_set_boolean(key_file, "GUI", "RememberSize", gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(option))); if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(option))) { gint width; gint height; gtk_window_get_size(GTK_WINDOW(gui->topwindow), &width, &height); if (width && height) { g_key_file_set_integer(key_file, "GUI", "Width", width); g_key_file_set_integer(key_file, "GUI", "Height", height); } } g_key_file_set_integer(key_file, "GUI", "Filter", gui->filter); g_key_file_set_integer(key_file, "GUI", "View Mode", gui->listmode); g_key_file_set_integer(key_file, "GUI", "ActionLaunch", gui->state); if (gtk_tree_view_column_get_sort_order(gui->column) == GTK_SORT_DESCENDING) g_key_file_set_boolean(key_file, "GUI", "Reverse Sort", TRUE); save_systems_showed(key_file, gui); save_emu_options(key_file, gui); conf = g_key_file_to_data(key_file, NULL, NULL); file=fopen(conf_file, "w"); fputs(conf, file); fclose(file); g_key_file_free(key_file); g_free(conf); g_free(conf_file); } void load_combo(GKeyFile *key_file, guidata *gui) { GtkTreeModel *combostore; GtkTreeIter iter; gsize n_items = 0; gint a_item; gchar **folders = NULL; combostore = gtk_combo_box_get_model(GTK_COMBO_BOX(gui->cbpath)); folders = g_key_file_get_string_list(key_file, "GUI", "Folders", &n_items, NULL); a_item = g_key_file_get_integer(key_file, "GUI", "Last Folder", NULL); if (folders!=NULL) { while (n_items>0) { n_items--; gtk_list_store_prepend(GTK_LIST_STORE(combostore), &iter); gtk_list_store_set(GTK_LIST_STORE(combostore), &iter, 0, folders[n_items], -1); } } gtk_combo_box_set_active(GTK_COMBO_BOX(gui->cbpath), a_item); g_strfreev(folders); } void load_systems_showed(GKeyFile *key_file, guidata *gui) { GtkTreeIter iter, iter2; gboolean *showed; gsize length = 0; gint n_items = 0; showed = g_key_file_get_boolean_list(key_file, "GUI", "Show Systems", &length, NULL); if (showed) { GtkListStore *store; GtkTreeModel *model; store = GTK_LIST_STORE(gtk_builder_get_object(gui->builder, "liststore3")); model = gtk_tree_view_get_model(GTK_TREE_VIEW(gtk_builder_get_object( gui->settings, "se_treeview"))); gtk_tree_model_get_iter_first(GTK_TREE_MODEL(store), &iter); gtk_tree_model_get_iter_first(model, &iter2); while (n_items<15) { gtk_list_store_set(store, &iter, 3, showed[n_items], -1); gtk_list_store_set(GTK_LIST_STORE(model), &iter2, 1, showed[n_items], -1); gtk_tree_model_iter_next(GTK_TREE_MODEL(store), &iter); gtk_tree_model_iter_next(model, &iter2); n_items++; } g_free(showed); } } void load_emu_options(GKeyFile *key_file, guidata *gui) { gchar **ffekeys; gsize length = 0; ffekeys = g_key_file_get_keys(key_file, "Emulator", &length, NULL); if (length>0) { gint i=0; while (ffekeys[i]) { gchar *ffecopy; ffecopy = g_strdup((ffekeys[i])+1); g_hash_table_insert(gui->hash, ffecopy, g_key_file_get_string(key_file, "Emulator", ffekeys[i], NULL)); g_hash_table_replace(gui->clist, ffekeys[i], ffekeys[i]); i++; } } g_free(ffekeys); g_key_file_free(key_file); } GKeyFile* load_prefs(guidata *gui) { gchar *conf_file; GKeyFile *key_file; gboolean value; gint state; GError *err = NULL; #ifdef G_OS_WIN32 conf_file=g_strconcat(g_win32_get_package_installation_directory_of_module(NULL), "\\mednaffe.ini", NULL); #else conf_file=g_strconcat(g_get_user_config_dir(), "/mednaffe.conf", NULL); #endif key_file = g_key_file_new(); /*g_key_file_set_list_separator(key_file, 0x0D);*/ if (g_key_file_load_from_file(key_file, conf_file, G_KEY_FILE_NONE, NULL)) { gui->binpath = g_key_file_get_string(key_file, "GUI", "Bin", NULL); load_combo(key_file, gui); value = g_key_file_get_boolean(key_file, "GUI", "Reverse Sort", &err); if (err==NULL) { if (value) gtk_tree_view_column_clicked(gui->column); } else { g_error_free (err); err=NULL; } GtkWidget *option; option = GTK_WIDGET(gtk_builder_get_object(gui->settings, "showtooltips")); value = g_key_file_get_boolean(key_file, "GUI", "Tooltips", &err); if (err==NULL) gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(option),value); else { g_error_free (err); err=NULL; } option = GTK_WIDGET(gtk_builder_get_object(gui->settings, "remembersize")); value = g_key_file_get_boolean(key_file, "GUI", "RememberSize", &err); if (err==NULL) gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(option),value); else { g_error_free (err); err=NULL; } if (value) { gint width; gint height; width = g_key_file_get_integer(key_file, "GUI", "Width", NULL); height = g_key_file_get_integer(key_file, "GUI", "Height", NULL); if (width && height) gtk_window_resize(GTK_WINDOW(gui->topwindow), width, height); } state=g_key_file_get_integer(key_file, "GUI", "Filter", NULL); switch (state) { case 1: option = GTK_WIDGET(gtk_builder_get_object(gui->builder, "radiomenuzip")); gtk_menu_item_activate (GTK_MENU_ITEM(option)); break; case 2: option = GTK_WIDGET(gtk_builder_get_object(gui->builder, "radiomenucue")); gtk_menu_item_activate (GTK_MENU_ITEM(option)); break; default: break; } state=g_key_file_get_integer(key_file, "GUI", "ActionLaunch", NULL); switch (state) { case 2: option = GTK_WIDGET(gtk_builder_get_object(gui->settings, "rbhide")); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(option), TRUE); break; case 1: option = GTK_WIDGET(gtk_builder_get_object(gui->settings, "rbminimize")); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(option), TRUE); break; default: break; } state=g_key_file_get_integer(key_file, "GUI", "View Mode", NULL); switch (state) { case 1: option = GTK_WIDGET(gtk_builder_get_object(gui->builder, "recursivemenu")); gtk_menu_item_activate (GTK_MENU_ITEM(option)); break; default: break; } load_systems_showed(key_file, gui); } else { g_key_file_free(key_file); key_file = NULL; } g_free(conf_file); return key_file; } mednaffe-0.8.6/src/prefs.h000066400000000000000000000016241313731622300153550ustar00rootroot00000000000000/* * prefs.h * * Copyright 2013-2015 AmatCoder * * This file is part of Mednaffe. * * Mednaffe is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * Mednaffe is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with Mednaffe; if not, see . * */ #ifndef PREFS_H #define PREFS_H void save_prefs(guidata *gui); GKeyFile* load_prefs(guidata *gui); void load_emu_options(GKeyFile *key_file, guidata *gui); #endif /* PREFS_H */ mednaffe-0.8.6/src/resource.c000066400000000000000000002075471313731622300160740ustar00rootroot00000000000000/* * resource.c * * Copyright 2013-2015 AmatCoder * * This file is part of Mednaffe. * * Mednaffe is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * Mednaffe is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with Mednaffe; if not, see . * */ #include #if defined (__ELF__) && ( __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 6)) # define SECTION __attribute__ ((section (".gresource.mednaffe"), aligned (8))) #else # define SECTION #endif static const SECTION union { const guint8 data[10128]; const double alignment; void * const ptr;} mednaffe_resource_data = { { 0x47, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00, 0xac, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x28, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0xd4, 0xb5, 0x02, 0x00, 0xff, 0xff, 0xff, 0xff, 0xac, 0x00, 0x00, 0x00, 0x01, 0x00, 0x4c, 0x00, 0xb0, 0x00, 0x00, 0x00, 0xb4, 0x00, 0x00, 0x00, 0x4b, 0x50, 0x90, 0x0b, 0x00, 0x00, 0x00, 0x00, 0xb4, 0x00, 0x00, 0x00, 0x04, 0x00, 0x4c, 0x00, 0xb8, 0x00, 0x00, 0x00, 0xbc, 0x00, 0x00, 0x00, 0x0e, 0xff, 0xba, 0xc0, 0x03, 0x00, 0x00, 0x00, 0xbc, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x76, 0x00, 0xc8, 0x00, 0x00, 0x00, 0x7b, 0x27, 0x00, 0x00, 0xa5, 0xfd, 0xf7, 0x44, 0x04, 0x00, 0x00, 0x00, 0x7b, 0x27, 0x00, 0x00, 0x09, 0x00, 0x4c, 0x00, 0x84, 0x27, 0x00, 0x00, 0x88, 0x27, 0x00, 0x00, 0x40, 0xf4, 0xbf, 0x00, 0x01, 0x00, 0x00, 0x00, 0x88, 0x27, 0x00, 0x00, 0x04, 0x00, 0x4c, 0x00, 0x8c, 0x27, 0x00, 0x00, 0x90, 0x27, 0x00, 0x00, 0x2f, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x6f, 0x72, 0x67, 0x2f, 0x04, 0x00, 0x00, 0x00, 0x6d, 0x65, 0x64, 0x6e, 0x61, 0x66, 0x66, 0x65, 0x2e, 0x70, 0x6e, 0x67, 0xa3, 0x26, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, 0x49, 0x48, 0x44, 0x52, 0x00, 0x00, 0x00, 0x30, 0x00, 0x00, 0x00, 0x30, 0x10, 0x06, 0x00, 0x00, 0x00, 0x07, 0x92, 0x25, 0xc4, 0x00, 0x00, 0x00, 0x04, 0x67, 0x41, 0x4d, 0x41, 0x00, 0x00, 0xb1, 0x8f, 0x0b, 0xfc, 0x61, 0x05, 0x00, 0x00, 0x00, 0x01, 0x73, 0x52, 0x47, 0x42, 0x00, 0xae, 0xce, 0x1c, 0xe9, 0x00, 0x00, 0x00, 0x20, 0x63, 0x48, 0x52, 0x4d, 0x00, 0x00, 0x7a, 0x26, 0x00, 0x00, 0x80, 0x84, 0x00, 0x00, 0xfa, 0x00, 0x00, 0x00, 0x80, 0xe8, 0x00, 0x00, 0x75, 0x30, 0x00, 0x00, 0xea, 0x60, 0x00, 0x00, 0x3a, 0x98, 0x00, 0x00, 0x17, 0x70, 0x9c, 0xba, 0x51, 0x3c, 0x00, 0x00, 0x00, 0x06, 0x62, 0x4b, 0x47, 0x44, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf9, 0x43, 0xbb, 0x7f, 0x00, 0x00, 0x00, 0x09, 0x70, 0x48, 0x59, 0x73, 0x00, 0x00, 0x00, 0x48, 0x00, 0x00, 0x00, 0x48, 0x00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 0x3a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x00, 0x32, 0x30, 0x31, 0x33, 0x2d, 0x30, 0x38, 0x2d, 0x32, 0x37, 0x54, 0x31, 0x36, 0x3a, 0x33, 0x33, 0x3a, 0x33, 0x39, 0x2b, 0x30, 0x30, 0x3a, 0x30, 0x30, 0x37, 0x4d, 0x26, 0x21, 0x00, 0x00, 0x00, 0x25, 0x74, 0x45, 0x58, 0x74, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x00, 0x32, 0x30, 0x31, 0x33, 0x2d, 0x30, 0x38, 0x2d, 0x32, 0x37, 0x54, 0x31, 0x36, 0x3a, 0x33, 0x33, 0x3a, 0x33, 0x39, 0x2b, 0x30, 0x30, 0x3a, 0x30, 0x30, 0x46, 0x10, 0x9e, 0x9d, 0x00, 0x00, 0x00, 0x41, 0x74, 0x45, 0x58, 0x74, 0x73, 0x76, 0x67, 0x3a, 0x62, 0x61, 0x73, 0x65, 0x2d, 0x75, 0x72, 0x69, 0x00, 0x66, 0x69, 0x6c, 0x65, 0x3a, 0x2f, 0x2f, 0x2f, 0x68, 0x6f, 0x6d, 0x65, 0x2f, 0x74, 0x63, 0x2f, 0x6d, 0x65, 0x64, 0x6e, 0x61, 0x66, 0x66, 0x65, 0x2f, 0x69, 0x63, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x63, 0x61, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x2f, 0x6d, 0x65, 0x64, 0x6e, 0x61, 0x66, 0x66, 0x65, 0x2e, 0x73, 0x76, 0x67, 0xb6, 0x0f, 0x07, 0xe3, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 0x4e, 0x44, 0xae, 0x42, 0x60, 0x82, 0x00, 0x00, 0x28, 0x75, 0x75, 0x61, 0x79, 0x29, 0x6d, 0x65, 0x64, 0x6e, 0x61, 0x66, 0x66, 0x65, 0x2f, 0x02, 0x00, 0x00, 0x00, 0x67, 0x74, 0x6b, 0x2f, 0x03, 0x00, 0x00, 0x00 } }; static GStaticResource static_resource = { mednaffe_resource_data.data, sizeof (mednaffe_resource_data.data), NULL, NULL, NULL }; extern GResource *mednaffe_get_resource (void); GResource *mednaffe_get_resource (void) { return g_static_resource_get_resource (&static_resource); } /* If G_HAS_CONSTRUCTORS is true then the compiler support *both* constructors and destructors, in a sane way, including e.g. on library unload. If not you're on your own. Some compilers need #pragma to handle this, which does not work with macros, so the way you need to use this is (for constructors): #ifdef G_DEFINE_CONSTRUCTOR_NEEDS_PRAGMA #pragma G_DEFINE_CONSTRUCTOR_PRAGMA_ARGS(my_constructor) #endif G_DEFINE_CONSTRUCTOR(my_constructor) static void my_constructor(void) { ... } */ #ifndef __GTK_DOC_IGNORE__ #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7) #define G_HAS_CONSTRUCTORS 1 #define G_DEFINE_CONSTRUCTOR(_func) static void __attribute__((constructor)) _func (void); #define G_DEFINE_DESTRUCTOR(_func) static void __attribute__((destructor)) _func (void); #elif defined (_MSC_VER) && (_MSC_VER >= 1500) /* Visual studio 2008 and later has _Pragma */ #define G_HAS_CONSTRUCTORS 1 #define G_DEFINE_CONSTRUCTOR(_func) \ static void _func(void); \ static int _func ## _wrapper(void) { _func(); return 0; } \ __pragma(section(".CRT$XCU",read)) \ __declspec(allocate(".CRT$XCU")) static int (* _array ## _func)(void) = _func ## _wrapper; #define G_DEFINE_DESTRUCTOR(_func) \ static void _func(void); \ static int _func ## _constructor(void) { atexit (_func); return 0; } \ __pragma(section(".CRT$XCU",read)) \ __declspec(allocate(".CRT$XCU")) static int (* _array ## _func)(void) = _func ## _constructor; #elif defined (_MSC_VER) #define G_HAS_CONSTRUCTORS 1 /* Pre Visual studio 2008 must use #pragma section */ #define G_DEFINE_CONSTRUCTOR_NEEDS_PRAGMA 1 #define G_DEFINE_DESTRUCTOR_NEEDS_PRAGMA 1 #define G_DEFINE_CONSTRUCTOR_PRAGMA_ARGS(_func) \ section(".CRT$XCU",read) #define G_DEFINE_CONSTRUCTOR(_func) \ static void _func(void); \ static int _func ## _wrapper(void) { _func(); return 0; } \ __declspec(allocate(".CRT$XCU")) static int (*p)(void) = _func ## _wrapper; #define G_DEFINE_DESTRUCTOR_PRAGMA_ARGS(_func) \ section(".CRT$XCU",read) #define G_DEFINE_DESTRUCTOR(_func) \ static void _func(void); \ static int _func ## _constructor(void) { atexit (_func); return 0; } \ __declspec(allocate(".CRT$XCU")) static int (* _array ## _func)(void) = _func ## _constructor; #elif defined(__SUNPRO_C) /* This is not tested, but i believe it should work, based on: * http://opensource.apple.com/source/OpenSSL098/OpenSSL098-35/src/fips/fips_premain.c */ #define G_HAS_CONSTRUCTORS 1 #define G_DEFINE_CONSTRUCTOR_NEEDS_PRAGMA 1 #define G_DEFINE_DESTRUCTOR_NEEDS_PRAGMA 1 #define G_DEFINE_CONSTRUCTOR_PRAGMA_ARGS(_func) \ init(_func) #define G_DEFINE_CONSTRUCTOR(_func) \ static void _func(void); #define G_DEFINE_DESTRUCTOR_PRAGMA_ARGS(_func) \ fini(_func) #define G_DEFINE_DESTRUCTOR(_func) \ static void _func(void); #else /* constructors not supported for this compiler */ #endif #endif /* __GTK_DOC_IGNORE__ */ #ifdef G_HAS_CONSTRUCTORS #ifdef G_DEFINE_CONSTRUCTOR_NEEDS_PRAGMA #pragma G_DEFINE_CONSTRUCTOR_PRAGMA_ARGS(resource_constructor) #endif G_DEFINE_CONSTRUCTOR(resource_constructor) #ifdef G_DEFINE_DESTRUCTOR_NEEDS_PRAGMA #pragma G_DEFINE_DESTRUCTOR_PRAGMA_ARGS(resource_destructor) #endif G_DEFINE_DESTRUCTOR(resource_destructor) #else #warning "Constructor not supported on this compiler, linking in resources will not work" #endif static void resource_constructor (void) { g_static_resource_init (&static_resource); } static void resource_destructor (void) { g_static_resource_fini (&static_resource); } mednaffe-0.8.6/src/resource.h000066400000000000000000000015541313731622300160670ustar00rootroot00000000000000/* * resource.h * * Copyright 2013-2015 AmatCoder * * This file is part of Mednaffe. * * Mednaffe is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * Mednaffe is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with Mednaffe; if not, see . * */ #ifndef __RESOURCE_mednaffe_H__ #define __RESOURCE_mednaffe_H__ #include extern GResource *mednaffe_get_resource (void); #endif mednaffe-0.8.6/src/settings_glade.h000066400000000000000000000334221313731622300172330ustar00rootroot00000000000000/* * settings_glade.h * * Copyright 2013-2015 AmatCoder * * This file is part of Mednaffe. * * Mednaffe is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * Mednaffe is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with Mednaffe; if not, see . * */ #ifndef SETTINGS_GLADE_H #define SETTINGS_GLADE_H static const char *settings_glade = "\n" "\n" "\n" "\n" "\n" "False\n" "5\n" "Preferences\n" "False\n" "True\n" "True\n" "dialog\n" "\n" "\n" "\n" "True\n" "False\n" "2\n" "\n" "\n" "True\n" "False\n" "end\n" "\n" "\n" "gtk-close\n" "True\n" "True\n" "True\n" "True\n" "\n" "\n" "\n" "False\n" "False\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "\n" "\n" "True\n" "False\n" "4\n" "0\n" "none\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "Show tooltips\n" "True\n" "True\n" "False\n" "True\n" "Tooltips are informative, but sometimes they can be annoying.\n" "You can disable them here.\n" "True\n" "True\n" "\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "Remember window size\n" "True\n" "True\n" "False\n" "True\n" "True\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "True\n" "False\n" "0\n" "Action when launch:\n" "\n" "\n" "False\n" "True\n" "3\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "Do nothing\n" "True\n" "True\n" "False\n" "True\n" "True\n" "\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "Minimize\n" "True\n" "True\n" "False\n" "True\n" "rbnothing\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "Hide\n" "True\n" "True\n" "False\n" "True\n" "rbminimize\n" "\n" "\n" "\n" "False\n" "True\n" "2\n" "\n" "\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "2\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "12\n" "2\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "<b>Options</b>\n" "True\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "General \n" "\n" "\n" "False\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "4\n" "0\n" "none\n" "\n" "\n" "True\n" "False\n" "12\n" "12\n" "\n" "\n" "True\n" "True\n" "se_liststore\n" "False\n" "False\n" "\n" "\n" "Visible \n" "\n" "\n" "\n" "\n" "Systems \n" "\n" "\n" "\n" "0\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "<b>Show In List</b>\n" "True\n" "\n" "\n" "\n" "\n" "1\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "Systems \n" "\n" "\n" "1\n" "False\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "\n" "button1\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "Atary Lynx\n" "True\n" "0\n" "\n" "\n" "GameBoy (Color)\n" "True\n" "1\n" "\n" "\n" "GameBoy Advance\n" "True\n" "2\n" "\n" "\n" "Neo Geo Pocket (Color)\n" "True\n" "3\n" "\n" "\n" "Nintendo Entertainment System/Famicom\n" "True\n" "4\n" "\n" "\n" "PC Engine (CD)/TurboGrafx 16 (CD)/SuperGrafx\n" "True\n" "5\n" "\n" "\n" "PC-FX\n" "True\n" "6\n" "\n" "\n" "Sega Game Gear\n" "True\n" "7\n" "\n" "\n" "Sega Genesis/MegaDrive\n" "True\n" "8\n" "\n" "\n" "Sega Master System\n" "True\n" "9\n" "\n" "\n" "Sega Saturn\n" "True\n" "10\n" "\n" "\n" "Sony PlayStation\n" "True\n" "11\n" "\n" "\n" "Super Nintendo Entertainment System/Super Famicom\n" "True\n" "12\n" "\n" "\n" "Virtual Boy\n" "True\n" "13\n" "\n" "\n" "WonderSwan (Color)\n" "True\n" "14\n" "\n" "\n" "\n" "\n" ; #endif /* SETTINGS_GLADE_H */ mednaffe-0.8.6/src/system_glade.h000066400000000000000000010677311313731622300167320ustar00rootroot00000000000000/* * system_glade.h * * Copyright 2013-2017 AmatCoder * * This file is part of Mednaffe. * * Mednaffe is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * Mednaffe is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with Mednaffe; if not, see . * */ #ifndef SYSTEM_GLADE_H #define SYSTEM_GLADE_H static const char *system_glade = "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "8\n" "18\n" "\n" "\n" "True\n" "False\n" "0\n" "none\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "Force monophonic sound output\n" "True\n" "True\n" "False\n" "True\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "<b>Sound</b>\n" "True\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "0\n" "none\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "True\n" "False\n" "0\n" "Path to optional GBA BIOS ROM image:\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "400\n" "True\n" "True\n" "False\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "\n" "\n" "False\n" "True\n" "12\n" "0\n" "\n" "\n" "\n" "\n" "gtk-open\n" "True\n" "True\n" "True\n" "True\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "<b>Bios</b>\n" "True\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "8\n" "18\n" "\n" "\n" "True\n" "False\n" "0\n" "none\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "Force monophonic sound output\n" "True\n" "True\n" "False\n" "True\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "<b>Sound</b>\n" "True\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "8\n" "18\n" "\n" "\n" "True\n" "False\n" "0\n" "none\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "Enable sound output lowpass filter\n" "True\n" "True\n" "False\n" "True\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "<b>Sound</b>\n" "True\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "8\n" "18\n" "\n" "\n" "True\n" "False\n" "0\n" "none\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "Correct the aspect ratio\n" "True\n" "True\n" "False\n" "True\n" "Note that regardless of this setting's value, \"512\" and \"256\" width modes will be scaled to the same dimensions for display.\n" "True\n" "\n" "\n" "True\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "Enable horizontal blend(blur) filter\n" "True\n" "True\n" "False\n" "Intended for use in combination with the \"goat\" OpenGL shader, or with bilinear interpolation or linear interpolation on the X axis enabled.\n" "True\n" "\n" "\n" "True\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "0.47999998927116394\n" "<b>Video</b>\n" "True\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "0\n" "none\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "Force monophonic sound output\n" "True\n" "True\n" "False\n" "True\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "0.47999998927116394\n" "<b>Sound</b>\n" "True\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "-2\n" "3\n" "1\n" "1\n" "\n" "\n" "9.9999999999999995e-07\n" "0.01\n" "4.0000000000000003e-05\n" "9.9999999999999995e-07\n" "1.0000000000000001e-05\n" "\n" "\n" "239\n" "8\n" "1\n" "1\n" "\n" "\n" "239\n" "231\n" "1\n" "1\n" "\n" "\n" "239\n" "1\n" "1\n" "\n" "\n" "287\n" "287\n" "1\n" "10\n" "\n" "\n" "True\n" "False\n" "8\n" "18\n" "\n" "\n" "True\n" "False\n" "0\n" "none\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "Enable PAL (50Hz) NES emulation\n" "True\n" "True\n" "False\n" "True\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "Scan filename for (U),(J),(E),etc. strings to en/dis-able PAL emulation\n" "True\n" "True\n" "False\n" "True\n" "WARNING: \n" "This option may break NES network play when enabled IF the players are using ROM images with different filenames.\n" "True\n" "True\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "Disable four-score emulation\n" "True\n" "True\n" "False\n" "True\n" "\n" "\n" "False\n" "True\n" "2\n" "\n" "\n" "\n" "\n" "Enable Game Genie emulation\n" "True\n" "True\n" "False\n" "True\n" "\n" "\n" "False\n" "True\n" "3\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "<b>Emulation</b>\n" "True\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "0\n" "none\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "True\n" "False\n" "6\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "Correct the aspect ratio\n" "True\n" "True\n" "False\n" "True\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "Clip left+right 8 pixel columns\n" "True\n" "True\n" "False\n" "True\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "Remove 8-sprites-per-scanline hardware limit\n" "True\n" "True\n" "False\n" "True\n" "WARNING: \n" "Enabling this option will cause graphical glitches in some games, including \"Solstice\".\n" "True\n" "\n" "\n" "False\n" "True\n" "2\n" "\n" "\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "True\n" "False\n" "4\n" "2\n" "16\n" "\n" "\n" "True\n" "True\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "adjnes6\n" "True\n" "\n" "\n" "1\n" "2\n" "3\n" "4\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "adjnes5\n" "True\n" "\n" "\n" "1\n" "2\n" "2\n" "3\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "adjnes4\n" "True\n" "\n" "\n" "1\n" "2\n" "1\n" "2\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "adjnes3\n" "True\n" "\n" "\n" "1\n" "2\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "0\n" "First displayed scanline in NTSC mode:\n" "\n" "\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "0\n" "Last displayed scanline in NTSC mode:\n" "\n" "\n" "1\n" "2\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "0\n" "First displayed scanline in PAL mode:\n" "\n" "\n" "2\n" "3\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "0\n" "Last displayed scanline in PAL mode:\n" "\n" "\n" "3\n" "4\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "<b>Video</b>\n" "True\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "0\n" "none\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "Enable less-accurate, but better sounding, Namco 106 sound emulation\n" "True\n" "True\n" "False\n" "True\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "Force monophonic sound output\n" "True\n" "True\n" "False\n" "True\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "Sound quality:\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "212\n" "True\n" "True\n" "True\n" "Higher values correspond to better SNR and better preservation of higher frequencies(\"brightness\"), at the cost of increased computational complexity and a negligible(<0.5ms) increase in latency.\n" "adjnes1\n" "0\n" "0\n" "left\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "6\n" "2\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "Output rate tolerance:\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "True\n" "Lower values correspond to better matching of the output rate of the resampler to the actual desired output rate, at the expense of increased RAM usage and poorer CPU cache utilization. \n" "\n" "DO NOT INCREASE THIS VALUE, OR SOUND WILL LIKELY BE OFF-KEY AND THE WRONG TEMPO, AMONG OTHER PROBLEMS.\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "adjnes2\n" "6\n" "True\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "6\n" "3\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "<b>Sound</b>\n" "True\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "2\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "0\n" "none\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "True\n" "False\n" "0\n" "Path to Game Genie ROM image:\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "400\n" "True\n" "True\n" "False\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "\n" "\n" "False\n" "True\n" "12\n" "0\n" "\n" "\n" "\n" "\n" "gtk-open\n" "True\n" "True\n" "True\n" "True\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "<b>Bios</b>\n" "True\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "3\n" "\n" "\n" "\n" "\n" "200\n" "100\n" "1\n" "10\n" "\n" "\n" "200\n" "100\n" "1\n" "10\n" "\n" "\n" "239\n" "4\n" "1\n" "1\n" "\n" "\n" "239\n" "235\n" "1\n" "1\n" "\n" "\n" "200\n" "100\n" "1\n" "10\n" "\n" "\n" "9.9999999999999995e-08\n" "3.4999999999999997e-05\n" "8.9999999999999996e-07\n" "9.9999999999999995e-08\n" "9.9999999999999995e-07\n" "\n" "\n" "5\n" "3\n" "1\n" "1\n" "\n" "\n" "2\n" "10\n" "2\n" "1\n" "1\n" "\n" "\n" "239\n" "4\n" "1\n" "1\n" "\n" "\n" "239\n" "235\n" "1\n" "1\n" "\n" "\n" "9.9999999999999995e-08\n" "3.4999999999999997e-05\n" "8.9999999999999996e-07\n" "9.9999999999999995e-08\n" "9.9999999999999995e-07\n" "\n" "\n" "5\n" "3\n" "1\n" "1\n" "\n" "\n" "10\n" "5\n" "1\n" "1\n" "\n" "\n" "239\n" "239\n" "1\n" "10\n" "\n" "\n" "287\n" "287\n" "1\n" "10\n" "\n" "\n" "239\n" "1\n" "10\n" "\n" "\n" "287\n" "1\n" "10\n" "\n" "\n" "239\n" "239\n" "1\n" "10\n" "\n" "\n" "239\n" "239\n" "1\n" "10\n" "\n" "\n" "239\n" "1\n" "10\n" "\n" "\n" "239\n" "1\n" "10\n" "\n" "\n" "10\n" "4\n" "1\n" "1\n" "\n" "\n" "239\n" "239\n" "1\n" "10\n" "\n" "\n" "255\n" "255\n" "1\n" "10\n" "\n" "\n" "239\n" "1\n" "10\n" "\n" "\n" "255\n" "1\n" "10\n" "\n" "\n" "1\n" "10\n" "2\n" "1\n" "1\n" "\n" "\n" "1024\n" "1\n" "10\n" "\n" "\n" "1\n" "31\n" "23\n" "1\n" "1\n" "\n" "\n" "1\n" "12\n" "6\n" "1\n" "1\n" "\n" "\n" "9999\n" "1989\n" "1\n" "10\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "Up\n" "gamepad.up\n" " \n" " \n" "\n" "\n" "Down\n" "gamepad.down\n" " \n" " \n" "\n" "\n" "Left\n" "gamepad.left\n" " \n" " \n" "\n" "\n" "Right\n" "gamepad.right\n" " \n" " \n" "\n" "\n" "Button A\n" "gamepad.a\n" " \n" " \n" "\n" "\n" "Button B\n" "gamepad.b\n" " \n" " \n" "\n" "\n" "Start\n" "gamepad.start\n" " \n" " \n" "\n" "\n" "Select\n" "gamepad.select\n" " \n" " \n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "Up\n" "gamepad.up\n" " \n" " \n" "\n" "\n" "Down\n" "gamepad.down\n" " \n" " \n" "\n" "\n" "Left\n" "gamepad.left\n" " \n" " \n" "\n" "\n" "Right\n" "gamepad.right\n" " \n" " \n" "\n" "\n" "Button A\n" "gamepad.a\n" " \n" " \n" "\n" "\n" "Button B\n" "gamepad.b\n" " \n" " \n" "\n" "\n" "Start\n" "gamepad.start\n" " \n" " \n" "\n" "\n" "Select\n" "gamepad.select\n" " \n" " \n" "\n" "\n" "Shoulder Left\n" "gamepad.shoulder_l\n" " \n" " \n" "\n" "\n" "Shoulder Right\n" "gamepad.shoulder_r\n" " \n" " \n" "\n" "\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "auto\n" "\n" "\n" "dmg\n" "\n" "\n" "cgb\n" "\n" "\n" "agb\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "8\n" "18\n" "\n" "\n" "True\n" "False\n" "0\n" "none\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "Emulated GB type:\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "150\n" "True\n" "False\n" "auto - Auto\n" "Automatic detection based on headers.\n" "\n" "dmg - DMG\n" "Original GameBoy Monochrome.\n" "\n" "cgb - CGB\n" "GameBoy Color.\n" "\n" "This option is not fully implemented in regards to handling of DMG games.\n" "\n" "agb - AGB\n" "GameBoy Advance.\n" "\n" "This option is not fully implemented in regards to handling of DMG games.\n" "gbstore\n" "0\n" "\n" "\n" "\n" "0\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "<b>Emulation</b>\n" "True\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "0\n" "none\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "Force monophonic sound output\n" "True\n" "True\n" "False\n" "True\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "<b>Sound</b>\n" "True\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "Up\n" "gamepad.up\n" " \n" " \n" "\n" "\n" "Down\n" "gamepad.down\n" " \n" " \n" "\n" "\n" "Left\n" "gamepad.left\n" " \n" " \n" "\n" "\n" "Right\n" "gamepad.right\n" " \n" " \n" "\n" "\n" "Button 1\n" "gamepad.button1\n" " \n" " \n" "\n" "\n" "Button 2\n" "gamepad.button2\n" " \n" " \n" "\n" "\n" "Start\n" "gamepad.start\n" " \n" " \n" "\n" "\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "\n" "\n" "\n" "False\n" "5\n" "True\n" "center-on-parent\n" "True\n" "dialog\n" "\n" "\n" "\n" "True\n" "False\n" "2\n" "\n" "\n" "True\n" "False\n" "0\n" "none\n" "\n" "\n" "True\n" "False\n" "6\n" "\n" "\n" "True\n" "False\n" "Double click on the key column item to configure an action.\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "<b>Controller Setup</b>\n" "True\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "6\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "24\n" "24\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "True\n" "True\n" "False\n" "\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "Port 1\n" "\n" "\n" "False\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "1\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "Port 2\n" "\n" "\n" "1\n" "False\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "2\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "Port 3\n" "\n" "\n" "2\n" "False\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "3\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "Port 4\n" "\n" "\n" "3\n" "False\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "4\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "Port 5\n" "\n" "\n" "4\n" "False\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "5\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "Port 6\n" "\n" "\n" "5\n" "False\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "6\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "Port 7\n" "\n" "\n" "6\n" "False\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "7\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "Port 8\n" "\n" "\n" "7\n" "False\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "0\n" "\n" "\n" "True\n" "False\n" "False\n" "False\n" "0\n" "\n" "\n" "\n" "True\n" "192\n" "Action/Button\n" "\n" "\n" "\n" "0\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "128\n" "Key\n" "\n" "\n" "\n" "\n" "\n" "2\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "256\n" "Device\n" "\n" "\n" "\n" "3\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "gtk-close\n" "True\n" "True\n" "True\n" "True\n" "\n" "\n" "\n" "False\n" "False\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "2\n" "\n" "\n" "\n" "\n" "\n" "button4\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "Up\n" "gamepad.up\n" " \n" " \n" "\n" "\n" "Down\n" "gamepad.down\n" " \n" " \n" "\n" "\n" "Left\n" "gamepad.left\n" " \n" " \n" "\n" "\n" "Right\n" "gamepad.right\n" " \n" " \n" "\n" "\n" "Button A\n" "gamepad.a\n" " \n" " \n" "\n" "\n" "Button B\n" "gamepad.b\n" " \n" " \n" "\n" "\n" "Pause\n" "gamepad.pause\n" " \n" " \n" "\n" "\n" "Option 1\n" "gamepad.option_1\n" " \n" " \n" "\n" "\n" "Option 2\n" "gamepad.option_2\n" " \n" " \n" "\n" "\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "Virtually rotate D-pad along with screen\n" "True\n" "True\n" "False\n" "True\n" "\n" "\n" "True\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "Up\n" "gamepad.up\n" " \n" " \n" "\n" "\n" "Down\n" "gamepad.down\n" " \n" " \n" "\n" "\n" "Left\n" "gamepad.left\n" " \n" " \n" "\n" "\n" "Right\n" "gamepad.right\n" " \n" " \n" "\n" "\n" "Button A\n" "gamepad.a\n" " \n" " \n" "\n" "\n" "Button B\n" "gamepad.b\n" " \n" " \n" "\n" "\n" "Button C\n" "gamepad.c\n" " \n" " \n" "\n" "\n" "Start\n" "gamepad.start\n" " \n" " \n" "\n" "\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "game\n" "\n" "\n" "overseas_ntsc\n" "\n" "\n" "overseas_pal\n" "\n" "\n" "domestic_ntsc\n" "\n" "\n" "domestic_pal\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "same\n" "\n" "\n" "game\n" "\n" "\n" "overseas_ntsc\n" "\n" "\n" "overseas_pal\n" "\n" "\n" "domestic_ntsc\n" "\n" "\n" "domestic_pal\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "8\n" "18\n" "\n" "\n" "True\n" "False\n" "0\n" "none\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "True\n" "False\n" "13\n" "\n" "\n" "True\n" "False\n" "Emulate the specified region:\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "150\n" "True\n" "False\n" "True\n" "game - Match game's header.\n" "Emulate the region that the game indicates it expects to run in via data in the header(or in an internal database for a few games that may have bad header data).\n" "\n" "overseas_ntsc - Overseas(non-Japan), NTSC\n" "Region used in North America.\n" "\n" "overseas_pal - Overseas(non-Japan), PAL\n" "Region used in Europe.\n" "\n" "domestic_ntsc - Domestic(Japan), NTSC\n" "Region used in Japan.\n" "\n" "domestic_pal - Domestic(Japan), PAL\n" "Probably an invalid region, but available for testing purposes anyway.\n" "mdstore1\n" "0\n" "\n" "\n" "\n" "0\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "Region reported to the game:\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "150\n" "True\n" "False\n" "True\n" "same - Match the region emulated.\n" "\n" "game - Match game's header.\n" "This option, in conjunction with the \"region\" setting, can be used to run all games at NTSC speeds, or all games at PAL speeds.\n" "\n" "overseas_ntsc - Overseas(non-Japan), NTSC\n" "Region used in North America.\n" "\n" "overseas_pal - Overseas(non-Japan), PAL\n" "Region used in Europe.\n" "\n" "domestic_ntsc - Domestic(Japan), NTSC\n" "Region used in Japan.\n" "\n" "domestic_pal - Domestic(Japan), PAL\n" "Probably an invalid region, but available for testing purposes anyway.\n" "mdstore2\n" "0\n" "\n" "\n" "\n" "0\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "<b>Emulation</b>\n" "True\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "0\n" "none\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "Correct the aspect ratio\n" "True\n" "True\n" "False\n" "True\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "<b>Video</b>\n" "True\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "0\n" "none\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "Force monophonic sound output\n" "True\n" "True\n" "False\n" "True\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "<b>Sound</b>\n" "True\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "2\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "Up\n" "gamepad.up\n" " \n" " \n" "\n" "\n" "Down\n" "gamepad.down\n" " \n" " \n" "\n" "\n" "Left\n" "gamepad.left\n" " \n" " \n" "\n" "\n" "Right\n" "gamepad.right\n" " \n" " \n" "\n" "\n" "Button A\n" "gamepad.a\n" " \n" " \n" "\n" "\n" "Button B\n" "gamepad.b\n" " \n" " \n" "\n" "\n" "Start\n" "gamepad.start\n" " \n" " \n" "\n" "\n" "Select\n" "gamepad.select\n" " \n" " \n" "\n" "\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "Up\n" "gamepad.up\n" " \n" " \n" "\n" "\n" "Down\n" "gamepad.down\n" " \n" " \n" "\n" "\n" "Left\n" "gamepad.left\n" " \n" " \n" "\n" "\n" "Right\n" "gamepad.right\n" " \n" " \n" "\n" "\n" "Button A\n" "gamepad.a\n" " \n" " \n" "\n" "\n" "Button B\n" "gamepad.b\n" " \n" " \n" "\n" "\n" "Option\n" "gamepad.option\n" " \n" " \n" "\n" "\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "japanese\n" "\n" "\n" "english\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "8\n" "18\n" "\n" "\n" "True\n" "False\n" "0\n" "none\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "Language games should display text in:\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "150\n" "True\n" "False\n" "ngpstore\n" "1\n" "\n" "\n" "\n" "0\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "<b>Emulation</b>\n" "True\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "0\n" "none\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "Force monophonic sound output\n" "True\n" "True\n" "False\n" "True\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "<b>Sound</b>\n" "True\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "Down\n" "gamepad.down\n" " \n" " \n" "\n" "\n" "Left\n" "gamepad.left\n" " \n" " \n" "\n" "\n" "Right\n" "gamepad.right\n" " \n" " \n" "\n" "\n" "Up\n" "gamepad.up\n" " \n" " \n" "\n" "\n" "Button I\n" "gamepad.i\n" " \n" " \n" "\n" "\n" "Button II\n" "gamepad.ii\n" " \n" " \n" "\n" "\n" "Run\n" "gamepad.run\n" " \n" " \n" "\n" "\n" "Select\n" "gamepad.select\n" " \n" " \n" "\n" "\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "When RUN+SEL are pressed simultaneously, disable both buttons temporarily\n" "True\n" "True\n" "False\n" "True\n" "\n" "\n" "True\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "huc6280\n" "\n" "\n" "huc6280a\n" "\n" "\n" "enhanced\n" "\n" "\n" "match\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "8\n" "9\n" "\n" "\n" "True\n" "False\n" "0\n" "none\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "Enable Arcade Card emulation\n" "True\n" "True\n" "False\n" "True\n" "Leaving this option enabled is recommended, unless you want to see special warning screens on ACD games, or you prefer the non-enhanced modes of ACD-enhanced SCD games. \n" "\n" "Additionally, you may want to disable it you you wish to use state rewinding with a SCD ACD-enhanced game on a slow CPU, as the extra 2MiB of RAM the Arcade Card offers is difficult to compress in real-time.\n" "True\n" "True\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "Force SuperGrafx emulation\n" "True\n" "True\n" "False\n" "True\n" "Enabling this option is not necessary to run unrecognized PCE ROM images in SuperGrafx mode, and enabling it is discouraged; ROM images with a file extension of \".sgx\" will automatically enable SuperGrafx emulation.\n" "True\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "Disable BRAM(saved game memory) for CD games\n" "True\n" "True\n" "False\n" "True\n" "It is intended for viewing CD games error screens that may be different from simple BRAM full and uninitialized BRAM error screens, though it can cause the game to crash outright.\n" "True\n" "\n" "\n" "False\n" "True\n" "2\n" "\n" "\n" "\n" "\n" "Disable BRAM(saved game memory) for HuCard games\n" "True\n" "True\n" "False\n" "True\n" "It is intended for changing the behavior (passwords vs save games) of some HuCard games.\n" "True\n" "\n" "\n" "False\n" "True\n" "3\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "29\n" "\n" "\n" "True\n" "False\n" "Select PSG revision:\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "150\n" "True\n" "False\n" "True\n" "WARNING: \n" "HES playback will always use the \"huc6280a\" revision if this setting is set to \"match\", since HES playback is always done with SuperGrafx emulation enabled.\n" "\n" "huc6280 - HuC6280\n" "HuC6280 as found in the original PC Engine.\n" "\n" "huc6280a - HuC6280A\n" "HuC6280A as found in the SuperGrafx and CoreGrafx I. Provides proper channel amplitude centering, but may cause clicking in a few games designed with the original HuC6280's sound characteristics in mind.\n" "\n" "enhanced - Enhanced\n" "Emulator-only pseudo-revision, designed to reduce clicking and audio artifacts in games designed for either real revision.\n" "\n" "match - Match emulation mode.\n" "Selects \"huc6280\" for non-SuperGrafx mode, and \"huc6280a\" for SuperGrafx(full) mode.\n" "pcestore\n" "3\n" "\n" "\n" "\n" "0\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "3\n" "4\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "<b>Emulation</b>\n" "True\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "0\n" "none\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "Remove 16-sprites-per-scanline hardware limit\n" "True\n" "True\n" "False\n" "True\n" "WARNING: \n" "Enabling this option may cause undesirable graphics glitching on some games(such as \"Bloody Wolf\").\n" "True\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "Show horizontal overscan area\n" "True\n" "True\n" "False\n" "True\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "First rendered scanline:\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "adjpce1\n" "True\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "2\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "13\n" "\n" "\n" "True\n" "False\n" "Last rendered scanline:\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "adjpce2\n" "True\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "3\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "<b>Video</b>\n" "True\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "0\n" "none\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "4\n" "\n" "\n" "Force monophonic sound output\n" "True\n" "True\n" "False\n" "True\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "Output the full 12-bit ADPCM predictor\n" "True\n" "True\n" "False\n" "Enabling this option causes the MSM5205 ADPCM predictor to be outputted with full precision of 12-bits, rather than only outputting 10-bits of precision(as an actual MSM5205 does). Enable this option to reduce whining noise during ADPCM playback.\n" "True\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "3\n" "2\n" "8\n" "\n" "\n" "300\n" "True\n" "True\n" "adjpce3\n" "0\n" "0\n" "left\n" "\n" "\n" "1\n" "2\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "300\n" "True\n" "True\n" "adjpce\n" "0\n" "0\n" "left\n" "\n" "\n" "1\n" "2\n" "1\n" "2\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "300\n" "True\n" "True\n" "adjpc2\n" "0\n" "0\n" "left\n" "\n" "\n" "1\n" "2\n" "2\n" "3\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "ADPCM volume:\n" "\n" "\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "CD-DA volume:\n" "\n" "\n" "1\n" "2\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "PSG volume when playing a CD game:\n" "\n" "\n" "2\n" "3\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "2\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "Sound quality:\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "268\n" "True\n" "True\n" "True\n" "Higher values correspond to better SNR and better preservation of higher frequencies(\"brightness\"), at the cost of increased computational complexity and a negligible increase in latency.\n" "adjpce_resamp_quality\n" "0\n" "0\n" "left\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "6\n" "3\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "Output rate tolerance:\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "Lower values correspond to better matching of the output rate of the resampler to the actual desired output rate, at the expense of increased RAM usage and poorer CPU cache utilization.\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "adjpce_resamp_error\n" "7\n" "True\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "4\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "<b>Sound</b>\n" "True\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "2\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "0\n" "none\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "6\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "True\n" "False\n" "0\n" "Path to the CD BIOS:\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "400\n" "True\n" "True\n" "False\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "\n" "\n" "False\n" "True\n" "8\n" "0\n" "\n" "\n" "\n" "\n" "gtk-open\n" "True\n" "True\n" "True\n" "True\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "True\n" "False\n" "0\n" "Path to the GE CD BIOS:\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "400\n" "True\n" "True\n" "False\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "\n" "\n" "False\n" "True\n" "8\n" "0\n" "\n" "\n" "\n" "\n" "gtk-open\n" "True\n" "True\n" "True\n" "True\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "<b>Bios</b>\n" "True\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "3\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "Up\n" "gamepad.up\n" " \n" " \n" "\n" "\n" "Down\n" "gamepad.down\n" " \n" " \n" "\n" "\n" "Left\n" "gamepad.left\n" " \n" " \n" "\n" "\n" "Right\n" "gamepad.right\n" " \n" " \n" "\n" "\n" "Button I\n" "gamepad.i\n" " \n" " \n" "\n" "\n" "Button II\n" "gamepad.ii\n" " \n" " \n" "\n" "\n" "Button III\n" "gamepad.iii\n" " \n" " \n" "\n" "\n" "Button IV\n" "gamepad.iv\n" " \n" " \n" "\n" "\n" "Button V\n" "gamepad.v\n" " \n" " \n" "\n" "\n" "Button VI\n" "gamepad.vi\n" " \n" " \n" "\n" "\n" "Run\n" "gamepad.run\n" " \n" " \n" "\n" "\n" "Select\n" "gamepad.select\n" " \n" " \n" "\n" "\n" "Mode 1\n" "gamepad.mode1\n" " \n" " \n" "\n" "\n" "Mode 2\n" "gamepad.mode2\n" " \n" " \n" "\n" "\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "When RUN+SEL are pressed simultaneously, disable both buttons temporarily\n" "True\n" "True\n" "False\n" "True\n" "\n" "\n" "True\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "fast\n" "\n" "\n" "accurate\n" "\n" "\n" "auto\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "256\n" "\n" "\n" "341\n" "\n" "\n" "1024\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "8\n" "18\n" "\n" "\n" "True\n" "False\n" "0\n" "none\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "True\n" "False\n" "18\n" "\n" "\n" "True\n" "False\n" "CPU emulation mode:\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "150\n" "True\n" "False\n" "True\n" "fast - Fast Mode\n" "Fast mode trades timing accuracy, cache emulation, and executing from hardware registers and RAM not intended for code use for performance.\n" "\n" "accurate - Accurate Mode\n" "Increased timing accuracy, though not perfect, along with cache emulation, at the cost of decreased performance. Additionally, even the pipeline isn't correctly and fully emulated in this mode.\n" "\n" "auto - Auto Mode\n" "Selects \"fast\" or \"accurate\" automatically based on an internal database. If the CD image is not recognized, defaults to \"fast\".\n" "pcfxstore1\n" "2\n" "\n" "\n" "\n" "0\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "Emulated CD-ROM speed:\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "268\n" "True\n" "True\n" "True\n" "Setting the value higher than 2, the default, will decrease loading times in most games by some degree.\n" "adjpcfx1\n" "0\n" "0\n" "left\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "6\n" "1\n" "\n" "\n" "\n" "\n" "Disable internal and external BRAM\n" "True\n" "True\n" "False\n" "True\n" "It is intended for viewing games error screens that may be different from simple BRAM full and uninitialized BRAM error screens, though it can cause the game to crash outright.\n" "True\n" "\n" "\n" "False\n" "True\n" "2\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "<b>Emulation</b>\n" "True\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "0\n" "none\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "Remove 16-sprites-per-scanline hardware limit\n" "True\n" "True\n" "False\n" "True\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "Enable bilinear interpolation on the chroma channel of RAINBOW YUV output\n" "True\n" "True\n" "False\n" "This is an enhancement-related setting.\n" "Enabling it may cause graphical glitches with some games.\n" "True\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "Emulated width for 7.16MHz dot-clock mode:\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "150\n" "True\n" "False\n" "True\n" "Lower values are faster, but will cause some degree of pixel distortion.\n" "\n" "256 - 256 pixels\n" "This value will cause heavy pixel distortion.\n" "\n" "341 - 341 pixels\n" "This value will cause moderate pixel distortion.\n" "\n" "1024 - 1024 pixels\n" "This value will cause no pixel distortion as long as interpolation is enabled on the video output device and the resolution is sufficiently high, but it will use a lot of CPU time.\n" "pcfxstore2\n" "2\n" "\n" "\n" "\n" "0\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "2\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "First rendered scanline:\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "adjpcfx2\n" "True\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "3\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "Last rendered scanline:\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "adjpcfx3\n" "True\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "4\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "<b>Video</b>\n" "True\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "0\n" "none\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "Hack that emulates the codec a buggy ADPCM encoder used for some games\n" "True\n" "True\n" "False\n" "True\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "Hack to suppress clicks caused by forced channel resets\n" "True\n" "True\n" "False\n" "True\n" "True\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "Force monophonic sound output\n" "True\n" "True\n" "False\n" "True\n" "\n" "\n" "False\n" "True\n" "2\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "Sound quality:\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "268\n" "True\n" "True\n" "True\n" "Higher values correspond to better SNR and better preservation of higher frequencies(\"brightness\"), at the cost of increased computational complexity and a negligible increase in latency.\n" "adjpcfx_resamp_quality\n" "0\n" "0\n" "left\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "6\n" "3\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "Output rate tolerance:\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "Lower values correspond to better matching of the output rate of the resampler to the actual desired output rate, at the expense of increased RAM usage and poorer CPU cache utilization.\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "adjpcfx_resamp_error\n" "7\n" "True\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "4\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "<b>Sound</b>\n" "True\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "2\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "0\n" "none\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "True\n" "False\n" "0\n" "Path to the ROM BIOS:\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "400\n" "True\n" "True\n" "False\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "\n" "\n" "False\n" "True\n" "12\n" "0\n" "\n" "\n" "\n" "\n" "gtk-open\n" "True\n" "True\n" "True\n" "True\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "<b>Bios</b>\n" "True\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "3\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "Up\n" "gamepad.up\n" " \n" " \n" "\n" "\n" "Down\n" "gamepad.down\n" " \n" " \n" "\n" "\n" "Left\n" "gamepad.left\n" " \n" " \n" "\n" "\n" "Right\n" "gamepad.right\n" " \n" " \n" "\n" "\n" "Triangle\n" "gamepad.triangle\n" " \n" " \n" "\n" "\n" "Cross\n" "gamepad.cross\n" " \n" " \n" "\n" "\n" "Square\n" "gamepad.square\n" " \n" " \n" "\n" "\n" "Circle\n" "gamepad.circle\n" " \n" " \n" "\n" "\n" "Start\n" "gamepad.start\n" " \n" " \n" "\n" "\n" "Select\n" "gamepad.select\n" " \n" " \n" "\n" "\n" "L1\n" "gamepad.l1\n" " \n" " \n" "\n" "\n" "L2\n" "gamepad.l2\n" " \n" " \n" "\n" "\n" "R1\n" "gamepad.r1\n" " \n" " \n" "\n" "\n" "R2\n" "gamepad.r2\n" " \n" " \n" "\n" "\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "jp\n" "\n" "\n" "na\n" "\n" "\n" "eu\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "8\n" "18\n" "\n" "\n" "True\n" "False\n" "0\n" "none\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "6\n" "\n" "\n" "Attempt to auto-detect region of game\n" "True\n" "True\n" "False\n" "True\n" "\n" "\n" "False\n" "True\n" "1\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "Default region to use:\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "75\n" "True\n" "False\n" "True\n" "Used if region autodetection fails or is disabled.\n" "\n" "jp - Japan\n" "\n" "na - North America\n" "\n" "eu - Europe\n" "psxstore\n" "0\n" "\n" "\n" "\n" "0\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "<b>Emulation</b>\n" "True\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "0\n" "none\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "True\n" "False\n" "4\n" "2\n" "16\n" "\n" "\n" "True\n" "True\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "adjpsx_slstart\n" "True\n" "\n" "\n" "1\n" "2\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "adjpsx_slend\n" "True\n" "\n" "\n" "1\n" "2\n" "1\n" "2\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "adjpsx_slstartp\n" "True\n" "\n" "\n" "1\n" "2\n" "2\n" "3\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "adjpsx_slendp\n" "True\n" "\n" "\n" "1\n" "2\n" "3\n" "4\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "0\n" "First displayed scanline in NTSC mode:\n" "\n" "\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "0\n" "Last displayed scanline in NTSC mode:\n" "\n" "\n" "1\n" "2\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "0\n" "First displayed scanline in PAL mode:\n" "\n" "\n" "2\n" "3\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "0\n" "Last displayed scanline in PAL mode:\n" "\n" "\n" "3\n" "4\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "<b>Video</b>\n" "True\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "0\n" "none\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "6\n" "\n" "\n" "Force monophonic sound output\n" "True\n" "True\n" "False\n" "True\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "SPU output resampler quality:\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "275\n" "True\n" "True\n" "True\n" "0 is lowest quality and CPU usage, 10 is highest quality and CPU usage. \n" "\n" "The resampler that this setting refers to is used for converting from 44.1KHz to the sampling rate of the host audio device Mednafen is using. \n" "\n" "Changing Mednafen's output rate, via the \"sound.rate\" setting, to \"44100\" will bypass the resampler, which will decrease CPU usage by Mednafen, and can increase or decrease audio quality, depending on various operating system and hardware factors.\n" "adjpsx\n" "0\n" "0\n" "left\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "<b>Sound</b>\n" "True\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "2\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "0\n" "none\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "6\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "True\n" "False\n" "0\n" "Path to the Europe SCPH-5502 ROM BIOS:\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "400\n" "True\n" "True\n" "False\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "\n" "\n" "False\n" "True\n" "12\n" "0\n" "\n" "\n" "\n" "\n" "gtk-open\n" "True\n" "True\n" "True\n" "True\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "True\n" "False\n" "0\n" "Path to the Japan SCPH-5500 ROM BIOS:\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "400\n" "True\n" "True\n" "False\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "\n" "\n" "False\n" "True\n" "12\n" "0\n" "\n" "\n" "\n" "\n" "gtk-open\n" "True\n" "True\n" "True\n" "True\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "True\n" "False\n" "0\n" "Path to the North America SCPH-5501 ROM BIOS:\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "400\n" "True\n" "True\n" "False\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "\n" "\n" "False\n" "True\n" "12\n" "0\n" "\n" "\n" "\n" "\n" "gtk-open\n" "True\n" "True\n" "True\n" "True\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "2\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "<b>Bios</b>\n" "True\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "3\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "Up\n" "gamepad.up\n" " \n" " \n" "\n" "\n" "Down\n" "gamepad.down\n" " \n" " \n" "\n" "\n" "Left\n" "gamepad.left\n" " \n" " \n" "\n" "\n" "Right\n" "gamepad.right\n" " \n" " \n" "\n" "\n" "Fire 1 / Start\n" "gamepad.fire1\n" " \n" " \n" "\n" "\n" "Fire 2\n" "gamepad.fire2\n" " \n" " \n" "\n" "\n" "Pause\n" "gamepad.pause\n" " \n" " \n" "\n" "\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "domestic\n" "\n" "\n" "export\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "8\n" "18\n" "\n" "\n" "True\n" "False\n" "0\n" "none\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "System territory/region:\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "150\n" "True\n" "False\n" "True\n" "domestic - Domestic (Japanese)\n" "\n" "export - Export (World)\n" "smstore\n" "1\n" "\n" "\n" "\n" "\n" "0\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "<b>Emulation</b>\n" "True\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "0\n" "none\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "True\n" "False\n" "4\n" "2\n" "16\n" "\n" "\n" "True\n" "True\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "adjsmsslendp\n" "True\n" "\n" "\n" "1\n" "2\n" "3\n" "4\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "adjsmsstartp\n" "True\n" "\n" "\n" "1\n" "2\n" "2\n" "3\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "adjsmsslend\n" "True\n" "\n" "\n" "1\n" "2\n" "1\n" "2\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "adjsmsslstart\n" "True\n" "\n" "\n" "1\n" "2\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "0\n" "First displayed scanline in NTSC mode:\n" "\n" "\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "0\n" "Last displayed scanline in NTSC mode:\n" "\n" "\n" "1\n" "2\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "0\n" "First displayed scanline in PAL mode:\n" "\n" "\n" "2\n" "3\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "0\n" "Last displayed scanline in PAL mode:\n" "\n" "\n" "3\n" "4\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "<b>Video</b>\n" "True\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "0\n" "none\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "Enable FM sound emulation when playing domestic/Japan-region games\n" "True\n" "False\n" "True\n" "False\n" "True\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "Force monophonic sound output\n" "True\n" "True\n" "False\n" "True\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "<b>Sound</b>\n" "True\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "2\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "Up\n" "gamepad.up\n" " \n" " \n" "\n" "\n" "Down\n" "gamepad.down\n" " \n" " \n" "\n" "\n" "Left\n" "gamepad.left\n" " \n" " \n" "\n" "\n" "Right\n" "gamepad.right\n" " \n" " \n" "\n" "\n" "Button A\n" "gamepad.a\n" " \n" " \n" "\n" "\n" "Button B\n" "gamepad.b\n" " \n" " \n" "\n" "\n" "Button X\n" "gamepad.x\n" " \n" " \n" "\n" "\n" "Button Y\n" "gamepad.y\n" " \n" " \n" "\n" "\n" "Start\n" "gamepad.start\n" " \n" " \n" "\n" "\n" "Select\n" "gamepad.select\n" " \n" " \n" "\n" "\n" "Shoulder Left\n" "gamepad.l\n" " \n" " \n" "\n" "\n" "Shoulder Right\n" "gamepad.r\n" " \n" " \n" "\n" "\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "Up\n" "gamepad.up\n" " \n" " \n" "\n" "\n" "Down\n" "gamepad.down\n" " \n" " \n" "\n" "\n" "Left\n" "gamepad.left\n" " \n" " \n" "\n" "\n" "Right\n" "gamepad.right\n" " \n" " \n" "\n" "\n" "Start\n" "gamepad.start\n" " \n" " \n" "\n" "\n" "A\n" "gamepad.a\n" " \n" " \n" "\n" "\n" "B\n" "gamepad.b\n" " \n" " \n" "\n" "\n" "C\n" "gamepad.c\n" " \n" " \n" "\n" "\n" "X\n" "gamepad.x\n" " \n" " \n" "\n" "\n" "Y\n" "gamepad.y\n" " \n" " \n" "\n" "\n" "Z\n" "gamepad.z\n" " \n" " \n" "\n" "\n" "Left Shoulder\n" "gamepad.ls\n" " \n" " \n" "\n" "\n" "Right Shoulder\n" "gamepad.rs\n" " \n" " \n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "english\n" "\n" "\n" "german\n" "\n" "\n" "french\n" "\n" "\n" "spanish\n" "\n" "\n" "italian\n" "\n" "\n" "japanese\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "auto\n" "\n" "\n" "none\n" "\n" "\n" "backup\n" "\n" "\n" "extram1\n" "\n" "\n" "extram4\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "jp\n" "\n" "\n" "na\n" "\n" "\n" "eu\n" "\n" "\n" "kr\n" "\n" "\n" "tw\n" "\n" "\n" "as\n" "\n" "\n" "br\n" "\n" "\n" "la\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "8\n" "18\n" "\n" "\n" "True\n" "False\n" "0\n" "none\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "Attempt to auto-detect region of game\n" "True\n" "True\n" "False\n" "True\n" "\n" "\n" "False\n" "True\n" "1\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "Default region to use:\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "75\n" "True\n" "False\n" "True\n" "Used if region autodetection fails or is disabled.\n" "\n" "jp - Japan\n" "\n" "na - North America\n" "\n" "eu - Europe\n" "\n" "kr - South Korea\n" "\n" "tw - Taiwan\n" "\n" "as - China\n" "\n" "br - Brazil\n" "\n" "la - Latin America\n" "ssstore\n" "0\n" "\n" "\n" "\n" "0\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "6\n" "1\n" "\n" "\n" "\n" "\n" "Enable CD (image) sanity checks\n" "True\n" "True\n" "False\n" "True\n" "\n" "\n" "True\n" "True\n" "2\n" "\n" "\n" "\n" "\n" "Automatically set RTC on game load\n" "True\n" "True\n" "False\n" "Automatically set the SMPC's emulated Real-Time Clock to the host system's current time and date upon game load.\n" "True\n" "\n" "\n" "True\n" "True\n" "3\n" "\n" "\n" "\n" "\n" "Enable mid-frame synchronization\n" "True\n" "True\n" "False\n" "Mid-frame synchronization can reduce input latency, but it will increase CPU requirements.\n" "True\n" "\n" "\n" "True\n" "True\n" "4\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "Expansion cart: \n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "100\n" "True\n" "False\n" "True\n" "auto - Automatic\n" "\n" "none - None\n" "\n" "backup - Backup Memory(512KiB)\n" "\n" "extram1 - 1MiB Extended RAM\n" "\n" "extram4 - 4MiB Extended RAM\n" "ss_extension_cart\n" "0\n" "\n" "\n" "\n" "0\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "6\n" "5\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "<b>Emulation</b>\n" "True\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "0\n" "none\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "True\n" "False\n" "6\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "Correct aspect ratio\n" "True\n" "True\n" "False\n" "Disabling aspect ratio correction with this setting should be considered a hack.\n" "\n" "If disabling it to allow for sharper pixels by also separately disabling interpolation(though using Mednafen's \"autoipsharper\" OpenGL shader is usually a better option), remember to use scale factors that are multiples of 2, or else games that use high-resolution and interlaced modes will have distorted pixels.\n" "True\n" "True\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "Enable horizontal blend(blur) filter\n" "True\n" "True\n" "False\n" "Intended for use in combination with the \"goat\" OpenGL shader, or with bilinear interpolation or linear interpolation on the X axis enabled. Has a more noticeable effect with the Saturn's higher horizontal resolution modes(640/704).\n" "True\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "Show horizontal overscan area\n" "True\n" "True\n" "False\n" "True\n" "True\n" "True\n" "\n" "\n" "False\n" "True\n" "2\n" "\n" "\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "4\n" "2\n" "16\n" "\n" "\n" "True\n" "True\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "adjss_slstart\n" "True\n" "\n" "\n" "1\n" "2\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "adjss_slend\n" "True\n" "\n" "\n" "1\n" "2\n" "1\n" "2\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "adjss_slstartp\n" "True\n" "\n" "\n" "1\n" "2\n" "2\n" "3\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "adjss_slendp\n" "True\n" "\n" "\n" "1\n" "2\n" "3\n" "4\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "0\n" "First displayed scanline in NTSC mode:\n" "\n" "\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "0\n" "Last displayed scanline in NTSC mode:\n" "\n" "\n" "1\n" "2\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "0\n" "First displayed scanline in PAL mode:\n" "\n" "\n" "2\n" "3\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "0\n" "Last displayed scanline in PAL mode:\n" "\n" "\n" "3\n" "4\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "<b>Video</b>\n" "True\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "0\n" "none\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "6\n" "\n" "\n" "Force monophonic sound output\n" "True\n" "True\n" "False\n" "True\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "SPU output resampler quality:\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "275\n" "True\n" "True\n" "True\n" "0 is lowest quality and CPU usage, 10 is highest quality and CPU usage. \n" "\n" "The resampler that this setting refers to is used for converting from 44.1KHz to the sampling rate of the host audio device Mednafen is using. \n" "\n" "Changing Mednafen's output rate, via the \"sound.rate\" setting, to \"44100\" will bypass the resampler, which will decrease CPU usage by Mednafen, and can increase or decrease audio quality, depending on various operating system and hardware factors.\n" "adjss_resamp_quality\n" "0\n" "0\n" "left\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "<b>Sound</b>\n" "True\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "2\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "0\n" "none\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "6\n" "\n" "\n" "Enable BIOS ROM image sanity checks\n" "True\n" "True\n" "False\n" "True\n" "\n" "\n" "True\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "BIOS language:\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "120\n" "True\n" "False\n" "True\n" "Used if region autodetection fails or is disabled.\n" "\n" "jp - Japan\n" "\n" "na - North America\n" "\n" "eu - Europe\n" "\n" "kr - South Korea\n" "\n" "tw - Taiwan\n" "\n" "as - China\n" "\n" "br - Brazil\n" "\n" "la - Latin America\n" "ss_bios_lang\n" "0\n" "\n" "\n" "\n" "0\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "True\n" "False\n" "0\n" "Path to the North America and Europe ROM BIOS:\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "400\n" "True\n" "True\n" "False\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "\n" "\n" "False\n" "True\n" "12\n" "0\n" "\n" "\n" "\n" "\n" "gtk-open\n" "True\n" "True\n" "True\n" "True\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "6\n" "2\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "True\n" "False\n" "0\n" "Path to the Japan ROM BIOS:\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "400\n" "True\n" "True\n" "False\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "\n" "\n" "False\n" "True\n" "12\n" "0\n" "\n" "\n" "\n" "\n" "gtk-open\n" "True\n" "True\n" "True\n" "True\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "3\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "<b>Bios</b>\n" "True\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "3\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "Up (Left D-Pad)\n" "gamepad.up-l\n" " \n" " \n" "\n" "\n" "Down (Left D-Pad)\n" "gamepad.down-l\n" " \n" " \n" "\n" "\n" "Left (Left D-Pad)\n" "gamepad.left-l\n" " \n" " \n" "\n" "\n" "Right (Left D-Pad)\n" "gamepad.right-l\n" " \n" " \n" "\n" "\n" "Up (Right D-Pad)\n" "gamepad.up-r\n" " \n" " \n" "\n" "\n" "Down (Right D-Pad)\n" "gamepad.down-r\n" " \n" " \n" "\n" "\n" "Left (Right D-Pad)\n" "gamepad.left-r\n" " \n" " \n" "\n" "\n" "Right (Right D-Pad)\n" "gamepad.right-r\n" " \n" " \n" "\n" "\n" "Button A\n" "gamepad.a\n" " \n" " \n" "\n" "\n" "Button B\n" "gamepad.b\n" " \n" " \n" "\n" "\n" "Start\n" "gamepad.start\n" " \n" " \n" "\n" "\n" "Select\n" "gamepad.select\n" " \n" " \n" "\n" "\n" "Left-Back\n" "gamepad.lt\n" " \n" " \n" "\n" "\n" "Right-Back\n" "gamepad.rt\n" " \n" " \n" "\n" "\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "Input latency reduction hack\n" "True\n" "True\n" "False\n" "True\n" "Reduces latency in some games by 20ms by returning the current pad state, rather than latched state, on serial port data reads. \n" "This hack may cause some homebrew software to malfunction, but it should be relatively safe for commercial official games.\n" "True\n" "True\n" "\n" "\n" "True\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "anaglyph\n" "\n" "\n" "cscope\n" "\n" "\n" "sidebyside\n" "\n" "\n" "vli\n" "\n" "\n" "hli\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "disabled\n" "\n" "\n" "red_blue\n" "\n" "\n" "red_cyan\n" "\n" "\n" "red_electriccyan\n" "\n" "\n" "red_green\n" "\n" "\n" "green_magenta\n" "\n" "\n" "yellow_blue\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "fast\n" "\n" "\n" "accurate\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "8\n" "18\n" "\n" "\n" "True\n" "False\n" "0\n" "none\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "48\n" "\n" "\n" "True\n" "False\n" "CPU emulation mode:\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "150\n" "True\n" "False\n" "fast - Fast Mode\n" "Fast mode trades timing accuracy, cache emulation, and executing from hardware registers and RAM not intended for code use for performance.\n" "\n" "accurate - Accurate Mode\n" "Increased timing accuracy, though not perfect, along with cache emulation, at the cost of decreased performance. \n" "Additionally, even the pipeline isn't correctly and fully emulated in this mode.\n" "vbstore3\n" "0\n" "\n" "\n" "\n" "0\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "0.47999998927116394\n" "<b>Emulation</b>\n" "True\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "0\n" "none\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "Reverse left/right 3D views\n" "True\n" "True\n" "False\n" "True\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "Display latency reduction hack\n" "True\n" "True\n" "False\n" "True\n" "Reduces latency in games by displaying the framebuffer 20ms earlier. \n" "This hack has some potential of causing graphical glitches, so it is disabled by default.\n" "True\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "Allow draw skipping\n" "True\n" "True\n" "False\n" "True\n" "If \"Display latency reduction hack\" is enabled, and this setting is enabled, then frame-skipping the drawing to the emulated framebuffer will be allowed. \n" "\n" "THIS WILL CAUSE GRAPHICAL GLITCHES, AND THEORETICALLY(but unlikely) GAME CRASHES, ESPECIALLY WITH DIRECT FRAMEBUFFER DRAWING GAMES.\n" "True\n" "\n" "\n" "False\n" "True\n" "2\n" "\n" "\n" "\n" "\n" "Disable parallax for BG and OBJ rendering\n" "True\n" "True\n" "False\n" "True\n" "\n" "\n" "False\n" "True\n" "3\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "6\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "6\n" "\n" "\n" "True\n" "False\n" "Number of pixels to separate L/R views by:\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "True\n" "This setting refers to pixels before \"Scaling factor (fullscreen)\" is taken into consideration. \n" "For example, a value of \"100\" here will result in a separation of 300 screen pixels if \"Scaling factor (fullscreen)\" is set to \"3\".\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "adjvb2\n" "True\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "6\n" "1\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "Line Interlaced prescale:\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "170\n" "True\n" "True\n" "adjvb1\n" "0\n" "0\n" "left\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "6\n" "2\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "128\n" "\n" "\n" "True\n" "False\n" "3D mode:\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "150\n" "True\n" "False\n" "True\n" "anaglyph - Anaglyph\n" "Used in conjunction with classic dual-lens-color glasses.\n" "\n" "cscope - CyberScope\n" "Intended for use with the CyberScope 3D device.\n" "\n" "sidebyside - Side-by-Side\n" "The left-eye image is displayed on the left, and the right-eye image is displayed on the right.\n" "\n" "vli - Vertical Line Interlaced\n" "Vertical lines alternate between left view and right view.\n" "\n" "hli - Horizontal Line Interlaced\n" "Horizontal lines alternate between left view and right view.\n" "vbstore1\n" "0\n" "\n" "\n" "\n" "\n" "\n" "0\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "3\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "0.47999998927116394\n" "<b>Video</b>\n" "True\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "0\n" "none\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "Force monophonic sound output\n" "True\n" "True\n" "False\n" "True\n" "True\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "0.47999998927116394\n" "<b>Sound</b>\n" "True\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "2\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "0\n" "none\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "36\n" "\n" "\n" "True\n" "False\n" "Anaglyph preset colors:\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "150\n" "True\n" "False\n" "vbstore2\n" "1\n" "\n" "\n" "\n" "\n" "0\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "False\n" "\n" "\n" "True\n" "False\n" "0\n" "Anaglyph maximum-brightness color for...\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "24\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "True\n" "False\n" "left view:\n" "\n" "\n" "True\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "100\n" "True\n" "True\n" "False\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "\n" "\n" "\n" "False\n" "True\n" "12\n" "1\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "True\n" "\n" "\n" "\n" "False\n" "True\n" "2\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "True\n" "False\n" "right view:\n" "\n" "\n" "True\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "100\n" "True\n" "True\n" "False\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "\n" "\n" "\n" "False\n" "True\n" "12\n" "1\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "True\n" "\n" "\n" "\n" "False\n" "True\n" "2\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "False\n" "\n" "\n" "True\n" "False\n" "0\n" "Default maximum-brightness color to use in non-anaglyph 3D modes:\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "150\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "100\n" "True\n" "True\n" "False\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "\n" "\n" "\n" "False\n" "True\n" "12\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "True\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "0.47999998927116394\n" "<b>Colors</b>\n" "True\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "3\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "japanese\n" "\n" "\n" "english\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "M\n" "\n" "\n" "F\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "A\n" "\n" "\n" "B\n" "\n" "\n" "O\n" "\n" "\n" "AB\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "8\n" "18\n" "\n" "\n" "True\n" "False\n" "0\n" "none\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "Language games should display text in:\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "150\n" "True\n" "False\n" "wsstore1\n" "1\n" "\n" "\n" "\n" "0\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "<b>Emulation</b>\n" "True\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "0\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "0\n" "none\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "Force monophonic sound output\n" "True\n" "True\n" "False\n" "True\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "<b>Sound</b>\n" "True\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "1\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "0\n" "none\n" "\n" "\n" "True\n" "False\n" "12\n" "\n" "\n" "True\n" "False\n" "6\n" "2\n" "16\n" "\n" "\n" "100\n" "True\n" "True\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "\n" "\n" "1\n" "2\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "adjws1\n" "True\n" "\n" "\n" "1\n" "2\n" "1\n" "2\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "adjws2\n" "True\n" "\n" "\n" "1\n" "2\n" "2\n" "3\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "True\n" "\n" "True\n" "False\n" "False\n" "True\n" "True\n" "adjws3\n" "True\n" "\n" "\n" "1\n" "2\n" "3\n" "4\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "wsstore2\n" "1\n" "\n" "\n" "\n" "0\n" "\n" "\n" "\n" "\n" "1\n" "2\n" "4\n" "5\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "wsstore3\n" "2\n" "\n" "\n" "\n" "0\n" "\n" "\n" "\n" "\n" "1\n" "2\n" "5\n" "6\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "1\n" "Name:\n" "\n" "\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "1\n" "Birth Day:\n" "\n" "\n" "1\n" "2\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "1\n" "Birth Month:\n" "\n" "\n" "2\n" "3\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "1\n" "Birth Year:\n" "\n" "\n" "3\n" "4\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "1\n" "Sex:\n" "\n" "\n" "4\n" "5\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "1\n" "Blood Type:\n" "\n" "\n" "5\n" "6\n" "GTK_FILL\n" "GTK_FILL\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "True\n" "False\n" "<b>Data</b>\n" "True\n" "\n" "\n" "\n" "\n" "False\n" "True\n" "2\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "\n" "Up (X Cursors)\n" "gamepad.up-x\n" " \n" " \n" "\n" "\n" "Down (X Cursors)\n" "gamepad.down-x\n" " \n" " \n" "\n" "\n" "Left (X Cursors)\n" "gamepad.left-x\n" " \n" " \n" "\n" "\n" "Right (X Cursors)\n" "gamepad.right-x\n" " \n" " \n" "\n" "\n" "Up (Y Cursors)\n" "gamepad.up-y\n" " \n" " \n" "\n" "\n" "Down (Y Cursors)\n" "gamepad.down-y\n" " \n" " \n" "\n" "\n" "Left (Y Cursors)\n" "gamepad.left-y\n" " \n" " \n" "\n" "\n" "Right (Y Cursors)\n" "gamepad.right-y\n" " \n" " \n" "\n" "\n" "Button A\n" "gamepad.a\n" " \n" " \n" "\n" "\n" "Button B\n" "gamepad.b\n" " \n" " \n" "\n" "\n" "Start\n" "gamepad.start\n" " \n" " \n" "\n" "\n" "\n" "\n" "True\n" "False\n" "\n" "\n" "Virtually rotate D-pads along with screen\n" "True\n" "True\n" "False\n" "True\n" "\n" "\n" "True\n" "True\n" "0\n" "\n" "\n" "\n" "\n" ; #endif /* SYSTEM_GLADE_H */ mednaffe-0.8.6/src/toggles.c000066400000000000000000000311671313731622300157020ustar00rootroot00000000000000/* * toggles.c * * Copyright 2013-2015 AmatCoder * * This file is part of Mednaffe. * * Mednaffe is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * Mednaffe is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with Mednaffe; if not, see . * */ #include "common.h" #include "log.h" #include "string.h" void select_rows(guidata *gui) { GtkTreeIter iter; GList *chain = NULL; if (gtk_tree_model_get_iter_first( gtk_tree_view_get_model(GTK_TREE_VIEW(gui->systemlist)), &iter)) gtk_tree_selection_select_iter( gtk_tree_view_get_selection(GTK_TREE_VIEW(gui->systemlist)), &iter); if (!gtk_tree_selection_get_selected(gtk_tree_view_get_selection( GTK_TREE_VIEW(gui->systemlist)), NULL, NULL)) gtk_widget_hide(gui->notebook); else gtk_widget_show(gui->notebook); if (gtk_tree_model_get_iter_first( gtk_tree_view_get_model(GTK_TREE_VIEW(gui->globalist)), &iter)) gtk_tree_selection_select_iter(gtk_tree_view_get_selection( GTK_TREE_VIEW(gui->globalist)), &iter); chain = g_list_prepend(chain, gui->gamelist); gtk_container_set_focus_chain(GTK_CONTAINER( gtk_builder_get_object(gui->builder, "vbox2")), chain); g_list_free(chain); } gchar *add_to_list (GtkWidget *widget, guidata *gui) { gchar *name; gchar *fullname; gchar *nameinc; name = g_object_get_data(G_OBJECT(widget), "cname"); if (name[0] == '.') fullname = g_strconcat(gui->system, name, NULL); else fullname = g_strdup(name); if (gui->changing == FALSE) g_hash_table_replace(gui->clist, fullname, fullname); fullname++; nameinc = g_strdup(fullname); fullname--; if (gui->changing == TRUE) g_free(fullname); return nameinc; } void toggle_changed(GtkWidget *widget, guidata *gui) { gchar *name; name = add_to_list(widget, gui); if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(widget))) g_hash_table_insert(gui->hash, name, g_strdup("1")); else g_hash_table_insert(gui->hash, name, g_strdup("0")); } void combo_changed(GtkWidget *widget, guidata *gui) { gchar *name; GtkTreeIter iter; GtkTreeModel *combostore; gchar *state; name = add_to_list(widget, gui); combostore = gtk_combo_box_get_model(GTK_COMBO_BOX(widget)); gtk_combo_box_get_active_iter(GTK_COMBO_BOX(widget), &iter); gtk_tree_model_get(combostore, &iter, 0 , &state, -1); g_hash_table_insert(gui->hash, name, state); } void adj_changed(GtkWidget *widget, guidata *gui) { gpointer name; GObject *objadj; gdouble afloat; gchar *value; gint digits; name = add_to_list(widget, gui); g_object_get(G_OBJECT(widget), "adjustment", &objadj, NULL); afloat = gtk_adjustment_get_value(GTK_ADJUSTMENT(objadj)); value = g_strdup_printf("%i", (gint)afloat); if (GTK_IS_SPIN_BUTTON(widget)) { digits = gtk_spin_button_get_digits(GTK_SPIN_BUTTON(widget)); if (digits > 0) { g_free(value); value = g_strdup_printf("%.*f", digits, afloat); } } else if (GTK_IS_SCALE(widget)) { digits = gtk_scale_get_digits(GTK_SCALE(widget)); if (digits > 0) { g_free(value); value = g_strdup_printf("%.*f", digits, afloat); } } g_hash_table_insert(gui->hash, name, value); g_object_unref (objadj); } void entry_changed(GtkWidget *widget, guidata *gui) { gpointer name; gchar *copy; const gchar *path; name = add_to_list(widget, gui); path = gtk_entry_get_text(GTK_ENTRY(widget)); copy = g_strdup(path); g_hash_table_insert(gui->hash, name, copy); } /*gboolean adj_focus_out(GtkWidget *widget, GdkEvent *event, guidata *gui) { adj_changed(widget, gui); return FALSE; }*/ void set_toogle(gpointer widget, guidata *gui) { gchar *name; gchar *fullname; name = g_object_get_data(G_OBJECT(widget), "cname"); if (name[0] == '.') fullname = g_strconcat(gui->system, name, NULL); else fullname = g_strdup(name); fullname++; if ((g_strcmp0(g_hash_table_lookup (gui->hash, fullname),"1") == 0)) gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(widget), TRUE); else gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(widget), FALSE); fullname--; g_free(fullname); } void set_combo(gpointer widget, guidata *gui) { gchar *name; gchar *fullname; GtkTreeIter iter; GtkTreeModel *combostore; gchar *combovalue; name = g_object_get_data(G_OBJECT(widget), "cname"); if (name[0] == '.') fullname = g_strconcat(gui->system, name, NULL); else fullname = g_strdup(name); fullname++; combostore = gtk_combo_box_get_model(GTK_COMBO_BOX(widget)); gtk_tree_model_get_iter_first(combostore, &iter); do { gtk_tree_model_get(combostore, &iter, 0 , &combovalue, -1); if (g_strcmp0(g_hash_table_lookup(gui->hash, fullname), combovalue) == 0) { gtk_combo_box_set_active_iter(GTK_COMBO_BOX(widget), &iter); g_free(combovalue); break; } g_free(combovalue); } while (gtk_tree_model_iter_next(combostore, &iter)); fullname--; g_free(fullname); } void set_spin(gpointer widget, guidata *gui) { gchar *name; gchar *fullname; gdouble value; GObject *objadj; const gchar *cvalue; name = g_object_get_data(G_OBJECT(widget), "cname"); if (name[0] == '.') fullname = g_strconcat(gui->system, name, NULL); else fullname = g_strdup(name); fullname++; cvalue = g_hash_table_lookup (gui->hash, fullname); value = g_ascii_strtod(cvalue, NULL); g_object_get(G_OBJECT(widget), "adjustment", &objadj, NULL); gtk_adjustment_set_value(GTK_ADJUSTMENT(objadj), value); g_object_unref (objadj); fullname--; g_free(fullname); } void set_values(GtkBuilder *builder, guidata *gui) { const gchar *name; const gchar *cvalue; GSList *list = NULL; GSList *iterator = NULL; list = gtk_builder_get_objects (builder); /* Exceptions here */ list = g_slist_remove(list, gui->cbpath); list = g_slist_remove(list, gtk_builder_get_object(gui->builder, "showlog")); list = g_slist_remove(list, gtk_builder_get_object(gui->builder, "showtooltips")); list = g_slist_remove(list, gtk_builder_get_object(gui->builder, "remembersize")); list = g_slist_remove(list, gtk_builder_get_object(gui->builder, "rbnothing")); list = g_slist_remove(list, gtk_builder_get_object(gui->builder, "rbminimize")); list = g_slist_remove(list, gtk_builder_get_object(gui->builder, "rbhide")); for (iterator = list; iterator; iterator = iterator->next) { if (GTK_IS_TOGGLE_BUTTON(iterator->data)) { name = gtk_buildable_get_name(GTK_BUILDABLE(iterator->data)); g_object_set_data(G_OBJECT(iterator->data), "cname",(gpointer)name); if (name[0] == '-') set_toogle(iterator->data, gui); else gui->dinlist = g_slist_prepend(gui->dinlist, iterator->data); g_signal_connect(GTK_TOGGLE_BUTTON(iterator->data), "toggled", G_CALLBACK(toggle_changed), gui); } else if (GTK_IS_COMBO_BOX(iterator->data)) { name = gtk_buildable_get_name(GTK_BUILDABLE(iterator->data)); g_object_set_data(G_OBJECT(iterator->data), "cname",(gpointer)name); if (name[0] == '-') set_combo(iterator->data, gui); else gui->dinlist = g_slist_prepend (gui->dinlist,iterator->data); g_signal_connect(GTK_COMBO_BOX(iterator->data), "changed", G_CALLBACK(combo_changed), gui); } else if (GTK_IS_SPIN_BUTTON(iterator->data) || (GTK_IS_SCALE(iterator->data))) { name = gtk_buildable_get_name(GTK_BUILDABLE(iterator->data)); g_object_set_data(G_OBJECT(iterator->data), "cname", (gpointer)name); if (name[0] == '-') set_spin(iterator->data, gui); else gui->dinlist = g_slist_prepend (gui->dinlist, iterator->data); g_signal_connect(GTK_WIDGET(iterator->data),"value-changed", G_CALLBACK(adj_changed), gui); /*g_signal_connect(GTK_WIDGET(iterator->data), "focus-out-event", * G_CALLBACK(adj_focus_out), gui);*/ #ifdef GTK3_ENABLED if GTK_IS_SPIN_BUTTON(iterator->data) gtk_widget_set_size_request(GTK_WIDGET(iterator->data), 150, -1); #endif } else if (GTK_IS_ENTRY(iterator->data)) { name = gtk_buildable_get_name(GTK_BUILDABLE(iterator->data)); g_object_set_data(G_OBJECT(iterator->data), "cname", (gpointer)name); name++; cvalue = g_hash_table_lookup (gui->hash, name); if (cvalue != NULL) gtk_entry_set_text(GTK_ENTRY(iterator->data), cvalue); g_signal_connect(GTK_ENTRY(iterator->data), "changed", G_CALLBACK(entry_changed), gui); } } g_slist_free(list); } /*void test_watch(GFileMonitor *mon, GFile *first, GFile *second, GFileMonitorEvent event, guidata *gui) { if (event == G_FILE_MONITOR_EVENT_CHANGES_DONE_HINT) { gtk_widget_set_sensitive(GTK_WIDGET(gtk_builder_get_object(gui->builder, "inputbutton")), TRUE); } }*/ gchar* get_cfg(const gchar *home, guidata *gui) { gchar *cfg_path; /* Search for mednafen configuration file */ #ifdef G_OS_WIN32 cfg_path = g_strconcat(home, "\\mednafen-09x.cfg", NULL); #else cfg_path = g_strconcat(home, "/.mednafen/mednafen-09x.cfg", NULL); #endif if (g_file_test (cfg_path, G_FILE_TEST_IS_REGULAR)) print_log("Starting Mednaffe 0.8.6\n\ Mednafen 09x configuration file found.\n", FE, gui); else return NULL; /*{ #ifdef G_OS_WIN32 cfg_path = g_strconcat(home, "\\mednafen.cfg", NULL); #else cfg_path = g_strconcat(home, "/.mednafen/mednafen.cfg", NULL); #endif if (g_file_test (cfg_path, G_FILE_TEST_IS_REGULAR)) printf(" Mednafen 08x configuration file found\n"); else cfg_path = NULL; }*/ return cfg_path; } gboolean check_version(gchar *stout, guidata *gui) { if (stout !=NULL) { if (strlen(stout)<1) return FALSE; gchar **achar = g_strsplit(stout, "\n", 0); gchar *check =g_strrstr (achar[0], "0.9."); if (check == NULL) return FALSE; gchar **aline = g_strsplit(check, " ", 2); if (strlen(aline[0])<6) return FALSE; if (aline[0][4]-'0'<4) return FALSE; /* if ((aline[1][13]=='3') && ((aline[1][14]-'0')<9)) return FALSE; */ /* if (strlen(aline[1])>16) { if ((aline[1][13]=='3') && (aline[1][14]=='6') && ((aline[1][16]-'0')<2)) return FALSE; } else { if ((aline[1][13]=='3') && ((aline[1][14]-'0')<7)) return FALSE; } */ print_log("Mednafen version detected: ", FE, gui); print_log(aline[0], FE, gui); #ifdef G_OS_UNIX print_log("\n", FE, gui); #endif print_log("----\n", FE, gui); GtkStatusbar *sbversion = GTK_STATUSBAR(gtk_builder_get_object(gui->builder, "sbversion")); gtk_statusbar_push(GTK_STATUSBAR(sbversion), 1, aline[0]); gchar *tooltip = g_strconcat("Mednafen version detected: ",aline[0], "\nPath: ", gui->binpath, NULL); gtk_widget_set_tooltip_text(GTK_WIDGET(sbversion), tooltip); g_free(tooltip); g_strfreev(achar); g_strfreev(aline); return TRUE; } else return FALSE; } gboolean read_cfg(guidata *gui) { gchar *string; gint num = 0; gint i; /*GFile *file = g_file_new_for_path(cfg_path); GFileMonitor *test = g_file_monitor (file, G_FILE_MONITOR_SEND_MOVED, NULL, NULL); g_signal_connect (test, "changed", G_CALLBACK (test_watch), gui);*/ if (g_file_get_contents(gui->cfgfile, &string, NULL, NULL)) { gchar **achar; gchar **aline; achar = g_strsplit(string, "\n", 0); num = g_strv_length(achar); for (i = 0; i < num; i++) { if ((*achar[i] != ';') && (*achar[i] != 0)) { aline = g_strsplit(achar[i], " ", 2); g_hash_table_insert(gui->hash, aline[0], aline[1]); g_free(aline); } } g_free(string); g_strfreev(achar); } else return FALSE; return TRUE; } mednaffe-0.8.6/src/toggles.h000066400000000000000000000022211313731622300156740ustar00rootroot00000000000000/* * toggles.h * * Copyright 2013-2015 AmatCoder * * This file is part of Mednaffe. * * Mednaffe is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * Mednaffe is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with Mednaffe; if not, see . * */ #ifndef TOGGLES_H #define TOGGLES_H void select_rows(guidata *gui); void set_toogle(gpointer widget, guidata *gui); void set_combo(gpointer widget, guidata *gui); void set_spin(gpointer widget, guidata *gui); void set_values(GtkBuilder *builder, guidata *gui); gchar* get_cfg(const gchar *home, guidata *gui); gboolean check_version(gchar *stout, guidata *gui); gboolean read_cfg(guidata *gui); #endif /* TOGGLES_H */