RLDev for Dummies

Yea the link comes up as unavailable for me. Could you reupload it please?

1 Like

Shoot, I didnā€™t realize the link was broken, sorry. I made another link to the file. You can now download it.

1 Like

For some reason cygwin.bat doesnā€™t open for me. It opens the window and then closes immediately. (Though the old cygwin I tried does work.)

I managed to screenshot it a split second before it closes and it says ā€œThe system cannot find the path specifiedā€.

https://imgur.com/MQVETjB

Also what am I supposed to do with the vaconv? The rar has a folder called ā€œsceneā€ and when I open/extract it it says its corrupted.

You possibly didnā€™t enter the correct path in the PATH variable. You need to enter something like C:\RLDevSetup\Cygwin\bin (or wherever you extracted cygwin, but it must end with bin) in the beginning of the line, then you put a ; sign at the end of the path and click OK. It should work.

Youā€™ll use the new vaconv with the command line (cmd.exe), not with Cygwin, as it might result in errors (or not, I havenā€™t tried).

Hey there, I dunno if this thread is totally dead or not but this thread is the best chance I have at getting RLDev to work on my PC, I think. Nowhere else on the internet is as active on the topic of RLDev than here (at least, in English) which is kinda disheartening but Iā€™m not completely void of hope haha. Iā€™ll appreciate any help!

So, I want to do a hack of the official translation of Clannad. While doing a complete playthrough of Clannad on PS4, I was shocked to find so many egregious typos. Iā€™m almost certain that these typos are also on the PC version. Itā€™s kinda sad that Sekai Project couldnā€™t do a better job at editing and revising their script ā€“ but Clannad is a behemoth of a story so I guess I can understand. I realize that probably nobody reading this thinks I will actually be able to go through the million+ words in Clannad and fix every typo, but Iā€™d love to prove you wrong :stuck_out_tongue: I am very dedicated to Clannad and I want it to have a clean, professional-looking script.
Ideally, if I could upload a patch file for anyone interested ā€“ maybe even post it on Steam Workshop or something? ā€“ that would be awesome. Actually, that might be the only way to do it without, you know, providing the entire revised game for free to everyone. Which would be piracy and then Iā€™d get banned from this forum :hiii:
Ah well enough of the rambling; even if I canā€™t make a patch file, Iā€™m even crazy enough just to do this for myself hahaha

But anyhow, Iā€™ve spent all of my free time on a day off about a week ago trying to set up RLDev. Iā€™ve tried both on my 64 bit Windows 10 machine, and on a 32 bit Windows 7 virtual machine. Iā€™ve tried over and over, but to no avail.
I got so frustrated after trying for hours that I gave up. But now Iā€™d like to try again, and with the help of this forum.

Basically, I always get stuck in the Ocaml part, at ā€œmake world.optā€. Every single time, I get errors (though depending on the solutions Iā€™ve tried from this thread, the errors change, but overall I still get errors). I thought it was a problem with having too modern of an OS (Win 10) so I used a 32 bit virtual machine. Needless to say, it didnā€™t work.

Iā€™ve also tried RazoRTRā€™s download link on both of my machines, edited the Environmental Variables and everything, and that didnā€™t work out for me either.

I apologize if Iā€™m being too vague here, and if you need any specific error details, Iā€™ll boot up cygwin again and screenshot it.
Thank you for any help!!

PS: Iā€™ve reinstalled Clannad on Steam, and its exe is called ā€œSiglusEngine_Steam.exeā€ā€¦ but in the details itā€™s called ā€œRealLive Engineā€ and thereā€™s a bunch of RealLive dlls. So now Iā€™m even more confused as to whether Steam version of Clannad is run on the SiglusEngine or the RealLive Engine.
If itā€™s the SiglusEngine then I guess Iā€™ll look into hacking thatā€¦
Couldnā€™t find any concrete details on this. People say itā€™s on RealLive, but then why would the exe be called Siglus?

Hello, RazoRTR here!

Now, to answer your questions:
1- I assume itā€™d be near impossible or require many tweaks to make a fresh install of RLDev on an updated version of both Cygwin and other components.

2- Assuming youā€™ve set the environment variables properly, the RLDev build I provided should work. You only need to specify a higher Reallive Engine version when disassembling, and even then, itā€™ll only disassemble most of the scripts (which are the scenario SEENs and there shouldnā€™t be anything missing with them I presume, didnā€™t check entirely). Youā€™ll do that with kprl -d Seen.txt -f 1.6.7.3 -o (Drive Letter):\folder\of\extracted\scenes or something like that. The build Iā€™ve uploaded supports all Key titles with Reallive on Steam, with the exception of Sekai Projectā€™s planetarian build, which is based on RealliveMAX entirely.
Iā€™ve made a Turkish patch for Clannad Side Stories based on my build and it works.

3- As to why the executable file is named SiglusEngine_Steam.exe, it should simply be a naming error on SPā€™s side. If you were to check the description part of the executable file, youā€™ll see it says Reallive Engine.

Now, hereā€™s a screenshot from CLANNAD, Iā€™ve changed the text to something gibberish in Turkish. It was to try the font editing method Iā€™ve used to display Turkish characters. The font Iā€™ve used is currently not installed on my PC but you can see the edited text

I gotta warn you about something though, disassembled SEEN files donā€™t contain the name variables used in the game. After the disassembly, youā€™ll have to put the correct name variables on every line that youā€™re required to, otherwise thereā€™ll simply be seperate lines that only say ā€œ-sanā€ or ā€œ-chanā€ etc. Iā€™ve forgotten how to display the variable since Iā€™m not currently working on CLANNAD and its been years since Iā€™ve tried it but will look into it if you canā€™t find any info. The needed info should be on Haelethā€™s RLDev Manual though.

Let me know if you have any more questions and Iā€™ll be happy to help.

1 Like

I replied just before but my post had too many misunderstandings and I only realized that after the fact, so I impulsively deleted it. I should have just edited the post, Iā€™m sorry :flustered:

But yeah, I wanna say thank you so much for replying so quickly to my post. It says itā€™s been 6 months since you last posted so that makes me even more thankful! Haha

Anyhow, Iā€™m having this same issue:

Iā€™m pretty sure I set up the environment variables properly:

Hereā€™s a screenshot of the folder path, just to show that Iā€™m not messing it up (I think, lol):

1

Is there a method for compiling without Cygwin? I donā€™t mind cross compiling on other OSes if thatā€™s possible.

Soā€¦ I just read that ā€œGraduationā€ thread and found out that Kazamatsuri will be shutting down in less than a month. Which means my only hope of getting RLDev to work is going to be gone very soon ;_;
If you could somehow find time to help before Dec 1st rolls around, I will be so thankful!
Thank youā€¦

Sorry for replying to you a bit late, and thanks for your kind words.

Now, I see that you set the environment variables properly. I double-checked my own folder and variables and yeah, theyā€™re the same.

I can only think that it may be that your diskā€™s contents are somehow ā€œprotectedā€ or ā€œread-onlyā€. Did you try running the bat file with admin rights?

Hereā€™s my env. variables, precisely the PATH one: image

And hereā€™s what should appear before you if the Cygwin.bat would work: image

Theoritically, there should be nothing wrong and it should work properly. Maybe you can try using a Windows 7 VM or something? Also, you may try deleting the semicolon ( ; ) you put at the end of the path you added to the variable, as I see that on Windows 10, semicolon is automatically added to the end of the line. Ah, and make sure you have administrator rights and full rights to everything in the beginning. One of these should solve your problem. If you still canā€™t solve the problem, we can troubleshoot it together via Teamviewer or something.

1 Like

Thatā€¦ seemed to do the trick. :flustered: It now opens up properly!

However, I do get these warnings, is this ok?

Lastly, and Iā€™m sorry if Iā€™m asking for too much hand-holding, but if I could just ask: do I just need to put my Clannad game folder in my RLDevSetup folder, or do I have to extract the SEEN files somehow, orā€¦?

EDIT: I tried following the beginning of this thread where you install Omake to finish setting up RLDev, and I get this error:

It turns out that I have the ā€œvaconv/png-interface.cā€ file, too :confused:
c

However, I do get these warnings, is this ok?

Yup, theyā€™re normal, since youā€™re on Windows 10.

EDIT: I tried following the beginning of this thread where you install Omake to finish setting up RLDev, and I get this error:

You donā€™t need to set RLDev up, everythingā€™s pre-installed and set.

Lastly, and Iā€™m sorry if Iā€™m asking for too much hand-holding, but if I could just ask: do I just need to put my Clannad game folder in my RLDevSetup folder, or do I have to extract the SEEN files somehow, orā€¦?

No problem, friend, itā€™s totally okay.
First of all, copy the Seen.TXT and the Gameexe.ini files from Clannadā€™s installation directory to a place like, say ā€œC:\ClannadSeenā€, navigate to the folder you copied the files with the cd command and write this:
kprl -d SEEN.TXT -f 1.6.7.3

Youā€™ll get an error at some point but thatā€™s okay. Since RLDevā€™s current version doesnā€™t support Reallive versions higher than 1.5, it wonā€™t be able to recognize and disassemble some of the files but youā€™ll get most, if not, all of the scripts you need to edit the scenario.

You can also use marcussacanaā€™s SiglusSceneManager to edit the dangopedia.dbs file.

1 Like

Iā€™m very thankful for your continued support!

I copied the seen.txt file and the gameexe.ini file to a folder on C: titled ā€œrlclannad_seenā€ (originally called ā€˜clannad_seenā€™ but I added a ā€˜rlā€™ in front of it so itā€™ll be next to my ā€œRLDevSetupā€ folder lol). I followed what you said to do, and as expected got errors. And nothing seemed to happen at all :persevere:
Here is the screenshot:

(I also tried ver 1.6.6.8 because I have an older copy of Clannad that I found on my hard drive as well that I figured I would test)

If I can get this to work, what should I expect to happen? Will it create a txt file with the game script inside? Maybe a folder with multiple txt files? Or will it be a more complex file?
Ideally I would love for it to be a txt file (or multiple txt files) so that I can ctrl+f and find specific lines easily. And then hopefully I can export the txt file back into the Seen file somehow. I have no idea if this is how it works though :stuck_out_tongue:
If it isnā€™t a txt file, then Iā€™m still determined to learn how to edit the script regardless, even if itā€™s less convenient haha
Edit: Reading Takafumiā€™s original post, it seems it wonā€™t be a txt file at first but Iā€™ll have to turn it into a txt file with cygwin. I hope I can get to that point lol

Sorry, I misinformed you about the version you need to put in the kprl command.
If you write kprl -d -f 1.6 Seen.txt, itā€™ll disassemble all the files it can.
The files youā€™ll get will be like this:

The scenario lines are in the .utf files, while the commands are stored in .org files.
As I said, youā€™ll have to detect which lines requires name variables for Tomoya by hand and put the variable in the lines you need to, if youā€™re going to make a translation.

To reassemble the files you edit, the command youā€™re going to use is this:
rlc -f 1.6 SEENXXXX.org (where XXXX is the number of the SEEN file)

Good luck with whatever youā€™re going to do and Iā€™m happy to be of help. Sorry to reply you late, I was busy with my college exams et cetera :sweat_smile:

1 Like

Thank you so much! Iā€™ve gotten it to work. As youā€™ve said, cygwin listed some errors since Iā€™m on Windows 10 but I still have most (if not all) of the seen files.

Iā€™m not going to be retranslating, Iā€™m simply going to fix all of the (many) typos in the script lol. I hope that I can then provide it as a patch for everyone.

I spent about an hour trying to extract the utf file into a txt file with cygwin, but kept getting errors. Frustrated, I just tried to open the utf file in notepad as a last resort, and what do you know, it worked. And now I think I realize that thatā€™s what I was supposed to do the whole time :ahaha:

I am super excited. I canā€™t thank you enough! :chu: Lol

EDIT: I have one last question and then I think Iā€™ll be able to do this!
So, as a test, I made a small change in the scenario and I want to compile all the seens back together and see if my edit worked in the game. Problem is, itā€™s not really clear how to do this, and the steps I followed in Takafumiā€™s tutorial only come up with errors. :confused:
Should this work? For clarity, I stored the seens (both utf and org) in a folder inside ā€œrlclannad_seenā€ called ā€œseenā€.

cd c:
cd rlclannad_seen
for %a in (seen\*.utf) do rlc -e utf-8 -i c:\rlclannad_seen\Gameexe.ini %a

Headā€™s up, if you want to simply test out changes, you donā€™t need to compile all the seens back together. Just copy the compiled seenXXXX.txt file to the folder where the gameā€™s .exe is. Then you can quickly remove it or write over it whenever you need to. Putting them all back into a single seen.txt is more the final step of a project than anything.

Also since you kprlā€™d with ā€œ-f 1.6ā€ youā€™ll also need to include that in your rlc command, as seen in RazoRTRā€™s post. Missing that is probably why youā€™re getting errors.

2 Likes

Thank you for the heads up, but Iā€™m confused lol
So letā€™s say I just want to change SEEN0414. I changed some text in the .utf file. I changed nothing in the .org file. Do I now have to merge the two files into one SEEN0414.txt file?
I have no idea if this is how youā€™re supposed to do it but I can open the utf and org files in notepad++ just fine. Was I supposed to compile them into a txt file first, though?

Indeed. SEEN.txt contains a big bunch of .txt files, like SEEN0001.txt, SEEN0002.txt, and so onā€¦ Itā€™s like an archive of files. They cannot be edited.

kprl pulls these scenes out of the SEEN.txt and gives you editable .utf and .org files for each scene. These two files you can open and edit with notepad. Then when youā€™re done, you can use rlc to turn them back into individual .txt files or into a single SEEN.txt. Either way, so long as those .txts are in the game folder (alongside the .exe) they will be used.

So, if you edited a file named seen1234.org, and used rlc to turn it into seen1234.txt, that seen1234.txt file will be used by the game.

In your case, the merged SEEN0414.txt file will be the one the game accepts and uses.

Iā€™m so sorry but I got another error that I canā€™t find a solution to :sweat:
error
My Gameexe.ini file is the exact unmodified ini that comes with the Steam download of Clannad.
Here is line 359 of the ini, in case that matters:

#WAKU.005.000.EXBTN_000_BTN.000 =ā€œMN_SLB_BTN00ā€

Iirc when I worked with Steam Clannad I ended up going through and removing the lines in the Gameexe.ini that caused errors. Lazy fix, but it worked for me. My file is 1400 lines, so youā€™ll probably end up with the same amount. You can always back up the file anyway.