What's new

Convert/Translate/Edit SL files


Discard

Jungle Girl
Joined
Apr 7, 2015
Messages
29
Reputation score
2
As the title implies, I wish to open an SL file so I can translate it. Or rather, an important question; possible to convert it to txt then google translate document, then convert back to sl?

I have a game which has .sl files and with File Viewer Plus I can see the content. Opening with Notepad or VScode gives something else. I've done a lot of googling, but since there is so LITTLE information about it, I decided to ask somewhere. And I am unsure if this is the right place.

(Game also has .json files, I translated them which translated the game about 20%. But inside the Json's I can see it call for these SL files (AdvLoad xxx) (and xxx being the file name, apparently the extension .sl doesn't need to be entered), which might be why the game isn't 100% translated yet; its RPG Maker MV)

Thanks, if it was hard following, basically what I want is Edit, convert or translate this SL file. If its convert, to txt preferably since I can then google translate the document. There is 526 sl files.
 
It'd be useful if you could actually say what game has these SL files.

In any case, to the best of my knowledge that's not standard RPGMaker MV - or at least, not anything that I've seen. That strongly suggests that the game itself will have a way to open the SL files. You'd probably be best looking into the games Javascript source code and trying to find whatever function decodes these files - and possibly hope there's an encoder there as well.
 
sl is based on a simple character wise xor with 0xFF.
I wrote a simple decoder/encoder you can use if you want:

 
It'd be useful if you could actually say what game has these SL files.

In any case, to the best of my knowledge that's not standard RPGMaker MV - or at least, not anything that I've seen. That strongly suggests that the game itself will have a way to open the SL files. You'd probably be best looking into the games Javascript source code and trying to find whatever function decodes these files - and possibly hope there's an encoder there as well.

Demon Girl Cornelica (https://ulmf.org/forum/hentai/hentai...83%AA%E3%82%AB) - If your looking for download, there is a mega in the third page

RPG Maker MV

Uses .js and json I guess.

sl is based on a simple character wise xor with 0xFF.
I wrote a simple decoder/encoder you can use if you want:

Wow, will give it a try immediately!
 
If you don't want to always convert back to .sl, you can simply disable the sl encryption, just open \www\js\plugins.js and change line 39 from:
Code:
{"name":"TS_Decode","status":true,"description":"シナリオファイルデコード","parameters":{"Decode":"true","Key":"255"}},
to
Code:
{"name":"TS_Decode","status":false,"description":"シナリオファイルデコード","parameters":{"Decode":"true","Key":"255"}},
now the game will load the decoded .txt files instead of the .sl files.
 
If you don't want to always convert back to .sl, you can simply disable the sl encryption, just open \www\js\plugins.js and change line 39 from:
Code:
{"name":"TS_Decode","status":true,"description":"シナリオファイルデコード","parameters":{"Decode":"true","Key":"255"}},
to
Code:
{"name":"TS_Decode","status":false,"description":"シナリオファイルデコード","parameters":{"Decode":"true","Key":"255"}},
now the game will load the decoded .txt files instead of the .sl files.

Thanks Sinflower! :D
 
Back
Top