Board index » Present Evidence » Games

Page 1 of 1[ 21 posts ]
 


PyWright IDE: PyWright case development tool (WIP)Topic%20Title
User avatar

are u batterys

Gender: Male

Location: Definitely somewhere on Earth

Rank: Suspect

Joined: Sun Nov 06, 2022 1:27 am

Posts: 13

Hello Court-Records!

I've been developing a little tool for making it easier to develop PyWright games. Originally I was planning to post it here in a more complete state, but real-life stuff prevented me from working on it lately, and I got a lil too impatient with showing it to you guys. The available featureset should be enough for you to work on cases though.

Current features include:

- A tabbed text editor, that can colorize PyWright scripts
- Dialogs to make case/game creation as user friendly as possible
- Ability to run PyWright from the selected folder
- Browsing the available textures/music/SFX and the ability to play the latter two within the IDE

Known bugs:
- When you run the IDE in certain ways (like from Windows Search), none of the icons will show up at all. The program will be functional otherwise.
- The text editing component has glitchy text rendering on Linux, for some reason. This makes the program unusable on there. Apparently it is fixed now? Your mileage might still wary though, but keep everything Qt related up-to-date and you should be fine
- Adding/removing an existing case to/from the game might be a bit flaky, best case, the changes won't be reflected in game-specific intro.txt; worst case, you might lose whatever else you've put into the said file.

Other things of interest:
- If you press a button and nothing happens, it probably means that the functionality isn't implemented yet.
- I've been made aware that Norton Antivirus thinks that the app is doing suspicious activities. My guess is on this being due to the ide being able to run PyWright within itself, but rest assured, it is a false positive. Feel free to check the source code out (and optionally generate a Windows executable from it by yourself) if you're still having any doubts!

Source code is available on GitHub, it is written in Python with PyQt5 and QScintilla: https://github.com/LupertEverett/pywrightide

Some screenshots:

Image

Image

Image

Image

(Last updated: 10/08/2023)

Release Page: https://github.com/LupertEverett/pywrig ... e-23.08.10
Direct download link for Windows version: https://github.com/LupertEverett/pywrig ... 3.08.10.7z

- Fix the Widget Toggle buttons on the top toolbar toggling themselves unexpectedly when the user makes a docked widget floating
- Directory View Widget is now movable, but NOT floatable
- IDE now remembers the position and state of all toolbars/widgets
- Working Case Properties button in Game Properties tab, with "non-destructive" editing of case-specific intro.txt
- Somewhat working Add Existing Case dialog (Note that this and the case removal feature is probably flaky, I plan to iron out the kinks in the next updates)

Special thanks go to BirbIsTheWord for his extensive testing and support. Without his help, this program wouldn't be as usable as it is right now. :)

Hope you guys enjoy it!

Last edited by LupertEverett on Thu Aug 10, 2023 5:42 pm, edited 16 times in total.
Re: PyWright IDE: PyWright case development tool (WIP)Topic%20Title
User avatar

the last romantic alive

Gender: Male

Location: São Paulo, Brazil

Rank: Suspect

Joined: Mon Feb 21, 2022 12:26 am

Posts: 15

That is actually a really cool idea, since PyWright is a little complicated and outdated, so making it more advanced and user-friendly is cool as hrck. I am excited to see this in a more complete state(and with a tutorial too, if you can)
Re: PyWright IDE: PyWright case development tool (WIP)Topic%20Title
User avatar

are u batterys

Gender: Male

Location: Definitely somewhere on Earth

Rank: Suspect

Joined: Sun Nov 06, 2022 1:27 am

Posts: 13

AshuraMage wrote:
That is actually a really cool idea, since PyWright is a little complicated and outdated, so making it more advanced and user-friendly is cool as hrck. I am excited to see this in a more complete state(and with a tutorial too, if you can)


Thank you! Glad you liked it!

Tbh never considered a tutorial myself, but having one once things get more complete is a pretty good idea! Probably something to do when I can get some free time, alongside actually working on the program itself... :V
Re: PyWright IDE: PyWright case development tool (WIP)Topic%20Title
User avatar

are u batterys

Gender: Male

Location: Definitely somewhere on Earth

Rank: Suspect

Joined: Sun Nov 06, 2022 1:27 am

Posts: 13

Updated the first post with some screenshots (finally :V) and an updated version of the program (the download link is still the same though)
Re: PyWright IDE: PyWright case development tool (WIP)Topic%20Title
User avatar

Gender: Male

Rank: Desk Jockey

Joined: Mon Sep 16, 2013 9:39 pm

Posts: 52

There's been significant development with PWlib as well recently. i believe they've started to create more of a GUI.
Re: PyWright IDE: PyWright case development tool (WIP)Topic%20Title
User avatar

are u batterys

Gender: Male

Location: Definitely somewhere on Earth

Rank: Suspect

Joined: Sun Nov 06, 2022 1:27 am

Posts: 13

Honey Pie wrote:
There's been significant development with PWlib as well recently. i believe they've started to create more of a GUI.


Never heard of that one, so I cannot say much. However, I do this project mainly to help my friend BirbIsTheWord, and as a curiosity/for the fun of it, and if it gets traction and/or people provide some help to improve it/make it work for other case making engines, that's cool! Other way around? Still cool!

That being said, I finally worked on it a bit more! Now one can browse and add sfx using the asset manager! The link in the first post contains the updated version. Enjoy!
Re: PyWright IDE: PyWright case development tool (WIP)Topic%20Title
User avatar

There's Always Someone Else

Gender: Female

Rank: Suspect

Joined: Wed Feb 01, 2023 5:10 am

Posts: 21

I have just downloaded this after having almost completed an entire case using nothing but text files and I must say that this program is a lifesaver. No more will I have to constantly go through folders to find the exact scenes I'm looking for and then switch between a dozen notepad files! Thank you so much for making this! I cannot begin to express how much I appreciate it.

The only things I'd add are the ability to play sound effects, because I frequently get those mixed up (though I imagine an audio player might be tricky to implement) and the ability to find/replace certain words. Still, it's fantastic as is and I'm so glad to have it.
Re: PyWright IDE: PyWright case development tool (WIP)Topic%20Title
User avatar

are u batterys

Gender: Male

Location: Definitely somewhere on Earth

Rank: Suspect

Joined: Sun Nov 06, 2022 1:27 am

Posts: 13

LilyGrace wrote:
I have just downloaded this after having almost completed an entire case using nothing but text files and I must say that this program is a lifesaver. No more will I have to constantly go through folders to find the exact scenes I'm looking for and then switch between a dozen notepad files! Thank you so much for making this! I cannot begin to express how much I appreciate it.

The only things I'd add are the ability to play sound effects, because I frequently get those mixed up (though I imagine an audio player might be tricky to implement) and the ability to find/replace certain words. Still, it's fantastic as is and I'm so glad to have it.


I am so glad to hear that haha! Happy that the IDE is useful for ya! :will:

As for your suggestion, I just put a new version of the IDE on Github that implements the functionality you asked for! It is a bit buggy when the sound you're trying to play is extremely short, you just have to "play" such sounds twice.

https://github.com/LupertEverett/pywrightide/releases/download/prerelease/PyWrightIDE-Windows-23.03.06.7z

EDIT: If you don't hear any sounds playing (and you're using Windows), you might also need to install the DirectShow filters for Ogg Vorbis for the sound playing feature: https://www.xiph.org/dshow/ (Click the link that's next to "Windows 32/64-bit Installer:")
Re: PyWright IDE: PyWright case development tool (WIP)Topic%20Title
User avatar

There's Always Someone Else

Gender: Female

Rank: Suspect

Joined: Wed Feb 01, 2023 5:10 am

Posts: 21

I've just downloaded the new version, but I can't figure out how to do the find/replace thing. The sound system is great though!
Re: PyWright IDE: PyWright case development tool (WIP)Topic%20Title
User avatar

are u batterys

Gender: Male

Location: Definitely somewhere on Earth

Rank: Suspect

Joined: Sun Nov 06, 2022 1:27 am

Posts: 13

LilyGrace wrote:
I've just downloaded the new version, but I can't figure out how to do the find/replace thing. The sound system is great though!


I haven't implemented a find/replace dialog yet haha. :payne: It is planned though! (Might take a while)

Also glad to hear you like the sound system!
Re: PyWright IDE: PyWright case development tool (WIP)Topic%20Title
User avatar

There's Always Someone Else

Gender: Female

Rank: Suspect

Joined: Wed Feb 01, 2023 5:10 am

Posts: 21

LupertEverett wrote:
LilyGrace wrote:
I've just downloaded the new version, but I can't figure out how to do the find/replace thing. The sound system is great though!


I haven't implemented a find/replace dialog yet haha. :payne: It is planned though! (Might take a while)

Also glad to hear you like the sound system!


Oh okay, no problem. Yeah that'd be super useful, as I will sometimes rename something and then have to manually go through and replace all the instances with something else. The sound system doesn't work at all for me for some reason. Ah well.
Re: PyWright IDE: PyWright case development tool (WIP)Topic%20Title
User avatar

are u batterys

Gender: Male

Location: Definitely somewhere on Earth

Rank: Suspect

Joined: Sun Nov 06, 2022 1:27 am

Posts: 13

LilyGrace wrote:
LupertEverett wrote:
LilyGrace wrote:
I've just downloaded the new version, but I can't figure out how to do the find/replace thing. The sound system is great though!


I haven't implemented a find/replace dialog yet haha. :payne: It is planned though! (Might take a while)

Also glad to hear you like the sound system!


Oh okay, no problem. Yeah that'd be super useful, as I will sometimes rename something and then have to manually go through and replace all the instances with something else. The sound system doesn't work at all for me for some reason. Ah well.


Had updated the sound system to use pygame.mixer instead. Could you try this build out? It also fixed the "having to play short sounds twice" on my end.

https://github.com/LupertEverett/pywrig ... 3.03.16.7z
Re: PyWright IDE: PyWright case development tool (WIP)Topic%20Title
User avatar

There's Always Someone Else

Gender: Female

Rank: Suspect

Joined: Wed Feb 01, 2023 5:10 am

Posts: 21

LupertEverett wrote:

Had updated the sound system to use pygame.mixer instead. Could you try this build out? It also fixed the "having to play short sounds twice" on my end.

https://github.com/LupertEverett/pywrig ... 3.03.16.7z


It works great for me now! Sorry for the delay, I kept forgetting to download it. ADHD brain. This tool has saved me SO much time.

I'm the dev of Truth and Consequences btw (there's a thread on the game here), so you're welcome to see what your work has spawned in about a month when I can finally release the first case!

But yeah, find/replace is literally the only other thing that'd make this perfect, and I can technically do that with the text files. I can't believe I used the text files to make almost an entire case; now I don't use anything other than this!
Re: PyWright IDE: PyWright case development tool (WIP)Topic%20Title
User avatar

are u batterys

Gender: Male

Location: Definitely somewhere on Earth

Rank: Suspect

Joined: Sun Nov 06, 2022 1:27 am

Posts: 13

LilyGrace wrote:
LupertEverett wrote:

Had updated the sound system to use pygame.mixer instead. Could you try this build out? It also fixed the "having to play short sounds twice" on my end.

https://github.com/LupertEverett/pywrig ... 3.03.16.7z


It works great for me now! Sorry for the delay, I kept forgetting to download it. ADHD brain. This tool has saved me SO much time.

I'm the dev of Truth and Consequences btw (there's a thread on the game here), so you're welcome to see what your work has spawned in about a month when I can finally release the first case!

But yeah, find/replace is literally the only other thing that'd make this perfect, and I can technically do that with the text files. I can't believe I used the text files to make almost an entire case; now I don't use anything other than this!


Its alright lol! Glad to hear it is working now!

And I would like to check it out! I hope work doesn't prevent me from doing so :V

For the Find/Replace dialog, I have done some initial work for it, so far it can find the next and previous occurrences of the word you're searching, on the current tab you have open.

Image

(Interface and features are subject to change, also took the screenshot on Linux cuz why not :V)
Re: PyWright IDE: PyWright case development tool (WIP)Topic%20Title
User avatar

There's Always Someone Else

Gender: Female

Rank: Suspect

Joined: Wed Feb 01, 2023 5:10 am

Posts: 21

LupertEverett wrote:
LilyGrace wrote:
LupertEverett wrote:

Had updated the sound system to use pygame.mixer instead. Could you try this build out? It also fixed the "having to play short sounds twice" on my end.

https://github.com/LupertEverett/pywrig ... 3.03.16.7z


It works great for me now! Sorry for the delay, I kept forgetting to download it. ADHD brain. This tool has saved me SO much time.

I'm the dev of Truth and Consequences btw (there's a thread on the game here), so you're welcome to see what your work has spawned in about a month when I can finally release the first case!

But yeah, find/replace is literally the only other thing that'd make this perfect, and I can technically do that with the text files. I can't believe I used the text files to make almost an entire case; now I don't use anything other than this!


Its alright lol! Glad to hear it is working now!

And I would like to check it out! I hope work doesn't prevent me from doing so :V

For the Find/Replace dialog, I have done some initial work for it, so far it can find the next and previous occurrences of the word you're searching, on the current tab you have open.

Image

(Interface and features are subject to change, also took the screenshot on Linux cuz why not :V)


I just released what I was working on today, it's right here in the forums. It's not brilliant or anything, but I think it came out pretty well for a first case.

That looks great too! It helps a lot; I actually have had to go back to text files for it a few times. Mostly because copy/pasting what I had before meant needing to change it to fit the current scene.
Re: PyWright IDE: PyWright case development tool (WIP)Topic%20Title
User avatar

are u batterys

Gender: Male

Location: Definitely somewhere on Earth

Rank: Suspect

Joined: Sun Nov 06, 2022 1:27 am

Posts: 13

LilyGrace wrote:
I just released what I was working on today, it's right here in the forums. It's not brilliant or anything, but I think it came out pretty well for a first case.

That looks great too! It helps a lot; I actually have had to go back to text files for it a few times. Mostly because copy/pasting what I had before meant needing to change it to fit the current scene.


Congrats on that, glad to hear that it was useful to you! And I'll check it out soon, hopefully!

A quick status update on things: The work has gotten extremely busy for the last several weeks, to the point of spending most of my time at home resting once I return from work, so I couldn't make any progress on the IDE at all :(

On the functionality of the Find/Replace dialog so far:
- Finding works on a single tab
- Finding works on the open set of tabs, though I don't like its behavior atm, gonna rethink that one
- The rest hasn't been implemented yet


Rest assured though: the IDE is not dead!

Edit: Suddenly got inspired to actually finish the dialog and update the IDE!
Download it directly here: https://github.com/LupertEverett/pywrig ... 3.04.21.7z

Hope you enjoy! :phoenix:
Re: PyWright IDE: PyWright case development tool (WIP)Topic%20Title
User avatar

are u batterys

Gender: Male

Location: Definitely somewhere on Earth

Rank: Suspect

Joined: Sun Nov 06, 2022 1:27 am

Posts: 13

Got another update! This one's mainly cosmetic/minor fixes though:


    -Main Window code cleanup (shouldn't affect behavior): moved certain functionality to places where they make more sense
    -"art", "music" and "sfx" subfolders will also be created after creating a new game: not only this avoids a crash, but it is also more convenient
    -Fixed garbage values appearing in the file name section when Open File dialog is opened (doesn't affect its usability but still)
    -Directory view no longer shows the root folder (or This PC in Windows) when you change to another PyWright installation (same as above)


Get it here: https://github.com/LupertEverett/pywrig ... 3.04.22.7z
Re: PyWright IDE: PyWright case development tool (WIP)Topic%20Title
User avatar

There's Always Someone Else

Gender: Female

Rank: Suspect

Joined: Wed Feb 01, 2023 5:10 am

Posts: 21

LupertEverett wrote:
Got another update! This one's mainly cosmetic/minor fixes though:


    -Main Window code cleanup (shouldn't affect behavior): moved certain functionality to places where they make more sense
    -"art", "music" and "sfx" subfolders will also be created after creating a new game: not only this avoids a crash, but it is also more convenient
    -Fixed garbage values appearing in the file name section when Open File dialog is opened (doesn't affect its usability but still)
    -Directory view no longer shows the root folder (or This PC in Windows) when you change to another PyWright installation (same as above)


Get it here: https://github.com/LupertEverett/pywrig ... 3.04.22.7z


Ooh perfect, thanks a lot! I love the open tabs feature too; that actually helps a ton because then I can just open all the scenes. I swear my next case only came about this fast because of this program though, having to have 20 notepad files open at once would have driven me nuts. Plus everything being a different color makes it much easier to find mistakes. I really appreciate this! Hope you like my game, if you get around to it. :)
Re: PyWright IDE: PyWright case development tool (WIP)Topic%20Title
User avatar

are u batterys

Gender: Male

Location: Definitely somewhere on Earth

Rank: Suspect

Joined: Sun Nov 06, 2022 1:27 am

Posts: 13

LilyGrace wrote:
Ooh perfect, thanks a lot! I love the open tabs feature too; that actually helps a ton because then I can just open all the scenes. I swear my next case only came about this fast because of this program though, having to have 20 notepad files open at once would have driven me nuts. Plus everything being a different color makes it much easier to find mistakes. I really appreciate this! Hope you like my game, if you get around to it. :)


Glad to hear it! Hope the Find/Replace dialog is useful for you also!

Also I'm not dead, just had a pretty intense and busy several weeks (+ weekends). This means that I haven't worked on the IDE at all, sadly; couldn't give your game a try either.

Once things calm down a bit more, I certainly will! IDE-wise, no clue on what else I could add tbh, apart from implementing some currently not-working buttons that is...
Re: PyWright IDE: PyWright case development tool (WIP)Topic%20Title
User avatar

are u batterys

Gender: Male

Location: Definitely somewhere on Earth

Rank: Suspect

Joined: Sun Nov 06, 2022 1:27 am

Posts: 13

Version 23.06.01 is now up!

Get it from here: https://github.com/LupertEverett/pywrig ... e-23.06.01
Direct link to Windows version: https://github.com/LupertEverett/pywrig ... 3.06.01.7z

Changelog:

    Icon themes support, as well as a "default" icon theme. To make new icon themes, simply clone the "default" icon theme's folder and change the icons!
    Directory View and Asset Browser sidebars and the Logger view are now toggleable from the top toolbar.
    Ability to remove a case from Game Properties. (as well as the case's folder - TREAD CAREFULLY)
    Credited pygame in the About dialog (forgot to do so before, oops)
    Version number is now displayed in the About dialog (e.g. 23.06.01)
    (Under-the-hood change) Moved settings related functions to IDESettings.

This version got updated with the following change:
    (Hotfix) Fixed Logger View "Hide" icon not loading.

Hope you folks enjoy!
Re: PyWright IDE: PyWright case development tool (WIP)Topic%20Title
User avatar

are u batterys

Gender: Male

Location: Definitely somewhere on Earth

Rank: Suspect

Joined: Sun Nov 06, 2022 1:27 am

Posts: 13

Version 23.08.10 is now up!

Get it from here: https://github.com/LupertEverett/pywrig ... e-23.08.10
Direct link to Windows version: https://github.com/LupertEverett/pywrig ... 3.08.10.7z

Changelog:
    Fix the Widget Toggle buttons on the top toolbar toggling themselves unexpectedly when the user makes a docked widget floating
    Directory View Widget is now movable, but NOT floatable
    IDE now remembers the position and state of all toolbars/widgets
    Working Case Properties button in Game Properties tab, with "non-destructive" editing of case-specific intro.txt
    Somewhat working Add Existing Case dialog (Note that this and the case removal feature is probably flaky, I plan to iron out the kinks in the next updates)

Hope you folks enjoy!
Page 1 of 1 [ 21 posts ] 
 
Display posts from previous:  Sort by  

 Board index » Present Evidence » Games

Who is online
Users browsing this forum: AhrefsBot [Bot?] and 4 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum
Jump to:  
News News Site map Site map SitemapIndex SitemapIndex RSS Feed RSS Feed Channel list Channel list
Powered by phpBB

phpBB SEO