#archived-modding-development
1 messages · Page 430 of 1
aah i see
know how to use python?
barely
do you have it installed tho
I could try
i can shoot you a link to the python discord
me?
yep
google-fu has me pretty confident I'm on the right track
oh, it's not that I'm misunderstanding something
what are you trying to mod?
it's just that I can't translate all text because of quotas
aah
I'm making a poorly translated mod
basically, running every line in the game through multiple layers of google translate
and back to english

but
google has quotas
so you can't translate it all in one go
so I need help, otherwise this is going to take like an year
can you help me?
I'll send you the code and the files to translate
I just need you to run the code
and send me the results
I'll see what I can do
sid, I'm able to translate again, so you should too
ty jngo, tell me when it's a good time for you
you can send it now and I can check it out when I have time
what files have you already done?
none completely
I'm currently doing Elderbug
and I have started on UI
also, I'm using 5 cycles only
to speed things up
yeah
you can see by the snippets I posted earlier
and I'm gonna change to 'a' instead of 'w' so I can just continue where I stopped from the quotas
elderbug is done
ELDERBUG_MAP_SHOP_OPEN : Recently a young couple is near the station. They think that you can admire your face. This is a big insect and his wife. I told them that they would use a big house, especially because they were naked, but they liked it. <Path> The path you just need to keep in the door ... I will not tolerate myself.
I told them that they would use a big house, especially because they were naked, but they liked it.
np
is that part of the lore mod?
it's part of the poorly translated mod
That Dark Souls 3 poorly translated video is hilarious. Looking forward to the random wisdom of Elderbug.
custom knight mod bork 
It'll work if you disable and re-enable it
Alternatively pull the latest API from github and build it
But then randomizer will break
But you can fix randomizer with 1 line I just haven't done it yet
MenuChanger.EditUI(); at the end of Initialize
re-enabling it is easier
Pretty big commit with all the new improvements from the last two days
gradow celeste stream when
I have an exam rn if youre gonna stream rn
But not if he doesn't?
gradow stream so that mino's exam vanishes
Galaxy brain moment
Once you know how to get a 0, you can just not do that and get a 100
If you get a 0 they'll change your grade to 100 because they know you tried to get a 0
I know this from movies
what if you do so bad that your 0 underflows to a 100

Ye^
when do you even sleep
10pm? 
yeah
I mean
not that I work all that time
it's just that I usually spend as much time as I can with my gf, who still lives with her parents
i see
lmao having a gf 😂
wut sean
ttacco I'll be ur gf
Gradow thats wholesome wtf

Youre wholesome like once a day
tbh gradow is always wholesome but don't tell him this
^
lies
Shut
never sid, also ok jngo ill pay you 2 dollars an hour to be my pretend international online gf that i can brag with about non existant irl friends
Also ya i relate there’s this girl im trying to make more time for bec im way too busy
Pensive
are you going to make the daring sim now?
ok my paypal is ||the game||.com
never sid, also ok jngo ill pay you 2 dollars an hour to be my pretend international online gf that i can brag about with my non existant irl friends
Outdated joke
btw jngo, did the mod work?
yes

CHARM_DESC_10 : King of Babylon, the king's most famous king. Fraud and dirty, but cautious <br> <br> <br> <br> makes your smile a smile.
wtf is this charm even
is this the bad translation mod youve been working on?
defender's crest
I need help
hmmmm
so DD is Gilgamesh confirmed
what needs work on?
you just need to spam google with requests
because I can't translate it all by myself
are you gonna do an auto generator thing or are you gonna translate everything by hand
Body count
yeah
oh fuck yes where do i apply
google has a limit of accesses per user
so I can't translate everything by myself
sid is helping me
do i need to send my resume to you
ye
hnggg
wanna help tho
Unfortunate
im down real shit
oh, shit i dont know python 😩
still can't do it
well
i dont know how python cuz im a closet C boi my entire life 😔
I just did it at my gf's
but at home... Like 8h ago maybe?
you don't need to know python
just need to have python installed
and run code
oh
yea don't think it has been 8h since i didd it
ahhh the translator is python
ye
yeah i guess i could do that
ok
maybe at home
tell me when
we also need to track who's doing what so people don't overlap
yeah
still in school, im supposed to be doing our lang project but all 3 groups has given up so im not gonna bother either 
so far I've done half of EN_UI and all of EN_Elderbug
i will do EN_Zote
theres a seperate translation for the lore tablets right?
i mean do all the lore tablets have a single file or are they scattered
idk
prolly scattered /shrug
dunno im thinking stuff like could it be EN_LoreTablet_01 then 02 etc
also, sid, since DS3 uses only 5 passes, I'm also gonna use only 5 passes
all
there is one

<entry name="MOSS_FAT_MOUND_02">...Bright...</entry> FAT 😩
Ugly
sad it's not THICC
ok first of all
ill do tablets then once i get home
how did you buy a .sexy domain aren't those like super expensive
second of all
what's the rate limit on google?
and can I help? I have a vpn
not mine
oh dang
nice
fuckin hell
so take text, run it through 5 times, replace it where tho? you have drive or something
after that, just save and run it
I'll create a drive, sure
you'll need to pip install googletrans and xmltodict
swearing in this christian channel
also where did 56 go, i have never seen him offline
56 is always online
smh no shebang at the top
sid, you have upload permissions to the modding gdrive folder?
want?
sure
email deathmatch
which ones have been done
dibs on lore tablet
dibs on dreamers
oh yeah are the dream nail dialogues on the same file as the ones in the characters themselves
15
yeah
taller organisms words are for lonely you
i was about to say why Commuinty then i realize thats part of the joke
lemme add arguments
btw if anyone can better the code, feel free, but share it with everyone else
also, ty for the heads up ttacco
wtf so its not intentional
what's wrong with it tho?
exactly
it was commuINty before, sid
am I breaching nda if I upload a video of the mod sid
yes
idk
i will prolly keep it the same and just add one more attack
pass file name as argument and a few other minor improvements
dammmm
A WIP Hollow Knight mod that makes Markoth more difficult. Mod developed by Sid. Music created by Zaliant.
might end up putting it in a fuction
what are the other improvements?
make the radial nails spin around and return to markoth :^^^^^^^^)
i want sid to remove the final platform in a 4th phase if he can do that
yeah
I still need to manually do some stuffs
and then add these to a mod
I need to manually add page breaks
because not only does translation break those, but even if we somehow broke down translation to preserve each page, there's still the possibility that the new line is bigger than the original, so the text will warp
so I have to manually add the page breaks
smh
thankfully those only happen in actual dialogues
which are, I think, less than ui elements
tell me if it works in windows
blessed
wait it doesn't put a newline at the bottom
ok
take this
I'm not gonna touch it anymore
and upload this for me
also
need to change the new file from w to a
because more often than not, you won't be able to fully translate a file in one go
so you'll need to append to it
wouldn't it be easier to just delete the lines that were already translated from the original and just append from there?
okok
yea
don't kill me daddy
staring from where it left off is better
is there an error it throws if you run out of translations?
yup
maybe we can add a catch and have it write a partial file
yea, but it's actually from the json decoder
yeah
the wrapper is stupid and doesn't give exception
it always finishes writing, so that's not an issue
you're gonna have to put this in a function at some point
wdym
gradow, the ones uploaded on the drive are translated, right?
you have to translate each lines individually right?
ok ok
now lets you input the index you wanna start at as an optional second argument and also uses file append by default.
still needs code to gracefully fail but I don't wanna do any more work tonight
want me to upload it to the modding drive?
no it's not
oh
I see the error
it's expecting a relative path in the same directory
because it prepends the word translated_ to it
yeayea
lemme try to fix it
ok
looking at the pattern on pagebreaks, it seems that the maximum amount of characters that you can fit on a dialogue box without needing to pagebreak is around 170~
so I can just manually add <page> every like 100-150 characters or so
PRECEPT_13 : Seventh: "Do not be afraid" <Page> You just have to be scared. Your faith can be a great effort. So just paint the place words to live by
honestly, these translation made the precepts a little better
done with jiji too
i am literally god
madlad
Stupid DUm
now works on non-absolute paths, try now gradow
and if this works then I'm done
for the night
two more questions
- do we really want the naming scheme to be o[FILE]
- why are the two files you made, gradow, google drive files and not actual txt files
oh because txt extension
nsfl
even the python file wants to convert to a word document
if you try downloading it
this is the "quota exceeded error" btw
no I'm asking because I wanna set it to whatever you wanna use in the python file
nah, anything is fine tbh
at first I just used o because I was mostly writing it for myself, and didn't think I'd need to ask for outside help
but that's changed now, so anything goes
the python file was a google docs file
so I had to delete it because google drive doesn't let you do "manage versions" with that
I reuploaded it and now it's a python file and I know because it has a code symbol
google, go home, you're drunk
oh yeah, it does
should I drop an MIT license or something in the folder as well?
idk much about licenses
MIT is basically you can do anything with the code and project. GPL means you can do anything but if you fork it it has to stay open source but GPL seems way too long and complex for a 30 line python file.
oh then what you need is
MIT sounds good
nice
o yea i have seen that
also gradow, i am going to sleep after i finish minor npc one, won't be able to watch the stream if you are doing it
not really feeling well
ok gradow you are gonna have to at some point reupload those translated files so they're not google drive files
I find if I right click upload file it works
I renamed your files sid to translated_ so it matches the new ones that the script generates
and both of you get better soon
ty
thank
are you on firefox or chrome?
chrome
huh, same
so yeah maybe windows is doing something weird
idk
can you just like, send them here?
I dunno
I wanna test something, can you wait a sec?
sure
if you upload this file with unix line endings instead of windows ones will it still convert it?
I have a paid one I can use
sorry gradow
guess you can't upload files

ok tell me which one I should do next
I'm letting people take first dibs on whatever ones they wanna do
just, whichever
yea
see if you can do credits list
alright done with minor npc
if it does, tho, we can just ignore that file
it's not like it makes any difference

add every hk mod developer to the credits list
only those involved with this mod
time to get every hk mod developer to get involved in this mod
what might be cool is a standalone library or maybe part of modcommon to parse the output files
so that it can be used by general projects
split by :
ye
😮
how many api requests does google translate let you use?
uhh
oh 500,000 characters
EN_UI is 4x as long as credits list, for one
ok nvm I hit it
oh god and it didn't write anything to the file
no
I'm an idiot
I had a bug in the path code
rip
forgot a + os.sep
time to activate my trap card
👀
ok lemme fix the path bug
this should fix it
otherwise it writes to a file one folder up
if you use absolute paths
oh I have an idea
if translation file already exists, get number of lines in file and use that as the starting index
have I mentioned I hate windows' /?
thank god for os.sep
@fair rampart actual question did you enjoy / feel like the music in the royal dreamer was good / fit the theme
also since i said it was a tiny path bug you know it was actually a massive bug

sounded a bit awkward to me but probably because I've associated regular dream battle with markoth
ok, translated 83 lines before breaking
): damn, if you ever want to give me suggestions and stuff i can take it into account, i'm still learning
CHARM_DESC_39 : Verify the musicians leaving the family of Halounast family. Business removal from the ISU newsletter is love and security is just a matter of security. weaver's, supposedly
Halounast
it should resume if you just switch vpn servers and just pass the same file with the newest version
ye, I'll try that
https://markoth.is-pretty.sexy/AV9dke1.png me when i try to code at 1 am
nice angle!
instead of writing / as string, i divided instead
nice sid!
oh
I just noticed
you guys are like the perfect duo
angle and sid(e)
haha yes
haha yes
CHARM_TXT_OVERCHARMED : SHORT
did you get any of that angle?
we can either remove the characters that are causing this issue
or just skip the whole file
not yet
which file is it btw?
More naked koreans
that's what we are looking for no?
idk these are pretty good
cp 2 is done
oof
LISTEN : I have heard
it is known
uhhh
idk angle
CHARM_DESC_21 : Artistic weapons used to live animals. <br> <br> Remove an enemy and increase the effect of anemia. I'm sorry, what
increase the effect of anemia
but then he'll know what to expect
true
but his voice is so good
yea i am not looking at any of these, i wanna do a run of my own
microsoft sam dub for us
go to sleep
I will
also for some reason
I don't understand
it sometimes doesn't do 1 line per translation
like it should
ye
so occasionally you might get duplicates when starting it over
rip vpn ran out
oh
what vpn are you using gradow
avira
having the same problem
btw angle, that's why I check the dict length
because if it has length 1, it only has a name field
I'll just say if the dict length is 0 assign it to an empty value so the line numbers match up.
yeah, had to connect somewhere with ~120ms ping
shouldn't be much of an issue tho
sure
o i don't think i have encountered that yet
untested
you could also technically check the keys and look for the key "#text", but that's expectedly slower than just finding the lenght
not much slower tho
not noticeably slower actually
well I'm a lazy coder and adding blank entries to the file is easier and besides if the file is user editable maybe the user wants to add text to those entries idk
and it won't break anything
I think
I hope
you mean match the line numbers with the original file?
yeah
is that necessary tho?
GODSEEKER_GGMODE_INTRO : most holy! many Divine! God, God! Are you trying to prove yourself, gentlemen, it sounds bad. Let <website> read and then pull the ice as a mirror before your glory. We are all willing to testify, but your destruction will take some!
dogeseeker
one thing that could break this is if google translate ever inserts newlines into text
I like how the pagebreak <page> got incorporated into the sentece
I dunno if it does tho
I don't think it does
yup
like I said, I'll have to re-add those manually
no you don't
DESC_MAWLEK_TURRET : Mobile phone When the browser fails, it is intentionally activated. 
you could add them every x characters after a sentence, or after x characters if no period is found
👍
tbh maybe parsing is part of the c# code
or rather adding the <page>
that way the output text is still human editable
hmmm
we'll cross that bridge when we get to it
for now, I'll finish translating UI and go to bed
we'll burn that bridge when we cross it
indeed
I know like nothing about how to do smart string parsing in python
so
I guess I could do what I always do
maybe 56 knows
and stackoverflow
because there is no smart string parsing in python :^)
but yeah my idea was using python because I don't wanna bother using a real language for something as simple as translation
i could write an actual good C# wrapper for this
i usually write my own wrapper for rest/websocket stuff because the popular or official libs are not very good
np

good night, translate them entries in your dreams too 
ech
did you just wake up or come back from an intense study session?
I gave an exam
I messed up one essay and did very well on the other so it balances out
very nice
journal's done, 514 entries took way too long
with that i am going to sleep, gn folks 

yo guys for no specific reason come up with a game name where dreams are the major focus
k thanks
SHUt
EEEEEEEEEY
Dreams
ya thats what I get from asking the programmers
look english is dumb because you made the global lingua franca a hot mess
german, french and latin had an ungodly lovechild
what was that bout not asking programmers again
nothing dumb about english, just everyone speaks it as a second language and noone notices the flaws in their first language so english must be shit
unless your first language is esperanto
in which case carry on
apparently its upto 2000 native speakers
phonetically consistent languages are objectively superior and you know it
fuck having to actually think about how to pronounce things
Take that weebs
@river eagle ban
interesting
i was not aware there were this many native esperanto speakers
finnish is good
just too different to indo-european languages for my pea brain 😩
dravidian is where it's at tho
Isn't Hal Norwegian
finnish
i had a whole convo w/ him where he was like how do you know this much about finnish culture
i wan die
u
i should use your v2 right angle?
it started translating half of the tablets then suddenly it kept throwing an error, JSON decoder error to be specific
Are you using Google cloud api? Their translate limits are unbelievably lenient. Tho they do have some throttling limits, like 1000 requests per 100 seconds, or 100,000 characters per 100 seconds
Using it indirectly dapper, because it would require a billing account
So I just use a python library that mediates the process
Hmm that's dumb
Were you discussing this yesterday? I'm sick so I was MIA all day.. I probably could have made and gave you an api key for it I've got the billing stuff all done from some other projects
nah, it's fine
also, it'd prolly exceed your quota
for comparison, the same tool for DS3 needs around 5 million chars
also, you were sick too?
that's sad
me and sid were also sick
hope you're feeling better!
I was sick too last night. Interesting coincidence. Hope you all are better.
same!
I slept for 10 hours or so. I'm 99% better.
dang was everyone sick
i just didn't sleep last night so i woke up from my big sleep
i was bored, and i did PoH on my 5 fps school laptop
https://totally-not.a-sketchy.site/8PXUPYD.png somehow i beat it 
Congrats.
she spawned on the middle platform and i had quick slash and then i used 2 abyss shriek then it was climbing phase already
sadly it was not on my main save file 
Sometimes you get an awesome lucky platform phase like that. Helps a lot beating it.
yea i almost beat rad absrad by getting that, the laser beam got me tho
Unfortunate. I had plenty of times where the platform phase was good but died in the climb or being dumb with orbs in the final part.
I think a doctor would consider me sick today; yesterday I was just a big grumpy shut-in
Today I'm actually making ritualistic visits to the restroom, but mentally/emotionally better
oof

Yikes. Get well soon, good sir.
get well soon all of you who are sick
indeed
tbh tho
I think all this sickness I've been feeling these past few weeks is all due to stress/anxiety
The sheer amount of laughter from poorly translated dialogue should cure anything.
exactly
"News alert: Gradow, who lives in #archived-modding-development, finds a way to cure cancer, you won't believe how simple it is."
😩 this is why im going into translation
to make abominations
mino is one of us?
into the copy pastas folder it goes
uh
a lot 
yea i just checked and i currently do not
oh...
so, it's ok if you don't wanna help
you'd need to install python
then get two modules for it
and then just run the code
no
nope translation mod
nah dude i'm up for it! im just really tired rn so sorry if i come off uninterested
translates ?
also which two modules
what does it do
ur mum
after it's installed, you'll need to run pip install xmltodict and pip install googletrans on a command prompt/terminal window
then you're all set to go
if we are talking about languages , i can add one
here's the files we have already translated
you can grab the zip file, it contains all files to be translated
answer me 
gotcha
basically running every line in the game through a chain a google translates
why
and replacing the vanilla text with those
why not
why not
because it's fun
add turkish 🗿
https://youtu.be/b4lGH80MJ5c?t=7795 this is our endgoal
Cinders: https://www.nexusmods.com/darksouls3/mods/310 Poorly Translated: https://www.nexusmods.com/darksouls3/mods/316 This run is ridiculous. Cinders revam...
veru and 56 voice it
amazing
"master piromancer"
so gradow
math=/=fire
id like to help this masterpiece , if anything needed you know where to find me 
I gtg now, but you can just follow the directions I was giving mino earlier
alright
so after you've grabbed the text files and the python file, you just type python.exe into your command prompt, drag the python file and any other file that hasn't been translated yet
it'll do everything for you
gradow, do you know about quadratic sieve?
heads up im doing shaman bec i dont think anyone else has done it yet
check the drive
yep
Sid is that a prime searching method using square roots?
If not, then no
I don't know much about number theory
wtf 56 is offline
I think it's called Erasthotenes' Sieve or something
You basically want to know if n is prime, so you write down all naturals less than sqrt(n)
And you check if each one of them divides n
And it suffices to check only for the primes
I think that's it?
Not sure
just finished studying and i tried installing the python packages and it ended up giving me invalid syntax 
Did you install python first?
464 votes and 13 comments so far on Reddit
😩
@solemn rivet that's a method of checking primes but it isn't erastosthenes' sieve
basically the same thing anyway
Ty veru
I know basically nothing when it comes to number theory and prime search
It's been more than 5 years since I last studied those
And I never use them
we got to eigenvalues in linalg after the final exam
Nice
how's that for a working curriculum
Useless

So if I use a different version of unity where assetbundles work fine, is it guaranteed that hk won't be able to use it?
sigh
sigh
the official unity discord is incredibly unhelpful
who needs the unity discord when you have KDT
true
I'm here too
I have extremely specific knowledge of making things in Unity without scripting
lets see if this works
Look at my cool scriptless water camera effect
I summon thee, oh tentacle person
yeah it just tints the screen blue but it does so without use of the CPU i think
@jovial vault gotta install it
did you install python?
yep
maybe the path is not setup?
search for environment variables in the start search thing
then select the first thing that comes up
i would show ss if i were at home
it's fine im gonna go to bed anyways

angle coming in with that linux flex
it does work if you have the new ubuntu command prompt installed

wait pip works in regular command prompt too
smh angle
@jovial vault open that and look for Environment Variables button
then look at User variable and look for Path
then click Edit and add the path for the pip
which should be C:/PythonXX/Scripts
ty
could also be C:\Users\yourusername\AppData\Local\Programs\Python\PythonXX\Scripts\ too
no I know pip works but does pip --user work
in windows
because you don't wanna corrupt your global path
