FLScanII
-
M1C wrote:
sur-files aren’t referenced in the inis, are they?You’re right, my bad. typo in the shiparch which your tool caught… fantastic!
-
Version 1.1 is out
See head-post, http://the-starport.net/freelancer/forum/viewtopic.php?topic_id=4726 -
Thx M1C and Cannon!
Very useful especially command-line modeIdea: to add –log command line switch, for example
FLScanII.exe --flpath="C:\Program Files\Freelancer" --log=result.log
-
Done
New options:
–log-html= <filename>Creates a colored html-log
–log-file= <filename>Creates a simple text-log
–log-console logs to the console as usual (implied when html and file isn’t set)You can also log to a file and to the console like this:
FLScanII.exe --log-html=MyFile.html --log-consolePlease use this link util I release the next version:
http://forge.the-starport.net/projects/flscan2/repository/raw/bin/FLScanII.exe</filename></filename> -
Wow! Thx M1C
All ok except html has two collumns
-
Hehe : )
Look:FLScanII.exe --flpath="C:\Program Files\Freelancer" --log-html=result.html --log-console
Console tells:
[error][equipment\market_commodities.ini:1638:BaseGood:MarketGood] Invalid multiplier! Has to be a number! 1.003713
But html tells:
ERROR Invalid multiplier! Has to be a number!
-
I have a report for you
[error] An error happend while parsing. The scan can't continue. 'Value cannot be null. Parameter name: path2' at System.IO.Path.Combine(String path1, String path2) at FLScanIE.UniverseChecks.ParseSystemFile(String file, String system, Dictionary`2& objectNicks) at FLScanIE.UniverseChecks.ParseUniverseFile(String file, List`1& systemNicks, Dictionary`2& baseNicks, Dictionary`2& objectNicks) at FLScanIE.UniverseChecks.ParseUniverseFolder() at FLScanIE.Checker.Parse(String flPath)
-
digdug83 wrote:
I have a report for you[error] An error happend while parsing. The scan can't continue. 'Value cannot be null. Parameter name: path2' at System.IO.Path.Combine(String path1, String path2) at FLScanIE.UniverseChecks.ParseSystemFile(String file, String system, Dictionary`2& objectNicks) at FLScanIE.UniverseChecks.ParseUniverseFile(String file, List`1& systemNicks, Dictionary`2& baseNicks, Dictionary`2& objectNicks) at FLScanIE.UniverseChecks.ParseUniverseFolder() at FLScanIE.Checker.Parse(String flPath)
Problem is in universe.ini.
Remove all dock group entries, I also removed all beam targets and the system entries at the bottom of the file which are unconventional, i.e liberty, bretonia etc.Scan should run fine then.
-
Sorry about that, just thought I’d mention how I managed to scan his mod in case it was of use to him, didn’t mean to tread on your toes.
-
In regards to my last report, I went back through and checked and didn’t find any blank entries in universe.ini (I’m working from a different build Timmy so the file you have isn’t identical) which is wierd. Anyway, figured I’d post this one up as well in case it’s an issue for anyone else.
[fatal] An error happend while checking file: ships\shiparch.ini 'Index was outside the bounds of the array.' at FLScanIE.Util_Functions.FLDataFile.Setting.Str(Int32 index) at FLScanIE.ShipChecks.CheckShip(String file, Section ship) at FLScanIE.ShipChecks.CheckShipFile(String file) at FLScanIE.Util_Functions.Util.RunCheck(CheckFileDelegate check, String file)
-
getting the same thing with mission solars added to the shiparch
[fatal] An error happend while checking file: ships\shiparch_solar.ini 'Index was outside the bounds of the array.' at FLScanIE.ShipChecks.CheckShip(String file, Section ship) at FLScanIE.ShipChecks.CheckShipFile(String file) at FLScanIE.Util_Functions.Util.RunCheck(CheckFileDelegate check, String file)
sample below a of rm_ solar added to shiparch. [solar] is changed for [ship] and the entry is tagged on the end of shiparch.ini (or another.ini, shiparch_solar in my case) to correct the flspew warning
[Ship] nickname = rm_wplatform_rock ids_name = 329680 ids_info = 329680 type = MISSION_SATELLITE DA_archetype = solar\asteroids\models\ast_rock02_platform.3db material_library = solar\ast_rock.mat material_library = fx\envmapbasic.mat envmap_material = envmapbasic LODranges = 0, 5000 mass = 10000.000000 solar_radius = 300 shape_name = NAV_weaponplatform destructible = true explosion_arch = explosion_rock_wplatform fuse = fuse_rock_wplatform, 0.000000, 1 hit_pts = 1600
-
Heeey, svn updates aren’t read-only?
It wants login pass for checkout oO -
@Helloween
http://svn.the-starport.net/flscan2/ works fine for me without login.
Try to login with your forge-data, if you don’t have an account you can create one here: http://forge.the-starport.net/account/register@digdug83, Thaddeus
The error message is now (Version 1.2) useful.
I hope it will help you nowVersion 1.2 released.
See head-post, http://the-starport.net/freelancer/forum/viewtopic.php?topic_id=4726 -
Oh, tnx!
I though http://svn.the-starport.net/flscanII/ -
I get a report of missing shapes, but i can find that shape:
Example:[error][solar\nebula\li01_Pittsburgh_pirate_base_nebula.ini:12:Clouds:puff_shape] Shape not found! 2rock_wisp1
But this shape is defined in the DATA\SOLAR\RINGS\shapes.ini:
[Texture]
file = solar\rings\rings.txm
texture_name = rock_wisps
shape_name = rock_wisp1
dim = 0, 0.500000, 0.500000, 0.500000
shape_name = rock_wisp2
dim = 0.500000, 0.500000, 0.500000, 0.500000
shape_name = rock_wisp3
dim = 0, 0, 0.500000, 0.500000
shape_name = rock_wisp4
dim = 0.500000, 0, 0.500000, 0.500000[Texture]
file = solar\rings\rings.txm
texture_name = rock_wisps2
shape_name = 2rock_wisp1
dim = 0, 0.500000, 0.500000, 0.500000
shape_name = 2rock_wisp2
dim = 0.500000, 0.500000, 0.500000, 0.500000
shape_name = 2rock_wisp3
dim = 0, 0, 0.500000, 0.500000
shape_name = 2rock_wisp4
dim = 0.500000, 0, 0.500000, 0.500000[Texture]
file = solar\rings\rings.txm
texture_name = rock_wisps3
shape_name = 3rock_wisp1
dim = 0, 1.000000, 1.000000, 1.000000
shape_name = 3rock_wisp2
dim = 0, 1.000000, 1.000000, 1.000000
shape_name = 3rock_wisp3
dim = 0, 1.000000, 1.000000, 1.000000
shape_name = 3rock_wisp4
dim = 0, 1.000000, 1.000000, 1.000000Is there just one texture allowed?