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


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Development Discussion v
« Previous 1 ... 10 11 12 13 14 ... 115 Next »

Increasing Wii's Memory Allocation?
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Increasing Wii's Memory Allocation?
02-05-2018, 01:09 AM (This post was last modified: 02-05-2018, 01:35 AM by Rickv123.)
#1
Rickv123 Offline
Member
***
Posts: 117
Threads: 1
Joined: Jul 2015
Although I see this as an close to impossible task, I figured it wouldn't hurt to ask.
To further explain my question, I'll draw an example of the "issue" I'm facing. In my example I'm going to reference to Xenoblade Chronicles.

When the game is loading a map, it allocates a set amount of space in the memory, to load the required map into its memory. When I create a custom model with too much detail it won't fit in this allocated space, causing a bunch of invalid read/write errors.

The two question that come into my mind are:

What determines the amount of allocated memory space. For instance, when the game loads a map the limit is somewhere around 7mb, but when loading a armour piece, it only goes as far to around 150kb. Does the Wii calculate these values automatically, or are they hard-coded somewhere within the game? It's noteworthy that all maps have a similar if no the same memory allocation, and the amour pieces as well. They all seem to reach the same limit, so chances are low that they get determined on a per-file base.

Another question that is kinda a followup to the last question, is it possible to modify these values?, when dumping the current active memory that Dolphin gives during run time it's always 64mb (88mb in total). Is there a way to increase this limit? Again I see the chances slim, as this is just the Wii's poor architecture.
Find
Reply
02-05-2018, 01:14 AM
#2
JosJuice Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 8,645
Threads: 7
Joined: Oct 2014
(02-05-2018, 01:09 AM)Rickv123 Wrote: What determines the amount of allocated memory space. For instance, when the game loads a map the limit is somewhere around 7mb, but when loading a armour piece, it only goes as far to around 150kb. Does the Wii calculate these values automatically, or are they hard-coded somewhere within the game?

It depends on the game. Maybe they're hard-coded, or maybe they aren't.

(02-05-2018, 01:09 AM)Rickv123 Wrote: Another question that is kinda a followup to the last question, is it possible to modify these values?, when dumping the current active memory that Dolphin gives during run time it's always 64mb (88mb in total). Is there a way to increase this limit?

You can increase the amount of RAM that the emulated system has by hacking Dolphin and recompiling it, but I don't think that's very appealing for normal users who want to run the game with enhancements, and you're also going to need to make some changes to the game code in order for it to be able to use the extra memory.
Find
Reply
05-02-2019, 10:00 AM
#3
Drakonas Offline
Junior Member
**
Posts: 17
Threads: 0
Joined: Jun 2015
(02-05-2018, 01:09 AM)Rickv123 Wrote: Although I see this as an close to impossible task, I figured it wouldn't hurt to ask. To further explain my question, I'll draw an example of the "issue" I'm facing. In my example I'm going to reference to Xenoblade Chronicles. When the game is loading a map, it allocates a set amount of space in the memory, to load the required map into its memory. When I create a custom model with too much detail it won't fit in this allocated space, causing a bunch of invalid read/write errors.

Just wondering, is there a reason you did not go the route of using the material map features of Ishiiruka? I would think one would not need to modify game files to use a feature that's built into the emulator...

Regards,
Drakonas
Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode