Editra Support

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Message
Author
User avatar
PyTom
Ren'Py Creator
Posts: 16096
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Editra Support

#1 Post by PyTom »

The editor that I'd really like to ship with Ren'Py is one called Editra. It's nearly as fast as SciTE, sharing the scintilla editing component. It's the easiest to use editor I know, and also one of the easiest to extend. It's written in Python, which opens the door to sharing components between it an Ren'Py, as part of an integration plugin.

I was very close to choosing it instead of JEdit. Why did I go with JEdit?

The Windows version of Editra is 9 compressed megs, while the mac version is 19. (I don't know how big the Linux version would be, but figure it'll probably be about 10 megs big.)

JEdit is about 1.7 megs big. And that's for all three platforms.

If I was to include Editra in Ren'Py, the resulting distribution would be about 60 megs big, rather than the current 18. That seems unacceptable to me.

An alternative would be to only include the source code to Editra (2.8 compressed megs - net change around 1 meg), and require the user to download python and wxpython on his own. I'm really beginning to think that this is the best possible solution, especially if I can make Ren'Py give a sensible error message if the dependencies are missing.

So, I'd like people to go to http://editra.org and try it out, and see what they think.

This would make the Ren'Py SDK slightly harder to install, but (IMO) nicer to use.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

delta
Epitome of Generic
Posts: 525
Joined: Sat Dec 22, 2007 12:59 pm
Projects: yes
Contact:

Re: Editra Support

#2 Post by delta »

PyTom wrote: An alternative would be to only include the source code to Editra (2.8 compressed megs - net change around 1 meg), and require the user to download python and wxpython on his own. I'm really beginning to think that this is the best possible solution, especially if I can make Ren'Py give a sensible error message if the dependencies are missing.
You're looking at a support NIGHTMARE, considering the userbase. My suggestion is to ship without an editor and offer standalone editra _binaries_ for each platform separately.

Also, I have no problem with a 60MB SDK that works.
The rest is left as an exercise for the reader.

Wintermoon
Miko-Class Veteran
Posts: 701
Joined: Sat May 26, 2007 3:41 pm
Contact:

Re: Editra Support

#3 Post by Wintermoon »

I don't think 60MB is unreasonable for a developer tool, so long as it doesn't affect the size of the actual VNs. Ren'Py VNs with only an hour or so of reading time often get bigger than that.

If file size is a major concern, you could always make separate packages for different target operating systems.

(Haven't tried Editra, or JEdit. I'm sticking to gvim.)

User avatar
killdream
Veteran
Posts: 325
Joined: Wed Nov 05, 2008 1:05 pm
Projects: EVūL (WIP), insilo (WIP), Cute Demon Crashers!
Deviantart: robotlolita
Github: robotlolita
Location: World's End (aka Brazil)
Contact:

Re: Editra Support

#4 Post by killdream »

I think it would be fine if Ren'Py were 60MB+, but if you really think size it's a matter here, you can make different packages (or ship with just the source, since Python dependencies really make the distributable a lot bigger)

And the front page it's not working so I had to google it to download, actually =D

EvilDragon
Veteran
Posts: 284
Joined: Fri Dec 28, 2007 5:47 am
Location: Where the Dragons rule!
Contact:

Re: Editra Support

#5 Post by EvilDragon »

In these times of broadband Internet, I think it's not a problem to DL a 60 MB SDK. Although you can alleviate this with:
Wintermoon wrote:If file size is a major concern, you could always make separate packages for different target operating systems.
No problems with 3 SDK versions: one for Win, one for Mac, one for Linux. And they would all be ~25 MB, given the numbers you said, right? That is VERY acceptable.

Also, suggestion: if we have already installed older Ren'py SDK (say, 6.9.0.) with that Editra editor, offering yet another three SDK versions (without editor, overwriting older SDK) should also reduce DL size.
Angels of paradise, angels of sacrifice
Please let me be under your wings...

JQuartz
Eileen-Class Veteran
Posts: 1265
Joined: Fri Aug 31, 2007 7:02 am
Projects: 0 completed game. Still haven't made any meaningfully completed games...
Contact:

Re: Editra Support

#6 Post by JQuartz »

Can the current version of Scite work with the future versions of Renpy? If yes then can there be a Renpy package without an editor? I still want to use Scite so I don't really want to download the extra 10mb+ Editra and just waste it.
I suspect somebody is stealing my internet identity so don't believe everything I tell you via messages. I don't post or send messages anymore so don't believe anything I tell you via messages or posts.

Jake
Support Hero
Posts: 3826
Joined: Sat Jun 17, 2006 7:28 pm
Contact:

Re: Editra Support

#7 Post by Jake »

delta wrote: You're looking at a support NIGHTMARE
The first thing I did when I read that part of the original post was check whether it had actually been posted on the 1st of April and I'd just missed it... I'd have to agree, to try and do that would be insane, and having to do so would probably put a lot of people off using Ren'Py.

I'd agree with most of the people above, really - the ideal, as far as I can see, would be three separate SDKs each with just their binaries of the editor in but capable of building for the other two platforms as well. Failing that, one distributable for Ren'Py and three separate ones for the editor for Ren'Py. And I don't see any huge problem with a 60MB SDK either, especially if incremental releases could be shipped as smaller patches.
Server error: user 'Jake' not found

EvilDragon
Veteran
Posts: 284
Joined: Fri Dec 28, 2007 5:47 am
Location: Where the Dragons rule!
Contact:

Re: Editra Support

#8 Post by EvilDragon »

Jake wrote:I'd agree with most of the people above, really - the ideal, as far as I can see, would be three separate SDKs each with just their binaries of the editor in but capable of building for the other two platforms as well. Failing that, one distributable for Ren'Py and three separate ones for the editor for Ren'Py. And I don't see any huge problem with a 60MB SDK either, especially if incremental releases could be shipped as smaller patches.
VERY good points here, Jake!
Angels of paradise, angels of sacrifice
Please let me be under your wings...

chronoluminaire
Eileen-Class Veteran
Posts: 1153
Joined: Mon Jul 07, 2003 4:57 pm
Completed: Elven Relations, Cloud Fairy, When I Rule The World
Tumblr: alextfish
Skype: alextfish
Location: Cambridge, UK
Contact:

Re: Editra Support

#9 Post by chronoluminaire »

I have no problems with a few extra tens of megabytes in the Ren'Py distribution; extra modules for different text editors sounds fine as well. I'm all in favour of moving away from JEdit as soon as possible. I still like editing my script in Crimson Editor (and I write most of it in the Windows Mobile equivalent of Notepad).

Oh, and shipping with sources that people have to compile before using the text editor seems insane. A large portion of Ren'Py's target audience are precisely the kind of people who would never use the tool if it required that.
I released 3 VNs, many moons ago: Elven Relations (IntRenAiMo 2007), When I Rule The World (NaNoRenO 2005), and Cloud Fairy (the Cute Light & Fluffy Project, 2009).
More recently I designed the board game Steam Works (published in 2015), available from a local gaming store near you!

User avatar
jack_norton
Lemma-Class Veteran
Posts: 4086
Joined: Mon Jul 21, 2008 5:41 pm
Completed: Too many! See my homepage
Projects: A lot! See www.winterwolves.com
Tumblr: winterwolvesgames
Contact:

Re: Editra Support

#10 Post by jack_norton »

I checked the editor and seems nice :) The features sounds great, if you manage to implement code autocompletion with renpy instructions that would speed development time by a lot!
The extra 19mb shouldn't be a problem at all for a development tool IMHO.
follow me on Image Image Image
computer games

User avatar
killdream
Veteran
Posts: 325
Joined: Wed Nov 05, 2008 1:05 pm
Projects: EVūL (WIP), insilo (WIP), Cute Demon Crashers!
Deviantart: robotlolita
Github: robotlolita
Location: World's End (aka Brazil)
Contact:

Re: Editra Support

#11 Post by killdream »

Just tried it a bit, it's good to have a code outline/completion and TODO things, but a lot of things are still missing.

Though, it seems stable for a 0.4 beta version. Not too fast as SciTe but the features (and possibility to extend with Python plugins and allow Ren'Py code outline/completion) make for it =D

User avatar
DaFool
Lemma-Class Veteran
Posts: 4171
Joined: Tue Aug 01, 2006 12:39 pm
Contact:

Re: Editra Support

#12 Post by DaFool »

PyTom wrote: If I was to include Editra in Ren'Py, the resulting distribution would be about 60 megs big, rather than the current 18. That seems unacceptable to me.
Ironically, it's acceptable to me now.
(Primarily because I have broadband now 8) )

Instead of mega-efficient projects, I'm also now into mega-ridiculous projects, among them a Schooldays-like full motion video CYOA that might just use your rewritten rendering code to work better with video formats.

Best is to have one small Ren'Py distro, and instruct the user to install one of 3 binaries for the text editor.

Jake
Support Hero
Posts: 3826
Joined: Sat Jun 17, 2006 7:28 pm
Contact:

Re: Editra Support

#13 Post by Jake »

DaFool wrote: Best is to have one small Ren'Py distro, and instruct the user to install one of 3 binaries for the text editor.
Depends who your audience is. If you're aiming Ren'Py at people who aren't programmers, then configuring anything is likely to put some of them off. So for that audience, it's better to put it all in one download so they can't get anything wrong and they don't have to worry about anything.

If you're aiming it at technical people, on the other hand, then you're likely to find people will prefer the option to just download Ren'Py and provide their own editor or pick one up from the site... but generally speaking, Ren'Py already attracts a lot of non-technical people, and traditionally, technical people aren't the ones with stories to tell (saying this as a technically-inclined person).
Server error: user 'Jake' not found

User avatar
PyTom
Ren'Py Creator
Posts: 16096
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Editra Support

#14 Post by PyTom »

Hm... Looking at the current version a bit more closely, it looks like it's missing some essential features, like being able to position the cursor on a particular line.

So I'll be holding off the integration until Editra gets a little more mature... which should happen quickly, the guy who writes it works very hard at it.

(If someone wants to help out with editor integration, I could use the help. It's one of the more maddening things I have to deal with, especially since I just use Emacs anyway.)
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

delta
Epitome of Generic
Posts: 525
Joined: Sat Dec 22, 2007 12:59 pm
Projects: yes
Contact:

Re: Editra Support

#15 Post by delta »

PyTom wrote:It's one of the more maddening things I have to deal with, especially since I just use Emacs anyway.
Well, if you're using emacs anyway, you shouldn't be a stranger to maddening things. That said, I could help with editor integration, but only after I get my current workload off my chest. Maybe editra is worth starting on by then.
The rest is left as an exercise for the reader.

Post Reply

Who is online

Users browsing this forum: CephalonKet