• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Support v
« Previous 1 … 438 439 440 441 442 … 1204 Next »

Dolphin no longer reading gameids properly on game list - post 4.0-6136
View New Posts | View Today's Posts

Pages (2): 1 2 Next »
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode
Dolphin no longer reading gameids properly on game list - post 4.0-6136
09-14-2015, 12:09 PM
#1
Legend80 Offline
Senior Member
****
Posts: 357
Threads: 21
Joined: Jul 2009
I have several NSMB isos I created (new levels/textures). But since 4.0-6163, it's reporting most of the isos (not all for some reason) as the default gameid of SMNE01. If I crack them open and look at the partition.bin + boot.bin, the game ids are different and unique. If I look at the save file via dolphin explorer, I am being taken also to different and unique save files further proving that the id Dolphin reporting in the list is wrong. Purging cache and emptying the 'cache' folder did not help.

This is causing it to pull the wrong title from my title.txt file and use the wrong config file.Where exactly is it pulling this gameid for the game list now?
Intel Core i5 2500k @ 4.3 ghz. (Sandy Bridge CPU) / Asus P8P67 / 4 Gig Ram / GeForce GTX 660/ Creative X-fi / Win 8.1 Pro 64 bit
Find
Reply
09-14-2015, 06:16 PM
#2
JosJuice Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 9,025
Threads: 7
Joined: Oct 2014
There was a change a while ago that changed Dolphin from reading the game ID at the beginning at the game partition to reading the game ID from the beginning of unencrypted area, but that was before 4.0-6163. 4.0-6163 didn't change how game IDs are handled, but it did change how titles are read from Wii games. Instead of reading from the header, it now reads from the opening.bnr file, just like the Wii Menu. The opening.bnr files in your ISOs are have probably not been changed from their default names.
Find
Reply
09-15-2015, 01:41 AM
#3
Legend80 Offline
Senior Member
****
Posts: 357
Threads: 21
Joined: Jul 2009
(09-14-2015, 06:16 PM)JosJuice Wrote: There was a change a while ago that changed Dolphin from reading the game ID at the beginning at the game partition to reading the game ID from the beginning of unencrypted area, but that was before 4.0-6163. 4.0-6163 didn't change how game IDs are handled, but it did change how titles are read from Wii games. Instead of reading from the header, it now reads from the opening.bnr file, just like the Wii Menu. The opening.bnr files in your ISOs are have probably not been changed from their default names.

Got it , thanks! What's the easiest way to change these? 
Intel Core i5 2500k @ 4.3 ghz. (Sandy Bridge CPU) / Asus P8P67 / 4 Gig Ram / GeForce GTX 660/ Creative X-fi / Win 8.1 Pro 64 bit
Find
Reply
09-15-2015, 01:52 AM (This post was last modified: 09-15-2015, 01:53 AM by JosJuice.)
#4
JosJuice Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 9,025
Threads: 7
Joined: Oct 2014
I'm assuming you already have a way to unpack and repack an ISO to regular files? If so, open opening.bnr with a hex editor, and you should find the English name at 0xB0. The Japanese name comes before it, and afterwards come names in other languages, all at 54-byte intervals. They're stored in big-endian UTF-16, so you can use regular ASCII as long as you include a 0x00 byte between each ASCII character. Don't change the total length of the file - just overwrite the existing bytes, don't insert any new bytes.

Alternatively, if the ISOs all have unique IDs, you can override the titles using titles.txt.
Find
Reply
09-16-2015, 03:59 PM
#5
Legend80 Offline
Senior Member
****
Posts: 357
Threads: 21
Joined: Jul 2009
(09-15-2015, 01:52 AM)JosJuice Wrote: I'm assuming you already have a way to unpack and repack an ISO to regular files? If so, open opening.bnr with a hex editor, and you should find the English name at 0xB0. The Japanese name comes before it, and afterwards come names in other languages, all at 54-byte intervals. They're stored in big-endian UTF-16, so you can use regular ASCII as long as you include a 0x00 byte between each ASCII character. Don't change the total length of the file - just overwrite the existing bytes, don't insert any new bytes.

Alternatively, if the ISOs all have unique IDs, you can override the titles using titles.txt.

Thanks! I confirmed changing the title in the opening.bnr works (as an alternative to the title.txt).

However, I was unable to find the gameid in there. Are you sure this is where Dolphin retrieves the gameid? I could not find it in there at all! Attached my file to see if I missed it.


Attached Files
.zip   opening - Copy.zip (Size: 424.44 KB / Downloads: 135)
Intel Core i5 2500k @ 4.3 ghz. (Sandy Bridge CPU) / Asus P8P67 / 4 Gig Ram / GeForce GTX 660/ Creative X-fi / Win 8.1 Pro 64 bit
Find
Reply
09-16-2015, 07:32 PM
#6
JosJuice Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 9,025
Threads: 7
Joined: Oct 2014
No, the game ID is not in opening.bnr. Dolphin reads it from the six first bytes of the ISO.
Find
Reply
09-17-2015, 11:20 AM
#7
Legend80 Offline
Senior Member
****
Posts: 357
Threads: 21
Joined: Jul 2009
(09-16-2015, 07:32 PM)JosJuice Wrote: No, the game ID is not in opening.bnr. Dolphin reads it from the six first bytes of the ISO.

Cool, thanks for continuing to support me here. What's the easiest way to modify that?
Intel Core i5 2500k @ 4.3 ghz. (Sandy Bridge CPU) / Asus P8P67 / 4 Gig Ram / GeForce GTX 660/ Creative X-fi / Win 8.1 Pro 64 bit
Find
Reply
09-17-2015, 11:39 AM
#8
AnyOldName3 Offline
First Random post over 9000
*******
Posts: 3,548
Threads: 2
Joined: Feb 2012
Get a hex editor and change the first six bytes of the iso. Just make sure it supports large files.
OS: Windows 10 64 bit Professional
CPU: AMD Ryzen 5900X
RAM: 16GB
GPU: Radeon Vega 56
Find
Reply
09-18-2015, 02:10 AM
#9
Legend80 Offline
Senior Member
****
Posts: 357
Threads: 21
Joined: Jul 2009
(09-17-2015, 11:39 AM)AnyOldName3 Wrote: Get a hex editor and change the first six bytes of the iso. Just make sure it supports large files.

Any recommendations?

I've used HexVUI32 for years but if I open it in there and change just one char in the gameid and save, the file size goes for 4 gb to 400mg and hangs on boot in Dolphin.

I also noticed that the game appears at the top of the game list in Dolphin, even though the first character in the title throughout everything is "N". Still not sure how exactly the sort order is determined in the Dolphin game list.
Intel Core i5 2500k @ 4.3 ghz. (Sandy Bridge CPU) / Asus P8P67 / 4 Gig Ram / GeForce GTX 660/ Creative X-fi / Win 8.1 Pro 64 bit
Find
Reply
09-18-2015, 03:51 AM (This post was last modified: 09-18-2015, 03:54 AM by JosJuice.)
#10
JosJuice Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 9,025
Threads: 7
Joined: Oct 2014
(09-18-2015, 02:10 AM)Legend80 Wrote: I also noticed that the game appears at the top of the game list in Dolphin, even though the first character in the title throughout everything is "N". Still not sure how exactly the sort order is determined in the Dolphin game list.

When sorting by name, Dolphin always uses the name that is in opening.bnr, which sometimes is different from the name that actually is displayed. With your 400 MB ISO, it probably can't read opening.bnr at all, giving the game an empty name for sorting purposes. This will be fixed in an upcoming development build called "DolphinWX: Fix sorting games by custom titles". I'm not sure if Dolphin actually sorts by names by default, though, so you might want to check that first.

The hex editor I use is HxD, if you'd like to give it a try. I haven't had any problems with it, even when editing 8 GB large Super Smash Bros. Brawl ISOs.
Find
Reply
« Next Oldest | Next Newest »
Pages (2): 1 2 Next »


  • View a Printable Version
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma