Tool QSP Tools for QSP

May 23, 2017
113
319
I found a solution from the QSP FAQ on the QSP Forums. I've attached the playlist code to this message as a .zip. However, I'd like some help understanding why this code block works, which is found in the unpacked .qsp file in the .zip file attached:

Code:
if music_on <> music_on_prev or $music_theme <> $music_theme_prev:
      CLOSE $cur_theme[track[$music_theme_prev]]
      music_on_prev = music_on
      $music_theme_prev = $music_theme
      if $music_theme <>'':
         copyarr 'cur_theme', 'tracklist_<<$music_theme>>'
          track[$music_theme] = track[$music_theme]-1
          if track[$music_theme] < 0:
              track[$music_theme]=ARRSIZE('cur_theme')
          end
      end
end
if music_on=1 and $music_theme <> '':
      if no isplay ($cur_theme[track[$music_theme]]):
          track[$music_theme] = track[$music_theme]+1
          if ARRSIZE('cur_theme')<=track[$music_theme]:track[$music_theme]=0
      end
      play $cur_theme[track[$music_theme]],volume
end
I don't understand what the "<>" operator is. I tried looking it up and I can't find anything in javascript or html. ChatGPT actually suggests "<>" is an invalid comparison operator, so I'm stumped.
 

amateraxu

Newbie
Aug 10, 2023
50
11
window cannot find the file "tech/Qqsp_win64/Qqsp.exe, make sure the name is spelled correctly and try again.


Does anyone know how I can solve this error?
 

mayda

Newbie
Oct 18, 2019
18
8
Hello! Tell me how to translate it into Russian, from English. In the settings, I set the source language to English and the translation language to Russian. The translation starts, but for a few seconds. And the game doesn't translate.
 

maxmax417583

New Member
Sep 10, 2022
13
3
Hello there,
I'm trying to translate some qsp game from Russian to English with qsptools, but the tools, "translate" words with blank. (I'm using the google translate). Anyone know why plz?
Take care
 

Bourne9000

Member
Nov 11, 2017
146
135
Pff, I can't translate this into English; it always gives me an error. And if I 'succeed,' it doesn't let me transfer it to QSP. I don't know what I'm doing wrong. Any idea why it gives me an error? By the way, it's a new update for the game Evil in QSP. If I translated it or we translated it, we could probably upload it, I guess. Sorry for going off topic. I've tried using several dictionaries in .xml, but it doesn't convert correctly either... so I'm a bit lost. Sorry for the inconvenience.
 

Xorgroth

Well-Known Member
Modder
Oct 12, 2017
1,151
1,172
Pff, I can't translate this into English; it always gives me an error. And if I 'succeed,' it doesn't let me transfer it to QSP. I don't know what I'm doing wrong. Any idea why it gives me an error? By the way, it's a new update for the game Evil in QSP. If I translated it or we translated it, we could probably upload it, I guess. Sorry for going off topic. I've tried using several dictionaries in .xml, but it doesn't convert correctly either... so I'm a bit lost. Sorry for the inconvenience.
The translator is very old at this point so it doesn't work very often. Though some people have gotten it to work with a Russian IP address or through a VPN. Other way is to just extract all the text and do it manually.
 

dspeed

Active Member
Oct 15, 2016
858
1,352
The translator is very old at this point so it doesn't work very often. Though some people have gotten it to work with a Russian IP address or through a VPN. Other way is to just extract all the text and do it manually.
I use Yandex's old new API (the new one in the program that is now outdated and deprecated) and its ok. I did a lot of the original Son of Asia work with it.

Bourne9000 attach the QSP you're trying to translate, I'll have a look
 

Bourne9000

Member
Nov 11, 2017
146
135
I use Yandex's old new API (the new one in the program that is now outdated and deprecated) and its ok. I did a lot of the original Son of Asia work with it.

Bourne9000 attach the QSP you're trying to translate, I'll have a look
Let's see if we're lucky. I thought the translation would work using a previous EVIL .xml file, but... I don't know, it's not working for me.
 

Xorgroth

Well-Known Member
Modder
Oct 12, 2017
1,151
1,172
Guess I did post an xml for that one ages ago. I'd have to search for it. Had to semi do it manually, since I can't get QSP Tools to translate anything. Just pull the text strings out.

EDIT: Here's that dictionary, not sure if it still works.
 
Last edited:

Bourne9000

Member
Nov 11, 2017
146
135
Guess I did post an xml for that one ages ago. I'd have to search for it. Had to semi do it manually, since I can't get QSP Tools to translate anything. Just pull the text strings out.

EDIT: Here's that dictionary, not sure if it still works.
error 193 unknow error c1 when i try to make the qsp.
 

soulofling

Newbie
May 22, 2024
18
3
I can't understand why I can't import it.
Does the to ol support Chinese translation? Manual extraction of text translation is too cumbersome 屏幕截图 2024-07-22 101719.png 屏幕截图 2024-07-22 101744.png
 

miscemayl

Newbie
Aug 7, 2017
86
44
Anyone getting the following running QSPTool?
I have Java 17

Code:
Caused by: java.lang.ClassNotFoundException: javax.xml.bind.JAXBException
        at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
        at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
        ... 24 more