Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
Morel Bérenger
@bmorel
basically I don't like the word asset and the meanings it have to me.
and it's especially more true when I read stuff that imply that "code and coders are not important, content is the only real valuable thing in a game", like when people make code FOSS, but content is still not
@royfalk: I'm not sure this link really deserves an issue though? I would not know what to write in such an issue, really... something like "hey, look, there's cool stuff in that game that you might use!" ?
Roy Falk
@royfalk
Exactly. It’s there so someone looking for something to do will pick it up.
Morel Bérenger
@bmorel
ok... lemme do that, even if I don't really know how to phrase the issue...
there. Feel free to rephrase or tag somehow, I really don't know what to say on this issue.
Loki1950
@Loki1950
That looks ok @bmorel just a notice to check those assets out.
Morel Bérenger
@bmorel
good then
I'm not of much help, but I kind of like trying to share useful infos for projects I want to play more with "one day(tm)"
Benjamen Meyer
@BenjamenMeyer
@bmorel thanks - and don't be afraid to submit issues; worse case we'll ask questions as we work to come to a joint resolution
Morel Bérenger
@bmorel
I'm not, it's simply that I don' really consider this worth an issue
I usually use issues for bug reports or feature requests
DMJC
@DMJC
Is anyone working on Haptic/ForceFeedback support?
I have a Microsoft Sidewinder Force Feedback 2 stick and am willing to add FF support using libSDL or libSDL2 I've got experience with implementing it, it's not very hard.
I'd just like a bit of help making the design sane.
Benjamen Meyer
@BenjamenMeyer
@DMJC I don't think any one is, at least not right now. Not sure if there's already feedback support there or not. @Loki1950 might know though
Loki1950
@Loki1950
There is support for it in the code already but it does need to be updated as it was a fairly primitive implementation using SDL 1 there is a pull request by @royfalk for our migration to SDL 2 he has not mentioned ff so far so go for it if you want to.
Benjamen Meyer
@BenjamenMeyer
@DMJC you may want to look at what @royfalk did with migrating to SDL2 and base your work on that
DMJC
@DMJC
is there an easy way to debug this?
I'm trying to find what's crashing the engine
Benjamen Meyer
@BenjamenMeyer
@DMJC you may have to try running it under GDB (Linux, Mac) or Visual Studios (Windows); @LifWirser put out some information on setting up GDB+Python for debugging
Morel Bérenger
@bmorel
actually, gdb also runs on windows. On mac, one might prefer lldb. In any case, I'd rather advise people to use a frontend over gdb or lldb
gdb have many front-ends, including most if not all FOSS IDEs and cgdb. For lldb, I think but am not sure apple's IDE uses it under the hood
microsoft windows still excels on the area of usable debuggers and tools designed to understand how a program works, with or without source code
rather, microsoft windows do excels at having tools built to run on it, filling those needs. They're not microsoft's work
DMJC
@DMJC
I'm on Linux debian, main issue is the debug output isn't really telling me the problem other than a json parsing error, yet jsonlint is clearing everything
I'm not running the GPL dataset with the engine, trying to get an older mod to load.
Engine Version: 0.9.0.c3ce9dcde
Asset API Version: 1
terminate called after throwing an instance of 'json::parsing_error'
Benjamen Meyer
@BenjamenMeyer
hmm...seems like we may need to try to improve some error messaging @royfalk ^^
@DMJC that would be unique to our master branch right now - certainly a bug that we need to fix
Loki1950
@Loki1950
@DMJC which specific data set are you using and have you converted the csv file sets to json if not there is the source of your parsing error no json files to parse?
DMJC
@DMJC
I converted some of the CSV files to json, does it have to be all CSV files?
DMJC
@DMJC
weapons.json was the cause of my issue, you definitely need better debugging information
DMJC
@DMJC
I got past the json, now i'm just hacking on Python errors.
Benjamen Meyer
@BenjamenMeyer
@DMJC the JSON stuff is brand new (< 2 months olds), so not surprised we need better debugging info there; though sadly most of the JSON parsers don't give much in way of help in the matter either.
Glad to see you using it; it'll be available in our next release (0.9.x); but don't have a time frame on that yet. 0.8.x requires the CSV version.
DMJC
@DMJC
The main json error was literally just weapons_list.csv being called weapons.json
it should have thrown a file missing error rather than a parse fail message.
it looks like the core engine is loading now, but I'm still having issues with python script (not that big of a surprise since I'm trying to use Python 3 and these scripts are old janky Python 2 code)
Benjamen Meyer
@BenjamenMeyer
@DMJC you should be able to update those Py2 scripts to Py3 since the master branch should Py3 only ;)
DMJC
@DMJC
I've been updating most of the scripts, getting a segfault in the game though, segfault is something to do with cargo.
+++ m/random_encounters.py:26: init playerdata
then segfault
Stephen G Tuggy
@stephengtuggy
Hmm
I can't say that I've seen that myself
but we can look into it
DMJC
@DMJC
i believe it's a parsing error in units.json,
I'll see if I can figure it out