Results 1 to 19 of 19

Thread: Mighty EB coders, I plea for your help

  1. #1

    Default Mighty EB coders, I plea for your help

    Or, in a less dramatic way, I was hoping if you could give me some tips on a problem you faced in EB's development.

    During EB's earlier versions roman and greek cultures have been swapped and as everyone knows it works fine.
    I've been trying to do the same for XC but despite my best attempts I keep getting CTD on exit and lesser overall stability.

    If by any chance any of the coders who did that are still around, would you be so kind to give me a few tips?

    Thanks!
    The best is yet to come.
    ZX MiniMod: Where MTW meets AOE
    https://www.wmwiki.com/hosted/ZxMod.exe
    Now on beta 3 with playable golden horde!



  2. #2
    Xsaçapāvan é Skudra Member Atraphoenix's Avatar
    Join Date
    Jul 2008
    Location
    İstanbul, Turkey
    Posts
    1,402

    Wink Re: Mighty EB coders, I plea for your help

    Quote Originally Posted by Zarax View Post
    Or, in a less dramatic way, I was hoping if you could give me some tips on a problem you faced in EB's development.

    During EB's earlier versions roman and greek cultures have been swapped and as everyone knows it works fine.
    I've been trying to do the same for XC but despite my best attempts I keep getting CTD on exit and lesser overall stability.

    If by any chance any of the coders who did that are still around, would you be so kind to give me a few tips?

    Thanks!
    What kind of modification are you planning exactly.
    I modded, traits, ancillaries, faction names, movement points, EDU, EDB, DMB even added religion to EB but while adding religion traits it CTD. So I think you can add alex religion but not conversion traits.

    If you aim around this files I can help but I have no info on scripting or modelling or modding map.

    P.S. I am not a member of EB team.
    Last edited by Atraphoenix; 06-10-2009 at 15:50.



    My Submods for EB
    Spoiler Alert, click show to read: 
    My AAR/Guides How to assault cities with Horse Archers? RISE OF ARSACIDS! (A Pahlava AAR) - finished
    History is written by the victor." Winston Churchill

  3. #3

    Default Re: Mighty EB coders, I plea for your help

    Like I said, I'm trying to swap culture between the greek and roman factions.
    The simple aim of this is to enable the romano-british trick with baktria in order to emulate the rebelling satrapies.
    The best is yet to come.
    ZX MiniMod: Where MTW meets AOE
    https://www.wmwiki.com/hosted/ZxMod.exe
    Now on beta 3 with playable golden horde!



  4. #4
    Xsaçapāvan é Skudra Member Atraphoenix's Avatar
    Join Date
    Jul 2008
    Location
    İstanbul, Turkey
    Posts
    1,402

    Default Re: Mighty EB coders, I plea for your help

    Quote Originally Posted by Zarax View Post
    Like I said, I'm trying to swap culture between the greek and roman factions.
    The simple aim of this is to enable the romano-british trick with baktria in order to emulate the rebelling satrapies.
    romani-british was a special faction in BI, it had some hardcodes as well, I hope its culture is not hardcoded, too.

    Are you planning mod BI files instead of RTW or just panning to mod so as to play under BI?
    If it does not work you can utilize religion system as culture, in fact I gave up to add religion alex EB but to add cultures under religion modification you can have a different but a insured way under BI.
    Last edited by Atraphoenix; 06-10-2009 at 16:05.



    My Submods for EB
    Spoiler Alert, click show to read: 
    My AAR/Guides How to assault cities with Horse Archers? RISE OF ARSACIDS! (A Pahlava AAR) - finished
    History is written by the victor." Winston Churchill

  5. #5

    Default Re: Mighty EB coders, I plea for your help

    I'm doing it to play with the BI exe.
    I already swapped seleucids and romano-british, all I need to do is to make them roman and to make the romans greek internally.
    Everything else worked like a charm (parthia rebels perfectly with their trigger) except that one thing.

    As this was done before successfully by the EB team I was wondering if they could give me a tip.
    The best is yet to come.
    ZX MiniMod: Where MTW meets AOE
    https://www.wmwiki.com/hosted/ZxMod.exe
    Now on beta 3 with playable golden horde!



  6. #6
    Guest Aemilius Paulus's Avatar
    Join Date
    Aug 2008
    Location
    Russia/Europe in the summer, Florida rest of the time
    Posts
    3,473

    Question Re: Mighty EB coders, I plea for your help

    Quote Originally Posted by Atraphoenix View Post
    romani-british was a special faction in BI, it had some hardcodes as well, I hope its culture is not hardcoded, too.
    Really? Why? I knwo it was emerging, but quite a bit of other factions were as well. So why, I am curious?

  7. #7

    Default Re: Mighty EB coders, I plea for your help

    Do you mean romano-british or baktria and parthia?
    The best is yet to come.
    ZX MiniMod: Where MTW meets AOE
    https://www.wmwiki.com/hosted/ZxMod.exe
    Now on beta 3 with playable golden horde!



  8. #8
    Xsaçapāvan é Skudra Member Atraphoenix's Avatar
    Join Date
    Jul 2008
    Location
    İstanbul, Turkey
    Posts
    1,402

    Default Re: Mighty EB coders, I plea for your help

    romano-british has some engine related codes but I really do not know the details, the only thing I know patch 1.6 for BI enabled playing with them.



    My Submods for EB
    Spoiler Alert, click show to read: 
    My AAR/Guides How to assault cities with Horse Archers? RISE OF ARSACIDS! (A Pahlava AAR) - finished
    History is written by the victor." Winston Churchill

  9. #9

    Default Re: Mighty EB coders, I plea for your help

    I am aware of the codes but that's not really the subject of the original post.
    What my problem is comes before that (in fact I didn't even try the final steps of the implementation yet) as I need to have a stable code before adding features.

    As for the rest of BI sensitive code I pretty much managed to use every other available bit in XC, meaning that the seleucids also gets this:
    The best is yet to come.
    ZX MiniMod: Where MTW meets AOE
    https://www.wmwiki.com/hosted/ZxMod.exe
    Now on beta 3 with playable golden horde!



  10. #10

    Default Re: Mighty EB coders, I plea for your help

    Quote Originally Posted by Zarax View Post
    Or, in a less dramatic way, I was hoping if you could give me some tips on a problem you faced in EB's development.

    During EB's earlier versions roman and greek cultures have been swapped and as everyone knows it works fine.
    I've been trying to do the same for XC but despite my best attempts I keep getting CTD on exit and lesser overall stability.

    If by any chance any of the coders who did that are still around, would you be so kind to give me a few tips?

    Thanks!
    That would have been during the port from RTW 1.2 to 1.5 which is a good 2 and half years (or thereabouts) ago. Since I wasn't a EB member at the time I can't really vouch for this, but I would hazard a guess and say that there never really was a swap: what appears as a swap is simply the effect of starting from scratch with the basics (porting over the factions in terms of descr_sm_factions and required symbols and such) and then gradually port code including updating the old references to cultures (that can be done reliably with N + 1 search and replace operations for N cultures) ...

    As a matter of fact an artefact of the EB cultures is the abundance of "Western Greek" buildings: IIRC Foot once theorized a fix for this which had to do with how cultures are ordered.
    Last edited by Tellos Athenaios; 06-10-2009 at 17:26.
    - Tellos Athenaios
    CUF tool - XIDX - PACK tool - SD tool - EVT tool - EB Install Guide - How to track down loading CTD's - EB 1.1 Maps thread


    ὁ δ᾽ ἠλίθιος ὣσπερ πρόβατον βῆ βῆ λέγων βαδίζει” – Kratinos in Dionysalexandros.

  11. #11
    Xsaçapāvan é Skudra Member Atraphoenix's Avatar
    Join Date
    Jul 2008
    Location
    İstanbul, Turkey
    Posts
    1,402

    Default Re: Mighty EB coders, I plea for your help

    Quote Originally Posted by Zarax View Post
    I am aware of the codes but that's not really the subject of the original post.
    What my problem is comes before that (in fact I didn't even try the final steps of the implementation yet) as I need to have a stable code before adding features.

    As for the rest of BI sensitive code I pretty much managed to use every other available bit in XC, meaning that the seleucids also gets this:
    faction seleucid, spawned_on_event
    In BI it should be like that
    faction romano-british, spawned_on_event
    to get seleucids respawn there should be this code.
    check this if the assigned faction (seleucid) has this code delete it, if there is no code, there should be something unknown on BI.
    also this message is coded in descr_advice.txt scan it for seleucids.
    Last edited by Atraphoenix; 06-10-2009 at 17:41.



    My Submods for EB
    Spoiler Alert, click show to read: 
    My AAR/Guides How to assault cities with Horse Archers? RISE OF ARSACIDS! (A Pahlava AAR) - finished
    History is written by the victor." Winston Churchill

  12. #12

    Default Re: Mighty EB coders, I plea for your help

    Quote Originally Posted by Atraphoenix View Post
    to get seleucids respawn there should be this code.
    check this if the assigned faction (seleucid) has this code delete it, if there is no code, there should be something unknown on BI.
    also this message is coded in descr_advice.txt scan it for seleucids.
    Atraphoenix, as I said I have no problem with that and it's been already solved.
    Unfortunately it seems that the original purpose of this thread has been fulfilled and looks like I will have to look for different ways of solving the culture swap issue.

    Admin, you can close the thread to avoid spam. Thanks for you answer Tellos.
    Last edited by Zarax; 06-10-2009 at 17:47.
    The best is yet to come.
    ZX MiniMod: Where MTW meets AOE
    https://www.wmwiki.com/hosted/ZxMod.exe
    Now on beta 3 with playable golden horde!



  13. #13
    EBII Mod Leader Member Foot's Avatar
    Join Date
    Apr 2005
    Location
    Brighton, East Sussex, England (GMT)
    Posts
    10,736

    Default Re: Mighty EB coders, I plea for your help

    There was a swap, as can be seen by the fact that two of the roman factions are now in the eastern greek faction, the third is in the eastern culture group, and the fourth, saba nee senate, is in the semetic culture group.

    what files are you changing to faciliate the culture swap?

    Foot
    EBII Mod Leader
    Hayasdan Faction Co-ordinator


  14. #14

    Default Re: Mighty EB coders, I plea for your help

    Thanks for you answer Foot.
    here's the list of files I changed:

    descr_banners
    descr_cultures
    export_descr_character_traits
    export_descr_sounds_stratmap_voice
    descr_offmap_models
    descr_sm_factions
    export_descr_sounds_prebattle
    export_descr_sounds_units_voice

    Am I missing something obvious?
    The best is yet to come.
    ZX MiniMod: Where MTW meets AOE
    https://www.wmwiki.com/hosted/ZxMod.exe
    Now on beta 3 with playable golden horde!



  15. #15
    EBII Mod Leader Member Foot's Avatar
    Join Date
    Apr 2005
    Location
    Brighton, East Sussex, England (GMT)
    Posts
    10,736

    Default Re: Mighty EB coders, I plea for your help

    Are you renaming the internal names of either the factions or cultures?

    Foot
    EBII Mod Leader
    Hayasdan Faction Co-ordinator


  16. #16

    Default Re: Mighty EB coders, I plea for your help

    Both, even though in different tranches.
    Before that I renamed several factions and assigned the proper culture to them without problems.

    The thing is as soon as you just swap the two cultures in descr_sm_factions you get EDB errors upon exit which makes no sense, and further changes aggravates it into a CTD on exit, even though it's relatively stable in game.

    It would be a shame if my attempt would be unsuccessful as early tests with emerging parthia are a blast as seleucids as if you focus a lot of resources in the east to keep the population under control you most likely won't have enough cash to face the ptolemies in the west, most likely loosing Anthioch with the best starting barracks.

    EDIT: I can provide the beta code if needed, it's not like it uses industrial secrets after all...
    Last edited by Zarax; 06-10-2009 at 20:18.
    The best is yet to come.
    ZX MiniMod: Where MTW meets AOE
    https://www.wmwiki.com/hosted/ZxMod.exe
    Now on beta 3 with playable golden horde!



  17. #17
    EBII Mod Leader Member Foot's Avatar
    Join Date
    Apr 2005
    Location
    Brighton, East Sussex, England (GMT)
    Posts
    10,736

    Default Re: Mighty EB coders, I plea for your help

    I would suggest gutting the edb

    EDB: Remove all requirement lines after the faction brackets (and removing all factions within brackets - replace with "{ all, }"). Remove all capability lines as well.

    Foot
    EBII Mod Leader
    Hayasdan Faction Co-ordinator


  18. #18

    Default Re: Mighty EB coders, I plea for your help

    Hmm, drastic but guess it could work.
    Will try progressively gutting and seeing, although that should be ok after checking with the EDB validator...
    The best is yet to come.
    ZX MiniMod: Where MTW meets AOE
    https://www.wmwiki.com/hosted/ZxMod.exe
    Now on beta 3 with playable golden horde!



  19. #19
    EBII Mod Leader Member Foot's Avatar
    Join Date
    Apr 2005
    Location
    Brighton, East Sussex, England (GMT)
    Posts
    10,736

    Default Re: Mighty EB coders, I plea for your help

    Its how I did EBII. I started with the barebones mod folder and then gutted every file.

    Foot
    EBII Mod Leader
    Hayasdan Faction Co-ordinator


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO