Upgraded API Support for Genshin Impact 3.x Versions

Joined
Jul 7, 2004
Messages
980
Reaction score
572
Github:


Normal work
c65e342c1ae30f22c1f81663cfbf8549 - Upgraded API Support for Genshin Impact 3.x Versions - RaGEZONE Forums




Summon @gorkn

Time to update 3.2 version my friend ;)
 
Last edited by a moderator:
Next step is finding protos for certain anime game versions
 
Okay someone ELI5 it for me please...
how do I actually apply/use this on whatever it needs to be applied/used on?
 
so you need a github account to download a branch of this program that is compiled

after that you I'm guessing you DL all the protos you need for use then properly name & place the protos in the correct spots

then you create a config.json with the right template and values you can find a base layout of what it should look like

but I'm completely fumbling on setting these things up correctly....

Hopefully this info can help others and someone can do some precompiled DL's with all the protos and everything setup for the dockers and VM's we have access to atm and supply this for everyone to use.
 
so you need a github account to download a branch of this program that is compiled

after that you I'm guessing you DL all the protos you need for use then properly name & place the protos in the correct spots

then you create a config.json with the right template and values you can find a base layout of what it should look like

but I'm completely fumbling on setting these things up correctly....

Hopefully this info can help others and someone can do some precompiled DL's with all the protos and everything setup for the dockers and VM's we have access to atm and supply this for everyone to use.
Where to find and download the pre-compiled program?

papka - Upgraded API Support for Genshin Impact 3.x Versions - RaGEZONE Forums
 
Where to find and download the pre-compiled program?

papka - Upgraded API Support for Genshin Impact 3.x Versions - RaGEZONE Forums
click one of the latest green check marked one as that is an actual change with build (fix game time is the one I DLed), you will see all the builds for OS's as long as you are logged in to github

Screenshot 2023-04-06 131236 - Upgraded API Support for Genshin Impact 3.x Versions - RaGEZONE Forums
 
click one of the latest green check marked one as that is an actual change with build (fix game time is the one I DLed), you will see all the builds for OS's as long as you are logged in to github

View attachment 173644
welp this is weird; there's no artifact on mine; I tried all the changelogs but not artifacs
papka - Upgraded API Support for Genshin Impact 3.x Versions - RaGEZONE Forums
 
welp this is weird; there's no artifact on mine; I tried all the changelogs but not artifacs
papka - Upgraded API Support for Genshin Impact 3.x Versions - RaGEZONE Forums

codeql's are not builds they are workflow changes
under the titles of things in the actions area you will see something like Build# subtitle those have the builds for an os
 
Code:
Apr  6 12:15:14.902 INF main.go:58 > Service is starting
Apr  6 12:15:14.904 INF internal/mapper/protocol.go:17 > Loading base protocol v3.3.0
Apr  6 12:15:14.904 INF internal/mapper/protocol.go:22 > Loading protocol v3.3.0
Apr  6 12:15:15.713 WRN internal/mapper/protocol.go:59 > Failed to parse message desc for AbilityActionFireAfterImgae in v3.3.0 error="open data\\mapping\\v3.3.0\\protocol\\AbilityActionFireAfterImgae.proto: The system cannot find the file specified."
Apr  6 12:15:15.737 INF internal/core/server.go:46 > Start listening on [::]:21081

I'm running main with the 3.3.0 protos; my question would be what to do now? It seems to only handle UDP traffic, so it doesn't do dispatch, etc. I'll blindly assume proxying the UDP traffic would be done with a proxycap sort of thing.
I'm not asking for someone to hold my hand... well no yeah that is what I'm asking for. Skill issue braindead whatever, I just wanna play my beloved Faruzan on GIO pserver goddammit
 
I'm running main with the 3.3.0 protos; my question would be what to do now? It seems to only handle UDP traffic, so it doesn't do dispatch, etc. I'll blindly assume proxying the UDP traffic would be done with a proxycap sort of thing.
I'm not asking for someone to hold my hand... well no yeah that is what I'm asking for. Skill issue braindead whatever, I just wanna play my beloved Faruzan on GIO pserver goddammit

I feel like alot of us potential users are in this boat atm, we are just lacking the extra knowledge needed to get all this running properly
 
codeql's are not builds they are workflow changes
under the titles of things in the actions area you will see something like Build# subtitle those have the builds for an os
Update: i make a new acc, and i am able to see the artifacts now, this is unfortunate :(

but it's time to test
 
Code:
Apr  6 12:15:14.902 INF main.go:58 > Service is starting
Apr  6 12:15:14.904 INF internal/mapper/protocol.go:17 > Loading base protocol v3.3.0
Apr  6 12:15:14.904 INF internal/mapper/protocol.go:22 > Loading protocol v3.3.0
Apr  6 12:15:15.713 WRN internal/mapper/protocol.go:59 > Failed to parse message desc for AbilityActionFireAfterImgae in v3.3.0 error="open data\\mapping\\v3.3.0\\protocol\\AbilityActionFireAfterImgae.proto: The system cannot find the file specified."
Apr  6 12:15:15.737 INF internal/core/server.go:46 > Start listening on [::]:21081

I'm running main with the 3.3.0 protos; my question would be what to do now? It seems to only handle UDP traffic, so it doesn't do dispatch, etc. I'll blindly assume proxying the UDP traffic would be done with a proxycap sort of thing.
I'm not asking for someone to hold my hand... well no yeah that is what I'm asking for. Skill issue braindead whatever, I just wanna play my beloved Faruzan on GIO pserver goddammit
have you tried using fiddler? maybe that will do
 
have you tried using fiddler? maybe that will do
Yeah, I'm using fiddler to proxy the tcp bit to the sdk server -- to my knowledge it can't handle UDP, nor can I tell it exactly what application i'd wanna capture from(i'm probably wrong about one of those). The part I'm missing is how to get viagenshin to pick up the traffic. I tried proxycap to redirect the UDP through a proxy that points at the viagenshin listener, but it errors when i actually go to enter the game, denying me on port 10101.
 
Yeah, I'm using fiddler to proxy the tcp bit to the sdk server -- to my knowledge it can't handle UDP, nor can I tell it exactly what application i'd wanna capture from(i'm probably wrong about one of those). The part I'm missing is how to get viagenshin to pick up the traffic. I tried proxycap to redirect the UDP through a proxy that points at the viagenshin listener, but it errors when i actually go to enter the game, denying me on port 10101.

Yeah I really didn't think all those extra things were gonna be needed...
I thought the point of viagenshin was that it was a streamlined way to let a 3.3/3.4/3.5 client connect to a 3.2 server....

My knowledge is extra lacking then as all my experience with this kind of stuff has literally just started and pretty much matches my join date of ragezone so I am pretty useless for figuring out these things, but hey at least now everyone knows the builds are there and available at this time, so hopefully it can all be worked out.
 
Getting a bit closer, but I think I've reached the limit of my knowledge:
Code:
Apr  7 22:28:49.518 INF internal/core/server.go:62 > New session from 192.168.1.211:50388
Apr  7 22:28:49.519 INF internal/core/server.go:98 > Start forwarding session 2909276102 to 127.0.0.1:10104, mapping v3.4.0 <-> v3.2.0
Apr  7 22:28:49.570 WRN internal/core/server.go:116 > Failed to convert endpoint payload error="invalid payload"
Apr  7 22:28:58.871 WRN internal/core/server.go:116 > Failed to convert endpoint payload error="invalid payload"
Apr  7 22:29:08.870 WRN internal/core/server.go:116 > Failed to convert endpoint payload error="invalid payload"
Apr  7 22:29:18.870 WRN internal/core/server.go:116 > Failed to convert endpoint payload error="invalid payload"
Apr  7 22:29:19.520 ERR internal/core/server.go:110 > Failed to get endpoint payload error="context canceled"

(Note: port 10104 is an external mapped port; it still points at 10101 inside the container)

I'm able to use ViaGenshin to act as the proxy to the gateserver over UDP, but that's about it.

The only other bit of information i can pass along to anyone that is able to help is the payload itself (v3.3.0):
Code:
"1\x86o\xdc=\f\xe9\x98A\x92\x93\x1bv1\xd5\xfe<P#\x90\xf4\xb3\x151\x00\t\x91mjBIz\x84\x85"

Made a bit of progress, but still not functioning. The changes i made were to the certificates in the config.json file; I ensured they matched what was in the mysql database. The new batch of errors shows that there is some conversion occurring, but the udp connection seems to die

Code:
Apr 15 07:00:17.319 INF internal/core/server.go:62 > New session from 192.168.1.211:56471
Apr 15 07:00:17.321 INF internal/core/server.go:98 > Start forwarding session 1199760749 to 127.0.0.1:10104, mapping v3.3.0 <-> v3.2.0
Apr 15 07:00:17.352 TRC internal/core/packet.go:44 > Packet GetPlayerTokenReq converted from v3.3.0 to v3.2.0 from={"accountToken":"asdfasdf","accountType":1,"accountUid":"2","channelId":1,"clientRandKey":"asdfasdf","keyId":5,"lang":1,"platformType":3,"subChannelId":1} to={"accountToken":"asdfasdf","accountType":1,"accountUid":"2","channelId":1,"clientRandKey":"asdfasdf","keyId":5,"lang":1,"platformType":3,"subChannelId":1}
Apr 15 07:00:17.352 WRN internal/core/server.go:116 > Failed to convert endpoint payload error="unknown to message GetPlayerTokenReq in v3.2.0"
Apr 15 07:00:26.669 TRC internal/core/packet.go:44 > Packet PingReq converted from v3.3.0 to v3.2.0 from={"clientTime":1681545625,"ueTime":1373.308} to={"clientTime":1681545625,"ueTime":1373.308}
Apr 15 07:00:26.669 WRN internal/core/server.go:116 > Failed to convert endpoint payload error="unknown to message PingReq in v3.2.0"
Apr 15 07:00:36.669 TRC internal/core/packet.go:44 > Packet PingReq converted from v3.3.0 to v3.2.0 from={"clientTime":1681545635,"ueTime":1383.3143} to={"clientTime":1681545635,"ueTime":1383.3143}
Apr 15 07:00:36.669 WRN internal/core/server.go:116 > Failed to convert endpoint payload error="unknown to message PingReq in v3.2.0"
 
Last edited:
Github:


404
 
Github:


404

Builds:

Not sure how any of it works, best of luck!
 
Back