albanbedel / scummc Goto Github PK
View Code? Open in Web Editor NEWA Scumm Compiler
License: GNU General Public License v2.0
A Scumm Compiler
License: GNU General Public License v2.0
Hello,
I can't compile it on Windows and Linux (Ubuntu).
All of them came to the same error
Windows output:
make[1]: Entering directory '/home/memor/scummc-0.2.0/build.DESKTOP-I9JE0CE/i686-msys-gcc-6.3.0-debug'
Compiling scc_parse.tab.o for i686-msys-gcc-6.3.0-debug
scc_parse.tab.c: In function ‘scc_parser_parse_internal’:
/home/memor/scummc-0.2.0/scc_parse.y:84:15: error: too few arguments to function ‘scc_lex_lex’
#define yylex scc_lex_lex
^
scc_parse.tab.c:1851:16: note: in expansion of macro ‘yylex’
yychar = yylex (&yylval, &yylloc);
^~~~~
In file included from /home/memor/scummc-0.2.0/scc_parse.y:53:0:
/home/memor/scummc-0.2.0/scc_lex.h:90:5: note: declared here
int scc_lex_lex(YYSTYPE *lvalp, YYLTYPE llocp,scc_lex_t lex);
make[1]: *** [Makefile:185: scc_parse.tab.o] Error 1
make[1]: Leaving directory '/home/memor/scummc-0.2.0/build.DESKTOP-I9JE0CE/i686-msys-gcc-6.3.0-debug'
make: *** [Makefile:119: i686-msys-gcc-6.3.0-debug_progs] Error 2
Linux output
scc_parse.tab.c: In function ‘scc_parser_parse_internal’:
/home/memorix101/scummc-0.2.0/scc_parse.y:84:15: error: too few arguments to function ‘scc_lex_lex’
#define yylex scc_lex_lex
^
scc_parse.tab.c:1851:16: note: in expansion of macro ‘yylex’
yychar = yylex (&yylval, &yylloc);
^~~~~
In file included from /home/memorix101/scummc-0.2.0/scc_parse.y:53:0:
/home/memorix101/scummc-0.2.0/scc_lex.h:90:5: note: declared here
int scc_lex_lex(YYSTYPE *lvalp, YYLTYPE llocp,scc_lex_t lex);
Makefile:184: recipe for target 'scc_parse.tab.o' failed
make[1]: *** [scc_parse.tab.o] Error 1
make[1]: Leaving directory '/home/memorix101/scummc-0.2.0/build.ubuntu/i686-gnu-gcc-6.3.0-debug'
Makefile:119: recipe for target 'i686-gnu-gcc-6.3.0-debug_progs' failed
make: *** [i686-gnu-gcc-6.3.0-debug_progs] Error 2
Currently, the compiled binaries are in the folder named so:
build.<hostname>.<compiler_name_and_version>
Would it be possible to add an argument to the makefile
that overrides that default scheme? This would be useful to generate builds in reproducible output folders.
Hi.
I'd like to take over maintainership/create an active hard fork of this project (With a preference for the latter. I already have a few ideas in regards to the build system, GUI tooling, documentation and syntax changes).
Would you and the other contributors consider a change to GPL3?
Hi ! Thanks for keeping ScummC updated ! That's awesoooooome
We compiled successfully, but ScummVM cannot recognize files as a game (and therefore can't read it).
Can you give us a hint, please?
Hello,
I managed to compile all the things, except the boxeditor and costview (due the gtk2.4 requirement). It's posible to downgrade the gtk version to something like 2.24 or upgrading it to gtk3 ? macOs with brew is something "weird" about releases and compiling outside libraries.
Thanks for your work.
After running configure
on my 64bit Mac Mini 2011, make
doesn't work:
$ make
Makefile:125: *** target pattern contains no `%'. Stop.
Since line 125 reads $(foreach target,$(TARGETS),$(eval $(call TARGET_template,$(target))))
, It could be that some line before that contains letters that were parsed as regular expression. But I cannot easily find my way around this shell stuff, so I'm filing this issue, hoping to make progress or attract support :)
Am I right to assume that, unlike ScummGen, ScummC doesn't support sprite sheets?
I can't find any related grammar.
I'd appreciate a short tutorial on how to create/add midi music to a ScummC game.
For testing purposes I took a midi file of the Secret of Monkey Island main theme, dropped it next to the soun
tool and ran soun -midi MainTheme.midi
, then renamed output.soun
, dropped it into examples/openquest
and added the following two lines to officeroom.scc
startMusic(themeMusic);
The startMusic
bit I added directly inside if(firstInit)
.
Expected result: Having music play in the background.
Actual result: The game crashes.
Hello,
First I'd like to thank you for keeping ScummC alive. I just started to use ScummC recently and can't manage to find 'boxedit' binaries (source code is obviously there).
Where is it ?
Thanks a lot.
Hello,
I tried to load a custom image in Boxedit but had an error related to the size of the image so I tricked Boxedit code in order to make error related to size and data offset inactive.
And here is the file I tried to load :
https://files.fm/u/wzwbsstg#_
Or
https://send.firefox.com/download/691e8a7ce2/#vHBtzLAZ4gLY_GO3W3pkcA
I think my BMP file is not right, but cannot find what is wrong.
Thanks a lot for your help.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.