#LunarCore-on-Android
1 messages · Page 1 of 1 (latest)
Feel free to let me know if there are any issues with the instructions
It works. But I got some errors
First is
This.
Second is me stuck at the loading screen. Even i did /unstuck. I'm still stuck at the loading screen
Wait imma try it again multiple times
Ignore them I get the same errors too
I had that happen to me too I didn't know how to fix it exactly so I used a different account
Ok, I tried to do /unstuck multiple times. Same result. Even switching accounts didn't solve the issue.
Also did it work. cuz mine didn't
I am sorry for the late reply
Could you please tell me if you have managed to get in the game before
On the private server
And where exactly you are getting stuck
Just to confirm
Private server on my laptop.
Here. Is where I normally get stuck
Ok what I can sugget is to
Stop the server
Write cd
rm LunarCore-on-Android/ start.sh -rf
And then
nix-channel --add https://nixos.org/channels/nixos-22.05 nixpkgs && nix-channel --update && nix-env -iA nixpkgs.git && git clone https://github.com/kostas214/LunarCore-on-Android.git && cd LunarCore-on-Android && . install.sh
Don't worry it won't take as long as the first time
That would help
It seems like the server is working fine but the game is the issue not 100% sure btw
You have logged in the official server at least once from this app
Right?
Yeah, I have the official server in my Games folder
And the priv server
Yeah
That switch basically turns off the redirect to the ps and you login to the official
Dang. Welp gotta delete the official to use the ps one 💀
Out of storage?
U can have both installed just to let you know
Yeah, I have winlator
And that is?
Windows emulator
Oh dang I need to check that out
So the issue was that you hadn't downloaded the game ?
I have but another issue
Oh
What do you mean
The update is going smoothly. Minus the lag
Yeah. Got enough pulls plus extra
Nice
I spent all my gems on sparkle and her lc
But I am going to try for her and pray for a miracle
Those animations are seriously amazing
Alos you can leave the app
And the download will continue
Eyy it works.
Let's goo
@cunning bough got a new problem. Now everytime I launch. I get stuck at the loading screen again. The loading bar didn't even move. Imma try to move to the official server first before declaring wtf is going on.
Unstuck
/unstuck
Delete the 2 corrupted files and replace them with 2 error-free files
What
What I probably needed to do was /unstuck but I didn't know if at the time
What resources exactly?
Actually I have a simple install script
And it will probably better to download them correctly the first time
Melledy has updated the install instructions
it must be completely deleted
So I will update the script later
Idk I am going to have to try
go go
Not now bruh
What problems?
Wait
It's no longer redirecting me to the priv server
Imma have to reinstall things. Back home cuz I'm still at school
Imma try it one more time
How is that possible
Did you change anything on the server and client?
No. Did not
Do u get the green dispatch notification
Yeah I got
Show the server console
Where
termux
It's actually nix-on-droid because I am too braindead to get termux working
It was easier to get that working
@cunning bough
It is redirecting just fine
Imma do it again one more
Where are you getting stuck exactly
Start of the loading screen.
Bar didn't move
Try another account
where
I think I found the solution to your install code
after loading resources
Please move the command to the resources/config/ directory
and delete these 2 folders
Wdym
Then go back to the system directory and download mel's resources
hmmmmm
I tried to use the priv server acc. It gave me the bot verification thing.
Imma have to go home and reinstall the whole thing. Minus the client
After the 8th line is executed, insert the command that takes you to the config directory
Then run the command to delete the above 2 files
and the following actions continue normally
Ok I will try it when I have the time
I have some other improvements too I want to add
hope to know that soon
Yea I want to add those download links u gave me yesterday and simplify the instructions
mv Config ExcelOutput TextMap ~/LunarCore-on-Android/resources (your command)
cd ~/LunarCore-on-Android/resources/Config
rm -rf ConfigSummonUnit LevelOutput
i don't know if it works correctly but you can try if possible
Absolutely I will
nice
Doing things on phone is so much more convenient
Sitting on a desk and doing it on a computer is such a chore
Yea I will fix the repository
Nvm, I got it working again
Nvm, it's stuck at loading screen with the bar, not even moving
Nvm I got in
Broo what 💀

It's so inconsistent
Somehow it's not redirecting, stuck, stuck, and somehow it goes in and somehow not 💀💀
Your phone is betraying you
It doesn't even need data
You can do everything except installing offline
The client bruh
Wait does the client in private server does not need data?
@cunning bough
You don't need any internet connection
Bruhhhh
To connect to the private server
Imma try it
It's literally the best game to play when you don't have data
Holy shit it actually worked WHAHAHAHA
Let's goooooo
@storm pier I updated the script
Can you paste it here? So I can update the server
I will Just a bit later
Ight
K
Is it done now?
It's not something urgent you need to update
I will do it when I have the time
It just fixes a small problem
If you want just reinstall the server
No, I'm just checking.
@cunning bough
Try to follow the I instructions better
ok thx
Hi can I ask how I can get the characters ?cus' I'm new with this
Do /giveall avatars
Then /avatar all lv80 p6 r6 s50
Thank it worked
Hey! I have an issue rn, when i try to start the private server it says "command not found"
I already try using the Ctrl c and nothing! This is my first time using codes, sorry if I'm being dumb or smt
The command to run the server is
. start.sh
Are you sure you are typing it correctly because "command not found " is usually when the command does not exist not when the server has a problem and doesn't start
It works now, thanks!!
That's great
Are you running the server in the background
Have you wrote the url correctly
Have you downloaded the game filles by connecting to the official server
I've done all of this
Then why isn't it working
Is the server starting successfully and looking like this
You see that when you open the game right? Is the address the exact same
Yes
Everything seems to be working correctly
You have downloaded the game data right? From the official servers
Try reinstalling the server
i already tried
Damm
I already reinstalling the server yesterday
Oh yeah I believe you
I just don't have anything left to suggest
Maybe it's the game that's the issue?
Maybe
I am going to try some stuff and try to reproduce the issue so I can help fix it
I will get back to you if I have a solution
@storm pier can u help
yes ?
So this guy is getting error 1001_1 but everything seems to be working fine
Any idea what's the issue
I know 1001_1 happens when the server is slow or doesn't respond but I don't know what is exactly the issue
maybe problem form domain and port
That error only appears with server-related errors
I have set the port to 5000 because 443 is reserved on Android
It works fine on my phone and the 2 previous people
yah, I understand but it seems the problem could also come from his device
If it is related to cultivation, it can be handled very easily
As for Android, it can be quite difficult for me
Could it be caused by the latest commit because up until now I have been using the GitHub actions to get the jar and I changed it to get it from the release
Have you upgraded it to version 1.2.0?
It was already on 1.2
And I thought it may be caused by the latest commits
So I used this from the releases
I don't think it can cause an error to the server
There is a high possibility that he entered the wrong path
I mean
Domain
Yea I am not too confident either that this will fix it but I don't have anything else to try
The game does reach the dispatch server
So I don't thinks that's it
Ok so I will update the instructions some more and tell him to try again
If it doesn't work then idk I can't fix it
Thanks for the help btw
maybe the problem is from step 3
So tell him to double check that he entered it correctly
I already did
And it is correct
He is getting dispatch
I don't think it's a user issue. I think the device is most likely at fault here
If everything is fine then something went wrong while connecting
If considering cultivation, the error is due to the wrong ip or port
Haven't unchecked https yet
Haven't used internal proxy yet
Does the error appear before or after logging in?
@river kettle so after making some changes could you start from the beginning (delete nix and the game) and start again with the new instructions
A comprehensive guide on how to run the server implementation of a certain turn based anime game on your android device completelyoffline - GitHub - kostas214/LunarCore-on-Android: A comprehensive...
Ok thank you
You wait a bit for me to update it to 2.1 and then you follow the instructions
Where is the instruction😥
Talk about perfect timing
I am almost finished updating to 2.1
The instructions are on the GitHub just scroll up and you will find it
Oke thanks 😍
This?
u can't play 2.1 now
Yes wait a bit I am still fixing something
wait when he got update
Ukie
I have updated it
really
I just need to change something
link is work ?
The hot fix ?
They work
Ok @exotic kettle it should be fine
If you have any problem come here
edit by yourself
I just compiled them for those who need them

I will make an update script later
I think I did the wrong one wait
Go to nix
rm -rf LunarCore-on-Android/ start.sh
And then just use the install script and make sure you downloaded the latest apk
I will make actual instructions on updating later
Did this freeze or this just takes time
Ooof you reinstalled nix
Nvm this just takes time
You didn't have to do that
Shit got fucked
Also why does the APK have you to install the pre-download patch. Even though it's already 2.1
Idk
The official does that when the resources aren't downloaded
Something ain't wrong but that's just me being mentally insane
apk just MB not GB right ?
Just MB
so it needs to reload the entire resource
You should have just waited for me to make the updating tutorial you didn't have to re install anything
Sometimes I have to dip my toes in lava
Lmao
But hey atleast it's 30% nearing completion
Sorry to interrupt but is this completed? I'm clinically stupid so I'm sorry for the inconvenience 🙁
Great
Go to the next step
Alright
Um.....
Crap command not found
h-help?
I'm prob too stupid 💀
It's literally nothing
What do I do with command not found, next step or something wrong?
Can you send a screenshot
You have a , in the start
Yes
alright i redid it
Now you wait 💀
unpacking channels
You still got a long way to go
Just leave it there and come back in like 15 minute
how long do you think it takes in an estimate?
Idk 15 more minutes
alright
If I already did everything for 2.0, do I have to restart from the install line from the actual GitHub or is there an update script?
I am planning to make an update script
I will later today or tomorrow
I can give you instructions here if you want to do it today
As long as it's not too complicated lol
.
If it is, I don't mind waiting for update script
.
And then just run the install command again
Also make sure to update the apk
👍
I would like to confirm that the update steps work
Let's go
Is this it..? Can I start the game?
I made the update script
Hey man can you implement this change? #git message
Do an update
Elaborate
. Install.sh automatically compiles and downloads the latest commit
@shell field u know I have created the update script
I already did . Install.sh
Nvm I got it working. Or not
You just run that command
You don't need to delete anything yourself
I made the update script to do all that automatically
It may be annoying but what should I do next?
Wait for it to finish and continue with the instructions
Alr
@cunning bough check new url hotfix, they update them
I will
But I was wondering if there was a way to automate
It's the only thing left I need to manually update
How can I solve?
@cunning bough
"A login error has occurred. Try again later. Error code: 1001_1"
Did you turn on the server?
Do not turn off server, and check console if they have any Warn about port
I will look into it later
why he losing all resources file 
It happened to me too
Idk something broke overnight
check your github
Yeah I will later
I think I know what happened
The app must have been closed during the installation
@velvet token ```sh
cd && cd LunarCore-on-Android && git pull && . update.sh
Run this
Okay
I ran and started the system with: . start.sh
The same error continues
@cunning bough
Okay
Yes one moment
You need to know that you are missing resources files so they will cause error 1001_x
This seems to be the issues
Let me Google it
Lc configs downloads fine
But star rail data doesn't
Weird
u use dimb data ?
maybe something block his connection
@storm pier I was able to reproduce the error
By having slow internet
@velvet token it's most likely your internet that is the issue
Yes
Maybe try again later or connect to another internet
how about the speed
Wdym
network speed when you simulate that situation
Yeah I had shitty internet
That's most likely the issue
sounds bad
is there a way for the client to just use the official game directory like pc, so it doesn't need another 20gb space?
Use this. You can connect to the official server/yuuki/localhost and even play on 120hz https://github.com/Xuoos/StarRailProxy/releases/download/1.9_/2.1_HSR_CustomServer_v1.9_Xuoos.apk
where are these files stored
i want to edit the config.json
Is this a function that only works on PC?
Nano is already installed
nano?
/storage/emulated/0/Android/data/com.HoYoverse.hkrpgoversea/files
well i meant the server nix is running
Do u know how to use Linux terminal
no
Nix is basically Linux on Android
ooh
So it will be very helpful to know
i can navigate mac terminal
What exactly do you want to do
typing
I have never used a Mac lol I don't know how similar it is
well its a unix os
i wanted to edit the config.json so i could adjust things like rates and also disable the game files download as i have already downloaded them
ty
Wdym
Yeah exactly
You can use the touchscreen to scroll up and down
It works pretty well here too
the help is appreciated
i do want to ask one more thing about android studio
i tried this on android studio and i got pink graphics instead of the way it should look
the ui was normal but everything else was pink
i looked up it had something to do with compatibility mode vs normal mode in the in game settings but that didnt help either
You tried star rail on the emulator?
yes and it launched but all 3d objects were pink when i tried to login
so instead of seeing the train in the background and the rocks floating by
everything was pink
That's common on an emulator..
any idea on how to fix
can't fix
Probably can't
No, it's just usually there. Best idea to "fix" is to switch emulators
ye thats what i meant
not something that anyone in this discord would "fix"
its an emulator thing i figured
Why would you even want to do that ?
play on mac
lemme be clear i do also have a physical android phone
but i also have a pc and mac
Maybe you can use wine?
probably ill look more into it
Android emulator will fail
BlueStacks is also an option
i thought bluestacks was a scam and imported bloatware
u can play but texture will not load
ye thats no good
So basically try wine or BlueStacks. The x86 android emulator will not work
appreciate the input
hmm i removed the res download urls but now i get a white box that pops up with no text
Login to the og server
Or replace the urls
but everything was already downloaded
There was a hot fix update
You may have not got the most recent urls
Check the GitHub for the most recent
oki
@storm pier I figured out how to get the urls on my own
And I figured out how to patch the apk
So I just need lunar core to update and I don't need to rely on anyone else
And I have been thinking if it was possible to complete automate the process
Like making a python script to update the resource urls
And a GitHub actions which patches the latest star rail apk
And then I won't have to do anything to update each version
It will automatically be on the latest version
oop yep hotfix ty
I mean can Lunar Core only be played on PC?
Well I mean this threads name is "LunarCore-on-Android"
I kinda wanna get in depth of the code of the apk
I have done a bit of research myself
But I still don't know much
Me too
The only close observation I can do is to look at the data folder
I also remember March 7th’s birthday livestream
I mainly want to edit the apk to connect to a different account server
DAMB IT IM RELAPSING AGAIN

what is the address of official server?
thank you
Why does this need downloading again, I already have the resources downloaded
Even on the official server, it needs downloading
maybe new fix
Idk, I already downloaded it
How do I resolve this issue on mobile?
follow his post and u can use on lc on android
can u show me your console
Is this what you mean?
like this
How do I see that setting?
It is
tks !!
bro idk if im doing it right
I downloaded the thing
and did the tutorial
do i do the story mode until I unlock messages?
it only shows this
u didn't lauch lunacore ?
I have authorized it and it still displays like this
@shell field ```cd && cd LunarCore-on-Android && git reset --hard HEAD~1 && git pull && . update.sh
To fix the downloading issue
Can you show me the terminal
Great
@tight tide
Run this too
alright
And test if you are able to get lv9999 relics
Alright, sorry if I let you feel rushed by the way
It's alright
So yes, we can get level 9999 relics apparently.
Alright 👌
Thank you for your time.
@paper siren
Aren't you getting these errors
When starting lc on termux
Can you connect to it?
Can you guess the time
It's time to update
Thankfully I can reuse most of my code because it's just bash
Why didn't I try it before 💀
I mentioned it before
When?
It's just that I think you use termux
God I should have done that a long time ago
I will update it soon
Termux is 100 times better and faster
Anyways I have to go bye
@paper siren I updated to termux
It took 10 minutes
And it's 100 times faster to insrall
I am have using "pkg" not "apt"
But now that I think about imma go change it
Yeah it's the same
Imma go change it
I changed it
I am going to try it on Ubuntu
Actually nvm
There are some instances which I use ~/ path
And it will work work unless I install directly on the home directory
I don't mind
That would be a nice addition
I hadn't thought of that
Yeah
Termux-repo
Huh?
What's
Oh ok
@paper siren turns out pkg and apt isn't the same
I found how to fix it
I will just run apt update
Before
It works now
I just added a apt update to the start
i forgot there was 10 other places with nix-on-droid
i am pretty sure there is a difference with . and ./
i think i will just add a chmod +x update.sh
i have seen that if i run a script with . and it crashes
the whole session ends
but if i run with ./ it doesnt
this is clearly better
i will go change it
I changed it
Yes
I'm gonna change it
Start.sh is the most convenience script ever
I love it
Consistency
I didn't even notice you made a pr
Lmao
Are there any other nit-picks?
Oh wait I want to ask you something
Do you have a database.mv
With data
I am too bored to build characters myself
One is on the Lc on Android directory
And one is on the home
Do you mind sending it to me
Thank you
John has some goofy ahh builds
Mid
Can do better
Tomorrow I am reaching pity
I really really hope I win the 50/50
That and the new pure fiction
😭😭😭
"I got it early one lunar core"
Yeah it's ultimate based
Can confirm
To the COGNOSPHERE PTE. LTD employee in this server, I am not involved in any leaks or reposting of copyrighted content. Everything I have said in this server is purely satire, and I would never decompile/reverse engineer your game. Thank you for understanding.
For any Mihoyo agent here:
In case of an investigation by any federal entity or similar, I do not have any involvement with this group or with the people in it, I do not know how I am here, probably added by a third party, I do not support any actions by the member of this group
game keep asking to check update everytime i open, so i needed to use internet at the start. how to fix? also do i need to change to termux?
there's nothing to update tho, i even login to official server. it just keep asking to check for no reason
what url?
this one?
cd && cd LunarCore-on-Android && git reset --hard HEAD~1 && git pull && . update.sh
cause i already tried it and nothing changed
LC script on termux??
Yes
It's 100% faster to install
If you want to update you just delete nix and download termux
And run the install script ofc
So, tutorial soon?
i think there's been a misunderstanding about the problem, i can login and play just fine. it's just that at the startup the game always wants to checks for update which won't let me in unless i turn internet on just to check it even tho there is nothing to update, after that i can turn off internet. i don't think that's supposed to happen right?
Oh
maybe because the link
Exactly
it will point to the official server
Yeah that's it. The hotfix comes from mhy directly
i think you should have a config fix
after update
will load a new config without hotfixes and updates
I am thinking of exactly that lol
so do it 
How about I make a
And a offline start.sh
How does that sound
use this
to delete old config and update to new one without hotfix
I think there is a better way to make it to that
I have something in mind
That's not a good solution
I have a better solution in mind
How about I implement command line arguments in lunar core
Like
Java -jar LunarCore.jar --config /home/Desktop/config.json
Is it possible to copy your database.mv?
maybe if you root your android device and copy it out to your desktop on windows
not sure if thats actually the solution
Yes
What do you want to do exactly
Lemme help you
If a private server for ver 2.2 releases. I wanna back up my database.mv so my chars can carry over
No need to do any of that
You just run the update script
And it will update
To the latest version
And you just need to update the game client which is easy
Nope
You just
Cd /storage/emulated/0
After you give storage permission
can i use server on pc than connect it my strail on android?
Yeah
how to do it? just run tramux?
So from what I understand
You want to run lunar core on pc
And connect from android
Correct?
yeah just host server on my pc
Alright lemme show you
than run it on my android
aight
},
"downloadData": {
"assetBundleUrl": "https://autopatchos.starrails.com/asb/V2.1Live/output_6745926_1a01bfe52144",
"exResourceUrl": "https://autopatchos.starrails.com/design_data/V2.1Live/output_6790993_b2f9ac3e5da3",
"luaUrl": "https://autopatchos.starrails.com/lua/V2.1Live/output_6790895_1b55432a2852",
"ifixUrl": "https://autopatchos.starrails.com/ifix/V2.1Live/output_6790240_1ed7a1a657e6"
},
Add these to your config
And also
Change public IP address
To your ipv4
And get the client from my GitHub
And follow the setup instructions. But instead of http://127.0.0.1:5000
Use your IP and port
did i need to change this on my pc?
In your config.json
What no
Do ipconfig in a terminal
Get the ipv4 and use that
Ugh
I made a mistake @swift briar
You need to change the public IP address here
just paste my ip publick there?
Paste your ipv4 to public IP address
Let's go
443 should be fine
Have you downloaded the data
yes ofcoz
Can I see the error
eh
i missing this on my config
wtf
how it gone
If you have already downloaded the game data on Android
You don't need that
Also what you need to do
Is replace null with those urls
To be honest. I have been getting a similar error too
I haven't been able to fix it lol
any error back ?
10001_1
It's just a generic error if I remember correctly
Retry login
restart device then try again
I mean
1001_x is an error related to Retry login
alrdy did
RET_RETRY_LOGIN = 1001
yeah after tap start
cultivation right ?
erro pop up
localhost
443
change port
then try again
Please continue I need to go to sleep now
I have even reinstalled the client it didn't make a difference
Goodnight
still the same
I have tried everything I could. I desperately need a solution too
@cunning bough i have crazy idea
5000 is just a random number I used because 443 is reserved
send her that apk...
Bro what
Which apk
My edited apk and kostas
wait
she still use 443 port ???
I don't think 443 is good idea...
i don't know
Maybe it has some other reasons
nope
Have you tried restarting the computer and the problem still persists?
yes
this alrdy 3x times
don't need
I can patch the apk myself and turn of debugging on the app
So basically logcat. There aren't any other logs
I don't think you miss anything
There must be another issue
@cunning bough if an error occurs
Compare the sent file message.txt
In version 2.1 there will only be
ErrorCode: 0
ErrorCode: 3
1001_x
I was able to log in fine in the yuuki server and in the local host on Android
I can run fine with termux
Same
can you sent me ur config file?
its okay no rush, im here when u guys find the solution
yeh
so i need to use something like vpn
to change my ip?
how about 1.1.1.1? its also vpn
but idk how it work
its free
Your problem is almost solved
The problem is just that the server can't log in and tries to log in again
i downloaded termux
what i need to do now?
No
so
So follow the instructions
i need redownload it? 👉👈
Why would you do that
okay I'll follow the instructions
So it doesn't matter if you have the original
if i had a problem i will tell you
Yup
Idk maybe continue with the instructions
That would help
You pressed the wrong button
aaaa
Try it again
I have no idea why it writes 54321
Also is you phone set to a right to left language
it work
now where i can sign up?
Use any name and password you want
No problem
There's always a problem with the android PS always downloading resources even tho I downloaded resources on the main server
Is there like a fix for this?
Cuz I wanna play on school
try turn off wifi
Does data count?
nope
you can play ps without internet
But like, it's always prompting for downloading resources
Which I have to download before I go to school
Try turning off the network and try again
Also, does this always appear?
Are you sure the network is turned off?



idk wht i miss i did evrything