Search found 40 matches

by Amethysts
Mon Jun 07, 2021 2:44 am
Forum: Ren'Py Questions and Announcements
Topic: I made a routes analyser - visualise your project with a graph!
Replies: 22
Views: 2852

Re: I made a routes analyser - visualise your project with a graph!

@henne There's almost no maximum. I tried it on VNs with 200k lines of code and it creates the graph in 2/3sec: for more than 200 labels, it struggles a little (mostly because of the .png generation: it will be huge). But for almost all VNs, it works under a second ! I tried to handle errors (that m...
by Amethysts
Sun Jun 06, 2021 5:14 pm
Forum: Ren'Py Questions and Announcements
Topic: I made a routes analyser - visualise your project with a graph!
Replies: 22
Views: 2852

Re: I made a routes analyser - visualise your project with a graph!

New release, sorry for the up but this is a real improvement. https://i.imgur.com/kxcQmyf.jpeg - SUPPORT FOR SCREENS And you can deactivate it if it is not relevant to your project - EVEN MORE INTELLIGENT ALGORITHM Can detect almost every pattern (there is still work to do but honestly this feels al...
by Amethysts
Thu May 13, 2021 8:53 am
Forum: Ren'Py Questions and Announcements
Topic: I made a routes analyser - visualise your project with a graph!
Replies: 22
Views: 2852

Re: I made a routes analyser - visualise your project with a graph!

One problem I found: it appears that it does not work with sublabels: This is fixed on the last version ! :D Also, I added a new feature to help handle data-driven games ;) Here: https://github.com/EwenQuim/renpy-graphviz#fake_labela--fake_jumpa-b You can try the online version if your project is p...
by Amethysts
Tue May 04, 2021 5:07 pm
Forum: Ren'Py Questions and Announcements
Topic: I made a routes analyser - visualise your project with a graph!
Replies: 22
Views: 2852

Re: I made a routes analyser - visualise your project with a graph!

For the last piece of code you shared: You're right, the graph doesn't indicate where there is a lot of text, and where there is none or just a few... It's actually a hard things to do ! Also, it could be very messy to display things like this... even from a design point of vue, it's not an easy que...
by Amethysts
Tue May 04, 2021 4:00 pm
Forum: Ren'Py Questions and Announcements
Topic: I made a routes analyser - visualise your project with a graph!
Replies: 22
Views: 2852

Re: I made a routes analyser - visualise your project with a graph!

- @Ocelot: It is actually made for Story-Driven games haha. As long as it is a story, the events will be correctly chained together . But when you add systems , it is more complicated... Parsing become awful so I try to do it a simple way -even if it is not 100% accurate. I wasn't satisfied enough w...
by Amethysts
Tue May 04, 2021 10:19 am
Forum: Ren'Py Questions and Announcements
Topic: I made a routes analyser - visualise your project with a graph!
Replies: 22
Views: 2852

Re: I made a routes analyser - visualise your project with a graph!

Sorry for the up, but I have done a few improvements, and the projets seems to evolve in a good way. There is now: - a live demo https://renpy.amethysts.studio/ so you can try to draw the graph of your VN from a public github repo - `call` and `break` keyword detection - choices detection (little te...
by Amethysts
Tue Mar 09, 2021 9:59 am
Forum: Ren'Py Questions and Announcements
Topic: I made a routes analyser - visualise your project with a graph!
Replies: 22
Views: 2852

Re: I made a routes analyser - visualise your project with a graph!

These are beautiful graphs :D
The second one really is interesting, and the first one is quite linear!

Are you sure that your biggest games are correctly linted?
Normally, the algorithm works if the linter passes...
If so, could I see the code, if you don't mind of course ?
by Amethysts
Mon Mar 08, 2021 12:43 pm
Forum: Ren'Py Questions and Announcements
Topic: I made a routes analyser - visualise your project with a graph!
Replies: 22
Views: 2852

Re: I made a routes analyser - visualise your project with a graph!

Don't hesitate to show your graphs ! (or send me a private message) @m_from_space @hell_oh_world
by Amethysts
Fri Mar 05, 2021 2:23 pm
Forum: Ren'Py Questions and Announcements
Topic: I made a routes analyser - visualise your project with a graph!
Replies: 22
Views: 2852

Re: I made a routes analyser - visualise your project!

Not for the moment, it is used along with `return` and that's a bit complicated to analyze (especially if you have several levels of `call`), but I'll work on it, it's my next goal for this tool !
If you know Go don't hesitate to help me with the project ;)
by Amethysts
Fri Mar 05, 2021 1:55 pm
Forum: Ren'Py Questions and Announcements
Topic: I made a routes analyser - visualise your project with a graph!
Replies: 22
Views: 2852

I made a routes analyser - visualise your project with a graph!

Hello, this post isn't a question nor a VN but a tool I made that I want to present you. The tool https://raw.githubusercontent.com/EwenQuim/renpy-graphviz/master/data/the_question.jpg It takes your VN and makes a graph of the routes available . DOWNLOAD IT HERE : https://github.com/EwenQuim/renpy-g...
by Amethysts
Wed Jan 27, 2021 4:33 am
Forum: Ren'Py Questions and Announcements
Topic: [RAPT][For nerds] Download and install RAPT from CLI
Replies: 2
Views: 291

Re: [RAPT][For nerds] Download and install RAPT from CLI

Thank you very much! I will try to cache the files so that renpy servers are not spammed. Just to warn you: someone made a github action for building and linting ren'py projects, downloading ren'py continuously. You may want to raise an issue on their github page. I'll probably make a cookbook if I ...
by Amethysts
Mon Jan 25, 2021 10:16 am
Forum: Ren'Py Questions and Announcements
Topic: [RAPT][For nerds] Download and install RAPT from CLI
Replies: 2
Views: 291

[RAPT][For nerds] Download and install RAPT from CLI

Hello guys, My goal is to set up a Continuous Deployment for my Android Ren'Py game. Basically, I have these 2 fantastic articles : - Build distributions from a VM - https://excaliburzero.github.io/blog/2015/04/20/testing-renpy-game.html - Upload bundle to Play Store - https://medium.com/@niraj_praj...
by Amethysts
Sun Jan 24, 2021 4:32 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Can't build for android from CLI (doc misunderstanding)
Replies: 1
Views: 478

Re: Can't build for android from CLI (because of a doc issue?)

Okay so the answer is just to run ./renpy.sh launcher android_build ../your_game_folder assembleRelease --dest ../build_folder from the renpy installation folder, even if the CLI says usage: renpy.py [--savedir DIRECTORY] [--trace LEVEL] [--version] [--compile] [--keep-orphan-rpyc] [--json-dump FILE...
by Amethysts
Fri Jan 22, 2021 6:47 am
Forum: Ren'Py Questions and Announcements
Topic: Say something from a screen
Replies: 6
Views: 423

Re: Say something from a screen

Hm, I don't get what you try to achieve... If you use menu then just show the text as a result of choice menu: "Choice 1": e "You choose 1" I just wanted to write down the menu choice the player have chosen. My game have 150 menus and ~2.5 choices every time : I don't want to write 370 times the pr...
by Amethysts
Wed Jan 20, 2021 5:38 pm
Forum: Ren'Py Questions and Announcements
Topic: any idea of making USER ACCOUNT in main menu on the game.?
Replies: 10
Views: 459

Re: any idea of making USER ACCOUNT in main menu on the game.?

Yes I meant that I may have given a code with both tabs and spaces, and I'm sorry about that.

But thanks for the details, it's actually interesting :)