New upstream version 0.8.4
Stephen Kitt
7 years ago
0 | #### 21 / Jan / 2017 | |
1 | ||
2 | Mednaffe 0.8.4 is released with the following changes: | |
3 | ||
4 | - Added support for new settings added by mednafen 0.9.41 (Obviously, | |
5 | it needs this version or higher to work). | |
6 | ||
0 | 7 | #### 19 / Nov / 2016 |
1 | 8 | |
2 | 9 | Mednaffe 0.8.3 is released with the following changes: |
7 | 7 | * The only dependency (on Linux) is GTK+2 (or GTK+3). |
8 | 8 | * GPLv3 licensed. |
9 | 9 | |
10 | #### Downloads - Version 0.8.3 | |
10 | #### Downloads - Version 0.8.4 | |
11 | 11 | * You can download Mednaffe [here](https://sites.google.com/site/amatcoder/mednaffe/downloads/ "Downloads"). |
12 | 12 | * You can see the changelog [here](https://github.com/AmatCoder/mednaffe/blob/master/ChangeLog "ChangeLog"). |
13 | 13 | |
14 | *Note: Mednaffe only works with 0.9.39.1 or higher versions of mednafen emulator.* | |
14 | *Note: Mednaffe only works with 0.9.41 or higher versions of mednafen emulator.* | |
15 | 15 | |
16 | 16 | #### Screenshots |
17 | 17 |
0 | 0 | #! /bin/sh |
1 | 1 | # Guess values for system-dependent variables and create Makefiles. |
2 | # Generated by GNU Autoconf 2.69 for mednaffe 0.8.3. | |
2 | # Generated by GNU Autoconf 2.69 for mednaffe 0.8.4. | |
3 | 3 | # |
4 | 4 | # Report bugs to <BUG-REPORT-ADDRESS>. |
5 | 5 | # |
578 | 578 | # Identity of this package. |
579 | 579 | PACKAGE_NAME='mednaffe' |
580 | 580 | PACKAGE_TARNAME='mednaffe' |
581 | PACKAGE_VERSION='0.8.3' | |
582 | PACKAGE_STRING='mednaffe 0.8.3' | |
581 | PACKAGE_VERSION='0.8.4' | |
582 | PACKAGE_STRING='mednaffe 0.8.4' | |
583 | 583 | PACKAGE_BUGREPORT='BUG-REPORT-ADDRESS' |
584 | 584 | PACKAGE_URL='' |
585 | 585 | |
1237 | 1237 | # Omit some internal or obsolete options to make the list less imposing. |
1238 | 1238 | # This message is too long to be a string in the A/UX 3.1 sh. |
1239 | 1239 | cat <<_ACEOF |
1240 | \`configure' configures mednaffe 0.8.3 to adapt to many kinds of systems. | |
1240 | \`configure' configures mednaffe 0.8.4 to adapt to many kinds of systems. | |
1241 | 1241 | |
1242 | 1242 | Usage: $0 [OPTION]... [VAR=VALUE]... |
1243 | 1243 | |
1303 | 1303 | |
1304 | 1304 | if test -n "$ac_init_help"; then |
1305 | 1305 | case $ac_init_help in |
1306 | short | recursive ) echo "Configuration of mednaffe 0.8.3:";; | |
1306 | short | recursive ) echo "Configuration of mednaffe 0.8.4:";; | |
1307 | 1307 | esac |
1308 | 1308 | cat <<\_ACEOF |
1309 | 1309 | |
1401 | 1401 | test -n "$ac_init_help" && exit $ac_status |
1402 | 1402 | if $ac_init_version; then |
1403 | 1403 | cat <<\_ACEOF |
1404 | mednaffe configure 0.8.3 | |
1404 | mednaffe configure 0.8.4 | |
1405 | 1405 | generated by GNU Autoconf 2.69 |
1406 | 1406 | |
1407 | 1407 | Copyright (C) 2012 Free Software Foundation, Inc. |
1456 | 1456 | This file contains any messages produced by compilers while |
1457 | 1457 | running configure, to aid debugging if configure makes a mistake. |
1458 | 1458 | |
1459 | It was created by mednaffe $as_me 0.8.3, which was | |
1459 | It was created by mednaffe $as_me 0.8.4, which was | |
1460 | 1460 | generated by GNU Autoconf 2.69. Invocation command line was |
1461 | 1461 | |
1462 | 1462 | $ $0 $@ |
2319 | 2319 | |
2320 | 2320 | # Define the identity of the package. |
2321 | 2321 | PACKAGE='mednaffe' |
2322 | VERSION='0.8.3' | |
2322 | VERSION='0.8.4' | |
2323 | 2323 | |
2324 | 2324 | |
2325 | 2325 | cat >>confdefs.h <<_ACEOF |
3696 | 3696 | # Put the nasty error message in config.log where it belongs |
3697 | 3697 | echo "$GTK_PKG_ERRORS" >&5 |
3698 | 3698 | |
3699 | as_fn_error $? "Mednaffe needs GTK+ >= 3.4" "$LINENO" 5 | |
3699 | as_fn_error $? "Mednaffe needs GTK+ >= 3.4 development libraries" "$LINENO" 5 | |
3700 | 3700 | elif test $pkg_failed = untried; then |
3701 | 3701 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3702 | 3702 | $as_echo "no" >&6; } |
3703 | as_fn_error $? "Mednaffe needs GTK+ >= 3.4" "$LINENO" 5 | |
3703 | as_fn_error $? "Mednaffe needs GTK+ >= 3.4 development libraries" "$LINENO" 5 | |
3704 | 3704 | else |
3705 | 3705 | GTK_CFLAGS=$pkg_cv_GTK_CFLAGS |
3706 | 3706 | GTK_LIBS=$pkg_cv_GTK_LIBS |
3773 | 3773 | # Put the nasty error message in config.log where it belongs |
3774 | 3774 | echo "$GTK_PKG_ERRORS" >&5 |
3775 | 3775 | |
3776 | as_fn_error $? "Mednaffe needs GTK+ >= 2.24" "$LINENO" 5 | |
3776 | as_fn_error $? "Mednaffe needs GTK+ >= 2.24 development libraries" "$LINENO" 5 | |
3777 | 3777 | elif test $pkg_failed = untried; then |
3778 | 3778 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3779 | 3779 | $as_echo "no" >&6; } |
3780 | as_fn_error $? "Mednaffe needs GTK+ >= 2.24" "$LINENO" 5 | |
3780 | as_fn_error $? "Mednaffe needs GTK+ >= 2.24 development libraries" "$LINENO" 5 | |
3781 | 3781 | else |
3782 | 3782 | GTK_CFLAGS=$pkg_cv_GTK_CFLAGS |
3783 | 3783 | GTK_LIBS=$pkg_cv_GTK_LIBS |
4326 | 4326 | # report actual input values of CONFIG_FILES etc. instead of their |
4327 | 4327 | # values after options handling. |
4328 | 4328 | ac_log=" |
4329 | This file was extended by mednaffe $as_me 0.8.3, which was | |
4329 | This file was extended by mednaffe $as_me 0.8.4, which was | |
4330 | 4330 | generated by GNU Autoconf 2.69. Invocation command line was |
4331 | 4331 | |
4332 | 4332 | CONFIG_FILES = $CONFIG_FILES |
4392 | 4392 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
4393 | 4393 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
4394 | 4394 | ac_cs_version="\\ |
4395 | mednaffe config.status 0.8.3 | |
4395 | mednaffe config.status 0.8.4 | |
4396 | 4396 | configured by $0, generated by GNU Autoconf 2.69, |
4397 | 4397 | with options \\"\$ac_cs_config\\" |
4398 | 4398 |
1 | 1 | # Process this file with autoconf to produce a configure script. |
2 | 2 | |
3 | 3 | AC_PREREQ([2.68]) |
4 | AC_INIT([mednaffe], [0.8.3], [BUG-REPORT-ADDRESS]) | |
4 | AC_INIT([mednaffe], [0.8.4], [BUG-REPORT-ADDRESS]) | |
5 | 5 | AM_INIT_AUTOMAKE([foreign -Wall -Werror]) |
6 | 6 | AC_CONFIG_SRCDIR([src/common.h]) |
7 | 7 | AC_CONFIG_HEADERS([config.h]) |
44 | 44 | gtk_show_about_dialog( |
45 | 45 | GTK_WINDOW(gui->topwindow), |
46 | 46 | "program-name", "Mednaffe", |
47 | "version" ,"0.8.3", | |
47 | "version" ,"0.8.4", | |
48 | 48 | "authors", authors, |
49 | 49 | #ifdef STATIC_ENABLED |
50 | 50 | "copyright", "See NOTICE file for license details.", |
51 | 51 | #else |
52 | "copyright", "Copyright \xc2\xa9 2010-2016 AmatCoder", | |
52 | "copyright", "Copyright \xc2\xa9 2010-2017 AmatCoder", | |
53 | 53 | #endif |
54 | 54 | "comments", "A front-end (GUI) for Mednafen emulator", |
55 | 55 | "license", gpl3, |
214 | 214 | #ifdef G_OS_WIN32 |
215 | 215 | G_MODULE_EXPORT |
216 | 216 | #endif |
217 | void on_shader_changed(GtkComboBox *combobox, GtkWidget *widget) | |
218 | { | |
219 | if (gtk_combo_box_get_active(combobox) == 10) | |
220 | gtk_widget_set_sensitive(widget, TRUE); | |
221 | else | |
222 | gtk_widget_set_sensitive(widget, FALSE); | |
223 | } | |
224 | ||
225 | #ifdef G_OS_WIN32 | |
226 | G_MODULE_EXPORT | |
227 | #endif | |
217 | 228 | void on_audio_changed(GtkComboBox *combobox, GtkWidget *widget) |
218 | 229 | { |
219 | 230 | if ( |
559 | 559 | if (!check_version(stout, &gui)) |
560 | 560 | { |
561 | 561 | show_error( |
562 | "Error: Mednafen version is not compatible.\nYou need 0.9.39.1 \ | |
562 | "Error: Mednafen version is not compatible.\nYou need 0.9.41 \ | |
563 | 563 | version or above.\n"); |
564 | 564 | return 1; /* Items are not freed here */ |
565 | 565 | } |
0 | 0 | /* |
1 | 1 | * mednaffe_glade.h |
2 | 2 | * |
3 | * Copyright 2013 AmatCoder | |
3 | * Copyright 2013-2017 AmatCoder | |
4 | 4 | * |
5 | 5 | * This file is part of Mednaffe. |
6 | 6 | * |
25 | 25 | static const char *mednaffe_glade = |
26 | 26 | "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" |
27 | 27 | "<interface>\n" |
28 | "<requires lib=\"gtk+\" version=\"2.18\"/>\n" | |
28 | "<requires lib=\"gtk+\" version=\"2.24\"/>\n" | |
29 | 29 | "<!-- interface-naming-policy toplevel-contextual -->\n" |
30 | 30 | "<object class=\"GtkImage\" id=\"add_image\">\n" |
31 | 31 | "<property name=\"visible\">True</property>\n" |
56 | 56 | "<property name=\"step_increment\">0.01</property>\n" |
57 | 57 | "<property name=\"page_increment\">1</property>\n" |
58 | 58 | "</object>\n" |
59 | "<object class=\"GtkAdjustment\" id=\"adjgoathdiv\">\n" | |
60 | "<property name=\"lower\">-2</property>\n" | |
61 | "<property name=\"upper\">2</property>\n" | |
62 | "<property name=\"value\">0.5</property>\n" | |
63 | "<property name=\"step_increment\">0.01</property>\n" | |
64 | "<property name=\"page_increment\">0.10000000000000001</property>\n" | |
65 | "</object>\n" | |
66 | "<object class=\"GtkAdjustment\" id=\"adjgoattp\">\n" | |
67 | "<property name=\"upper\">1</property>\n" | |
68 | "<property name=\"value\">0.5</property>\n" | |
69 | "<property name=\"step_increment\">0.01</property>\n" | |
70 | "<property name=\"page_increment\">0.10000000000000001</property>\n" | |
71 | "</object>\n" | |
72 | "<object class=\"GtkAdjustment\" id=\"adjgoatvdiv\">\n" | |
73 | "<property name=\"lower\">-2</property>\n" | |
74 | "<property name=\"upper\">2</property>\n" | |
75 | "<property name=\"value\">0.5</property>\n" | |
76 | "<property name=\"step_increment\">0.01</property>\n" | |
77 | "<property name=\"page_increment\">0.10000000000000001</property>\n" | |
78 | "</object>\n" | |
59 | 79 | "<object class=\"GtkAdjustment\" id=\"adjnetplayers\">\n" |
60 | 80 | "<property name=\"upper\">16</property>\n" |
61 | 81 | "<property name=\"value\">1</property>\n" |
298 | 318 | "<row>\n" |
299 | 319 | "<col id=\"0\">ipynotxsharper</col>\n" |
300 | 320 | "</row>\n" |
321 | "<row>\n" | |
322 | "<col id=\"0\">goat</col>\n" | |
323 | "</row>\n" | |
301 | 324 | "</data>\n" |
302 | 325 | "</object>\n" |
303 | 326 | "<object class=\"GtkListStore\" id=\"cbstorespecial\">\n" |
373 | 396 | "</row>\n" |
374 | 397 | "<row>\n" |
375 | 398 | "<col id=\"0\" translatable=\"yes\">y</col>\n" |
399 | "</row>\n" | |
400 | "</data>\n" | |
401 | "</object>\n" | |
402 | "<object class=\"GtkListStore\" id=\"goat_pat\">\n" | |
403 | "<columns>\n" | |
404 | "<!-- column-name masks -->\n" | |
405 | "<column type=\"gchararray\"/>\n" | |
406 | "</columns>\n" | |
407 | "<data>\n" | |
408 | "<row>\n" | |
409 | "<col id=\"0\">goatron</col>\n" | |
410 | "</row>\n" | |
411 | "<row>\n" | |
412 | "<col id=\"0\">borg</col>\n" | |
413 | "</row>\n" | |
414 | "<row>\n" | |
415 | "<col id=\"0\">slenderman</col>\n" | |
376 | 416 | "</row>\n" |
377 | 417 | "</data>\n" |
378 | 418 | "</object>\n" |
3626 | 3666 | "<object class=\"GtkVBox\" id=\"vbox10\">\n" |
3627 | 3667 | "<property name=\"visible\">True</property>\n" |
3628 | 3668 | "<property name=\"can_focus\">False</property>\n" |
3669 | "<property name=\"spacing\">6</property>\n" | |
3629 | 3670 | "<child>\n" |
3630 | 3671 | "<object class=\"GtkHBox\" id=\"hbox13\">\n" |
3631 | 3672 | "<property name=\"visible\">True</property>\n" |
3739 | 3780 | "</packing>\n" |
3740 | 3781 | "</child>\n" |
3741 | 3782 | "<child>\n" |
3742 | "<object class=\"GtkComboBox\" id=\".pixshader\">\n" | |
3783 | "<object class=\"GtkComboBox\" id=\".shader\">\n" | |
3743 | 3784 | "<property name=\"visible\">True</property>\n" |
3744 | 3785 | "<property name=\"can_focus\">False</property>\n" |
3745 | 3786 | "<property name=\"has_tooltip\">True</property>\n" |
3746 | "<property name=\"tooltip_text\" translatable=\"yes\">Obviously, this will only work with the OpenGL 'video.driver' setting, and only on cards and OpenGL implementations that support pixel shaders, otherwise you will get a black screen, or Mednafen may display an error message when starting up.\n" | |
3747 | "\n" | |
3748 | "Bilinear interpolation is disabled with pixel shaders, and any interpolation, if present, will be noted in the description of each pixel shader.\n" | |
3787 | "<property name=\"tooltip_text\" translatable=\"yes\">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" | |
3749 | 3788 | "\n" |
3750 | 3789 | "none - None/Disabled\n" |
3751 | 3790 | "\n" |
3753 | 3792 | "Will automatically interpolate on each axis if the corresponding effective scaling factor is not an integer.\n" |
3754 | 3793 | "\n" |
3755 | 3794 | "autoipsharper - Sharper Auto Interpolation\n" |
3756 | "Same as 'autoip', but when interpolation is done, it is done in a manner that will reduce blurriness if possible.\n" | |
3795 | "Same as \"autoip\", but when interpolation is done, it is done in a manner that will reduce blurriness if possible.\n" | |
3757 | 3796 | "\n" |
3758 | 3797 | "scale2x - Scale2x\n" |
3759 | 3798 | "\n" |
3766 | 3805 | "\n" |
3767 | 3806 | "ipynotx - Linear interpolation on Y axis only.\n" |
3768 | 3807 | "\n" |
3769 | "ipxnotysharper - Sharper version of 'ipxnoty'.\n" | |
3808 | "ipxnotysharper - Sharper version of \"ipxnoty\".\n" | |
3770 | 3809 | "\n" |
3771 | "ipynotxsharper - Sharper version of 'ipynotx'.</property>\n" | |
3810 | "ipynotxsharper - Sharper version of \"ipynotx\".\n" | |
3811 | "\n" | |
3812 | "goat - Simple approximation of a color TV CRT look.\n" | |
3813 | "Intended for fullscreen modes with a vertical resolution of around 1000 to 1500 pixels. Doesn't simulate halation and electron beam energy distribution nuances.</property>\n" | |
3772 | 3814 | "<property name=\"model\">cbstorepix</property>\n" |
3773 | 3815 | "<property name=\"active\">0</property>\n" |
3816 | "<signal name=\"changed\" handler=\"on_shader_changed\" object=\"frame17\" swapped=\"no\"/>\n" | |
3774 | 3817 | "<child>\n" |
3775 | 3818 | "<object class=\"GtkCellRendererText\" id=\"cellrenderertext6\"/>\n" |
3776 | 3819 | "<attributes>\n" |
3841 | 3884 | "<property name=\"expand\">False</property>\n" |
3842 | 3885 | "<property name=\"fill\">True</property>\n" |
3843 | 3886 | "<property name=\"position\">0</property>\n" |
3887 | "</packing>\n" | |
3888 | "</child>\n" | |
3889 | "<child>\n" | |
3890 | "<object class=\"GtkAlignment\" id=\"alignment19\">\n" | |
3891 | "<property name=\"visible\">True</property>\n" | |
3892 | "<property name=\"can_focus\">False</property>\n" | |
3893 | "<property name=\"top_padding\">4</property>\n" | |
3894 | "<property name=\"bottom_padding\">8</property>\n" | |
3895 | "<property name=\"left_padding\">48</property>\n" | |
3896 | "<child>\n" | |
3897 | "<object class=\"GtkFrame\" id=\"frame17\">\n" | |
3898 | "<property name=\"visible\">True</property>\n" | |
3899 | "<property name=\"sensitive\">False</property>\n" | |
3900 | "<property name=\"can_focus\">False</property>\n" | |
3901 | "<property name=\"label_xalign\">0</property>\n" | |
3902 | "<property name=\"shadow_type\">none</property>\n" | |
3903 | "<child>\n" | |
3904 | "<object class=\"GtkAlignment\" id=\"alignment20\">\n" | |
3905 | "<property name=\"visible\">True</property>\n" | |
3906 | "<property name=\"can_focus\">False</property>\n" | |
3907 | "<property name=\"top_padding\">4</property>\n" | |
3908 | "<property name=\"left_padding\">12</property>\n" | |
3909 | "<child>\n" | |
3910 | "<object class=\"GtkVBox\" id=\"vbox4\">\n" | |
3911 | "<property name=\"visible\">True</property>\n" | |
3912 | "<property name=\"can_focus\">False</property>\n" | |
3913 | "<child>\n" | |
3914 | "<object class=\"GtkCheckButton\" id=\".shader.goat.fprog\">\n" | |
3915 | "<property name=\"label\" translatable=\"yes\">Force interlaced video to be treated as progressive</property>\n" | |
3916 | "<property name=\"visible\">True</property>\n" | |
3917 | "<property name=\"can_focus\">True</property>\n" | |
3918 | "<property name=\"receives_default\">False</property>\n" | |
3919 | "<property name=\"tooltip_text\" translatable=\"yes\">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.</property>\n" | |
3920 | "<property name=\"draw_indicator\">True</property>\n" | |
3921 | "</object>\n" | |
3922 | "<packing>\n" | |
3923 | "<property name=\"expand\">True</property>\n" | |
3924 | "<property name=\"fill\">True</property>\n" | |
3925 | "<property name=\"position\">0</property>\n" | |
3926 | "</packing>\n" | |
3927 | "</child>\n" | |
3928 | "<child>\n" | |
3929 | "<object class=\"GtkCheckButton\" id=\".shader.goat.slen\">\n" | |
3930 | "<property name=\"label\" translatable=\"yes\">Enable scanlines effect</property>\n" | |
3931 | "<property name=\"visible\">True</property>\n" | |
3932 | "<property name=\"can_focus\">True</property>\n" | |
3933 | "<property name=\"receives_default\">False</property>\n" | |
3934 | "<property name=\"active\">True</property>\n" | |
3935 | "<property name=\"draw_indicator\">True</property>\n" | |
3936 | "</object>\n" | |
3937 | "<packing>\n" | |
3938 | "<property name=\"expand\">True</property>\n" | |
3939 | "<property name=\"fill\">True</property>\n" | |
3940 | "<property name=\"position\">1</property>\n" | |
3941 | "</packing>\n" | |
3942 | "</child>\n" | |
3943 | "<child>\n" | |
3944 | "<object class=\"GtkHBox\" id=\"hbox12\">\n" | |
3945 | "<property name=\"visible\">True</property>\n" | |
3946 | "<property name=\"can_focus\">False</property>\n" | |
3947 | "<property name=\"spacing\">18</property>\n" | |
3948 | "<child>\n" | |
3949 | "<object class=\"GtkLabel\" id=\"label94\">\n" | |
3950 | "<property name=\"visible\">True</property>\n" | |
3951 | "<property name=\"can_focus\">False</property>\n" | |
3952 | "<property name=\"label\" translatable=\"yes\">Mask pattern:</property>\n" | |
3953 | "</object>\n" | |
3954 | "<packing>\n" | |
3955 | "<property name=\"expand\">False</property>\n" | |
3956 | "<property name=\"fill\">True</property>\n" | |
3957 | "<property name=\"position\">0</property>\n" | |
3958 | "</packing>\n" | |
3959 | "</child>\n" | |
3960 | "<child>\n" | |
3961 | "<object class=\"GtkComboBox\" id=\".shader.goat.pat\">\n" | |
3962 | "<property name=\"width_request\">150</property>\n" | |
3963 | "<property name=\"visible\">True</property>\n" | |
3964 | "<property name=\"can_focus\">False</property>\n" | |
3965 | "<property name=\"tooltip_text\" translatable=\"yes\">Mask pattern.\n" | |
3966 | "\n" | |
3967 | "goatron - Goatron\n" | |
3968 | "Brightest.\n" | |
3969 | "\n" | |
3970 | "borg - Borg\n" | |
3971 | "Darkest.\n" | |
3972 | "\n" | |
3973 | "slenderman - Slenderman\n" | |
3974 | "Spookiest?</property>\n" | |
3975 | "<property name=\"model\">goat_pat</property>\n" | |
3976 | "<property name=\"active\">0</property>\n" | |
3977 | "<child>\n" | |
3978 | "<object class=\"GtkCellRendererText\" id=\"cellrenderertext8\"/>\n" | |
3979 | "<attributes>\n" | |
3980 | "<attribute name=\"text\">0</attribute>\n" | |
3981 | "</attributes>\n" | |
3982 | "</child>\n" | |
3983 | "</object>\n" | |
3984 | "<packing>\n" | |
3985 | "<property name=\"expand\">False</property>\n" | |
3986 | "<property name=\"fill\">True</property>\n" | |
3987 | "<property name=\"position\">1</property>\n" | |
3988 | "</packing>\n" | |
3989 | "</child>\n" | |
3990 | "</object>\n" | |
3991 | "<packing>\n" | |
3992 | "<property name=\"expand\">False</property>\n" | |
3993 | "<property name=\"fill\">True</property>\n" | |
3994 | "<property name=\"padding\">6</property>\n" | |
3995 | "<property name=\"position\">2</property>\n" | |
3996 | "</packing>\n" | |
3997 | "</child>\n" | |
3998 | "<child>\n" | |
3999 | "<object class=\"GtkTable\" id=\"table7\">\n" | |
4000 | "<property name=\"visible\">True</property>\n" | |
4001 | "<property name=\"can_focus\">False</property>\n" | |
4002 | "<property name=\"n_rows\">3</property>\n" | |
4003 | "<property name=\"n_columns\">2</property>\n" | |
4004 | "<property name=\"column_spacing\">16</property>\n" | |
4005 | "<child>\n" | |
4006 | "<object class=\"GtkLabel\" id=\"label92\">\n" | |
4007 | "<property name=\"visible\">True</property>\n" | |
4008 | "<property name=\"can_focus\">False</property>\n" | |
4009 | "<property name=\"xalign\">0</property>\n" | |
4010 | "<property name=\"label\" translatable=\"yes\">Constant RGB horizontal divergence:</property>\n" | |
4011 | "</object>\n" | |
4012 | "<packing>\n" | |
4013 | "<property name=\"x_options\">GTK_FILL</property>\n" | |
4014 | "<property name=\"y_options\">GTK_FILL</property>\n" | |
4015 | "</packing>\n" | |
4016 | "</child>\n" | |
4017 | "<child>\n" | |
4018 | "<object class=\"GtkSpinButton\" id=\".shader.goat.hdiv\">\n" | |
4019 | "<property name=\"visible\">True</property>\n" | |
4020 | "<property name=\"can_focus\">True</property>\n" | |
4021 | "<property name=\"invisible_char\">•</property>\n" | |
4022 | "<property name=\"primary_icon_activatable\">False</property>\n" | |
4023 | "<property name=\"secondary_icon_activatable\">False</property>\n" | |
4024 | "<property name=\"primary_icon_sensitive\">True</property>\n" | |
4025 | "<property name=\"secondary_icon_sensitive\">True</property>\n" | |
4026 | "<property name=\"adjustment\">adjgoathdiv</property>\n" | |
4027 | "<property name=\"digits\">2</property>\n" | |
4028 | "</object>\n" | |
4029 | "<packing>\n" | |
4030 | "<property name=\"left_attach\">1</property>\n" | |
4031 | "<property name=\"right_attach\">2</property>\n" | |
4032 | "<property name=\"x_options\">GTK_FILL</property>\n" | |
4033 | "<property name=\"y_options\">GTK_FILL</property>\n" | |
4034 | "</packing>\n" | |
4035 | "</child>\n" | |
4036 | "<child>\n" | |
4037 | "<object class=\"GtkLabel\" id=\"label93\">\n" | |
4038 | "<property name=\"visible\">True</property>\n" | |
4039 | "<property name=\"can_focus\">False</property>\n" | |
4040 | "<property name=\"xalign\">0</property>\n" | |
4041 | "<property name=\"label\" translatable=\"yes\">Constant RGB vertical divergence:</property>\n" | |
4042 | "</object>\n" | |
4043 | "<packing>\n" | |
4044 | "<property name=\"top_attach\">1</property>\n" | |
4045 | "<property name=\"bottom_attach\">2</property>\n" | |
4046 | "<property name=\"x_options\">GTK_FILL</property>\n" | |
4047 | "<property name=\"y_options\">GTK_FILL</property>\n" | |
4048 | "</packing>\n" | |
4049 | "</child>\n" | |
4050 | "<child>\n" | |
4051 | "<object class=\"GtkLabel\" id=\"label95\">\n" | |
4052 | "<property name=\"visible\">True</property>\n" | |
4053 | "<property name=\"can_focus\">False</property>\n" | |
4054 | "<property name=\"xalign\">0</property>\n" | |
4055 | "<property name=\"label\" translatable=\"yes\">Transparency of otherwise-opaque mask areas:</property>\n" | |
4056 | "</object>\n" | |
4057 | "<packing>\n" | |
4058 | "<property name=\"top_attach\">2</property>\n" | |
4059 | "<property name=\"bottom_attach\">3</property>\n" | |
4060 | "<property name=\"x_options\">GTK_FILL</property>\n" | |
4061 | "<property name=\"y_options\">GTK_FILL</property>\n" | |
4062 | "</packing>\n" | |
4063 | "</child>\n" | |
4064 | "<child>\n" | |
4065 | "<object class=\"GtkSpinButton\" id=\".shader.goat.vdiv\">\n" | |
4066 | "<property name=\"visible\">True</property>\n" | |
4067 | "<property name=\"can_focus\">True</property>\n" | |
4068 | "<property name=\"invisible_char\">•</property>\n" | |
4069 | "<property name=\"primary_icon_activatable\">False</property>\n" | |
4070 | "<property name=\"secondary_icon_activatable\">False</property>\n" | |
4071 | "<property name=\"primary_icon_sensitive\">True</property>\n" | |
4072 | "<property name=\"secondary_icon_sensitive\">True</property>\n" | |
4073 | "<property name=\"adjustment\">adjgoatvdiv</property>\n" | |
4074 | "<property name=\"digits\">2</property>\n" | |
4075 | "</object>\n" | |
4076 | "<packing>\n" | |
4077 | "<property name=\"left_attach\">1</property>\n" | |
4078 | "<property name=\"right_attach\">2</property>\n" | |
4079 | "<property name=\"top_attach\">1</property>\n" | |
4080 | "<property name=\"bottom_attach\">2</property>\n" | |
4081 | "<property name=\"x_options\">GTK_FILL</property>\n" | |
4082 | "<property name=\"y_options\">GTK_FILL</property>\n" | |
4083 | "</packing>\n" | |
4084 | "</child>\n" | |
4085 | "<child>\n" | |
4086 | "<object class=\"GtkSpinButton\" id=\".shader.goat.tp\">\n" | |
4087 | "<property name=\"visible\">True</property>\n" | |
4088 | "<property name=\"can_focus\">True</property>\n" | |
4089 | "<property name=\"invisible_char\">•</property>\n" | |
4090 | "<property name=\"primary_icon_activatable\">False</property>\n" | |
4091 | "<property name=\"secondary_icon_activatable\">False</property>\n" | |
4092 | "<property name=\"primary_icon_sensitive\">True</property>\n" | |
4093 | "<property name=\"secondary_icon_sensitive\">True</property>\n" | |
4094 | "<property name=\"adjustment\">adjgoattp</property>\n" | |
4095 | "<property name=\"digits\">2</property>\n" | |
4096 | "</object>\n" | |
4097 | "<packing>\n" | |
4098 | "<property name=\"left_attach\">1</property>\n" | |
4099 | "<property name=\"right_attach\">2</property>\n" | |
4100 | "<property name=\"top_attach\">2</property>\n" | |
4101 | "<property name=\"bottom_attach\">3</property>\n" | |
4102 | "<property name=\"x_options\">GTK_FILL</property>\n" | |
4103 | "<property name=\"y_options\">GTK_FILL</property>\n" | |
4104 | "</packing>\n" | |
4105 | "</child>\n" | |
4106 | "</object>\n" | |
4107 | "<packing>\n" | |
4108 | "<property name=\"expand\">False</property>\n" | |
4109 | "<property name=\"fill\">True</property>\n" | |
4110 | "<property name=\"position\">3</property>\n" | |
4111 | "</packing>\n" | |
4112 | "</child>\n" | |
4113 | "</object>\n" | |
4114 | "</child>\n" | |
4115 | "</object>\n" | |
4116 | "</child>\n" | |
4117 | "<child type=\"label\">\n" | |
4118 | "<object class=\"GtkLabel\" id=\"label91\">\n" | |
4119 | "<property name=\"visible\">True</property>\n" | |
4120 | "<property name=\"can_focus\">False</property>\n" | |
4121 | "<property name=\"label\" translatable=\"yes\"><b>Goat shader settings</b></property>\n" | |
4122 | "<property name=\"use_markup\">True</property>\n" | |
4123 | "</object>\n" | |
4124 | "</child>\n" | |
4125 | "</object>\n" | |
4126 | "</child>\n" | |
4127 | "</object>\n" | |
4128 | "<packing>\n" | |
4129 | "<property name=\"expand\">False</property>\n" | |
4130 | "<property name=\"fill\">True</property>\n" | |
4131 | "<property name=\"position\">1</property>\n" | |
3844 | 4132 | "</packing>\n" |
3845 | 4133 | "</child>\n" |
3846 | 4134 | "</object>\n" |
4380 | 4668 | "<child>\n" |
4381 | 4669 | "<placeholder/>\n" |
4382 | 4670 | "</child>\n" |
4671 | "<child>\n" | |
4672 | "<placeholder/>\n" | |
4673 | "</child>\n" | |
4674 | "<child>\n" | |
4675 | "<placeholder/>\n" | |
4676 | "</child>\n" | |
4383 | 4677 | "</object>\n" |
4384 | 4678 | "</child>\n" |
4385 | 4679 | "</object>\n" |
4631 | 4925 | "<child>\n" |
4632 | 4926 | "<placeholder/>\n" |
4633 | 4927 | "</child>\n" |
4928 | "<child>\n" | |
4929 | "<placeholder/>\n" | |
4930 | "</child>\n" | |
4931 | "<child>\n" | |
4932 | "<placeholder/>\n" | |
4933 | "</child>\n" | |
4634 | 4934 | "</object>\n" |
4635 | 4935 | "</child>\n" |
4636 | 4936 | "</object>\n" |
110 | 110 | key_file=g_key_file_new(); |
111 | 111 | /*g_key_file_set_list_separator(key_file, 0x0D);*/ |
112 | 112 | |
113 | g_key_file_set_comment(key_file, NULL, NULL, " Version 0.8.3\n \ | |
113 | g_key_file_set_comment(key_file, NULL, NULL, " Version 0.8.4\n \ | |
114 | 114 | Do not edit this file!", NULL); |
115 | 115 | |
116 | 116 | g_key_file_set_string(key_file, "GUI", "Bin", gui->binpath); |
0 | 0 | /* |
1 | 1 | * system_glade.h |
2 | 2 | * |
3 | * Copyright 2013 AmatCoder | |
3 | * Copyright 2013-2017 AmatCoder | |
4 | 4 | * |
5 | 5 | * This file is part of Mednaffe. |
6 | 6 | * |
21 | 21 | |
22 | 22 | #ifndef SYSTEM_GLADE_H |
23 | 23 | #define SYSTEM_GLADE_H |
24 | ||
24 | ||
25 | 25 | static const char *system_glade = |
26 | 26 | "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" |
27 | 27 | "<interface>\n" |
28 | "<requires lib=\"gtk+\" version=\"2.18\"/>\n" | |
28 | "<requires lib=\"gtk+\" version=\"2.24\"/>\n" | |
29 | 29 | "<!-- interface-naming-policy project-wide -->\n" |
30 | 30 | "<object class=\"GtkVBox\" id=\"-gba\">\n" |
31 | 31 | "<property name=\"visible\">True</property>\n" |
266 | 266 | "<property name=\"can_focus\">False</property>\n" |
267 | 267 | "<property name=\"left_padding\">12</property>\n" |
268 | 268 | "<child>\n" |
269 | "<object class=\"GtkVBox\" id=\"vbox37\">\n" | |
270 | "<property name=\"visible\">True</property>\n" | |
271 | "<property name=\"can_focus\">False</property>\n" | |
272 | "<child>\n" | |
269 | 273 | "<object class=\"GtkCheckButton\" id=\"-snes.correct_aspect\">\n" |
270 | 274 | "<property name=\"label\" translatable=\"yes\">Correct the aspect ratio</property>\n" |
271 | 275 | "<property name=\"visible\">True</property>\n" |
274 | 278 | "<property name=\"has_tooltip\">True</property>\n" |
275 | 279 | "<property name=\"tooltip_text\" translatable=\"yes\">Note that regardless of this setting's value, \"512\" and \"256\" width modes will be scaled to the same dimensions for display.</property>\n" |
276 | 280 | "<property name=\"draw_indicator\">True</property>\n" |
281 | "</object>\n" | |
282 | "<packing>\n" | |
283 | "<property name=\"expand\">True</property>\n" | |
284 | "<property name=\"fill\">True</property>\n" | |
285 | "<property name=\"position\">0</property>\n" | |
286 | "</packing>\n" | |
287 | "</child>\n" | |
288 | "<child>\n" | |
289 | "<object class=\"GtkCheckButton\" id=\"-snes.h_blend\">\n" | |
290 | "<property name=\"label\" translatable=\"yes\">Enable horizontal blend(blur) filter</property>\n" | |
291 | "<property name=\"visible\">True</property>\n" | |
292 | "<property name=\"can_focus\">True</property>\n" | |
293 | "<property name=\"receives_default\">False</property>\n" | |
294 | "<property name=\"tooltip_text\" translatable=\"yes\">Intended for use in combination with the \"goat\" OpenGL shader, or with bilinear interpolation or linear interpolation on the X axis enabled.</property>\n" | |
295 | "<property name=\"draw_indicator\">True</property>\n" | |
296 | "</object>\n" | |
297 | "<packing>\n" | |
298 | "<property name=\"expand\">True</property>\n" | |
299 | "<property name=\"fill\">True</property>\n" | |
300 | "<property name=\"position\">1</property>\n" | |
301 | "</packing>\n" | |
302 | "</child>\n" | |
277 | 303 | "</object>\n" |
278 | 304 | "</child>\n" |
279 | 305 | "</object>\n" |
1078 | 1104 | "</object>\n" |
1079 | 1105 | "<object class=\"GtkAdjustment\" id=\"adjpsx_slstartp\">\n" |
1080 | 1106 | "<property name=\"upper\">287</property>\n" |
1107 | "<property name=\"step_increment\">1</property>\n" | |
1108 | "<property name=\"page_increment\">10</property>\n" | |
1109 | "</object>\n" | |
1110 | "<object class=\"GtkAdjustment\" id=\"adjsmsslend\">\n" | |
1111 | "<property name=\"upper\">239</property>\n" | |
1112 | "<property name=\"value\">239</property>\n" | |
1113 | "<property name=\"step_increment\">1</property>\n" | |
1114 | "<property name=\"page_increment\">10</property>\n" | |
1115 | "</object>\n" | |
1116 | "<object class=\"GtkAdjustment\" id=\"adjsmsslendp\">\n" | |
1117 | "<property name=\"upper\">239</property>\n" | |
1118 | "<property name=\"value\">239</property>\n" | |
1119 | "<property name=\"step_increment\">1</property>\n" | |
1120 | "<property name=\"page_increment\">10</property>\n" | |
1121 | "</object>\n" | |
1122 | "<object class=\"GtkAdjustment\" id=\"adjsmsslstart\">\n" | |
1123 | "<property name=\"upper\">239</property>\n" | |
1124 | "<property name=\"step_increment\">1</property>\n" | |
1125 | "<property name=\"page_increment\">10</property>\n" | |
1126 | "</object>\n" | |
1127 | "<object class=\"GtkAdjustment\" id=\"adjsmsstartp\">\n" | |
1128 | "<property name=\"upper\">239</property>\n" | |
1081 | 1129 | "<property name=\"step_increment\">1</property>\n" |
1082 | 1130 | "<property name=\"page_increment\">10</property>\n" |
1083 | 1131 | "</object>\n" |
5127 | 5175 | "</packing>\n" |
5128 | 5176 | "</child>\n" |
5129 | 5177 | "<child>\n" |
5130 | "<object class=\"GtkFrame\" id=\"frame32\">\n" | |
5178 | "<object class=\"GtkFrame\" id=\"frame40\">\n" | |
5131 | 5179 | "<property name=\"visible\">True</property>\n" |
5132 | 5180 | "<property name=\"can_focus\">False</property>\n" |
5133 | 5181 | "<property name=\"label_xalign\">0</property>\n" |
5134 | 5182 | "<property name=\"shadow_type\">none</property>\n" |
5135 | 5183 | "<child>\n" |
5184 | "<object class=\"GtkAlignment\" id=\"alignment41\">\n" | |
5185 | "<property name=\"visible\">True</property>\n" | |
5186 | "<property name=\"can_focus\">False</property>\n" | |
5187 | "<property name=\"left_padding\">12</property>\n" | |
5188 | "<child>\n" | |
5189 | "<object class=\"GtkVBox\" id=\"vbox50\">\n" | |
5190 | "<property name=\"visible\">True</property>\n" | |
5191 | "<property name=\"can_focus\">False</property>\n" | |
5192 | "<child>\n" | |
5193 | "<object class=\"GtkTable\" id=\"table6\">\n" | |
5194 | "<property name=\"visible\">True</property>\n" | |
5195 | "<property name=\"can_focus\">False</property>\n" | |
5196 | "<property name=\"n_rows\">4</property>\n" | |
5197 | "<property name=\"n_columns\">2</property>\n" | |
5198 | "<property name=\"column_spacing\">16</property>\n" | |
5199 | "<child>\n" | |
5200 | "<object class=\"GtkSpinButton\" id=\"-sms.slendp\">\n" | |
5201 | "<property name=\"visible\">True</property>\n" | |
5202 | "<property name=\"can_focus\">True</property>\n" | |
5203 | "<property name=\"invisible_char\">•</property>\n" | |
5204 | "<property name=\"invisible_char_set\">True</property>\n" | |
5205 | "<property name=\"primary_icon_activatable\">False</property>\n" | |
5206 | "<property name=\"secondary_icon_activatable\">False</property>\n" | |
5207 | "<property name=\"primary_icon_sensitive\">True</property>\n" | |
5208 | "<property name=\"secondary_icon_sensitive\">True</property>\n" | |
5209 | "<property name=\"adjustment\">adjsmsslendp</property>\n" | |
5210 | "<property name=\"numeric\">True</property>\n" | |
5211 | "</object>\n" | |
5212 | "<packing>\n" | |
5213 | "<property name=\"left_attach\">1</property>\n" | |
5214 | "<property name=\"right_attach\">2</property>\n" | |
5215 | "<property name=\"top_attach\">3</property>\n" | |
5216 | "<property name=\"bottom_attach\">4</property>\n" | |
5217 | "<property name=\"x_options\">GTK_FILL</property>\n" | |
5218 | "<property name=\"y_options\">GTK_FILL</property>\n" | |
5219 | "</packing>\n" | |
5220 | "</child>\n" | |
5221 | "<child>\n" | |
5222 | "<object class=\"GtkSpinButton\" id=\"-sms.slstartp\">\n" | |
5223 | "<property name=\"visible\">True</property>\n" | |
5224 | "<property name=\"can_focus\">True</property>\n" | |
5225 | "<property name=\"invisible_char\">•</property>\n" | |
5226 | "<property name=\"invisible_char_set\">True</property>\n" | |
5227 | "<property name=\"primary_icon_activatable\">False</property>\n" | |
5228 | "<property name=\"secondary_icon_activatable\">False</property>\n" | |
5229 | "<property name=\"primary_icon_sensitive\">True</property>\n" | |
5230 | "<property name=\"secondary_icon_sensitive\">True</property>\n" | |
5231 | "<property name=\"adjustment\">adjsmsstartp</property>\n" | |
5232 | "<property name=\"numeric\">True</property>\n" | |
5233 | "</object>\n" | |
5234 | "<packing>\n" | |
5235 | "<property name=\"left_attach\">1</property>\n" | |
5236 | "<property name=\"right_attach\">2</property>\n" | |
5237 | "<property name=\"top_attach\">2</property>\n" | |
5238 | "<property name=\"bottom_attach\">3</property>\n" | |
5239 | "<property name=\"x_options\">GTK_FILL</property>\n" | |
5240 | "<property name=\"y_options\">GTK_FILL</property>\n" | |
5241 | "</packing>\n" | |
5242 | "</child>\n" | |
5243 | "<child>\n" | |
5244 | "<object class=\"GtkSpinButton\" id=\"-sms.slend\">\n" | |
5245 | "<property name=\"visible\">True</property>\n" | |
5246 | "<property name=\"can_focus\">True</property>\n" | |
5247 | "<property name=\"invisible_char\">•</property>\n" | |
5248 | "<property name=\"invisible_char_set\">True</property>\n" | |
5249 | "<property name=\"primary_icon_activatable\">False</property>\n" | |
5250 | "<property name=\"secondary_icon_activatable\">False</property>\n" | |
5251 | "<property name=\"primary_icon_sensitive\">True</property>\n" | |
5252 | "<property name=\"secondary_icon_sensitive\">True</property>\n" | |
5253 | "<property name=\"adjustment\">adjsmsslend</property>\n" | |
5254 | "<property name=\"numeric\">True</property>\n" | |
5255 | "</object>\n" | |
5256 | "<packing>\n" | |
5257 | "<property name=\"left_attach\">1</property>\n" | |
5258 | "<property name=\"right_attach\">2</property>\n" | |
5259 | "<property name=\"top_attach\">1</property>\n" | |
5260 | "<property name=\"bottom_attach\">2</property>\n" | |
5261 | "<property name=\"x_options\">GTK_FILL</property>\n" | |
5262 | "<property name=\"y_options\">GTK_FILL</property>\n" | |
5263 | "</packing>\n" | |
5264 | "</child>\n" | |
5265 | "<child>\n" | |
5266 | "<object class=\"GtkSpinButton\" id=\"-sms.slstart\">\n" | |
5267 | "<property name=\"visible\">True</property>\n" | |
5268 | "<property name=\"can_focus\">True</property>\n" | |
5269 | "<property name=\"invisible_char\">•</property>\n" | |
5270 | "<property name=\"invisible_char_set\">True</property>\n" | |
5271 | "<property name=\"primary_icon_activatable\">False</property>\n" | |
5272 | "<property name=\"secondary_icon_activatable\">False</property>\n" | |
5273 | "<property name=\"primary_icon_sensitive\">True</property>\n" | |
5274 | "<property name=\"secondary_icon_sensitive\">True</property>\n" | |
5275 | "<property name=\"adjustment\">adjsmsslstart</property>\n" | |
5276 | "<property name=\"numeric\">True</property>\n" | |
5277 | "</object>\n" | |
5278 | "<packing>\n" | |
5279 | "<property name=\"left_attach\">1</property>\n" | |
5280 | "<property name=\"right_attach\">2</property>\n" | |
5281 | "<property name=\"x_options\">GTK_FILL</property>\n" | |
5282 | "<property name=\"y_options\">GTK_FILL</property>\n" | |
5283 | "</packing>\n" | |
5284 | "</child>\n" | |
5285 | "<child>\n" | |
5286 | "<object class=\"GtkLabel\" id=\"label107\">\n" | |
5287 | "<property name=\"visible\">True</property>\n" | |
5288 | "<property name=\"can_focus\">False</property>\n" | |
5289 | "<property name=\"xalign\">0</property>\n" | |
5290 | "<property name=\"label\" translatable=\"yes\">First displayed scanline in NTSC mode:</property>\n" | |
5291 | "</object>\n" | |
5292 | "<packing>\n" | |
5293 | "<property name=\"x_options\">GTK_FILL</property>\n" | |
5294 | "<property name=\"y_options\">GTK_FILL</property>\n" | |
5295 | "</packing>\n" | |
5296 | "</child>\n" | |
5297 | "<child>\n" | |
5298 | "<object class=\"GtkLabel\" id=\"label119\">\n" | |
5299 | "<property name=\"visible\">True</property>\n" | |
5300 | "<property name=\"can_focus\">False</property>\n" | |
5301 | "<property name=\"xalign\">0</property>\n" | |
5302 | "<property name=\"label\" translatable=\"yes\">Last displayed scanline in NTSC mode:</property>\n" | |
5303 | "</object>\n" | |
5304 | "<packing>\n" | |
5305 | "<property name=\"top_attach\">1</property>\n" | |
5306 | "<property name=\"bottom_attach\">2</property>\n" | |
5307 | "<property name=\"x_options\">GTK_FILL</property>\n" | |
5308 | "<property name=\"y_options\">GTK_FILL</property>\n" | |
5309 | "</packing>\n" | |
5310 | "</child>\n" | |
5311 | "<child>\n" | |
5312 | "<object class=\"GtkLabel\" id=\"label120\">\n" | |
5313 | "<property name=\"visible\">True</property>\n" | |
5314 | "<property name=\"can_focus\">False</property>\n" | |
5315 | "<property name=\"xalign\">0</property>\n" | |
5316 | "<property name=\"label\" translatable=\"yes\">First displayed scanline in PAL mode:</property>\n" | |
5317 | "</object>\n" | |
5318 | "<packing>\n" | |
5319 | "<property name=\"top_attach\">2</property>\n" | |
5320 | "<property name=\"bottom_attach\">3</property>\n" | |
5321 | "<property name=\"x_options\">GTK_FILL</property>\n" | |
5322 | "<property name=\"y_options\">GTK_FILL</property>\n" | |
5323 | "</packing>\n" | |
5324 | "</child>\n" | |
5325 | "<child>\n" | |
5326 | "<object class=\"GtkLabel\" id=\"label121\">\n" | |
5327 | "<property name=\"visible\">True</property>\n" | |
5328 | "<property name=\"can_focus\">False</property>\n" | |
5329 | "<property name=\"xalign\">0</property>\n" | |
5330 | "<property name=\"label\" translatable=\"yes\">Last displayed scanline in PAL mode:</property>\n" | |
5331 | "</object>\n" | |
5332 | "<packing>\n" | |
5333 | "<property name=\"top_attach\">3</property>\n" | |
5334 | "<property name=\"bottom_attach\">4</property>\n" | |
5335 | "<property name=\"x_options\">GTK_FILL</property>\n" | |
5336 | "<property name=\"y_options\">GTK_FILL</property>\n" | |
5337 | "</packing>\n" | |
5338 | "</child>\n" | |
5339 | "</object>\n" | |
5340 | "<packing>\n" | |
5341 | "<property name=\"expand\">False</property>\n" | |
5342 | "<property name=\"fill\">True</property>\n" | |
5343 | "<property name=\"position\">0</property>\n" | |
5344 | "</packing>\n" | |
5345 | "</child>\n" | |
5346 | "</object>\n" | |
5347 | "</child>\n" | |
5348 | "</object>\n" | |
5349 | "</child>\n" | |
5350 | "<child type=\"label\">\n" | |
5351 | "<object class=\"GtkLabel\" id=\"label122\">\n" | |
5352 | "<property name=\"visible\">True</property>\n" | |
5353 | "<property name=\"can_focus\">False</property>\n" | |
5354 | "<property name=\"label\" translatable=\"yes\"><b>Video</b></property>\n" | |
5355 | "<property name=\"use_markup\">True</property>\n" | |
5356 | "</object>\n" | |
5357 | "</child>\n" | |
5358 | "</object>\n" | |
5359 | "<packing>\n" | |
5360 | "<property name=\"expand\">False</property>\n" | |
5361 | "<property name=\"fill\">True</property>\n" | |
5362 | "<property name=\"position\">1</property>\n" | |
5363 | "</packing>\n" | |
5364 | "</child>\n" | |
5365 | "<child>\n" | |
5366 | "<object class=\"GtkFrame\" id=\"frame32\">\n" | |
5367 | "<property name=\"visible\">True</property>\n" | |
5368 | "<property name=\"can_focus\">False</property>\n" | |
5369 | "<property name=\"label_xalign\">0</property>\n" | |
5370 | "<property name=\"shadow_type\">none</property>\n" | |
5371 | "<child>\n" | |
5136 | 5372 | "<object class=\"GtkAlignment\" id=\"alignment33\">\n" |
5137 | 5373 | "<property name=\"visible\">True</property>\n" |
5138 | 5374 | "<property name=\"can_focus\">False</property>\n" |
5186 | 5422 | "<packing>\n" |
5187 | 5423 | "<property name=\"expand\">False</property>\n" |
5188 | 5424 | "<property name=\"fill\">True</property>\n" |
5189 | "<property name=\"position\">1</property>\n" | |
5425 | "<property name=\"position\">2</property>\n" | |
5190 | 5426 | "</packing>\n" |
5191 | 5427 | "</child>\n" |
5192 | 5428 | "</object>\n" |
5617 | 5853 | "<property name=\"visible\">True</property>\n" |
5618 | 5854 | "<property name=\"can_focus\">False</property>\n" |
5619 | 5855 | "<child>\n" |
5856 | "<object class=\"GtkAlignment\" id=\"alignment45\">\n" | |
5857 | "<property name=\"visible\">True</property>\n" | |
5858 | "<property name=\"can_focus\">False</property>\n" | |
5859 | "<property name=\"bottom_padding\">6</property>\n" | |
5860 | "<child>\n" | |
5861 | "<object class=\"GtkVBox\" id=\"vbox38\">\n" | |
5862 | "<property name=\"visible\">True</property>\n" | |
5863 | "<property name=\"can_focus\">False</property>\n" | |
5864 | "<child>\n" | |
5865 | "<object class=\"GtkCheckButton\" id=\"-ss.correct_aspect\">\n" | |
5866 | "<property name=\"label\" translatable=\"yes\">Correct aspect ratio</property>\n" | |
5867 | "<property name=\"visible\">True</property>\n" | |
5868 | "<property name=\"can_focus\">True</property>\n" | |
5869 | "<property name=\"receives_default\">False</property>\n" | |
5870 | "<property name=\"tooltip_text\" translatable=\"yes\">Disabling aspect ratio correction with this setting should be considered a hack.\n" | |
5871 | "\n" | |
5872 | "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.</property>\n" | |
5873 | "<property name=\"active\">True</property>\n" | |
5874 | "<property name=\"draw_indicator\">True</property>\n" | |
5875 | "</object>\n" | |
5876 | "<packing>\n" | |
5877 | "<property name=\"expand\">False</property>\n" | |
5878 | "<property name=\"fill\">True</property>\n" | |
5879 | "<property name=\"position\">0</property>\n" | |
5880 | "</packing>\n" | |
5881 | "</child>\n" | |
5882 | "<child>\n" | |
5883 | "<object class=\"GtkCheckButton\" id=\"-ss.h_blend\">\n" | |
5884 | "<property name=\"label\" translatable=\"yes\">Enable horizontal blend(blur) filter</property>\n" | |
5885 | "<property name=\"visible\">True</property>\n" | |
5886 | "<property name=\"can_focus\">True</property>\n" | |
5887 | "<property name=\"receives_default\">False</property>\n" | |
5888 | "<property name=\"tooltip_text\" translatable=\"yes\">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).</property>\n" | |
5889 | "<property name=\"draw_indicator\">True</property>\n" | |
5890 | "</object>\n" | |
5891 | "<packing>\n" | |
5892 | "<property name=\"expand\">False</property>\n" | |
5893 | "<property name=\"fill\">True</property>\n" | |
5894 | "<property name=\"position\">1</property>\n" | |
5895 | "</packing>\n" | |
5896 | "</child>\n" | |
5897 | "<child>\n" | |
5898 | "<object class=\"GtkCheckButton\" id=\"-ss.h_overscan\">\n" | |
5899 | "<property name=\"label\" translatable=\"yes\">Show horizontal overscan area</property>\n" | |
5900 | "<property name=\"visible\">True</property>\n" | |
5901 | "<property name=\"can_focus\">True</property>\n" | |
5902 | "<property name=\"receives_default\">False</property>\n" | |
5903 | "<property name=\"has_tooltip\">True</property>\n" | |
5904 | "<property name=\"active\">True</property>\n" | |
5905 | "<property name=\"draw_indicator\">True</property>\n" | |
5906 | "</object>\n" | |
5907 | "<packing>\n" | |
5908 | "<property name=\"expand\">False</property>\n" | |
5909 | "<property name=\"fill\">True</property>\n" | |
5910 | "<property name=\"position\">2</property>\n" | |
5911 | "</packing>\n" | |
5912 | "</child>\n" | |
5913 | "</object>\n" | |
5914 | "</child>\n" | |
5915 | "</object>\n" | |
5916 | "<packing>\n" | |
5917 | "<property name=\"expand\">False</property>\n" | |
5918 | "<property name=\"fill\">True</property>\n" | |
5919 | "<property name=\"position\">0</property>\n" | |
5920 | "</packing>\n" | |
5921 | "</child>\n" | |
5922 | "<child>\n" | |
5620 | 5923 | "<object class=\"GtkTable\" id=\"table5\">\n" |
5621 | 5924 | "<property name=\"visible\">True</property>\n" |
5622 | 5925 | "<property name=\"can_focus\">False</property>\n" |
5767 | 6070 | "<packing>\n" |
5768 | 6071 | "<property name=\"expand\">False</property>\n" |
5769 | 6072 | "<property name=\"fill\">True</property>\n" |
5770 | "<property name=\"position\">0</property>\n" | |
6073 | "<property name=\"position\">1</property>\n" | |
5771 | 6074 | "</packing>\n" |
5772 | 6075 | "</child>\n" |
5773 | 6076 | "</object>\n" |
7529 | 7832 | "</interface>\n" |
7530 | 7833 | ; |
7531 | 7834 | |
7532 | #endif /* SYSTEM__GLADE_H */ | |
7835 | #endif /* SYSTEM_GLADE_H */ |
313 | 313 | |
314 | 314 | /*g_signal_connect(GTK_WIDGET(iterator->data), "focus-out-event", |
315 | 315 | * G_CALLBACK(adj_focus_out), gui);*/ |
316 | ||
316 | #ifdef GTK3_ENABLED | |
317 | if GTK_IS_SPIN_BUTTON(iterator->data) | |
318 | gtk_widget_set_size_request(GTK_WIDGET(iterator->data), 150, -1); | |
319 | #endif | |
317 | 320 | } |
318 | 321 | else if (GTK_IS_ENTRY(iterator->data)) |
319 | 322 | { |
356 | 359 | #endif |
357 | 360 | |
358 | 361 | if (g_file_test (cfg_path, G_FILE_TEST_IS_REGULAR)) |
359 | print_log("Starting Mednaffe 0.8.3\n\ | |
362 | print_log("Starting Mednaffe 0.8.4\n\ | |
360 | 363 | Mednafen 09x configuration file found.\n", FE, gui); |
361 | 364 | else return NULL; |
362 | 365 | |
389 | 392 | |
390 | 393 | if (aline[1][11]!='9') |
391 | 394 | return FALSE; |
392 | if (aline[1][13]-'0'<3) | |
395 | if (aline[1][13]-'0'<4) | |
393 | 396 | return FALSE; |
394 | if ((aline[1][13]=='3') && ((aline[1][14]-'0')<9)) | |
395 | return FALSE; | |
397 | /* if ((aline[1][13]=='3') && ((aline[1][14]-'0')<9)) | |
398 | return FALSE; */ | |
396 | 399 | /* |
397 | 400 | if (strlen(aline[1])>16) |
398 | 401 | { |