Jump to content

Photo

[RELz] BOSS


  • Please log in to reply
1215 replies to this topic

#941
Visceral Moonlight

Visceral Moonlight

    Magma Golem

    • Wild Nuts
  • 12,199 posts
Thanks, I'll take a look. :)

#942
Schtearn

Schtearn

    Mountain Hermit

  • 1,163 posts
  • Location: Australia
BTW, here's a nice resource for predefined macros:
https://sourceforge....edef/wiki/Home/

I'm Borg! I'm Chairman of the Borg! -Iggy & the Assimilation Pops


#943
Visceral Moonlight

Visceral Moonlight

    Magma Golem

    • Wild Nuts
  • 12,199 posts
Thanks, I keep losing that page and can never find it when I need it. :)

One other thing that would be helpful is to generate a list of the predefined macros from Microsoft's C++ compiler if there's an option in the program to do that. The list on MSDN seems to be a bit incomplete so it'd be nice to compare. :)

#944
Schtearn

Schtearn

    Mountain Hermit

  • 1,163 posts
  • Location: Australia
FWIW VS2015 no longer accepts char_16_t and char32_t. https://msdn.microso...396#BK_compiler

I'm Borg! I'm Chairman of the Borg! -Iggy & the Assimilation Pops


#945
Visceral Moonlight

Visceral Moonlight

    Magma Golem

    • Wild Nuts
  • 12,199 posts
That just says I can't make my own types called that as they're now built-in. :)

On a similar note, BOSS uses some deprecated classes from the functional header, I've been trying to figure out how best to handle that as those classes have been removed with C++14 I think.

Edited by Visceral Moonlight, 23 April 2016 - 12:52 PM.


#946
Schtearn

Schtearn

    Mountain Hermit

  • 1,163 posts
  • Location: Australia
Got this ICU thing going in VS- well the actual languages are in rawData2 in cloctst.c. Any help to you? :P

I'm Borg! I'm Chairman of the Borg! -Iggy & the Assimilation Pops


#947
Visceral Moonlight

Visceral Moonlight

    Magma Golem

    • Wild Nuts
  • 12,199 posts
Haven't had the chance to try it yet. :)

#948
Visceral Moonlight

Visceral Moonlight

    Magma Golem

    • Wild Nuts
  • 12,199 posts
I think the easiest way to check the Unicode handling of the experimental filesystem library is to just replace the use Boost.Filesystem with the experimental one, recompile BOSS, and see what happens. Unless anyone can think of another test that can be performed. :P

#949
Schtearn

Schtearn

    Mountain Hermit

  • 1,163 posts
  • Location: Australia
Is the experimental one glibmm's? https://developer.gn...p__Unicode.html

I'm Borg! I'm Chairman of the Borg! -Iggy & the Assimilation Pops


#950
Visceral Moonlight

Visceral Moonlight

    Magma Golem

    • Wild Nuts
  • 12,199 posts
This one: http://en.cppreferen.../cpp/filesystem :)

#951
Schtearn

Schtearn

    Mountain Hermit

  • 1,163 posts
  • Location: Australia
If it works out, perhaps I can do a VS build. (Can't wait to ditch the 80,000 files) :P

I'm Borg! I'm Chairman of the Borg! -Iggy & the Assimilation Pops


#952
Visceral Moonlight

Visceral Moonlight

    Magma Golem

    • Wild Nuts
  • 12,199 posts
I'm not sure what kind of support VS has for it so I may need to do a compatibility wrapper like I did for regex if I switch to the experimental library.

#953
Schtearn

Schtearn

    Mountain Hermit

  • 1,163 posts
  • Location: Australia
There's this: https://msdn.microso...y/hh874694.aspx

I'm Borg! I'm Chairman of the Borg! -Iggy & the Assimilation Pops


#954
Visceral Moonlight

Visceral Moonlight

    Magma Golem

    • Wild Nuts
  • 12,199 posts
Great, thanks. That'll work, I'll definitely need a wrapper as the VS header uses a different namespace. :)

#955
Schtearn

Schtearn

    Mountain Hermit

  • 1,163 posts
  • Location: Australia
Just a query on the BOSS format for this mod- probably more for Mahn:
 

Weapon Expansion Pack for Oblivion Nthusiasts.esp Version 1.11Bash Tag suggestion(s): {{BASH: Delev, Graphics, Invent, Names, Relev, Scripts, Stats}}
Incompatible with: Mithril and Orcish Weapon Sets v1 and v2, Fine Weapons, Rusty Items
Warning: Do not use version 1.10, it is bugged and can cause crash to desktop. Upgrade to version 1.11 instead.

But I have version 1.11 already - should this warning get filtered?
Note the filesize difference in the BOSS download here:
17.41MB Download boss_installer.7z
27.25MB Download boss.zip
I think you explained the reason, perhaps it might be noted on the page?

I'm Borg! I'm Chairman of the Borg! -Iggy & the Assimilation Pops


#956
Visceral Moonlight

Visceral Moonlight

    Magma Golem

    • Wild Nuts
  • 12,199 posts
Yeah, it should probably use a version conditional and check for less than 1.11.

The file size difference is because of the compression format. With the 7z archive, I optimized it as much as possible while the zip archive can't have much optimization done to it due to it mainly supporting the basic DEFLATE algorithm. :)

#957
Visceral Moonlight

Visceral Moonlight

    Magma Golem

    • Wild Nuts
  • 12,199 posts
Moving back to the HTML parsing: I've done some more reading and libtidy can be used to convert the HTML to XHTML and then that can be passed to an XML parser. This is a bit more inefficient than directly parsing the HTML so I'll keep looking for a good HTML parser but that's an acceptable (to me, at least) option if one cannot be located. :)

#958
Visceral Moonlight

Visceral Moonlight

    Magma Golem

    • Wild Nuts
  • 12,199 posts

Drat! I forgot about a field for Bash Tags. :P

How should that be structured in the format? As a structure like this:

tag {
type: "<some_type_eg_Bash>"
tag_name: "<tag_name>"
}
and set to be allowed multiple times?

I'll try and get some test code written today for the CSS theming support. :)


Better late than never!

Here's what I'm looking at going with for this (in the Protocol Buffer message format):
	message Tags {
		optional string type = 1 [default = "Bash"];
		repeated string tag_name = 2;
	}
	repeated Tags tag = 17;
For the user view, that'll look like:
tag {
  type: "<some_type_(defaults_to_Bash)>"
  tag_name: "<name_of_single_tag>" <----This can appear multiple times for multiple tags
}
The entire tag block can be repeated so one could add Bash tags and other types of tags that may be useful in the future. :) The tags can also be in the group entry to allow one to apply tags to all group members.

Question: would it be helpful to add tags that are conditionally depended on the mod's version or CRC? That is, would a ConditionalTags block be necessary? I'm not sure how many cases there are of tags being dependent on version and/or CRC of a file.

#959
Schtearn

Schtearn

    Mountain Hermit

  • 1,163 posts
  • Location: Australia

To do it properly for version I'd say yes- an evolving mod is free, yes, wondrous free to change its tags. But CRC? Hmmm.


I'm Borg! I'm Chairman of the Borg! -Iggy & the Assimilation Pops


#960
Visceral Moonlight

Visceral Moonlight

    Magma Golem

    • Wild Nuts
  • 12,199 posts
Yeah, I'm not sure if it'd be worth it but it can easily be included. I'm just wanting to not bloat the syntax too much if I can help it. I think I'll check the existing mater list and see if either case exists currently. :)

Edited by Visceral Moonlight, 04 May 2016 - 01:56 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users