Cell Lab PC development team

Here anything Cell Lab related that doesn't fit into the other topics can be discussed.
wefhy
Posts: 12
Joined: Tue Jan 24, 2017 9:10 pm

Re: Cell Lab PC development team

Post by wefhy » Wed Jan 25, 2017 9:32 pm

@Talonj123
Hmm, as far as I know C#, you have something like
private byte[] inputBmp = System.IO.File.ReadAllBytes(inputFile);
Part of my another code, but I think it sould be possible to use in Unity. After you load all bytes, it should be possible to somehow convert them. Or is the java save method not known? (anyway there should be any converter in the internet)
But I even don't think it'll be necessary - when you open the genome file it looks just like saved structure in binary mode - you have many nulls where variables were zeros(or default - not declared by user yet). The only thing we want to know is the order in which data was saved. I think I could extract it experimenting, but i'll take a while (several hours I think)

I have some ideas about the genome editor - I'll make them in my software, then improve project and move to Unity. It should be easier for me, because in Unity modifications would take ages. Better to write in unity when I know everything about my plans ;) Maybe for some period it'll stay in external-editor mode.

Anyway, I'll download your project this weekend and try to look into how it's built. Github version is up to date?
Hidden flaw never remains hidden.
Talonj123
Posts: 13
Joined: Sun Jan 01, 2017 7:51 pm

Re: Cell Lab PC development team

Post by Talonj123 » Wed Jan 25, 2017 9:54 pm

The main issue is that it would be really easy to make a mistake on the (de)serialization. Reading the bytes isn't the issue, it's restoring that to the parsed/structured form that is problematic.

The repo is up to date (with the last 'working' run). You can do settings for colors and adhesin in my editor. (adhesin physics isn't great, but it does it's job).
wefhy
Posts: 12
Joined: Tue Jan 24, 2017 9:10 pm

Re: Cell Lab PC development team

Post by wefhy » Wed Jan 25, 2017 10:23 pm

Ok.
I'll look into this.
I have session now, so I don't have much time, but after that I think, I'll be able to code something.
I still have feeling that editing this file won't be so problematic. If I find a way (or ever for editing only part of the data), I'll share it with you.

EDIT:
Do I need something else to open this?
It looks like empty scene.
https://snag.gy/4t91U3.jpg
Do you develop it under Windows, Linux, Mac? I remember that there were some issues with compatibility of saved projects. I can switch to another platform if necessary.
I can access Cell editor since there's a .unity file to load, but I can't find scene with substrate and cells.

EDIT2:
Ok, I konw how it works... I have to load scene with editor remove visibility of editor's window ;)
Sorry, just newbie with the software ;)
Last edited by wefhy on Wed Jan 25, 2017 10:38 pm, edited 1 time in total.
Hidden flaw never remains hidden.
User avatar
Reaper Elite
Posts: 737
Joined: Tue Jul 19, 2016 10:55 pm
Location: In the Underworld eating bacon and watching anime with Marilyn Monroe

Re: Cell Lab PC development team

Post by Reaper Elite » Wed Jan 25, 2017 10:37 pm

For windows please
"A mercenary can always find a war to fight if they look hard enough"
"You become a changed person when you face me and deny me your soul."
wefhy
Posts: 12
Joined: Tue Jan 24, 2017 9:10 pm

Re: Cell Lab PC development team

Post by wefhy » Wed Jan 25, 2017 10:41 pm

@Reaper Elite: It shouldn't matter since we can compille it to many platforms after finishing. The only thing is that linux's Unity is still in beta and files aren't fully compatible(or werent a year ago ;) )
Hidden flaw never remains hidden.
User avatar
Reaper Elite
Posts: 737
Joined: Tue Jul 19, 2016 10:55 pm
Location: In the Underworld eating bacon and watching anime with Marilyn Monroe

Re: Cell Lab PC development team

Post by Reaper Elite » Wed Jan 25, 2017 10:43 pm

As long as the finished product is CL petter should like it.
"A mercenary can always find a war to fight if they look hard enough"
"You become a changed person when you face me and deny me your soul."
Talonj123
Posts: 13
Joined: Sun Jan 01, 2017 7:51 pm

Re: Cell Lab PC development team

Post by Talonj123 » Wed Jan 25, 2017 10:52 pm

You need to open the Cell scene, then the objects will appear.
Talonj123
Posts: 13
Joined: Sun Jan 01, 2017 7:51 pm

Re: Cell Lab PC development team

Post by Talonj123 » Thu Jan 26, 2017 5:27 pm

Both the editor and the microscope are in the same scene, switch with 'g' and 'm' respectively.
wefhy
Posts: 12
Joined: Tue Jan 24, 2017 9:10 pm

Re: Cell Lab PC development team

Post by wefhy » Sat Jan 28, 2017 4:37 pm

Hello again, cell lab players!
What do you think about my concept of genome editor?
Image
https://snag.gy/aIkSFw.jpg

There's a video how you can edit it:
https://youtu.be/sHSLl9rM9Xo

That is not working code yet, it's only a concept made with pynodes. I wait for suggestions and after after you tell me something about it, I'll start rewriting it to Unity (or I'll at least try... But I hope I'll succeed)
The main ideas:
->you can view into many nodes at once
->you can name them and easily edit. Maybe I'll delete M1, M2, M3 etc at all and they'll be replaced with names? It'll just give modes numeration when saving to keep compatibility.
->interface must be quite flexible (I mean API which I'll create to make nodes like these)
->you can easily imagine what will be the result (I won't try making simulator like in original game... I hope Talonj will implement it after I finish... )
Do you like it? I need suggestions :)
Hidden flaw never remains hidden.
User avatar
Reaper Elite
Posts: 737
Joined: Tue Jul 19, 2016 10:55 pm
Location: In the Underworld eating bacon and watching anime with Marilyn Monroe

Re: Cell Lab PC development team

Post by Reaper Elite » Sat Jan 28, 2017 5:50 pm

All CL players need that tool ***** stars
"A mercenary can always find a war to fight if they look hard enough"
"You become a changed person when you face me and deny me your soul."
Post Reply