Author Topic: [Preview] Knossos 0.5.3  (Read 3284 times)

0 Members and 1 Guest are viewing this topic.

Offline ngld

  • 28
Re: [Preview] Knossos 0.5.3
Knossos hides mods without releases so that wouldn't be possible right now. I guess I should rename the checkbox "Private mode".

Would it make sense to mark only specific versions as private? You could then have a publicly available version 1.0 (or something) and beta test a new version without having to hide the whole mod.

 

Offline AdmiralRalwood

  • 211
  • Mister Subspace Strikes
    • Skype
    • Steam
    • Twitter
Re: [Preview] Knossos 0.5.3
Would it make sense to mark only specific versions as private?
Yes, definitely.
Ph'nglui mglw'nafh Codethulhu GitHub wgah'nagl fhtagn.

schrödinbug (noun) - a bug that manifests itself in running software after a programmer notices that the code should never have worked in the first place.

When you gaze long into BMPMAN, BMPMAN also gazes into you.

"I am one of the best FREDders on Earth" -General Battuta

<Aesaar> literary criticism is vladimir putin

<MageKing17> "There's probably a reason the code is the way it is" is a very dangerous line of thought. :P
<MageKing17> Because the "reason" often turns out to be "nobody noticed it was wrong".
(the very next day)
<MageKing17> this ****ing code did it to me again
<MageKing17> "That doesn't really make sense to me, but I'll assume it was being done for a reason."
<MageKing17> **** ME
<MageKing17> THE REASON IS PEOPLE ARE STUPID
<MageKing17> ESPECIALLY ME

<MageKing17> God damn, I do not understand how this is breaking.
<MageKing17> Everything points to "this should work fine", and yet it's clearly not working.
<MjnMixael> 2 hours later... "God damn, how did this ever work at all?!"
(...)
<MageKing17> so
<MageKing17> more than two hours
<MageKing17> but once again we have reached the inevitable conclusion
<MageKing17> How did this code ever work in the first place!?

<@The_E> Welcome to OpenGL, where standards compliance is optional, and error reporting inconsistent

<MageKing17> It was all working perfectly until I actually tried it on an actual mission.

<IronWorks> I am useful for FSO stuff again. This is a red-letter day!
* z64555 erases "Thursday" and rewrites it in red ink

<MageKing17> TIL the entire homing code is held up by shoestrings and duct tape, basically.

 

Offline ngld

  • 28
Re: [Preview] Knossos 0.5.3
Then I'll add a "Mark this release as private" checkbox to the upload screen. That should be clear enough.

I've turned the version number on the mod details pages into a select box. You should now be able to see all released versions and install/launch them.
I already mentioned that it's currently impossible to delete an uploaded mod if you lose your dev files. A possible solution would be to add a delete button to the details page if you're authorized to delete a release... that might be confusing though since we already have an uninstall button for installed mods. Any ideas for better labeling?

Most form elements currently use Bootstrap's default style which doesn't really fit with the rest (and I don't like how much space the form elements need). I'll experiment with this and see if I can improve it. In the meantime I'm going to fix debug builds and FRED (the way I originally wanted to handle them doesn't work) and then implement sorting on the home and explore tab.

@mjn I'd really like to hear your opinion on the mockups.

  

Offline mjn.mixael

  • Cutscene Master
  • 212
  • Anims: 418, Cutscenes: 8, Mainhalls: 7, Logos: 52
    • Steam
    • Twitter
    • Mix-Hai Productions
Re: [Preview] Knossos 0.5.3
Sorry, ngld.. I ended up having a bit of a medical procedure which took me out of everything for a while. Those mockups look good. I think that's the best way to handle it, too. If you have time to get the basics on the tabs in place, i'll make it look pretty.
« Last Edit: October 17, 2017, 11:43:47 am by mjn.mixael »
Cutscene Upgrade Project - Mainhall Remakes - MixaelANITools - Between the Ashes - MjnMixael's Render Boutique - Mix-Hai Productions
Youtube Channel - P3D Model Box - Photobucket Albums - Model Releases - Downloads
Between the Ashes is looking for committed testers, PM me for details.
Report MediaVP issues, now on the MediaVP Mantis! Read all about it Here!

 

Offline ngld

  • 28
Re: [Preview] Knossos 0.5.3
Alright, I've implemented the basics and finished some other things (The dropdowns on the home tab are working, finally!).
There are only a few issues with the new design:
  • The blue buttons aren't long enough (should be easily fixable by replacing the PNGs and updating the CSS).
  • Positioning the tab bar was a pain. The result is that the packages are now always visible (which is why I removed the "Packages" tab) and if you have too many packages, they won't display.
  • The scrollbar looks a bit weird since it doesn't reach the top.
  • The tab buttons don't look pretty. :)



@mjn: Knossos has a few new dependencies. The windows_run.bat script should take care of the most stuff (Node.js, etc.) but it might complain about a missing ply or requests_toolbelt package. If it does, launch a command line and enter "py -3 -mpip install ply requests_toolbelt" to install the missing packages.

 

Offline ngld

  • 28
Re: [Preview] Knossos 0.5.3
I've done some testing by adding/uploading/installing/launching MediaVPs 3.6.12 & 2014 as well as BP Complete. I've found and fixed a bunch of bugs. It's working pretty well so far.
I've experimented a bit with BP Complete; I split the content in only two packages, one containing the required files and a second one containing the optional files. The first package resulted in a .7z file which is over 1GB big but the upload (and download) went fine. I don't think it's a good idea to have such huge archives and now I'm wondering if Knossos should automatically build more than one archive per package if it's as big as this (currently it builds one .7z per package during upload)...
Mod authors can work (and probably should) work around this by creating multiple packages similar to how mods already use multiple VP files.

I've also managed to display 7z's progress which means that the progress bar doesn't freeze anymore during the "Packing..." step when uploading. The debug builds can now be launched directly through the dropdown menu. FRED should work the same but I haven't checked, yet.

Updating, sorting, debug log upload are still missing. I also completely forgot about the description field. I think the last consensus was that it should use BBCode for formatting.
« Last Edit: October 15, 2017, 04:37:30 pm by ngld »

 

Offline mjn.mixael

  • Cutscene Master
  • 212
  • Anims: 418, Cutscenes: 8, Mainhalls: 7, Logos: 52
    • Steam
    • Twitter
    • Mix-Hai Productions
Re: [Preview] Knossos 0.5.3
Excellent. I'll have time tomorrow night to get to work on it.
Cutscene Upgrade Project - Mainhall Remakes - MixaelANITools - Between the Ashes - MjnMixael's Render Boutique - Mix-Hai Productions
Youtube Channel - P3D Model Box - Photobucket Albums - Model Releases - Downloads
Between the Ashes is looking for committed testers, PM me for details.
Report MediaVP issues, now on the MediaVP Mantis! Read all about it Here!

 

Offline mjn.mixael

  • Cutscene Master
  • 212
  • Anims: 418, Cutscenes: 8, Mainhalls: 7, Logos: 52
    • Steam
    • Twitter
    • Mix-Hai Productions
Re: [Preview] Knossos 0.5.3
Where'd the install FS2 button go?

I was finally prompted to install FS2 when trying to install BP complete. I'm assuming you don't have any sort of "first run" prompt right now?

I also noticed that it did not fetch the mod list upon first boot. I had to hit Refresh. Might want to adjust that to make sure it updates the list when it's run?
« Last Edit: October 16, 2017, 10:18:20 pm by mjn.mixael »
Cutscene Upgrade Project - Mainhall Remakes - MixaelANITools - Between the Ashes - MjnMixael's Render Boutique - Mix-Hai Productions
Youtube Channel - P3D Model Box - Photobucket Albums - Model Releases - Downloads
Between the Ashes is looking for committed testers, PM me for details.
Report MediaVP issues, now on the MediaVP Mantis! Read all about it Here!

 

Offline ngld

  • 28
Re: [Preview] Knossos 0.5.3
The "install retail" button? I removed it because I didn't think fit in there. You should be able trigger the same dialog by installing the MediaVPs.
If you want to restore the button, open html/templates/kn-devel-page.vue, search for "INSTALL RETAIL" and remove the comment markers ("<!--" and "-->") in that line.

 

Offline mjn.mixael

  • Cutscene Master
  • 212
  • Anims: 418, Cutscenes: 8, Mainhalls: 7, Logos: 52
    • Steam
    • Twitter
    • Mix-Hai Productions
Re: [Preview] Knossos 0.5.3
Submitted a PR.

The only other thing I'd like to do, but my brain wasn't figuring it out... I'd like to move the Version and Package buttons adjacent to Upload and Delete.

We'd have...

<DELETE> <UPLOAD>
<+PACKAGE><+VERSION>

instead of...

<UPLOAD>
<DELETE>
<+VERSION>
<+PACKAGE>

That would also free up some room there at the bottom of that "column" to help things feel less cluttered.

EDIT: Thanks. Got it!
« Last Edit: October 17, 2017, 02:21:01 am by mjn.mixael »
Cutscene Upgrade Project - Mainhall Remakes - MixaelANITools - Between the Ashes - MjnMixael's Render Boutique - Mix-Hai Productions
Youtube Channel - P3D Model Box - Photobucket Albums - Model Releases - Downloads
Between the Ashes is looking for committed testers, PM me for details.
Report MediaVP issues, now on the MediaVP Mantis! Read all about it Here!

 

Offline mjn.mixael

  • Cutscene Master
  • 212
  • Anims: 418, Cutscenes: 8, Mainhalls: 7, Logos: 52
    • Steam
    • Twitter
    • Mix-Hai Productions
Re: [Preview] Knossos 0.5.3
Tried to setup a dev environment on my laptop. It complains that it can't find RCC. I installed QT Creator, but not sure if that includes the development packages like your installation guide suggests.
Cutscene Upgrade Project - Mainhall Remakes - MixaelANITools - Between the Ashes - MjnMixael's Render Boutique - Mix-Hai Productions
Youtube Channel - P3D Model Box - Photobucket Albums - Model Releases - Downloads
Between the Ashes is looking for committed testers, PM me for details.
Report MediaVP issues, now on the MediaVP Mantis! Read all about it Here!

 

Offline ngld

  • 28
Re: [Preview] Knossos 0.5.3
You shouldn't have to install anything from Qt. Check your releng\windows\support directory. If it doesn't contain an rcc.exe file but an support.json.chk file, delete the latter and run windows_run.bat.
If neither of those exsists, launching windows_run.bat should fix the problem unless it's stuck somewhere...  Do you get any error messages?

Regarding the installation instructions: The README.md file only gives a quick overview. The detailed instructions are on the Wiki. I guess I should link them there...