Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

onigiri online server files

Newbie Spellweaver
Joined
Oct 8, 2013
Messages
68
Reaction score
9
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:


server source download link:


source code preivew:
ZoW8SjT - onigiri online server files - RaGEZONE Forums

CCasusensa - onigiri online server files - RaGEZONE Forums

game preivew:
 

Attachments

You must be registered for see attachments list
Last edited:
Master Summoner
Joined
May 25, 2020
Messages
537
Reaction score
240
Its look like this game are made in . someone have any experience with this lang ? By the way can you upload client somewhere else ? thx
 
Elite Diviner
Joined
Sep 7, 2020
Messages
460
Reaction score
78
WOW HOLY MOLY MERRY christmas THANKS YOU SO MUCH ♥ ♥
 
Newbie Spellweaver
Joined
May 11, 2022
Messages
54
Reaction score
4
Wow,thank you a lot!
I'm not good enough to help...so,I'll wait for a Master of knowledge ^^
 
Junior Spellweaver
Joined
Jul 27, 2005
Messages
112
Reaction score
80
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
 
Newbie Spellweaver
Joined
Oct 8, 2013
Messages
68
Reaction score
9
By the way can you upload client somewhere else ? thx


for example



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:
Junior Spellweaver
Joined
Jul 27, 2005
Messages
112
Reaction score
80
for example





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
 
Newbie Spellweaver
Joined
Oct 8, 2013
Messages
68
Reaction score
9
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:
Initiate Mage
Joined
Jan 3, 2023
Messages
2
Reaction score
0
dev.kxr

Server.kxr


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:thumbup1:, let me know if you manage something.



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.

 
Last edited:
Junior Spellweaver
Joined
Jul 27, 2005
Messages
112
Reaction score
80
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
 
Initiate Mage
Joined
Jan 3, 2023
Messages
2
Reaction score
0


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";


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:
Junior Spellweaver
Joined
Jul 27, 2005
Messages
112
Reaction score
80
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
 
Junior Spellweaver
Joined
Jul 27, 2005
Messages
112
Reaction score
80
Most of the missing stuff rebuilt -

Still some issues with config file or missing a file somewhere that i haven't figured out yet.
If someone wants to mess around with it as well, otherwise I'll keep plugging away at it as i have time.

Edit:
FYI - for server side all .kxr files need -0000 added to the file name in the PKG directory
example: ai.kxr becomes ai-0000.kxr
 
Initiate Mage
Joined
Feb 9, 2023
Messages
1
Reaction score
0
I hope all of you are keeping back-ups, considering the whole Shin Megami Tensei: Imagine situation, how the Cosmic Break thread here in ragezone went "missing" and how the Digimon Masters Online leak went missing as well a while ago
And no, that Cyber$tep hasn't nuked the GAX/2 BR private servers does not mean that they're ok with private servers
I hope this eventually leads to the possibility of a 鋼鉄戦記C21 private server considering Cyber$tep's propencity for recycling their code to the point of backporting bugs from other engines.
 
CATMAGEDDON
Loyal Member
Joined
Aug 17, 2014
Messages
1,669
Reaction score
294
I hope all of you are keeping back-ups, considering the whole Shin Megami Tensei: Imagine situation, how the Cosmic Break thread here in ragezone went "missing" and how the Digimon Masters Online leak went missing as well a while ago
And no, that Cyber$tep hasn't nuked the GAX/2 BR private servers does not mean that they're ok with private servers
I hope this eventually leads to the possibility of a 鋼鉄戦記C21 private server considering Cyber$tep's propencity for recycling their code to the point of backporting bugs from other engines.

i have shin megami tensei imagine,but im not releasing it at least not yet
waiting for this to complete since i suck at coding,Onigiri is a great game
 
Initiate Mage
Joined
Jun 16, 2021
Messages
1
Reaction score
0
Most of the missing stuff rebuilt -

Still some issues with config file or missing a file somewhere that i haven't figured out yet.
If someone wants to mess around with it as well, otherwise I'll keep plugging away at it as i have time.

Edit:
FYI - for server side all .kxr files need -0000 added to the file name in the PKG directory
example: ai.kxr becomes ai-0000.kxr
mind asking what mode you running the test at the moment?
I try change the game mode into local_test mode to check if it have enough source to run as stand alone client or not but it not working (I don't know why it not print the error log file so I have no idea what happen)

At the moment I can't actually run the source directly but try to redirect the exe to run the files i want

using setup.ini you can add the line like
[LAUNCHER]
url=C:/CyberStep/onigiriClient/pkg/cobralaunchsteam2
after that i edit the gamemain.nut/config.nut to be the medium to connect other files

also note you can download the old client of Japan and US version using this link /
Weird enough they didn't close the patch server and you can still update then you can edit the level of download by redirect the cobralaunh again but with the old version launcher to download the full client then (Still dev / server / privatemap.kxr are not able to download)
 
Initiate Mage
Joined
Apr 10, 2020
Messages
4
Reaction score
0
I will analyze the files and see if I can make it work. There was a useless file ga2cons.exe from Getamped 2, and I managed to get it to work. Perhaps I can at least test some things.
 
Back
Top