Author Topic: FSO loaded mod self-test -- possible?  (Read 906 times)

0 Members and 1 Guest are viewing this topic.

Offline jr2

  • The Mail Man
  • 212
  • It's prounounced jayartoo 0x6A7232
    • Steam
FSO loaded mod self-test -- possible?
Would it be possible to include a text file with mods / asset upgrades that basically tells FSO which files, and their checksums, and their official locations, should be loaded for a mod?

e.g., MVPs, have FSO check the loaded .vp checksums with the list found in the text file.

Any updatest to the .vps (say, a patch) would have their own text file, whcih would be added to the other when calculating.

If files are missing / corrupt / additional files are loaded / correct files are in unsupported locations (mod .vps in FS2 root), a warning message is displayed, telling the user about the problem, whilst stating that warning about additional or removed files are expected if they put in a custom mod that isn't officially supported by the base mod, or have removed files for performance reasons.

An option is given to the user to either "remind me later" or "don't show this again", or "view readme files" where the option to not show this again makes a note at the end of the associated text file that contains whichever mod has the issue detected (MVPs, FSPort, etc, whichever section the file(s) belonged to) that the user has chosen to ignore those certain files, and where "view readme files" opens up (if included) the readme files in each of the affected mod locations, which (hopefully) will have install instuctions.

This way, if anothe file goes missing / corrupt / additional file inserted, the warning will appear again, for the new issue.


Thoughts?  I don't know if this would help or not, but I figured I'd suggest it and find out.  Basically, a way for FSO to send users a raised eyebrow if they just dump a mod into FS2 root, or forget to download a required .vp  .. Hopefully, a message something like "normally, these files go into \FSPort\ and these ones in \media-vps3612\ and these ones in \fsport-mediavps\, you knew that and you were just testing me, riiiiight?

I'm sure that idea is a bit off, but hopefully someone more learned than I can make something more useful out of it.

 

Offline The E

  • He's Ebeneezer Goode
  • Global Moderator
  • 213
  • Nothing personal, just tech support.
    • Skype
    • Steam
    • Twitter
Re: FSO loaded mod self-test -- possible?
A better way of checking for completeness and uncorruptedness is something I am going to work on post 3.7.

My current thinking is pretty much parallel to yours, with additional metadata that is supplied with a mod that the engine checks on load.
**** every cause that ends in murder and children crying. ― Iain Banks
Join the fun at the HLP IRC channel. Get the latest spam and gossip as long as it's fresh!

 

Offline Fury

  • The Curmudgeon
  • 213
Re: FSO loaded mod self-test -- possible?
Does that include LZMA2 support which was brought up over two years ago? :nervous:

 

Offline The E

  • He's Ebeneezer Goode
  • Global Moderator
  • 213
  • Nothing personal, just tech support.
    • Skype
    • Steam
    • Twitter
Re: FSO loaded mod self-test -- possible?
It's part of it, yes.
**** every cause that ends in murder and children crying. ― Iain Banks
Join the fun at the HLP IRC channel. Get the latest spam and gossip as long as it's fresh!

 

Offline Fury

  • The Curmudgeon
  • 213
Re: FSO loaded mod self-test -- possible?
Whee

 

Offline MatthTheGeek

  • Captain Obvious
  • 212
  • Frenchie McFrenchface
Re: FSO loaded mod self-test -- possible?
**** yeah.
People are stupid, therefore anything popular is at best suspicious.

Homeworld: Blue Planet     -     Help us help you     -     FSO Installer     -     BP extras portal     -     My legacy

666maslo666: Releasing a finished product is not a good thing! It is a modern fad.

SpardaSon21: it seems like you exist in a permanent state of half-joking misanthropy

Axem: when you put it like that, i sound like an insane person

bigchunk1: it's not retarded it's american!
bigchunk1: ...

batwota: steele's maneuvering for the coup de gras
MatthTheGeek: you mispelled grâce
Awaesaar: grace
batwota: oh right :P
Darius: ah!
Darius: yes, i like that
MatthTheGeek: the way you just spelled it it means fat
Awaesaar: +accent I forgot how to keyboard
MatthTheGeek: or grease
Darius: the killing fat!
Axem: jabba does the coup de gras
MatthTheGeek: XD
Axem: bring me solo and a cookie

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: FSO loaded mod self-test -- possible?
The big problem is having it NOT go crazy just cause you've added a mod. Sometimes those of us who are devs want to just add a file without having to make a mod. Testing the patches for Diaspora is a good example of this.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline mjn.mixael

  • Cutscene Master
  • 212
  • Anims: 418, Cutscenes: 8, Mainhalls: 7, Logos: 52
    • Steam
    • Twitter
    • Mix-Hai Productions
Re: FSO loaded mod self-test -- possible?
Yeah, some sort of flag in the checksums (table/file?) or a commandline to skip the check for devs might be a good idea.
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 The E

  • He's Ebeneezer Goode
  • Global Moderator
  • 213
  • Nothing personal, just tech support.
    • Skype
    • Steam
    • Twitter
Re: FSO loaded mod self-test -- possible?
Yeah, there's a bit of complexity there, but I have a plan to deal with it.
**** every cause that ends in murder and children crying. ― Iain Banks
Join the fun at the HLP IRC channel. Get the latest spam and gossip as long as it's fresh!

 

Offline niffiwan

  • 211
  • Eluder Class
Re: FSO loaded mod self-test -- possible?
sounds awesome  :yes:
Creating a fs2_open.log | Red Alert Bug = Hex Edit | MediaVPs 2014: Bigger HUD gauges | 32bit libs for 64bit Ubuntu
----
Linux OBS Packages: FSO 3.7.0 | FSO BP Build | wxLauncher (?) | PCS2 (?) | wxVPView (?)
Debian Packages (testing/unstable): Freespace2 | wxLauncher
----
m|m: I think I'm suffering from Stockholm syndrome. Bmpman is starting to make sense and it's actually written reasonably well...