It is currently Fri Apr 19, 2024 9:12 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Help compiling an old plugin.
PostPosted: Sun Mar 20, 2016 2:23 pm  (#1) 
Offline
New Member

Joined: Mar 20, 2016
Posts: 1
Hello, I have a favor to ask from the people who have a plugin development environment already set up for compiling GIMP plugins. There is a very old GIMP plugin which was never distributed in binary form that I would like to use, however it was intended use under GIMP 2.0 or 2.2. I'm not sure exactly what libraries I would need to get and I just don't want to go through the time consuming headache of compiling it myself.

This plugin allows for the loading of image files that are used by an old game. As far as I know, this GIMP plugin is the only easy way to read and edit these files. My hope is that I can not only read these files, but also export them in a new format.

A short explanation and the plugin's source can be found here: (apparently new users are not allowed to post off-site URLs) In order to find the page I am referring to and access to source code please google 'yppraw' and click on the very first link. The page has links to the three source files which can be copy and pasted in order to actually build the plugin.

For anyone who has any free time and the ability to compile this plugin, please help me out and compile it for me and send it to me somehow.

In the event that no one wants to compile this plugin, could you please take a look at the source code in the link provided and let me know how I can set up an environment to compile this plugin? I have visual studio 2015 on windows 7 64 bit.

I would really appreciate your help, thanks.


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Help compiling an old plugin.
PostPosted: Tue Mar 22, 2016 6:39 am  (#2) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
MaxFights wrote:
Hello, I have a favor to ask from the people who have a plugin development environment already set up for compiling GIMP plugins. There is a very old GIMP plugin which was never distributed in binary form that I would like to use, however it was intended use under GIMP 2.0 or 2.2. I'm not sure exactly what libraries I would need to get and I just don't want to go through the time consuming headache of compiling it myself.

This plugin allows for the loading of image files that are used by an old game. As far as I know, this GIMP plugin is the only easy way to read and edit these files. My hope is that I can not only read these files, but also export them in a new format.

A short explanation and the plugin's source can be found here: (apparently new users are not allowed to post off-site URLs) In order to find the page I am referring to and access to source code please google 'yppraw' and click on the very first link. The page has links to the three source files which can be copy and pasted in order to actually build the plugin.

For anyone who has any free time and the ability to compile this plugin, please help me out and compile it for me and send it to me somehow.

In the event that no one wants to compile this plugin, could you please take a look at the source code in the link provided and let me know how I can set up an environment to compile this plugin? I have visual studio 2015 on windows 7 64 bit.

I would really appreciate your help, thanks.


I will give it a try for you.
https://yppedia.puzzlepirates.com/YppRAW

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Help compiling an old plugin.
PostPosted: Tue Mar 22, 2016 7:12 am  (#3) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Rod@Rods MINGW64 /env/ypp
$ gimptool-2.0 --build yppraw.c
C:/petit-msys2-mingw-32bits-64bits-gimp28/gcc510/mingw64/bin/x86_64-w64-mingw32-gcc-5.1.0.exe -IC:/petit-msys2-mingw-32bits-64bits-gimp28/gcc510/mingw64/include -I/env/gcc510/mingw64/x86_64-w64-mingw32/include -I/mingw64/include -I/mingw64/include/python2.7 -pipe -O3 -mms-bitfields -s -m64 -mms-bitfields -IC:/petit-msys2-mingw-32bits-64bits-gimp28/msys64/mingw64/include/gimp-2.0 -IC:/petit-msys2-mingw-32bits-64bits-gimp28/msys64/mingw64/include/gtk-2.0 -IC:/petit-msys2-mingw-32bits-64bits-gimp28/msys64/mingw64/lib/gtk-2.0/include -IC:/petit-msys2-mingw-32bits-64bits-gimp28/msys64/mingw64/include/pango-1.0 -IC:/petit-msys2-mingw-32bits-64bits-gimp28/msys64/mingw64/include/cairo -IC:/petit-msys2-mingw-32bits-64bits-gimp28/msys64/mingw64/include/atk-1.0 -IC:/petit-msys2-mingw-32bits-64bits-gimp28/msys64/mingw64/include/cairo -IC:/petit-msys2-mingw-32bits-64bits-gimp28/msys64/mingw64/include/pixman-1 -IC:/petit-msys2-mingw-32bits-64bits-gimp28/msys64/mingw64/include -IC:/msys64/mingw64/include -IC:/msys64/mingw64/include/freetype2 -IC:/msys64/mingw64/include -IC:/msys64/mingw64/include/libpng16 -IC:/msys64/mingw64/include/harfbuzz -IC:/petit-msys2-mingw-32bits-64bits-gimp28/msys64/mingw64/include -IC:/petit-msys2-mingw-32bits-64bits-gimp28/msys64/mingw64/include/freetype2 -IC:/petit-msys2-mingw-32bits-64bits-gimp28/msys64/mingw64/include -IC:/petit-msys2-mingw-32bits-64bits-gimp28/msys64/mingw64/include/harfbuzz -IC:/petit-msys2-mingw-32bits-64bits-gimp28/msys64/mingw64/include/libpng16 -IC:/petit-msys2-mingw-32bits-64bits-gimp28/msys64/mingw64/include/gdk-pixbuf-2.0 -IC:/petit-msys2-mingw-32bits-64bits-gimp28/msys64/mingw64/include/libpng16 -IC:/petit-msys2-mingw-32bits-64bits-gimp28/msys64/mingw64/include/glib-2.0 -IC:/petit-msys2-mingw-32bits-64bits-gimp28/msys64/mingw64/lib/glib-2.0/include  -o yppraw.exe yppraw.c -LC:/petit-msys2-mingw-32bits-64bits-gimp28/gcc510/mingw64/lib -L/env/gcc510/mingw64/x86_64-w64-mingw32/lib -L/mingw64/lib -L/mingw64/lib/python2.7 -mwindows -lpthread -mwindows -LC:/petit-msys2-mingw-32bits-64bits-gimp28/msys64/mingw64/lib -lgimpui-2.0 -lgimpwidgets-2.0 -lgimpmodule-2.0 -lgimp-2.0 -lgimpmath-2.0 -lgimpconfig-2.0 -lgimpcolor-2.0 -lgimpbase-2.0 -lgtk-win32-2.0 -lgdk-win32-2.0 -lgdi32 -limm32 -lshell32 -lole32 -Wl,-luuid -lpangowin32-1.0 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lintl
yppraw.c:1:1: error: expected identifier or '(' before '<' token
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
^
yppraw.c:12:13: error: stray '@' in program
             @import "/skins/common/shared.css?303";
             ^
yppraw.c:13:13: error: stray '@' in program
             @import "/skins/monobook/main.css?303";
             ^
yppraw.c:13:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before string constant
             @import "/skins/monobook/main.css?303";
                     ^
yppraw.c:14:16: error: expected identifier or '(' before '<' token
         /*]]>*/</style>
                ^
yppraw.c:16:54: error: stray '@' in program
         <!--[if lt IE 5.5000]><style type="text/css">@import "/skins/monobook/IE50Fixes.css?303";</style><![endif]-->
                                                      ^
yppraw.c:16:98: error: expected identifier or '(' before '<' token
         <!--[if lt IE 5.5000]><style type="text/css">@import "/skins/monobook/IE50Fixes.css?303";</style><![endif]-->
                                                                                                  ^
yppraw.c:17:51: error: stray '@' in program
         <!--[if IE 5.5000]><style type="text/css">@import "/skins/monobook/IE55Fixes.css?303";</style><![endif]-->
                                                   ^
yppraw.c:17:95: error: expected identifier or '(' before '<' token
         <!--[if IE 5.5000]><style type="text/css">@import "/skins/monobook/IE55Fixes.css?303";</style><![endif]-->
                                                                                               ^
yppraw.c:18:46: error: stray '@' in program
         <!--[if IE 6]><style type="text/css">@import "/skins/monobook/IE60Fixes.css?303";</style><![endif]-->
                                              ^
yppraw.c:18:90: error: expected identifier or '(' before '<' token
         <!--[if IE 6]><style type="text/css">@import "/skins/monobook/IE60Fixes.css?303";</style><![endif]-->
                                                                                          ^
yppraw.c:19:46: error: stray '@' in program
         <!--[if IE 7]><style type="text/css">@import "/skins/monobook/IE70Fixes.css?303";</style><![endif]-->
                                              ^
yppraw.c:19:90: error: expected identifier or '(' before '<' token
         <!--[if IE 7]><style type="text/css">@import "/skins/monobook/IE70Fixes.css?303";</style><![endif]-->
                                                                                          ^
yppraw.c:26:1: error: expected identifier or '(' before '<' token
</script>
^
yppraw.c:60:1461: warning: missing terminating " character
     <span style="position: absolute; bottom: 60px; right: 9px; z-axis: 10"><a href="https://www.esrb.org/confirm/threerings-confirmation.jsp"><img border="0" src="https://www.esrb.org/privacy/images/privacy_certified_globe_color.gif" /></a></span><div id="YPP_headTile"></div><div id="YPP_headerCenter"><div id="YPP_headerNav"><div id="YPP_headerInner"><a class="YPP_pp_headerLogo" href="http://www.puzzlepirates.com/"><img alt="Puzzle Pirates" src="http://www.puzzlepirates.com/static/images/template/header/pp_logo.en.png"  /></a><a class="YPP_ooo_headerLogo" href="http://www.threerings.net/"><img alt="Three Rings" src="http://www.puzzlepirates.com/static/images/template/header/ooo_logo.png" /></a><ul><li><a href="http://www.puzzlepirates.com/game/create_pirate.xhtml"><img onmouseout="this.src = 'http://www.puzzlepirates.com/static/images/template/header/play.en.png';" alt="Play" src="http://www.puzzlepirates.com/static/images/template/header/play.en.png" onmouseover="this.src = 'http://www.puzzlepirates.com/static/images/template/header/play_over.en.png';"  /></a></li><li><a href="http://www.puzzlepirates.com/about.xhtml"><img onmouseout="this.src = 'http://www.puzzlepirates.com/static/images/template/header/about.en.png';" alt="About" src="http://www.puzzlepirates.com/static/images/template/header/about.en.png" onmouseover="this.src = 'http://www.puzzlepirates.com/static/images/template/header/about_over.en.png';"  /></a></li><li><a href="
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     ^
yppraw.c:60:5: error: missing terminating " character
     <span style="position: absolute; bottom: 60px; right: 9px; z-axis: 10"><a href="https://www.esrb.org/confirm/threerings-confirmation.jsp"><img border="0" src="https://www.esrb.org/privacy/images/privacy_certified_globe_color.gif" /></a></span><div id="YPP_headTile"></div><div id="YPP_headerCenter"><div id="YPP_headerNav"><div id="YPP_headerInner"><a class="YPP_pp_headerLogo" href="http://www.puzzlepirates.com/"><img alt="Puzzle Pirates" src="http://www.puzzlepirates.com/static/images/template/header/pp_logo.en.png"  /></a><a class="YPP_ooo_headerLogo" href="http://www.threerings.net/"><img alt="Three Rings" src="http://www.puzzlepirates.com/static/images/template/header/ooo_logo.png" /></a><ul><li><a href="http://www.puzzlepirates.com/game/create_pirate.xhtml"><img onmouseout="this.src = 'http://www.puzzlepirates.com/static/images/template/header/play.en.png';" alt="Play" src="http://www.puzzlepirates.com/static/images/template/header/play.en.png" onmouseover="this.src = 'http://www.puzzlepirates.com/static/images/template/header/play_over.en.png';"  /></a></li><li><a href="http://www.puzzlepirates.com/about.xhtml"><img onmouseout="this.src = 'http://www.puzzlepirates.com/static/images/template/header/about.en.png';" alt="About" src="http://www.puzzlepirates.com/static/images/template/header/about.en.png" onmouseover="this.src = 'http://www.puzzlepirates.com/static/images/template/header/about_over.en.png';"  /></a></li><li><a href="
     ^
yppraw.c:62:60: warning: character constant too long for its type
                             " ><img onmouseout="this.src = 'http://www.puzzlepirates.com/static/images/template/header/news.en.png';" alt="News" src="http://www.puzzlepirates.com/static/images/template/header/news.en.png" onmouseover="this.src = 'http://www.puzzlepirates.com/static/images/template/header/news_over.en.png';"  /></a></li><li><a href="http://forums.puzzlepirates.com/community/mvnforum/index?lang=en" ><img onmouseout="this.src = 'http://www.puzzlepirates.com/static/images/template/header/forums.en.png';" alt="Forums" src="http://www.puzzlepirates.com/static/images/template/header/forums.en.png" onmouseover="this.src = 'http://www.puzzlepirates.com/static/images/template/header/forums_over.en.png';"  /></a></li><li><a href="http://yppedia.puzzlepirates.com/" ><img onmouseout="this.src = 'http://www.puzzlepirates.com/static/images/template/header/yppedia.en.png';" alt="Yppedia" src="http://www.puzzlepirates.com/static/images/template/header/yppedia.en.png" onmouseover="this.src = 'http://www.puzzlepirates.com/static/images/template/header/yppedia_over.en.png';"  /></a></li><li><a href="http://yppedia.puzzlepirates.com/Support_Portal" ><img onmouseout="this.src = 'http://www.puzzlepirates.com/static/images/template/header/help.en.png';" alt="Help" src="http://www.puzzlepirates.com/static/images/template/header/help.en.png" onmouseover="this.src = 'http://www.puzzlepirates.com/static/images/template/header/help_over.en.png';"  /></a></li></ul></div></div></div>
                                                            ^
yppraw.c:62:133: error: expected identifier or '(' before string constant
                             " ><img onmouseout="this.src = 'http://www.puzzlepirates.com/static/images/template/header/news.en.png';" alt="News" src="http://www.puzzlepirates.com/static/images/template/header/news.en.png" onmouseover="this.src = 'http://www.puzzlepirates.com/static/images/template/header/news_over.en.png';"  /></a></li><li><a href="http://forums.puzzlepirates.com/community/mvnforum/index?lang=en" ><img onmouseout="this.src = 'http://www.puzzlepirates.com/static/images/template/header/forums.en.png';" alt="Forums" src="http://www.puzzlepirates.com/static/images/template/header/forums.en.png" onmouseover="this.src = 'http://www.puzzlepirates.com/static/images/template/header/forums_over.en.png';"  /></a></li><li><a href="http://yppedia.puzzlepirates.com/" ><img onmouseout="this.src = 'http://www.puzzlepirates.com/static/images/template/header/yppedia.en.png';" alt="Yppedia" src="http://www.puzzlepirates.com/static/images/template/header/yppedia.en.png" onmouseover="this.src = 'http://www.puzzlepirates.com/static/images/template/header/yppedia_over.en.png';"  /></a></li><li><a href="http://yppedia.puzzlepirates.com/Support_Portal" ><img onmouseout="this.src = 'http://www.puzzlepirates.com/static/images/template/header/help.en.png';" alt="Help" src="http://www.puzzlepirates.com/static/images/template/header/help.en.png" onmouseover="this.src = 'http://www.puzzlepirates.com/static/images/template/header/help_over.en.png';"  /></a></li></ul></div></div></div>
                                                                                                                                     ^
yppraw.c:92:58: error: expected identifier or '(' before '<' token
         <div id="contentSub"><span class="subpages">&lt; <a href="/User:AtteSmythe" title="User:AtteSmythe">User:AtteSmythe</a> | <a href="/User:AtteSmythe/yppRAW" title="User:AtteSmythe/yppRAW">yppRAW</a></span></div>
                                                          ^
yppraw.c:134:10: error: #include expects "FILENAME" or <FILENAME>
#include &quot;config.h&quot;
          ^
yppraw.c:136:10: error: #include expects "FILENAME" or <FILENAME>
#include &lt;stdio.h&gt;
          ^
yppraw.c:137:10: error: #include expects "FILENAME" or <FILENAME>
#include &lt;stdlib.h&gt;
          ^
yppraw.c:138:10: error: #include expects "FILENAME" or <FILENAME>
#include &lt;string.h&gt;
          ^
yppraw.c:140:10: error: #include expects "FILENAME" or <FILENAME>
#include &lt;gtk/gtk.h&gt;
          ^
yppraw.c:142:10: error: #include expects "FILENAME" or <FILENAME>
#include &lt;libgimp/gimp.h&gt;
          ^
yppraw.c:143:10: error: #include expects "FILENAME" or <FILENAME>
#include &lt;libgimp/gimpui.h&gt;
          ^
yppraw.c:145:10: error: #include expects "FILENAME" or <FILENAME>
#include &quot;yppRAW.h&quot;
          ^
yppraw.c:147:10: error: #include expects "FILENAME" or <FILENAME>
#include &quot;libgimp/stdplugins-intl.h&quot;
          ^
yppraw.c:154:28: error: unknown type name 'gchar'
static void   run   (const gchar      *name,
                            ^
yppraw.c:155:22: error: unknown type name 'gint'
                      gint              nparams,
                      ^
yppraw.c:156:28: error: unknown type name 'GimpParam'
                      const GimpParam  *param,
                            ^
yppraw.c:157:22: error: unknown type name 'gint'
                      gint             *nreturn_vals,
                      ^
yppraw.c:158:22: error: unknown type name 'GimpParam'
                      GimpParam       **return_vals);
                      ^
yppraw.c:160:1: error: unknown type name 'GimpPlugInInfo'
GimpPlugInInfo PLUG_IN_INFO =
^
yppraw.c:162:3: error: 'NULL' undeclared here (not in a function)
   NULL,  /* init_proc  */
   ^
yppraw.c:163:3: warning: excess elements in scalar initializer
   NULL,  /* quit_proc  */
   ^
yppraw.c:163:3: note: (near initialization for 'PLUG_IN_INFO')
yppraw.c:164:3: warning: excess elements in scalar initializer
   query, /* query_proc */
   ^
yppraw.c:164:3: note: (near initialization for 'PLUG_IN_INFO')
yppraw.c:165:3: error: 'run' undeclared here (not in a function)
   run,   /* run_proc   */
   ^
yppraw.c:165:3: warning: excess elements in scalar initializer
yppraw.c:165:3: note: (near initialization for 'PLUG_IN_INFO')
yppraw.c:168:1: warning: return type defaults to 'int' [-Wimplicit-int]
MAIN ()
^
yppraw.c: In function 'MAIN':
yppraw.c:172:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
{
^
yppraw.c:186:66: warning: missing terminating ' character
                           &quot;Loads files of Three Rings Design's RAW file format&quot;,
                                                                  ^
yppraw.c:186:27: error: missing terminating ' character
                           &quot;Loads files of Three Rings Design's RAW file format&quot;,
                           ^
yppraw.c:187:66: warning: missing terminating ' character
                           &quot;Loads files of Three Rings Design's RAW file format&quot;,
                                                                  ^
yppraw.c:187:27: error: missing terminating ' character
                           &quot;Loads files of Three Rings Design's RAW file format&quot;,
                           ^
yppraw.c:205:12: error: unknown type name 'gchar'
run (const gchar      *name,
            ^
yppraw.c:206:6: error: unknown type name 'gint'
      gint             nparams,
      ^
yppraw.c:207:12: error: unknown type name 'GimpParam'
      const GimpParam  *param,
            ^
yppraw.c:208:6: error: unknown type name 'gint'
      gint             *nreturn_vals,
      ^
yppraw.c:209:6: error: unknown type name 'GimpParam'
      GimpParam       **return_vals)
      ^
yppraw.c:234:19: error: stray '#' in program
       if (nparams&#160;!= 3)
                   ^
yppraw.c:246:20: error: stray '#' in program
       if (image_ID&#160;!= -1)
                    ^
yppraw.c:264:2: error: expected declaration specifiers before '<' token
}</pre>
  ^
yppraw.c:277:36: warning: character constant too long for its type
         <div id="catlinks"><div id='catlinks' class='catlinks catlinks-allhidden'></div></div>        <!-- end content -->
                                    ^
yppraw.c:277:53: warning: character constant too long for its type
         <div id="catlinks"><div id='catlinks' class='catlinks catlinks-allhidden'></div></div>        <!-- end content -->
                                                     ^
yppraw.c:298:23: warning: character constant too long for its type
           <input type='submit' name="go" class="searchButton" id="searchGoButton"
                       ^
yppraw.c:300:21: error: expected declaration specifiers before '<' token
             />&nbsp;<input type='submit' name="fulltext"
                     ^
yppraw.c:300:33: warning: character constant too long for its type
             />&nbsp;<input type='submit' name="fulltext"
                                 ^
yppraw.c:307:70: error: expected declaration specifiers before '<' token
     <script type="text/javascript"> if (window.isMSIE55) fixalpha(); </script>
                                                                      ^
yppraw.c:308:20: warning: character constant too long for its type
         <div class='portlet' id='p-navigation '>
                    ^
yppraw.c:308:33: warning: character constant too long for its type
         <div class='portlet' id='p-navigation '>
                                 ^
yppraw.c:310:18: warning: character constant too long for its type
       <div class='pBody'>
                  ^
yppraw.c:314:98: error: expected declaration specifiers before 'guidelines'
                    <li id="n-policies"><a href="/YPPedia:Policies_and_guidelines">Policies &amp; guidelines</a></li>
                                                                                                  ^
yppraw.c:323:20: warning: character constant too long for its type
         <div class='portlet' id='p-secondnav'>
                    ^
yppraw.c:323:33: warning: character constant too long for its type
         <div class='portlet' id='p-secondnav'>
                                 ^
yppraw.c:325:18: warning: character constant too long for its type
       <div class='pBody'>
                  ^
yppraw.c:331:83: warning: missing terminating ' character
                    <li id="n-Blog"><a href="http://blog.puzzlepirates.com/">Cask o' Blog</a></li>
                                                                                   ^
yppraw.c:331:20: error: missing terminating ' character
                    <li id="n-Blog"><a href="http://blog.puzzlepirates.com/">Cask o' Blog</a></li>
                    ^
yppraw.c:373:140: error: expected declaration specifiers before '&' token
     <div id="YPP_footerMargin"></div><div id="YPP_footerContainer"><div id="YPP_footTile"><div id="YPP_footerNav"><p>Puzzle Pirates&trade; &copy; 2001-2015 Three Rings Design, Inc. All Rights Reserved.
                                                                                                                                            ^
yppraw.c:373:147: error: expected declaration specifiers before numeric constant
     <div id="YPP_footerMargin"></div><div id="YPP_footerContainer"><div id="YPP_footTile"><div id="YPP_footerNav"><p>Puzzle Pirates&trade; &copy; 2001-2015 Three Rings Design, Inc. All Rights Reserved.
                                                                                                                                                   ^
yppraw.c:377:21: error: expected declaration specifiers before '<' token
                     <a href="http://www.puzzlepirates.com/Terms.xhtml" ><span class="YPP_hlink">Terms</span></a>
                     ^
yppraw.c:379:21: error: expected declaration specifiers before '<' token
                     <a href="http://www.puzzlepirates.com/Privacy.xhtml" ><span class="YPP_hlink">Privacy</span></a>
                     ^
yppraw.c:381:21: error: expected declaration specifiers before '<' token
                     <a href="http://www.puzzlepirates.com/support/noaccount.xhtml?department=bizdev">Affiliates</a></p></div></div></div>
                     ^
yppraw.c:389:9: error: expected declaration specifiers before 'pageTracker'
         pageTracker._setDomainName("yppedia.puzzlepirates.com");
         ^
yppraw.c:390:9: error: expected declaration specifiers before 'pageTracker'
         pageTracker._initData();
         ^
yppraw.c:391:9: error: expected declaration specifiers before 'pageTracker'
         pageTracker._trackPageview();
         ^
yppraw.c:392:5: error: expected declaration specifiers before '<' token
     </script>
     ^
yppraw.c: At top level:
yppraw.c:153:15: warning: 'query' used but never defined
static void   query (void);
               ^


many errors with this compile.

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Help compiling an old plugin.
PostPosted: Tue Mar 22, 2016 7:45 am  (#4) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4736
Are you really compiling a C file, or did you download the HTML of some intermediate download page?

To OP: what format are you taking about? It could be that it is now part of the standard format... Can you post one such image? Otherwise another possibility is to use another tool (such as Imagemagick) to convert between your format and aformat that Gimp can edit).z

_________________
Image


Top
 Post subject: Re: Help compiling an old plugin.
PostPosted: Tue Mar 22, 2016 9:47 am  (#5) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2241
Location: Poland
In file included from yppRAW.c:51:0:
yppRAW.h:28:31: error: expected identifier or '(' before 'const'
gint32             ReadRAW   (const gchar *filename);
                               ^
yppRAW.c: In function 'run':
yppRAW.c:150:16: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
       image_ID = ReadRAW (param[1].data.d_string);


According to me the correct compilation (I tried to mingw-gcc 5.2.0) is not possible because of errors in the code (among other things: the two files c - without linking).

Is the author (or programmer in c) can update the code?


Attachments:
Error YppRaw.png
Error YppRaw.png [ 44.15 KiB | Viewed 22213 times ]
yppRAW source code.zip [12.83 KiB]
Downloaded 513 times

_________________
Image

Slava
Ukraini!
Top
 Post subject: Re: Help compiling an old plugin.
PostPosted: Thu Mar 24, 2016 1:50 am  (#6) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
ofnuts wrote:
Are you really compiling a C file, or did you download the HTML of some intermediate download page?

To OP: what format are you taking about? It could be that it is now part of the standard format... Can you post one such image? Otherwise another possibility is to use another tool (such as Imagemagick) to convert between your format and aformat that Gimp can edit).z

lol you were correct. I had right clicked and saved as the c file the entire htm page. heheh never bothered to look at the file itself. i will try again. :)

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Help compiling an old plugin.
PostPosted: Tue Apr 05, 2016 5:53 pm  (#7) 
Offline
New Member

Joined: Apr 05, 2016
Posts: 1
That's a crazy-fun coincidence. I was trying to figure out the same thing and stumbled on this thread.

Here's the deal. The MMO game (Puzzle Pirates by Three Rings) appears to be going into retirement. The original authors bought it back from Sega and are moving it to a company called "Grey Havens" (a LotR reference). With its retirement, I think several old-timers are interested in the art assets (really very beautiful for 2D art).

All of the puzzle graphics are in readable formats, but all the world art is packaged in small .raw files. The .raw files aren't recognized by any kind of reader (and I've tried many). From what I can tell, they are nothing like RAW files coming out of a camera. They appear to be something easily readable by Java.

The link earlier in this thread is to a script written a decade ago by a player called AtteSmythe who figured out how to view the files. Like the OP, I can't figure out how to get it to work now. I've tried to attach one of the raw files, but the forums won't allow it. This is extra effort, but if you download the game, you can find a bunch of examples in the Puzzle Pirates/rsrc/bundles directory.

Thanks in advance to anyone who can figure this out!


Top
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) Baby's first GEGL plugin - a very basic GEGL plugin anyone can make.

9

No new posts Can't get plugin to appear (mostly)

3

No new posts Attachment(s) Help! What's the plugin called?

7

No new posts Attachment(s) pm_actions_on_multiple_layers plugin

6

No new posts Attachment(s) da big gimpin plugin

5



* Login  



Powered by phpBB3 © phpBB Group