Page 1 of 1

Lunar 2 Not Loading

Posted: Mon Jan 25, 2021 4:00 am
by Zorlac
Latest 01/24/2021 core. US 2.21 BIOS with core set to auto-detect. BIOS loads without issues. Game music is heard for a split second like it is trying to load, but just a black screen. This repeats over and over.

Re: Lunar 2 Not Loading

Posted: Mon Jan 25, 2021 4:32 am
by Stupid Dufus
Edit: tried with both MegaCD_20210123.rbf and MegaCD_20210124.rbf, same issue

Orig:
I just tried Lunar 2 and got the same results as above using the following:

Disc:
"Lunar - Eternal Blue (USA) (RE)" from Redump
"Lunar - Eternal Blue (Japan) (Rev A)" from Redump

Bios:
"Sega CD (USA) (v1.10)" (MD5: 2EFD74E3232FF260E371B99F84024F7F)
"Sega CD 2 US (Region Free) 930601 l_oliveira" (MD5: 14DB9657BBAA6FBB9249752424DC0CE4)

Re: Lunar 2 Not Loading

Posted: Mon Jan 25, 2021 12:55 pm
by kubbie
I am seeing the same behavior.

Re: Lunar 2 Not Loading

Posted: Mon Jan 25, 2021 1:46 pm
by aberu
What does your region say in the OSD after you load it? Also, can you test the first Lunar? There was previously a problem with CHD that was fixed regarding LBA increments, and it's possible this might still be related.

Re: Lunar 2 Not Loading

Posted: Mon Jan 25, 2021 2:44 pm
by Stupid Dufus
First Lunar 1 (NA and JP) load fine for me.

Region is set to Auto and OSD and shows "Auto (US)" when using either of the two BIOS.

I placed a Japanese bios ([BIOS] Mega-CD 2 (Japan) (v2.00C)) in the folder for Lunar 2 JP and it shows "Auto (JP)" but the game still has the same issue.

Re: Lunar 2 Not Loading

Posted: Mon Jan 25, 2021 7:04 pm
by SwedishGojira
Have this also. The files that have worked before is no longer loading. Tested both the us original and the "unworked designes" version and none of them boot.

Re: Lunar 2 Not Loading

Posted: Mon Jan 25, 2021 7:40 pm
by kubbie
First Lunar load for me without any issues

Re: Lunar 2 Not Loading

Posted: Mon Jan 25, 2021 7:53 pm
by mario64
Confirmed. Lunar 2 is broken after the recent changes.

Re: Lunar 2 Not Loading

Posted: Mon Jan 25, 2021 11:02 pm
by blacklistedcard
+1 I tested before running the update script and pulling down the latest rfb of the megaCD and after. Lunar External Blue stopped working after the update.

Re: Lunar 2 Not Loading

Posted: Wed Jan 27, 2021 4:08 pm
by aberu
Which BIOS are you using and what is the CRC32 hash of it?

I'll try and confirm this when I get home tonight and report it on github if the issue is the same for me after testing around a bit.

Re: Lunar 2 Not Loading

Posted: Wed Jan 27, 2021 6:51 pm
by aberu
Just compiled 3 cores, the current region code change from sorg (20210127), the previous region code change from shane (20210105), and the last update just before shane's region code change (20201119).

You can try those out, that way you aren't rolling all the way back as far, maybe the problem occurred in between somewhere. I'm thinking shane's fix or sorg's fix, but maybe it happened before that as well...

Re: Lunar 2 Not Loading

Posted: Wed Jan 27, 2021 9:36 pm
by SwedishGojira
aberu wrote: Wed Jan 27, 2021 6:51 pm You can try those out, that way you aren't rolling all the way back as far, maybe the problem occurred in between somewhere.
Thanks, but all of these cores exhibit the same problem and will not load Lunar 2 and some other Sega CD games. The first time this problem is mentioned is after the commit made on september 19 to fix Timer interrupt on Popful Mail by srg320.

Could you try to clone the repository and then run:

Code: Select all

git rebase -p --onto 4f4ede6a9698d8c4f28e97ffaa3c6cdd4318a965^ 4f4ede6a9698d8c4f28e97ffaa3c6cdd4318a965
This should undo the commit from september 19 but still keep the later commits (if I have understood correctly and it still builds in Quartus...)

Re: Lunar 2 Not Loading

Posted: Thu Jan 28, 2021 1:52 am
by aberu
I think keeping some of the later commits but only undoing that one could break functionality. What I do instead is usually just look at the commit and click "browse files", then you have a snapshot of all of that during that period of time.

I'm going to compile the srg320 timer fix commit snapshot now. This doesn't necessarily mean that is something that broke this, it could very well be that the CHD functionality added on could have messed something up in conjunction with something else that is impacted by the timer fix, it's hard to tell.

Re: Lunar 2 Not Loading

Posted: Thu Jan 28, 2021 2:23 am
by aberu
Okay, it does the same thing on that timer fix version.

Re: Lunar 2 Not Loading

Posted: Thu Jan 28, 2021 5:47 am
by SwedishGojira
aberu wrote: Thu Jan 28, 2021 1:52 am I think keeping some of the later commits but only undoing that one could break functionality.
That completely depends on what changes to the code that had been made. Did you even try my suggestion?

Re: Lunar 2 Not Loading

Posted: Thu Jan 28, 2021 5:02 pm
by aberu
SwedishGojira wrote: Thu Jan 28, 2021 5:47 am
aberu wrote: Thu Jan 28, 2021 1:52 am I think keeping some of the later commits but only undoing that one could break functionality.
That completely depends on what changes to the code that had been made. Did you even try my suggestion?
Yes, see above comment. Also, see how I said "could" instead of "should" or "will". :P I tried the commit as of that date using "browse files" on github from the timer commit link, and downloading the whole thing, then compiling. This is the equivalent of if a new release was made that same day and labeled, it did the same thing, meaning that timer fix is what likely caused the problem (since to go before the timer fix commit is literally just the last release back then).

https://github.com/birdybro/MiSTer_Core ... 020128.rbf

If anyone else wants to test the latest commit that srg320 did which should fix the issue, I just compiled it for you.

Re: Lunar 2 Not Loading

Posted: Fri Jan 29, 2021 1:22 am
by Stupid Dufus
aberu, I just tried the rbf you linked and the game loads now. Thanks! Working fine with NA and JP versions and some different BIOSes.

Re: Lunar 2 Not Loading

Posted: Fri Jan 29, 2021 12:58 pm
by kubbie
aberu wrote: Thu Jan 28, 2021 5:02 pm
SwedishGojira wrote: Thu Jan 28, 2021 5:47 am
aberu wrote: Thu Jan 28, 2021 1:52 am I think keeping some of the later commits but only undoing that one could break functionality.
That completely depends on what changes to the code that had been made. Did you even try my suggestion?
Yes, see above comment. Also, see how I said "could" instead of "should" or "will". :P I tried the commit as of that date using "browse files" on github from the timer commit link, and downloading the whole thing, then compiling. This is the equivalent of if a new release was made that same day and labeled, it did the same thing, meaning that timer fix is what likely caused the problem (since to go before the timer fix commit is literally just the last release back then).

https://github.com/birdybro/MiSTer_Core ... 020128.rbf

If anyone else wants to test the latest commit that srg320 did which should fix the issue, I just compiled it for you.
I can confirm that now Lunar 2 loads, does this includes the timer fix?

Re: Lunar 2 Not Loading

Posted: Sat Jan 30, 2021 2:18 am
by aberu
kubbie wrote: Fri Jan 29, 2021 12:58 pm
aberu wrote: Thu Jan 28, 2021 5:02 pm
SwedishGojira wrote: Thu Jan 28, 2021 5:47 am

That completely depends on what changes to the code that had been made. Did you even try my suggestion?
Yes, see above comment. Also, see how I said "could" instead of "should" or "will". :P I tried the commit as of that date using "browse files" on github from the timer commit link, and downloading the whole thing, then compiling. This is the equivalent of if a new release was made that same day and labeled, it did the same thing, meaning that timer fix is what likely caused the problem (since to go before the timer fix commit is literally just the last release back then).

https://github.com/birdybro/MiSTer_Core ... 020128.rbf

If anyone else wants to test the latest commit that srg320 did which should fix the issue, I just compiled it for you.
I can confirm that now Lunar 2 loads, does this includes the timer fix?
This rolls back the timer fix, meaning it has everything else except the timer fix.

Re: Lunar 2 Not Loading

Posted: Sat Jan 30, 2021 2:37 pm
by kubbie
The new SegaCD update from today also works fine with Lunar 2 and Silpheed.

Re: Lunar 2 Not Loading

Posted: Tue Feb 02, 2021 6:28 pm
by Zorlac
Fixed...thank you!