Code Monkey home page Code Monkey logo

Comments (21)

 avatar commented on May 18, 2024

I can't seem to be able to get the debugger working. I downloaded the one from purei.org that says version 0.26, and everytime I try and load any ISO image of a PS2 game it just crashes. Am I doing something wrong? Does the debugger need dependencies I am not aware of?

from play-.

jpd002 avatar jpd002 commented on May 18, 2024

Well, if it crashes right at the start, it might be hard to debug anything in the emulator's debugger. Are you able to build the emulator in VS2013?

I'll probably start looking in handing off release builds with the debugger included so that everyone can debug.

Otherwise, I'll try getting the game, but it looks quite rare.

from play-.

 avatar commented on May 18, 2024

Hm ... I am sort of confused on compiling Play! with the debugger. I checked the code after cloning locally and I notice there's the debug tools all part of the Windows UI itself. Is the debugger not compiled on purpose in release builds that are in the weeklies? If so, I would need to manually compile everything or change project settings to include the debugger? Sorry, but I have never used Visual Studio before.

I agree though ... I think including the debugger for everyone would be great, because not everyone knows how to compile or maturely develop software, but still could report issues on their ends with games.

from play-.

jpd002 avatar jpd002 commented on May 18, 2024

You can build a release with debugger version by changing the active configuration in Visual Studio:

release_debugger

The debugger is not included in release builds because of its overhead (nothing major, but still) and I need to do some changes before considering its inclusion in weekly builds. I'll see if I can provide a "release with debugger" build this Sunday at the same time I upload the new weekly version.

from play-.

jpd002 avatar jpd002 commented on May 18, 2024

I've posted a debugger build along side today's weekly build : http://purei.org/downloads/play/weekly/PlayDebugger-20150628.exe . Just copy the file besides your emulator's installation in C:\Program Files\Play\.

from play-.

 avatar commented on May 18, 2024

Yeah, I can barely get anything out of the debugger with Gregory Horror Show, but I caught a list of functions before it crashed and there's very little else that can be managed since it crashes instantly:
functionseegregoryhorroshow
And the ELF data, but that's about it:
elfdata

For me, at least, I still have absolutely no idea why it's crashing so quickly.

from play-.

jpd002 avatar jpd002 commented on May 18, 2024

Well if it's crashing, the only way to figure it out would be running the emulator inside Visual Studio. You can try attaching Visual Studio's debugger to the emulator's process before booting the game to see where the crash is happening.

Otherwise, I will be getting the game this week or next week, so I should be able to fix the crash once I get it.

from play-.

 avatar commented on May 18, 2024

Alright, getting a bit more now with a few cutarounds but not much else:

iodis
callstack

I guess I'll give your method a try, but it's going to be a pain to setup this emulator and compile it.

from play-.

jpd002 avatar jpd002 commented on May 18, 2024

Got the game today and after hacking in some things, I was able to get it to show something.

gregory_1
gregory_2

Crash is caused by a weird transfer from IOP to EE through SIF that has a size > 0x80000000. Clamping the size fixes the crash. I'll see if I can push a branch with fixes later on.

I can't go any further because the game doesn't respond to input. I think it's caused by some issues with thread scheduling on the IOP.

from play-.

 avatar commented on May 18, 2024

Other games are in the same boat of not responding to input either, so perhaps any changes to the IOP would help games like Animaniacs: The Great Edgar Hunt, Destroy All Humans!, and some others that do boot but don't respond to any input for some reason. Will keep a close look on any IOP changes.

from play-.

jpd002 avatar jpd002 commented on May 18, 2024

@MisterHubs Yeah, it's one of the biggest problems of the emulator right now. IOP HLE support is a bit flaky at the moment (thread scheduling is wrong, some missing kernel features, etc.)

from play-.

prafullpcsx2 avatar prafullpcsx2 commented on May 18, 2024

@jpd002 fixes to this game have been merged yet? It still crashes for me.

from play-.

jpd002 avatar jpd002 commented on May 18, 2024

I haven't merged the fixes in the master branch yet because there's some hacks in there. But here's the branch with the needed changes for the game: https://github.com/jpd002/Play-/tree/gregory

from play-.

ragekit avatar ragekit commented on May 18, 2024

I'm really glad to hear that i might finally be able to play this game !
I tried compilling the gregory branch but i have no idea how to do it (i'm not really used to compilling stuff on a pc). Any ideas when a build with those changes will be available ?

from play-.

jpd002 avatar jpd002 commented on May 18, 2024

I've been working on getting the game to a playable state those past 2 days and here's the result:

gregory_3
gregory_4
gregory_5
gregory_6
gregory_7
gregory_8

I haven't played much, but everything seems to work fine (except for the memory card). I might merge the changes needed for the game for tomorrow's build if they pass the tests.

from play-.

prafullpcsx2 avatar prafullpcsx2 commented on May 18, 2024

Awesome stuff. πŸ‘

from play-.

jpd002 avatar jpd002 commented on May 18, 2024

Today's build got the changes needed to boot the game. It's only possible to play the game on Win32 though because I had to patch the executable to fix the input problem, but this is temporary and will be fixed soon (and it might fix other games too).

Closing this since the initial issue is now fixed.

from play-.

johnnyleap avatar johnnyleap commented on May 18, 2024

Perhaps it should be noted that this will only work for the Japanese version as of now, as the patch will not work for the European version. All versions no longer crash anymore and proceed to the language select screen, but input will only work for the Japanese version of the game. Just thought I'd clarify.

from play-.

jpd002 avatar jpd002 commented on May 18, 2024

@johnnyleap Yes, that is right indeed. I'm planning to get rid of that patch ASAP and make sure both the japanese and european versions work properly.

from play-.

ADormant avatar ADormant commented on May 18, 2024

PCSX2/pcsx2#643

from play-.

jpd002 avatar jpd002 commented on May 18, 2024

The controller issue is fixed: 80dd3c1. Patch is not needed anymore. It will be available in the next weekly build.

from play-.

Related Issues (20)

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.