Jump to content
  • 0

Searching a tool for quests


Kafa

Question

Hey community, im searching for a tool which replaces all the gameforge sentences or sentence that are the same into new gameforge format

 

for example:

 

local s = select("Yes ", "No ")

 

into:

 

local s = select(gameforge[get_language()][11792], "gameforge[get_language()][11793]")

 

 

gameforge["en"][11792] = "Yes "
gameforge["en"][11793] = "Cancel "

 

 

 

or this: 

 

local s = select(gameforge.locale.yes, gameforge.locale.no)

 

into this:

 

local s = select(gameforge[get_language()][11792], "gameforge[get_language()][11793]")

 

 

:) Would be very nice i need it badly..

Link to post

13 answers to this question

Recommended Posts

  • 0
14 minutes ago, WeedHex said:

Use notepad++ if you're a newbie.

 

You can use git shell, python script, Windows Shell and so on...

 

https://stackoverflow.com/questions/17140886/how-to-search-and-replace-text-in-a-file

 

You didnt understand me.. i cant just translate hundreds of quests thousands of lines by my self i need a comparison

a tool which is looking for the sentences in .quest files and then replacing it with translate.lua

Edited by Kafa (see edit history)
Link to post
  • 0
15 hours ago, Mali61 said:

 

Can i actually give some improvement? But its very good already and it helped me so much ❤️ 😍

 

first of all:

 

If you use the tool every  letter gets small, which will cause errors.

 

And it would be nice if you can do this for the tool too: (choose option)

 

Program finds: 

 

say( gameforge.locale.no)

 

changs it into: 

 

say(gameforge[1476])

 

I will attach my translate_lua in new formate (new format is with numbers) just in case, and my old translate.lua and a example quest.

 

You helped me a lot mali THANKS!!!!!!!!!!

 

https://www.dosyaupload.com/g3bo (My Examples & Translate.luas)

 

Edited by Kafa (see edit history)
Link to post
  • 0
1 hour ago, Kafa said:

 

If you use the tool every  letter gets small, which will cause errors.

 

 

I don't understand why?

  • Love 1

no paid service

use at least c++11 and VS19, otherwise I won't help.

Link to post
  • 0

 

2 minutes ago, Mali61 said:

 

I don't understand why?

 

setskin(nowindow)

setskin(NOWINDOW)

 

This was just a example, also it doesnt look good if all your sentences have small letters now. :( 

           

Link to post
  • 0
33 minutes ago, Kafa said:

 

 

setskin(nowindow)

setskin(NOWINDOW)

 

This was just a example, also it doesnt look good if all your sentences have small letters now. :( 

           

I thought we were talking for this version. Because there will not be a new version.

  • Love 1

no paid service

use at least c++11 and VS19, otherwise I won't help.

Link to post
  • 0
15 minutes ago, Mali61 said:

I thought we were talking for this version. Because there will not be a new version.

 

yes bro i talk about this version, i just said if you use that tool all letters get small doesnt matter which words. every letter gets small. 😕

  • Love 1
Link to post
  • 0
2 hours ago, Kafa said:

 

yes bro i talk about this version, i just said if you use that tool all letters get small doesnt matter which words. every letter gets small. 😕

finally I got it🤦‍♂️ Updated

  • Love 1

no paid service

use at least c++11 and VS19, otherwise I won't help.

Link to post
  • 0
On 11/14/2020 at 6:13 PM, Mali61 said:

finally I got it🤦‍♂️ Updated

 

the new version translated a quest flag too bro, but everything works great now thanks!

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.