Giter Site home page Giter Site logo

Comments (7)

PikminGuts92 avatar PikminGuts92 commented on May 26, 2024

Following the same steps with char\funk1\anims\gen\funk1_main.milo_ps2, I'm not able to reproduce this error. I recommend starting from a clean game dump and starting over. GH2 files are very tightly coupled. It could be any number of things causing your issue.

from mackiloha.

jnackmclain avatar jnackmclain commented on May 26, 2024

I just tried again on freshly extracted retail files with Johnny. Same thing, unpack, change nothing, repack milo, build ark and iso.
This file was char\punk1\anims\gen\punk1_main.milo_ps2
This time several TLB misses popped up as well as the DMA Busy line. I am attaching my repacked milo here for the moment, as well as the program log for PCSX2. I will set up a new build env on a second machine to see if I can reproduce there as well after I submit this comment.

While I know the packed size after compression isn't going to be exactly the same, the sizes are -
The original milo is 2.78 MB (2,915,735 bytes)
The repacked milo is 2.77 MB (2,914,276 bytes)
image

from mackiloha.

PikminGuts92 avatar PikminGuts92 commented on May 26, 2024

Per the added label, I need more information. What release of GH2 is this (I tested on NTSC retail), PCSX2 version (I tested on EX v3.00.5), how did you repack the ark, how to did you rebuild iso, etc?

from mackiloha.

PikminGuts92 avatar PikminGuts92 commented on May 26, 2024

Oh wait. I'm seeing the issue now. It didn't immediately become noticeable last time I tried. I suspect it has to do with how its objects are sorted when serialized given that's the only difference between the two archives.

from mackiloha.

jnackmclain avatar jnackmclain commented on May 26, 2024

Gotcha, I see your latest comment, but for full information

GH2 NTSC retail
unpacking with arkhelper ark2dir with -a and -s flags
unpacking milo with superfreq and no flags
repack with superfreq no flags
pack ark with arkhelper ark2dir and flags -n "MAIN" -s 4073741823
built iso with imgburn for testing (how I always do for emu testing while milo hacking)
PCSX2 v1.7.0-dev-1259-g7efa96c73
BIOS USA v01.60

from mackiloha.

PikminGuts92 avatar PikminGuts92 commented on May 26, 2024

I added both CharClipGroup and CharClipSamples types, among others, to my list for ordering objects by type. Was able to play through two songs using the repacked milo without any issues. Please download and try out v153 and confirm it fixes your error. Once I hear back it works I'll close out this issue and put out an official GitHub release for once.

from mackiloha.

jnackmclain avatar jnackmclain commented on May 26, 2024

Confirmed, I repacked the initial funk_main milo that started the issue with the new version. No longer hangs on load and no more DMA error lines. Thank you very much for the quick fix!

from mackiloha.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.