Page 19 of 19 FirstFirst ... 910111213141516171819
Results 361 to 380 of 384

Thread: Python converter for .variant_weighted_mesh model

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Re: Python converter for .variant_weighted_mesh model

    when I rename format and cilic to convert rigid_model to ms3d python gives (memory error) while my memory volume is 16 gig!!
    why the python gives that error? where is the problem?

  2. #2
    Quintus Hortensius Hortalus's Avatar Lex duodecim tabularum
    Citizen

    Join Date
    Jun 2011
    Location
    Electorate of Hannover
    Posts
    2,524

    Default Re: Python converter for .variant_weighted_mesh model

    Quote Originally Posted by asadyan View Post
    when I rename format and cilic to convert rigid_model to ms3d python gives (memory error) while my memory volume is 16 gig!!
    why the python gives that error? where is the problem?
    Sorry but the converter can't deal with rigid_model_v2.

    Under the patronage of wangrin my workshop

  3. #3
    KnightErrant's Avatar Decanus
    Join Date
    Jan 2007
    Location
    Huntsville, Alabama USA
    Posts
    578

    Default Re: Python converter for .variant_weighted_mesh model

    I don't think anyone is listening to my posts. I DON'T OWN THE GAME! I have Euro_line_infantry_lod1,
    lod2, lod3, and lod4.variant_weighted_mesh because Stefaneke sent them to me back at the start of
    July. Of course the converter works for them because it was developed on them and them alone. I need
    some examples of .variant_weighted_mesh files that DON'T WORK to find out what the differences are
    in the format. Sorry about the capital letters, I didn't mean to shout. Please PM an upload link of a
    particular file that's giving a problem and I can work on it.

  4. #4

    Default Re: Python converter for .variant_weighted_mesh model

    Thats what we are trying to figure out Ke, so far i was able to convert forth and back any vanilla model i tryd, i was even able to delete and move some verts and it still worked, but at some point it doesnt work anymore. First i thought hes pissed because i completly removed a whole part, but he doesnt care aparently, i think most problems resolve out of a misunderstanding. Most errors i get are like: could not find any faces using vertex index... I have no idea whats causing this, but these errors are about 2/3 of the responses i get. If i remove the body part which is causing the problem i may be able to convert it.

    Cant figure out yet how to find the issue with this though.

  5. #5

    Default Re: Python converter for .variant_weighted_mesh model

    I'm on converting all Units to ms3d and will convert one lod then back to mesh. This way we should sort out which unit make the problem, if there is a general problem with some units. So far i had some lod's that ei can't convert (lod3 and lod4 of some Campaign models), but i think that not a problem with the converter, but damaged models from CA, as those lods are not used in game. The only full model i can't convert yet is euro_king_and_courtiers. But i think they are not used in game, so i have to figure out if i met a converter problem or if this model is damaged by release.
    Bladerunner
    Koeniglich Preussische Marine
    Sealords Virtual Fleets

    Sealords Minimod: http://www.twcenter.net/forums/showthread.php?t=274322
    Sealords Total War Mod: http://www.twcenter.net/forums/showthread.php?t=246265

  6. #6

    Default Re: Python converter for .variant_weighted_mesh model

    Ok, ready with the try to convert all Model and LOD's and To reconvert all lod1's. Here is the result:

    Spoiler Alert, click show to read: 

    Not Convertable at all
    ---------------------
    campaign_native_american_general_lod3
    campaign_native_american_general_lod4
    campaign_ottoman_commodore_lod3
    campaign_ottoman_commodore_lod4
    campaign_soldier_base
    euro_king_and_courtiers_lod1
    euro_king_and_courtiers_lod2
    euro_king_and_courtiers_lod3
    euro_king_and_courtiers_lod4

    Not Backconvertable
    --------------------
    armed_citizenry_europe_lod1
    barbary_pirates_lod1
    bashi_bazouks_lod1
    campaign_euro_admiral_lod1
    campaign_euro_catholic_priest_lod1
    campaign_euro_colonel_lod1
    campaign_euro_general_lod1
    campaign_euro_gentleman_lod1
    campaign_euro_protestant_missionary_lod1
    campaign_euro_rake_lod1
    campaign_indian_brahmin_lod1
    campaign_indian_colonel_lod1
    campaign_indian_general_lod1
    campaign_indian_thuggee_lod1
    campaign_john_smith_lod1
    campaign_maratha_confederacy_lod1
    campaign_native_american_colonel_lod1
    campaign_native_american_general_lod1
    campaign_native_american_spy_lod1
    campaign_ottoman_admiral_lod1
    campaign_ottoman_assassin_lod1
    campaign_ottoman_colonel_lod1
    campaign_ottoman_general_lod1
    campaign_ottoman_imam_lod1
    campaign_washington_lod1
    campaign_washington_young_lod1
    croatian_grenzers_lod1
    deaths_head_hussar_lod1
    east_armed_citizenry_india_lod1
    east_armed_citizenry_middle_east_lod1
    east_armed_peasantry_bhumiya_lod1
    east_armed_peasantry_tufangis_lod1
    east_artillerymen_lod1
    east_azzars_lod1
    east_desert_nomads_black_lod1
    east_desert_nomads_lod1
    east_ethnic_hillmen_musketeers_afghan_lod1
    east_ethnic_hillmen_musketeers_lod1
    east_ethnic_musketmen_bargir_lod1
    east_ethnic_musketmen_fellahin_lod1
    east_ethnic_musketmen_lod1
    east_ethnic_peasants_firelocks_lod1
    east_ethnic_peasants_fodder_lod1
    east_ethnic_swordsmen_lod1
    east_ethnic_warriors_dervish_lod1
    east_guard_cavalry_ahadis_lod1
    east_indian_admiral_lod1
    east_indian_artilleryman_lod1
    east_indian_colonel_lod1
    east_indian_general_lod1
    east_indian_infantry_lod1
    east_islamic_swordsmen_lod1
    east_lancers_lod1
    east_lancers_silladar_lod1
    east_landless_rabble_bhumiya_lod1
    east_qizilbashi_light_cavalry_lod1
    east_sikh_infantry_musketeers_lod1
    east_sikh_warriors_lod1
    east_sipahi_lod1
    east_war_elephant_musketry_howdah_lod1
    east_zamindari_lod1
    episodic_armoured_lod1
    episodic_guncrew_lod1
    episodic_john_smith_lod1
    episodic_militia_lod1
    episodic_musketman_lod1
    episodic_officer_lod1
    episodic_washington_lod1
    episodic_washington_young_lod1
    euro_able_seamen_lod1
    euro_admiral_lod1
    euro_american_rangers_lod1
    euro_artillery_lod1
    euro_bicorne_lod1
    euro_carabiniers_lod1
    euro_colonel_lod1
    euro_commodore_lod1
    euro_cuirassiers_lod1
    euro_dragoons_lod1
    euro_elite_artillery_lod1
    euro_elite_light_infantry_lod1
    euro_elite_light_infantry_windbuchse_jaegers_lod1
    euro_foot_artillery_lod1
    euro_garrison_artillery_lod1
    euro_grenadiers_bearskin_lod1
    euro_grenadiers_lod1
    euro_guerillas_lod1
    euro_highlander_regular_lod1
    euro_highlanders_lod1
    euro_horse_artillery_lod1
    euro_hungarian_hussars_lod1
    euro_hussars_lod1
    euro_lancers_lod1
    euro_late_riflemen_lod1
    euro_light_cavalry_lod1
    euro_light_dragoons_lod1
    euro_long_rifleman_lod1
    euro_marines_lod1
    euro_militia_infantry_lod1
    euro_minutemen_lod1
    euro_musician1_lod1
    euro_musician2_lod1
    euro_native_company_cavalry_lod1
    euro_officer1_lod1
    euro_officer2_lod1
    euro_officer_mid_lod1
    euro_pikeman_lod1
    euro_pirate_lod1
    euro_pirate_officer_lod1
    euro_polish_winged_hussars_lod1
    euro_provincial_cavalry_lod1
    euro_rangers_frontiersmen_lod1
    euro_regiment_of_horse_lod1
    euro_republican_conscript_infantry_lod1
    euro_republican_guard_lod1
    euro_sepoys_lod1
    euro_superior_line_infantry_lod1
    guard_infantry_lod1
    highland_clansmen_lod1
    horse_grenadier_guards_lod1
    household_cavalry_lod1
    life_guards_lod1
    mameluks_lod1
    native_american_archers_lod1
    native_american_braves_lod1
    native_american_chief_lod1
    native_american_colonel_lod1
    native_american_elite_lod1
    native_american_general_lod1
    native_american_medicineman_lod1
    native_american_mounted_braves_lod1
    native_american_musketeer_lod1
    netherlands_holland_guards_lod1
    netherlands_horse_guards_lod1
    norwegian_ski_troops_lod1
    ottoman_admiral_lod1
    ottoman_beylick_grenadiers_lod1
    ottoman_beylick_janissaries_lod1
    ottoman_colonel_lod1
    ottoman_commodore_lod1
    ottoman_deli_scout_lod1
    ottoman_general_lod1
    ottoman_nizam_y_cedid_infantry_lod1
    ottoman_nizam_y_cedid_light_infantry_lod1
    ottoman_nizam_y_cedid_lod1
    ottoman_nizam_y_cedid_rifles_lod1
    ottoman_sekban_grenadiers_lod1
    ottoman_sekban_janissaries_lod1
    pandours_lod1
    prussia_garde_du_corp_lod1
    prussia_grenadiers_lod1
    prussia_leib_grenadiers_lod1
    riskers_of_souls_lod1
    rogers_rangers_lod1
    russia_grenadiers_lod1
    spain_grenadiers_lod1
    spain_guardias_de_corps_lod1
    spain_guardias_de_infanteria_lod1
    spanish_guerrila_lod1
    steppe_cavalry_lod1
    streltsy_foot_lod1
    streltsy_horse_lod1
    stretlsy_cavalry_lod1
    stretlsy_infantry_lod1
    sweden_livgarde_till_hast_lod1
    sweden_svea_livgarde_lod1
    wild_geese_lod1

    Convertable
    -----------
    african_slaver_musketeers_lod1_backconverted
    african_tribal_lod1_backconverted
    armed_citizenry_africa_lod1_backconverted
    campaign_euro_orthodox_missionary_lod1_backconverted
    campaign_indian_scholar_lod1_backconverted
    campaign_ottoman_commodore_lod1_backconverted
    campaign_ottoman_scholar_lod1_backconverted
    cossack_cavalry_lod1_backconverted
    cossack_hetman_lod1_backconverted
    cossack_infantry_lod1_backconverted
    dahomey_amazons_lod1_backconverted
    east_ethnic_musketmen_mughal_musketeers_lod1_backconverted
    east_ethnic_swordsmen_hindu_warriors_lod1_backconverted
    eastern_musician1_lod1_backconverted
    eastern_musician2_lod1_backconverted
    eastern_officer1_lod1_backconverted
    eastern_officer2_lod1_backconverted
    episodic_american_chief_lod1_backconverted
    episodic_euro_american_lod1_backconverted
    euro_african_infantry_lod1_backconverted
    euro_company_cavalry_lod1_backconverted
    euro_company_infantry_lod1_backconverted
    euro_equipment_backconverted
    euro_expat_infantry_lod1_backconverted
    euro_general_and_staff_officers_lod1_backconverted
    euro_heavy_cavalry_lod1_backconverted
    euro_jaeger_lod1_backconverted
    euro_light_infantry_lod1_backconverted
    euro_line_infantry_lod1_backconverted
    euro_officer_bicorne_lod1_backconverted
    euro_prussia_jaeger_lod1_backconverted
    ghoorkas_lod1_backconverted
    ottoman_cemaat_grenadiers_lod1_backconverted
    ottoman_cemaat_janissaries_lod1_backconverted
    siberian_hunters_lod1_backconverted


    As you see, while i can convert most into ms3d, i can't reconvert them into mesh, although i made no changes to the models. I will try to put a rar together with as much models as possible (only lod1, as this should be enough and not more than 100mb as this is the limit for a single DL at RS) and upload it.

    here are the phyton-messages i get on reconverting armed_citizenry_europe_lod1:
    Spoiler Alert, click show to read: 

    Reading ms3d file: F:/ETW-Modding/converter/armed_citizenry_europe_lod1.ms3d
    Read ms3d vertex section
    Read ms3d triangle section
    Read ms3d group section
    Read ms3d material section
    Read ms3d keyframer data
    Read ms3d joint section
    Read ms3d first subversion number
    Read ms3d group comment section
    Read ms3d material comment section, number of comments = 0
    Read ms3d joint comment section
    hasmodelcomment == 1
    modelcomment is 13
    light_scale +1.00000000
    offsetu0 +0.00000000
    offsetv0 +0.00000000
    offsetu1 +0.00000000
    offsetv1 +0.00000000
    bumpfactor +1.00000000
    specpower +2.00000000
    specbrightness +1.50000000
    specularfresnelpower +0.01000000
    glossfactor +2.00000000
    fresnelpower +2.00000000
    reflect_factor +0.50000000
    ambientfactor +0.60000002
    2
    colourmapfactor +1.00000000 +1.00000000 +1.00000000 +0.00000000
    specfactor +1.00000000 +1.00000000 +1.00000000 +1.00000000
    Read ms3d model comment
    Read ms3d second subversion number
    Read ms3d weight section
    13 %% light_scale +1.00000000 %% offsetu0 +0.00000000 %% offsetv0 +0.00000000
    %% offsetu1 +0.00000000 %% offsetv1 +0.00000000 %% bumpfactor +1.00000000 %%
    specpower +2.00000000 %% specbrightness +1.50000000 %% specularfresnelpower
    +0.01000000 %% glossfactor +2.00000000 %% fresnelpower +2.00000000 %% reflect_
    factor +0.50000000 %% ambientfactor +0.60000002 %% 2 %% colourmapfactor +1.00
    000000 +1.00000000 +1.00000000 +0.00000000 %% specfactor +1.00000000 +1.000
    00000 +1.00000000 +1.00000000
    13
    light_scale +1.00000000
    offsetu0 +0.00000000
    offsetv0 +0.00000000
    offsetu1 +0.00000000
    offsetv1 +0.00000000
    bumpfactor +1.00000000
    specpower +2.00000000
    specbrightness +1.50000000
    specularfresnelpower +0.01000000
    glossfactor +2.00000000
    fresnelpower +2.00000000
    reflect_factor +0.50000000
    ambientfactor +0.60000002
    2
    colourmapfactor +1.00000000 +1.00000000 +1.00000000 +0.00000000
    specfactor +1.00000000 +1.00000000 +1.00000000 +1.00000000
    ipart = 0, (min,max) = 0, 15
    ipart = 1, (min,max) = 16, 477
    ipart = 2, (min,max) = 478, 1033
    ipart = 3, (min,max) = 1034, 1321
    ipart = 4, (min,max) = 1322, 1609
    ipart = 5, (min,max) = 1610, 1897
    ipart = 6, (min,max) = 1898, 2191
    ipart = 7, (min,max) = 2192, 2811
    ipart = 8, (min,max) = 2812, 3225
    ipart = 9, (min,max) = 3226, 3697
    ipart = 10, (min,max) = 3698, 3930
    ipart = 11, (min,max) = 3931, 4504
    ipart = 12, (min,max) = 4505, 4737
    ipart = 13, (min,max) = 4738, 5153
    ipart = 14, (min,max) = 5154, 5485
    Exception in Tkinter callback
    Traceback (most recent call last):
    File "C:\Python26\lib\lib-tk\Tkinter.py", line 1410, in __call__
    return self.func(*args)
    File "F:\ETW-Modding\converter\ETWvariant_weighted_meshConverter_v1_0.py", lin
    e 6058, in ms3d2meshConverterButton
    backVWMobj.partsection = ms3dobj.makeVWMPartSection( bonepalette )
    File "F:\ETW-Modding\converter\ETWvariant_weighted_meshConverter_v1_0.py", lin
    e 4617, in makeVWMPartSection
    idet = 1.0 / ( s1 * t2 - s2 * t1 )
    ZeroDivisionError: float division
    Last edited by Bladerunner; August 14, 2009 at 07:56 AM.
    Bladerunner
    Koeniglich Preussische Marine
    Sealords Virtual Fleets

    Sealords Minimod: http://www.twcenter.net/forums/showthread.php?t=274322
    Sealords Total War Mod: http://www.twcenter.net/forums/showthread.php?t=246265

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •