Digital-Logic-Sim icon indicating copy to clipboard operation
Digital-Logic-Sim copied to clipboard

All forks and PRs merge

Open AOx0 opened this issue 3 years ago • 42 comments

This is a quick merge of all pull requests and forks.

Download new Community Edition versions at Digital-Logic-Sim-CE/releases. (Current: v0.38)

PD. Import and export chips does not work on Silicon Macs and Universal Builds for macOS

Huge thanks to everyone that has contributed! There is still a lot of work to do on the current features and lots of options to explore. Any contributions are welcome at DigitalLogicSimCommunity/Digital-Logic-Sim-CE!

AOx0 avatar Apr 07 '21 16:04 AOx0

Not sure if issue from your bundle or from the author of the chip view, but just want to point out that chip viewing doesn't work completely correctly. The spawned inputs don't interact with the wires at all, similar to my previous post about why I couldn't make it work in #63

okyloky9 avatar Apr 09 '21 17:04 okyloky9

I think it's a thing of my bundle, I'll check it out.

AOx0 avatar Apr 10 '21 11:04 AOx0

@okyloky9 It should work now. Any other problem let me know.

PD. Make a backup of your saves before trying v0.34.

AOx0 avatar Apr 11 '21 14:04 AOx0

Since this seems to be the largest "mod" for the sim, i have some suggestions. 1. light that is default black, and white when powered. 2. keyboard input. turns on when a certain key is down, could be a special naming format like {key}.

WaffleDevs avatar May 12 '21 22:05 WaffleDevs

I don't understand what either suggestion is, could you rephrase?

CallumCM avatar May 12 '21 22:05 CallumCM

I don't understand what either suggestion is, could you rephrase?

@Turnip1234 sorry, in my head while i was typing it, i thought it was clear. for the light, theres a new block that only has 1 input. when the input is off, the block is black, when the input is on, the block is white, this can be integrated with the multi bit lines to allow greys, like when inputting a 4 bit line, there are 4 shades, etc.

With the keyboard thing, its a new input on the left of the screen, that activates when ever the is pressed down. you can create it by naming an input {} where key is any ascii key

WaffleDevs avatar May 13 '21 00:05 WaffleDevs

Well, I was editing some circuits when the save button got stuck in "Update" Btw, my congratulations to all developers

NobreHD avatar Jun 09 '21 22:06 NobreHD

Yes this is a known bug @NobreHD If you exit and reload the project it will be fixed Sometimes, all of your chips will seem to be gone, but this is because of a file named ".txt" in your save data directory

CallumCM avatar Jun 09 '21 22:06 CallumCM

Sometimes, all of your chips will seem to be gone, but this is because of a file named ".txt" in your save data directory

Yeah I noticed

NobreHD avatar Jun 09 '21 22:06 NobreHD

If you delete the file, it will be fixed

CallumCM avatar Jun 09 '21 22:06 CallumCM

It's in the path %appdata%\..\LocalLow\Sebastian Lague\Digital Logic Sim\SaveData\ then go into the folder for your project, and delete the file name ".txt" there'e one in the project directory, and one in the WireLayout folder in the project directory

CallumCM avatar Jun 09 '21 22:06 CallumCM

( on windows)

CallumCM avatar Jun 09 '21 22:06 CallumCM

I have a suggestion: add a clock chip, as many projects I come across use clocks to keep in sync and thanks for the quick reply

It's in the path %appdata%..\LocalLow\Sebastian Lague\Digital Logic Sim\SaveData\

Thank, I found it

NobreHD avatar Jun 09 '21 22:06 NobreHD

You can make a clock chip yourself, with logic gates @NobreHD

CallumCM avatar Jun 09 '21 22:06 CallumCM

image ^ @NobreHD This is an example of a toggleable clock

CallumCM avatar Jun 09 '21 22:06 CallumCM

Thank for the help

NobreHD avatar Jun 09 '21 22:06 NobreHD

There is no "32-BIT DECODER", yet there being a "32-Bit Bus".

thetayloredman avatar Jun 14 '21 19:06 thetayloredman

And if you repeatedly edit a chip removing/adding busses, they will slowly move off the screen.

thetayloredman avatar Jun 14 '21 19:06 thetayloredman

But those busses are really cool, I created a 64-bit register with them finally!

thetayloredman avatar Jun 14 '21 19:06 thetayloredman

I personally don't like the idea of having a lot of premade stuff on my "gates' bar" by default (those decoders and HDD). Me, as a beginner, like to have my initial project workspace empty, just with the default "AND" and "NOT" gates implemented. I have no idea what bit decoders are and how they work, being there by default just makes my workspace feel "dirty" with a bunch of nonsense chips to me.

diguifi avatar Sep 08 '21 20:09 diguifi

@diguifi I totally agree, Digital Logic Sim was created to learn about how computers work, and to mess around with logic gates. I just had a bunch of fun adding new chips, as I'm sure other people did too. This version is also probably 1,000x more buggy than the vanilla version, I had Unity crash on me probably like 20 times. But luckily, this PR most likely will never get merged, and it's only for people who want to go further. I started looking into a way to make a separate menu for builtin chips to try and remove clutter, but it's nowhere near complete and I'm not actively working on it. But whatever version of DLS you choose, have fun!

CallumCM avatar Sep 09 '21 02:09 CallumCM

@Turnip1234 understandable! I thought this PR meant a "new future version" rather than an experimental branch. Thanks for clarifying!

diguifi avatar Oct 08 '21 21:10 diguifi

@diguifi About your problem, I'll make a release with an option within settings menu to hide all extra default chips

AOx0 avatar Oct 09 '21 03:10 AOx0

Wooo!

CallumCM avatar Oct 09 '21 04:10 CallumCM

v0.35 out

AOx0 avatar Oct 09 '21 20:10 AOx0

Trying now!

CallumCM avatar Oct 09 '21 20:10 CallumCM

cant seem to edit chips, as well, all my chips i had in my project seem to have dissapeared.. i can see them in my save file, but not in-game. Just noticing a comment up above, something about .txt files in save folder...... all of my circuits are .txt files.

RedStoner avatar Oct 11 '21 22:10 RedStoner

Can you share your save files? @RedStoner

AOx0 avatar Oct 11 '21 23:10 AOx0

i think it had to do with how i updated from the vanilla branch to this branch. I partially have it working now. Editing chips does not work for me. and there are some major issues with rendering that are fixed by pausing sim and resuming. Also running into issues where saved circuits just dont seem to work all the time. this is the save i have been working with TIMER.zip .

RedStoner avatar Oct 12 '21 02:10 RedStoner

@RedStoner Ok, let me check.

AOx0 avatar Oct 12 '21 03:10 AOx0