onigiri online server files

Results 1 to 12 of 12
  1. #1
    Member CCasusensa is offline
    MemberRank
    Oct 2013 Join Date
    67Posts

    onigiri online server files

    i accidentally discovered official (server source and dev tools) a few days ago
    but i have no idea how to launch it

    hope someone lancuh it and post a guide

    client download link:
    https://mega.nz/file/0Q9SBahZ#tZdhDb...vVfiGTCh-hDClo

    server source download link:
    https://mega.nz/file/kIFi3CCA#-JrNlC...Y6BPEF13NYhmYc

    source code preivew:


    game preivew:
    https://www.youtube.com/watch?v=xfm3WjEOH6Y
    Last edited by CCasusensa; 3 Weeks Ago at 04:25 PM.


  2. #2
    King is Here ! cinus is online now
    MemberRank
    May 2020 Join Date
    NetherlandLocation
    460Posts
    Its look like this game are made in https://sourceforge.net/projects/squirrel/ Squirrel - The Programming Language

    . someone have any experience with this lang ? By the way can you upload client somewhere else ? thx

  3. #3
    Valued Member llenn is online now
    MemberRank
    Sep 2020 Join Date
    you mom roomLocation
    145Posts
    WOW HOLY MOLY MERRY christmas THANKS YOU SO MUCH ♥ ♥

  4. #4
    Apprentice Moonflower is offline
    MemberRank
    May 2022 Join Date
    19Posts
    Wow,thank you a lot!
    I'm not good enough to help...so,I'll wait for a Master of knowledge ^^

  5. #5
    Valued Member Ryfon is offline
    MemberRank
    Jul 2005 Join Date
    USALocation
    114Posts
    Squirrel is similar to LUA. without the main source or bins for the host application these are probably useless. depending on how much is run from squirrel vs the host application there may be enough here to recreate it or provide a boost to an emulator

  6. #6
    Member CCasusensa is offline
    MemberRank
    Oct 2013 Join Date
    67Posts
    Quote Originally Posted by cinus View Post


    By the way can you upload client somewhere else ? thx

    for example

    - - - Updated - - -

    Quote Originally Posted by Ryfon View Post
    Squirrel is similar to LUA. without the main source or bins for the host application these are probably useless. depending on how much is run from squirrel vs the host application there may be enough here to recreate it or provide a boost to an emulator
    I think it can be create into an executable bin
    if you extract other kxr from client you can get more stuff
    there is pkg__jp.json in cobralaunch which is all archive directory
    Last edited by CCasusensa; 2 Weeks Ago at 04:03 AM.

  7. #7
    Valued Member Ryfon is offline
    MemberRank
    Jul 2005 Join Date
    USALocation
    114Posts
    Quote Originally Posted by CCasusensa View Post
    for example

    - - - Updated - - -



    I think it can be create into an executable bin
    if you extract other kxr from client you can get more stuff
    there is pkg__jp.json in cobralaunch which is all archive directory

    because i saw someone did it a few months ago
    Squirrel does not compile into exes.
    Looking at that video, they have the launcher application that is needed.
    launcher.exe cobra -D exepath 'D:\Projects\Onigiri\game\9054873\' -main gamemain.nut -D serverIP 127.0.0.1 -D serverPort 56660
    launcher.exe looks to be 56kb
    looking at the nut files this exe handles loading all the include functions and logging. Might have been accidentally included in one of the client updates somewhere in the past

  8. #8
    Member CCasusensa is offline
    MemberRank
    Oct 2013 Join Date
    67Posts
    Quote Originally Posted by Ryfon View Post
    Squirrel does not compile into exes.
    Looking at that video, they have the launcher application that is needed.
    launcher.exe cobra -D exepath 'D:\Projects\Onigiri\game\9054873\' -main gamemain.nut -D serverIP 127.0.0.1 -D serverPort 56660
    launcher.exe looks to be 56kb
    looking at the nut files this exe handles loading all the include functions and logging. Might have been accidentally included in one of the client updates somewhere in the past

    exactly
    unfortunately can't find this launcher
    Last edited by CCasusensa; 3 Weeks Ago at 11:58 PM.

  9. #9
    Novice svaika165 is offline
    MemberRank
    Jan 2023 Join Date
    2Posts
    dev.kxr
    https://mega.nz/file/L5RmBIqJ#gbd9hJ...mT7oGvtse1y1YY
    Server.kxr
    https://mega.nz/file/P44nQbiK#CmDdi9...x9vFrANYxOHH84

    These are old files that I managed to get hold of in 2019, I forgot I had them, supposedly you can take older version of cobra editor from dev file, which is from Cyberstep specifically for editing onigiri, a dev tool also can be used for debugging etc, making it much easier to find stuff. When you extract dev.kxr with quickbms there are png's and other files indicating that there is the editor, but how to use it, I don't know. This is the most I can provide as with my expertise I won't go far haha
    hope it's useful, let me know if you manage something.

    - - - Updated - - -

    also after checking config__us.nut and editing a package url a bit I got access to old oni files, weirdly there are 4 cobralaunch files.
    cobralaunch.kxr, cobralaunch1.kxr, cobralaunch2.kxr, t_cobralaunch.kxr they might be useless, but I just found it curious.

    http://patch.onigiri-online.com/patch/patch/
    Last edited by svaika165; 1 Week Ago at 04:11 PM.

  10. #10
    Valued Member Ryfon is offline
    MemberRank
    Jul 2005 Join Date
    USALocation
    114Posts
    Getting closer... missing a configuration file though.
    I've pieced together chucks of it though I think.
    Code:
    package base dir : E:/Onigiri/Server/pkg
    no package download url... 
    OnMemoryKxr: conf is READY !
    load KxrOnMemory: conf-0000.kxr block pos=2
    load KxrOnMemory: conf-0000.kxr block pos=1
    2023-01-03 16:34:26 [info][ServerConfig] <file> load config: E:/Onigiri/Server/config/server.nut
    Exception in thread "main" : the index 'type' does not exist
            at /src/common/db/globals.nut : configureDB(6)
            at /src/server/serverMain.nut : unknown func(54)
            at /src/server/serverMain.nut : main(57)
            at kio.nut : runnut(25)
            at /servermain.nut : main(31)
            at kio.nut : runnut(25)
            at kfunc.nut : boot(168)
    locals:
            func : (function : 0x036EA1E8 = "main")
            config : Config({worldServerAddress=127.0.0.1:56671,StageServers=[{publicAddress=127.0.0.1:56800,stage=1,ch=0...
            fileprefix : 
            t0 : 0
            startupTime : 1672785266
            serverName : all
            this : (table : 0x0143B538)
            startupInfo : (weakref : 0x056422F8)
            mainres : ../cobralaunch/
            win : null
            src : servermain.nut
            prelib : (instance of KFile : 0x02FCBFB8)
            mainnut : servermain.nut
            configureServer : (weakref : 0x05642358)
            cb : E:/Onigiri/Server
            mani : (table : 0x03789100)
            manires : null
            r : (instance of FileResource : 0x0378EDE0)
            pkgdir : (instance of KFile : 0x036ED390)
    servermain end

  11. #11
    Novice svaika165 is offline
    MemberRank
    Jan 2023 Join Date
    2Posts
    https://imgur.com/a/SvvGlRN

    Welp, I give up for now, not easy for newbie, I have installed visual studio, squirrel extensions, sqlite3, gcc, and nothing yet, It's fun to mess around I guess, more so when you know what you're doing.
    Another bit of information I found is what text editor is being used
    textEditorPath = "tools\\sakura2-0-2-0\\sakura.exe";
    https://sourceforge.net/projects/sak...kura2/2.0.2.0/

    It seems like It's and old version from 2011, but I wouldn't be surprised if they still use that old version. It is able to open most of the files from oni, like cpp, json, dat, skl, sta and etc. Which is quite useful as it's lightweight and small program, also you can active Oracle SQL on it, which perhaps then you can run commands, dunno.


    Last edited by svaika165; 1 Week Ago at 04:24 AM.

  12. #12
    Valued Member Ryfon is offline
    MemberRank
    Jul 2005 Join Date
    USALocation
    114Posts
    All most there, missing all the databases. I've pieced together the User database so far. Think i have most of the server config worked out now
    Code:
    package base dir : E:/Onigiri/Server/pkg
    no package download url... 
    OnMemoryKxr: conf is READY !
    load KxrOnMemory: conf-0000.kxr block pos=2
    load KxrOnMemory: conf-0000.kxr block pos=1
    2023-01-08 13:25:14 [info][ServerConfig] <file> load config: E:/Onigiri/Server/config/server.nut
    -----------------------------------------------------------------------
    --- loadGameSetting start.
    load KxrOnMemory: conf-0000.kxr block pos=0
    #### common setting replace /conf/cashItemSettings.nut
    #### common setting replace /conf/cashGachaSettings.nut
    #### common setting replace /conf/boxGachaSettings.nut
    #### common setting replace /conf/cashShopSetting.nut
    #### common setting replace /conf/npcShopSetting.nut
    #### common setting replace /conf/npcExchangeShopSetting.nut
    #### common setting replace /conf/dungeonSettingsOverwirte.nut
    #### common setting replace /conf/achievementSettings.nut
    #### common setting replace /conf/attendanceCpSettings.nut
    2023-01-08 13:25:16 [debug][WeaponItemData] is not stackable [kind:8, id:31013, num:2]
    2023-01-08 13:25:16 [debug][WeaponItemData] is not stackable [kind:8, id:31023, num:2]
    #### common setting replace /conf_server/gachaPrizeRateTables.nut
    #### common setting replace /conf_server/boxGachaPrizeRateTables.nut
    isRarityChoice set true. gachaId=10000
    isRarityChoice set true. gachaId=10000
    isRarityChoice set true. gachaId=10001
    isRarityChoice set true. gachaId=10001
    isRarityChoice set true. gachaId=10003
    isRarityChoice set true. gachaId=10003
    isRarityChoice set true. gachaId=10004
    isRarityChoice set true. gachaId=10004
    isRarityChoice set true. gachaId=10007
    isRarityChoice set true. gachaId=10007
    isRarityChoice set true. gachaId=10008
    isRarityChoice set true. gachaId=10008
    isRarityChoice set true. gachaId=10010
    isRarityChoice set true. gachaId=10010
    isRarityChoice set true. gachaId=10011
    isRarityChoice set true. gachaId=10011
    isRarityChoice set true. gachaId=10012
    isRarityChoice set true. gachaId=10012
    isRarityChoice set true. gachaId=10013
    isRarityChoice set true. gachaId=10013
    isRarityChoice set true. gachaId=10014
    isRarityChoice set true. gachaId=10014
    isRarityChoice set true. gachaId=10023
    isRarityChoice set true. gachaId=10023
    isRarityChoice set true. gachaId=10002
    isRarityChoice set true. gachaId=10002
    isRarityChoice set true. gachaId=10024
    isRarityChoice set true. gachaId=10024
    #### common setting replace /conf/stageSettings/shop.nut
    #### common setting replace /conf/stageSettings/onigashima.nut
    #### common setting replace /conf/stageSettings/kumaso.nut
    #### common setting replace /conf/stageSettings/event/vehiclepartner/vehiclepartner.nut
    #### common setting replace /conf/stageSettings/event/trial/trial.nut
    #### common setting replace /conf/stageSettings/ousyukaido_syuten/satan_transform.nut
    #### common setting replace /conf/stageSettings/event/taiken/taiken.nut
    #### common setting replace /conf/stageSettings/onigashimaOverwrite.nut
    #### common setting replace /conf/stageSettings/event_run.nut
    --- loadGameSetting completed. time = 2882
    -----------------------------------------------------------------------
    2023-01-08 13:25:17 [info][GameSetting] skip GameSettiong validation.
    OnMemoryKxr: default is READY !
    load KxrOnMemory: default-0000.kxr block pos=1
    load KxrOnMemory: default-0000.kxr block pos=0
    2023-01-08 13:25:17 [info][main] Starting server: all
    2023-01-08 13:25:17 [info][DBConnection] Message from DB in response to PRAGMA journal_mode = MEMORY: [memory]
    2023-01-08 13:25:17 [trace][SQLite3DB] __onConnect:[E:/Onigiri/Server/config/on_connect.sql]
    2023-01-08 13:25:17 [info][BlobUserDataManager] Executing DDL file, may fail if DB is locked...
    2023-01-08 13:25:17 [info][BlobUserDataManager] Executed DDL file successfully!!
    2023-01-08 13:25:17 [info][LoginServer] No email map
    2023-01-08 13:25:17 [info][CharaMinimalDataCache.Cleanup] started. nextTime:1673206517
    2023-01-08 13:25:17 [info][adminToolHosts] Loading hosts for local test server...
    2023-01-08 13:25:17 [info][WorldServer] openWorldServer > Opening AdminToolServer on 10.1.1.5:62002...
    2023-01-08 13:25:17 [info][AdminToolServerWorld] Opening server...
    2023-01-08 13:25:17 [info][ConnectionChecker] Start
    2023-01-08 13:25:17 [info][AdminToolServerWorld] Server opened successfully!
    2023-01-08 13:25:17 [info][BanManager] Setting up Banlist DB...
    Exception in thread "main" : <14:unable to open database file>
            at /src/common/db/SQLException.nut : constructor(4)
            at /src/common/db/DBConnection.nut : prepare(43)
            at /src/common/db/DBConnection.nut : constructor(14)
            at /src/common/db/SQLite3DB.nut : getConnection(29)
            at /src/server/admin/BanManager.nut : constructor(51)
            at /src/server/admin/AdminToolServerLobby.nut : constructor(14)
            at /src/server/lobbyServer.nut : constructor(43)
            at /src/server/gameServer.nut : startLobbyServer(51)
            at /src/server/server.nut : _startupLobbyServer(241)
            at /src/server/server.nut : _startupAllServers(402)
            at /src/server/server.nut : _startServer(65)
            at /src/server/server.nut : startServer(32)
            at /src/server/serverMain.nut : main(97)
            at kio.nut : runnut(25)
            at /servermain.nut : main(31)
            at kio.nut : runnut(25)
            at kfunc.nut : boot(168)
    locals:
            readonly : false
            port : 56800
            worldServerAddress : 10.1.1.5:56671
            pserver : (instance of LobbyServer : 0x10866028)
            sql : BEGIN IMMEDIATE TRANSACTION;
            worldId : local
            message : unable to open database file
            flag : 6
            code : 14
            lobbyAddress : 127.0.0.1:56800
            ip : 127.0.0.1
            worldAddr : 10.1.1.5:56671
            cause : (instance of Exception : 0x132F9E38)
            e : (instance of Exception : 0x132F9E38)
            sessionStorage : (instance of LoginSessionStorage.Local : 0x12BBBEF8)
            this : (instance of Server : 0x104E5630)
            p : null
            file : E:/Onigiri/Server/bin/data/banlist.db
            userDataManager : (instance of RemoteUserDataManager : 0x13134460)
            uri : E:/Onigiri/Server/bin/data/banlist.db
    servermain end



Advertisement