offset new bike?.ebm (PW-5)

Results 1 to 22 of 22
  1. #1
    Banned GODSKIN is offline
    BannedRank
    Aug 2011 Join Date
    กรุงเLocation
    1,433Posts

    information offset new bike?.ebm (PW-5)


    this is topic develop need all user help and test for full working thanks


    now I found only 2 offset

    [Offset] : Load bike26.ebm
    008D46FA 83FF 1A CMP EDI,1B
    00484455 83F8 1A CMP EAX,1B

    [Bug]
    - Astral Blue bike Bug : efx like same PW-5 and after Summoned Bike blue games some time
    - Astral PW-5 : can't combo after use chain attack = games crash

    1A hex = 26 = Load max bike25.ebm bike0-25.ebm = 26
    1B hex = 27 = Load max bike26.ebm bike0-26.ebm = 27


    Please do not be selfish

    Last edited by AzureSensei; 27-03-17 at 04:11 AM. Reason: Restored


  2. #2
    .:[5kR1p7 k1dd13]:. x30unlimited is offline
    MemberRank
    Jan 2009 Join Date
    367Posts

    Re: offset new bike?.ebm

    you need to increase the storage space ... the current main can only store 26 pointers, you need to increase it to avoid overwrite

  3. #3
    LEARNING PX2000 is offline
    MemberRank
    May 2009 Join Date
    Cagayan de Oro,Location
    417Posts

    Re: offset new bike?.ebm

    Quote Originally Posted by x30unlimited View Post
    you need to increase the storage space ... the current main can only store 26 pointers, you need to increase it to avoid overwrite
    any hint on that storage space?

  4. #4
    .:[5kR1p7 k1dd13]:. x30unlimited is offline
    MemberRank
    Jan 2009 Join Date
    367Posts

    Re: offset new bike?.ebm

    Quote Originally Posted by PX2000 View Post
    any hint on that storage space?
    try to simply read what godskin's first breakpoint is doing :D u'll understand when looking at pointer memory :P

  5. #5
    LEARNING PX2000 is offline
    MemberRank
    May 2009 Join Date
    Cagayan de Oro,Location
    417Posts

    Re: offset new bike?.ebm

    Quote Originally Posted by x30unlimited View Post
    try to simply read what godskin's first breakpoint is doing :D u'll understand when looking at pointer memory :P
    k i will try

  6. #6
    .:[5kR1p7 k1dd13]:. x30unlimited is offline
    MemberRank
    Jan 2009 Join Date
    367Posts

    Re: offset new bike?.ebm (PW-5)

    Code:
    008D4571  |> /8974BD 74     MOV DWORD PTR SS:[EDI*4+EBP+74],ESI
    008D45BA  |> \89B4BD DC0000 MOV DWORD PTR SS:[EDI*4+EBP+0DC],ESI
    008D45FC  |.  89B4BD 440100 MOV DWORD PTR SS:[EDI*4+EBP+144],ESI
    008D4675  |> \89B4BD AC0100 MOV DWORD PTR SS:[EDI*4+EBP+1AC],ESI
    008D46B7  |.  89B4BD 140200 MOV DWORD PTR SS:[EDI*4+EBP+214],ESI
    as you can see 214 - 1AC = 68, 1AC- 144 = 68, 144 - DC = 68, DC - 74 = 68
    68 in dec is 104 = 26*4 this means it can only store 26 pointers (pointer size is 4 bytes)
    so that's what you need to increase it progressively :D good luck, note those are only the load function's addresses, you need to also find the rest :D

    i expect you NOT to release an already modified cabalmain with this (spoon-feed), just the asm modifications done to make it work correctly, so other developers can implement it too :)

  7. #7
    Banned GODSKIN is offline
    BannedRank
    Aug 2011 Join Date
    กรุงเLocation
    1,433Posts

    Re: offset new bike?.ebm (PW-5)

    hope PX2000 fixed
    thx x30

  8. #8
    LEARNING PX2000 is offline
    MemberRank
    May 2009 Join Date
    Cagayan de Oro,Location
    417Posts

    Re: offset new bike?.ebm (PW-5)

    Quote Originally Posted by x30unlimited View Post
    i expect you NOT to release an already modified cabalmain with this (spoon-feed), just the asm modifications done to make it work correctly, so other developers can implement it too :)
    Okey sir...

  9. #9
    Member China- is offline
    MemberRank
    Sep 2009 Join Date
    54Posts

    Re: offset new bike?.ebm (PW-5)

    ------------------------------
    00484455
    cmp eax,1A => cmp eax,1B

    008d46fa
    cmp edi,1A => cmp edi,1B
    ------------------------------
    Enjoy !
    Last edited by cypher; 03-12-13 at 02:35 PM. Reason: restored post

  10. #10
    The Cat in the Hat cypher is offline
    MemberRank
    Oct 2005 Join Date
    IrelandLocation
    5,073Posts

    Re: offset new bike?.ebm (PW-5)

    Restored content. Please don't delete it again. Thank you.

  11. #11
    wWw.F403.OrG S37uP!Update is offline
    MemberRank
    Oct 2008 Join Date
    F403.ORGLocation
    1,304Posts

    Re: offset new bike?.ebm (PW-5)

    Ok, i've added a new line in Item.enc/Item.scp changed value to 26, Changed to 1B in cabalmain.
    But
    Data\FX\EFX\Item\bike\bike26_on.efx
    Data\FX\EFX\Item\bike\bike26_off.efx
    Data\FX\EFX\Item\bike\bike_26move.efx
    this items must be added in Data.enc? If yes, how i connect bike animations to data.enc line number? Where do i must edit/add that?

  12. #12
    Account Upgraded | Title Enabled! joel de paula is offline
    MemberRank
    May 2011 Join Date
    414Posts

    Re: offset new bike?.ebm (PW-5)

    dude you must edit the xdata.enc also so you can see pw5

  13. #13
    Valued Member henkypenky is offline
    MemberRank
    Dec 2013 Join Date
    109Posts

    Re: offset new bike?.ebm (PW-5)

    One question guys, how do i connect all the animations (on, off, move, and item for inventory) to the bike26.ebm? Right now i see an invisible item, with the right properties but i'm lacking all the animations.

    Regards,
    Henky

  14. #14
    Proficient Member walkernight88 is offline
    MemberRank
    Aug 2008 Join Date
    /etc/cabal/dataLocation
    192Posts

    Re: offset new bike?.ebm (PW-5)

    the ebm has the animations inside of it... o.O after load you need to make this bike pass the switch conditions... good luck and have fun :P

  15. #15
    Valued Member henkypenky is offline
    MemberRank
    Dec 2013 Join Date
    109Posts

    Re: offset new bike?.ebm (PW-5)

    You mean opening the bike26.ebm and link it with the on, off, move and inv view (so it's not invisible), and do i have to modifiy anything in cabal.enc, xdata.enc and data.enc?

    What do you mean by "pass the switch conditions"?

  16. #16
    Proficient Member walkernight88 is offline
    MemberRank
    Aug 2008 Join Date
    /etc/cabal/dataLocation
    192Posts

    Re: offset new bike?.ebm (PW-5)

    cabalmain.exe has some cases when you use bike/boards/sleight bla bla bla... those are "switch cases" :) have fun finding and messing up with them :D

    PS: This way was used on Ep2... I don't know if they kept the same loading method for those bike/board files. But you can give it a shot :P
    Last edited by walkernight88; 26-01-14 at 12:18 AM.

  17. #17
    Valued Member henkypenky is offline
    MemberRank
    Dec 2013 Join Date
    109Posts

    Re: offset new bike?.ebm (PW-5)

    I did this: 00484455
    cmp eax,1A => cmp eax,1B

    008d46fa
    cmp edi,1A => cmp edi,1B

    That means i can load more bikes, so i added bike 26.ebm synced it with item.enc and item.scp but now i need to do what you are saying, sorry but i don't follow you, i don't know how i can sync all the on/off/move .ebm's

    Sorry

  18. #18
    Proficient Member walkernight88 is offline
    MemberRank
    Aug 2008 Join Date
    /etc/cabal/dataLocation
    192Posts

    Re: offset new bike?.ebm (PW-5)

    What i've been saying, is after selecting a case of bike/board, it converts character to character+bike (model), then uses the animations from EMB. Replaces the animations from ech with those from ebm, while bike is on. I bet is this way... (replaces - uses) :P

    Your char won't walk / run if it's on bike/board. So char uses bike-ebm animations.

    And it's not about that offset, did you even check what it does ? Use IDA to look at function in graph mode...

  19. #19
    Valued Member henkypenky is offline
    MemberRank
    Dec 2013 Join Date
    109Posts

    Re: offset new bike?.ebm (PW-5)

    Wook seems that i'm getting into something i can't quite understand yet. I appreciate all your help budd honestly ^^-

    Regards,

  20. #20
    Account Upgraded | Title Enabled! joel de paula is offline
    MemberRank
    May 2011 Join Date
    414Posts

    Re: offset new bike?.ebm (PW-5)

    someone discovered the solutions to these errors already?
    BUG
    - Astral Bike Blue Bug: same efx like PW-5 and after some games blue Summoned Bike Team
    - Astral PW-5: can not use chain combo after attack = game crash

  21. #21
    Account Upgraded | Title Enabled! Annabeth is offline
    MemberRank
    Sep 2011 Join Date
    222Posts

    Re: offset new bike?.ebm (PW-5)

    how fix animation? use combo PW5 crash game
    use blue bike crash game..

  22. #22
    Trying to be developer ^^ Dens666 is offline
    MemberRank
    Jul 2010 Join Date
    PolandLocation
    1,080Posts

    Re: offset new bike?.ebm (PW-5)

    Just bike_26 and more gives crashes. Many people have fix but no one want to share :D



Advertisement