fgre / libnpengine Goto Github PK
View Code? Open in Web Editor NEWFree implementation of Nitroplus/5pb. Visual Novel game engine
Home Page: http://dev.pulsir.eu/krofna/
License: GNU Lesser General Public License v3.0
Free implementation of Nitroplus/5pb. Visual Novel game engine
Home Page: http://dev.pulsir.eu/krofna/
License: GNU Lesser General Public License v3.0
Not sure where else to contact once exited from Freenode lol. https://imgur.com/a/f47NEaY
Is English, Russian and others supported by engine and toolkit?
Hi I would like to ask you if your tool can edit totono files
Currently, only variables are saved/loaded.
#SYSTEM_sound_volume_bgm_default = 1000;
#SYSTEM_sound_volume_se_default = 1000;
#SYSTEM_sound_volume_voice_default = 1000;
[サウンド]
;BGMのボリューム(0-1000)
bgm_volume = 600
;SEのボリューム(0-1000)
se_volume = 800
;音声のボリューム(0-1000)
voice_volume = 800
CreateColorEXsub("亀/絵色赤減", 51, "00FFFF");
function CreateColorEXsub("ナット名", 描画優先度, イメージデータ)
{
CreateColor("ナット名", 描画優先度, 1024, 0, 1024, 576, イメージデータ);
Request("ナット名", SubRender);
SetAlias("ナット名", "ナット名");
Fade("ナット名", 0, 0, null, true);
Move("ナット名", 0, @-1024, @0, null, true);
}
e.g. $SYSTEM_l_button_down, $SYSTEM_keydown_enter
They are set in old libnpengine
Currently, they are displayed but not functional
This issue is a result of gstconfig.h being moved (See https://bugzilla.redhat.com/show_bug.cgi?id=1234152 ).
I can build it just fine when I replace FindGStreamer.cmake with Webkits version, so it should be fairly easy to fix
( https://raw.githubusercontent.com/WebKit/webkit/master/Source/cmake/FindGStreamer.cmake )
Here is the console output:
void NSBInterpreter::CallFunction_(NSBContext*, const string&): Failed to call function Patch
steins-gate: (...)/steins-gate/libnpengine/src/Variable.cpp:106: std::string Variable::ToString(): Assertion `IsString()' failed.
Aborted (core dumped)
I'm using the JAST version of the game and the --exe 1
option
When I trying to build libnpengine, I get error.
Log:
$ cmake .
-- Configuring libnpengine version 0.5.0-98e74fd91c
-- Found NPA in /home/pax/fgre/libnpa/include
-- Configuring done
-- Generating done
-- Build files have been written to: /home/pax/fgre/libnpengine
$ make
[ 5%] Building CXX object CMakeFiles/npengine.dir/src/Image.cpp.o
/home/pax/fgre/libnpengine/src/Image.cpp: In member function 'void Image::LoadImage(const string&, GLenum)':
/home/pax/fgre/libnpengine/src/Image.cpp:52:65: error: 'PNG_FORMAT_GRAY' was not declared in this scope
pPixels = LoadPNG(pData, Size, Format == GL_LUMINANCE ? PNG_FORMAT_GRAY : PNG_FORMAT_BGRA);
^
/home/pax/fgre/libnpengine/src/Image.cpp:52:83: error: 'PNG_FORMAT_BGRA' was not declared in this scope
pPixels = LoadPNG(pData, Size, Format == GL_LUMINANCE ? PNG_FORMAT_GRAY : PNG_FORMAT_BGRA);
^
/home/pax/fgre/libnpengine/src/Image.cpp: In member function 'uint8_t* Image::LoadPNG(uint8_t*, uint32_t, uint8_t)':
/home/pax/fgre/libnpengine/src/Image.cpp:59:5: error: 'png_image' was not declared in this scope
png_image png;
^
/home/pax/fgre/libnpengine/src/Image.cpp:59:15: error: expected ';' before 'png'
png_image png;
^
/home/pax/fgre/libnpengine/src/Image.cpp:60:13: error: 'png' was not declared in this scope
memset(&png, 0, sizeof(png_image));
^
/home/pax/fgre/libnpengine/src/Image.cpp:61:19: error: 'PNG_IMAGE_VERSION' was not declared in this scope
png.version = PNG_IMAGE_VERSION;
^
/home/pax/fgre/libnpengine/src/Image.cpp:63:59: error: 'png_image_begin_read_from_memory' was not declared in this scope
if (!png_image_begin_read_from_memory(&png, pMem, Size))
^
/home/pax/fgre/libnpengine/src/Image.cpp:67:62: error: 'PNG_IMAGE_SIZE' was not declared in this scope
uint8_t* pData = new (nothrow) uint8_t[PNG_IMAGE_SIZE(png)];
^
/home/pax/fgre/libnpengine/src/Image.cpp:70:28: error: 'png_image_free' was not declared in this scope
png_image_free(&png);
^
/home/pax/fgre/libnpengine/src/Image.cpp:74:58: error: 'png_image_finish_read' was not declared in this scope
if (!png_image_finish_read(&png, NULL, pData, 0, NULL))
^
make[2]: *** [CMakeFiles/npengine.dir/src/Image.cpp.o] Error 1
make[1]: *** [CMakeFiles/npengine.dir/all] Error 2
make: *** [all] Error 2
hikki@kubuntu libnpengine-new % cmake . && make
-- Configuring libnpengine version 0.0.0-3b1201fddd
-- Found NPA in /tdd/soft/games/vn/steinsgate/libnpa/include
-- checking for one of the modules 'sdl2'
-- Configuring done
-- Generating done
-- Build files have been written to: /tdd/soft/games/vn/steinsgate/libnpengine-new
Scanning dependencies of target npengine
[ 10%] Building CXX object CMakeFiles/npengine.dir/src/Window.cpp.o
[ 20%] Building CXX object CMakeFiles/npengine.dir/src/NSBInterpreter.cpp.o
/tdd/soft/games/vn/steinsgate/libnpengine-new/src/NSBInterpreter.cpp: In constructor ‘NSBInterpreter::NSBInterpreter(Window*)’:
/tdd/soft/games/vn/steinsgate/libnpengine-new/src/NSBInterpreter.cpp:45:14: error: ‘MAGIC_FUNCTION_DECLARATION’ was not declared in this scope
Builtins[MAGIC_FUNCTION_DECLARATION] = { &NSBInterpreter::FunctionDeclaration, 0 };
^
/tdd/soft/games/vn/steinsgate/libnpengine-new/src/NSBInterpreter.cpp:49:14: error: ‘MAGIC_CMP_LOGICAL_AND’ was not declared in this scope
Builtins[MAGIC_CMP_LOGICAL_AND] = { &NSBInterpreter::CmpLogicalAnd, 2 };
^
/tdd/soft/games/vn/steinsgate/libnpengine-new/src/NSBInterpreter.cpp:50:14: error: ‘MAGIC_CMP_LOGICAL_OR’ was not declared in this scope
Builtins[MAGIC_CMP_LOGICAL_OR] = { &NSBInterpreter::CmpLogicalOr, 2 };
^
/tdd/soft/games/vn/steinsgate/libnpengine-new/src/NSBInterpreter.cpp:53:14: error: ‘MAGIC_CMP_GREATER’ was not declared in this scope
Builtins[MAGIC_CMP_GREATER] = { &NSBInterpreter::CmpGreater, 2 };
^
/tdd/soft/games/vn/steinsgate/libnpengine-new/src/NSBInterpreter.cpp:54:14: error: ‘MAGIC_CMP_LESS’ was not declared in this scope
Builtins[MAGIC_CMP_LESS] = { &NSBInterpreter::CmpLess, 2 };
^
/tdd/soft/games/vn/steinsgate/libnpengine-new/src/NSBInterpreter.cpp:55:14: error: ‘MAGIC_CMP_EQUAL’ was not declared in this scope
Builtins[MAGIC_CMP_EQUAL] = { &NSBInterpreter::CmpEqual, 2 };
^
/tdd/soft/games/vn/steinsgate/libnpengine-new/src/NSBInterpreter.cpp:58:14: error: ‘MAGIC_ADD_EXPRESSION’ was not declared in this scope
Builtins[MAGIC_ADD_EXPRESSION] = { &NSBInterpreter::AddExpression, 2 };
^
/tdd/soft/games/vn/steinsgate/libnpengine-new/src/NSBInterpreter.cpp:59:14: error: ‘MAGIC_SUB_EXPRESSION’ was not declared in this scope
Builtins[MAGIC_SUB_EXPRESSION] = { &NSBInterpreter::SubExpression, 2 };
^
/tdd/soft/games/vn/steinsgate/libnpengine-new/src/NSBInterpreter.cpp:60:14: error: ‘MAGIC_MUL_EXPRESSION’ was not declared in this scope
Builtins[MAGIC_MUL_EXPRESSION] = { &NSBInterpreter::MulExpression, 2 };
^
/tdd/soft/games/vn/steinsgate/libnpengine-new/src/NSBInterpreter.cpp:61:14: error: ‘MAGIC_DIV_EXPRESSION’ was not declared in this scope
Builtins[MAGIC_DIV_EXPRESSION] = { &NSBInterpreter::DivExpression, 2 };
^
/tdd/soft/games/vn/steinsgate/libnpengine-new/src/NSBInterpreter.cpp:62:14: error: ‘MAGIC_MOD_EXPRESSION’ was not declared in this scope
Builtins[MAGIC_MOD_EXPRESSION] = { &NSBInterpreter::ModExpression, 2 };
^
/tdd/soft/games/vn/steinsgate/libnpengine-new/src/NSBInterpreter.cpp:67:14: error: ‘MAGIC_VARIABLE’ was not declared in this scope
Builtins[MAGIC_VARIABLE] = { &NSBInterpreter::Get, 0 };
^
/tdd/soft/games/vn/steinsgate/libnpengine-new/src/NSBInterpreter.cpp:71:14: error: ‘MAGIC_END_FUNCTION’ was not declared in this scope
Builtins[MAGIC_END_FUNCTION] = { &NSBInterpreter::Return, 0 };
^
/tdd/soft/games/vn/steinsgate/libnpengine-new/src/NSBInterpreter.cpp:95:14: error: ‘MAGIC_NEGA_EXPRESSION’ was not declared in this scope
Builtins[MAGIC_NEGA_EXPRESSION] = { &NSBInterpreter::NegaExpression, 1 };
^
make[2]: *** [CMakeFiles/npengine.dir/src/NSBInterpreter.cpp.o] Ошибка 1
make[1]: *** [CMakeFiles/npengine.dir/all] Ошибка 2
make: *** [all] Ошибка 2
And seems to vary. GCLX:
..CreateMovieSPvol
function CreateMovieSPvol("ナット名", 描画優先度, X座標, Y座標, ループ, αチャンネル, "イメージデータ",$音量)
{
//コンフィグのseと音量を同期、ムービー再生中のse音量変更には対応してない
CreateMovie("ナット名", 描画優先度, X座標, Y座標, ループ, αチャンネル, "イメージデータ",$mv_vol);
SetAlias("ナット名", "ナット名");
}
See Texture::UpdateEffects. e.g. Tone can't be used with Fade
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.