How to move RTP to a new location?

I have just installed XP on a different machine, and by default (and without asking), it put the RTP into Program Files.

I would like it to be on my second drive, so I have copied the folder over there, and renamed the original.

When I start XP it tells me it can't find the files, but I don't see anywhere in the install directory where I can specify the new location.

1. How do I tell it to look to the new location for the RTP?
2. If I do this, and I build and release a demo, will it cause problems for other people who use it, because it will be looking for the RTP in a new location on their system as well (if I deploy without RTP)?
1. How do I tell it to look to the new location for the RTP?
1. my steam app has a registry setting here
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Enterbrain\RGSS\RTP

2. If I do this, and I build and release a demo, will it cause problems for other people who use it, because it will be looking for the RTP in a new location on their system as well (if I deploy without RTP)?
2. I am surprised with your experience that you are asking that. Makes me think your account has been hacked.
The game.ini should be able to set the rtp path. It has three lines for rtp=
Other games I see for XP have the entry for the rtp removed so then it doesn't look for rtp outside the game folder.
The location of the registry setting can be different depending on which Windows version you have. The RTP installer will ensure the Standard RTP registry key is configured correctly.
Specifically to RMXP there was the idea of having multiple RTPs. You would then be able to specify the additional RTPs in the ini-file.

INI:
[Game]
Library=RGSS104E.dll
Scripts=Data\Scripts.rxdata
Title=Project42
RTP1=Standard
RTP2=Fantasy
RTP3=

Maybe the hope was that the community would create various RTPs. Maybe there were plans of creating additional official RTPs. Either way it didn't work out as we can see by future RPG Makers only having and allowing one RTP.

Please note that if you specify an RTP the game requires it to be specified in the registry otherwise you will get an error.
1587297228615.png



As @Roninator2 touched upon released RMXP games and demos are typically build without any RTPs associated. Personally I would only consider required the Standard RTP for tech demos or other resources aimed at RMXP devs. Having to install the RMXP RTP feels like bother, and it will reduce the number of people who will try out your demo.
I.e. no it will not cause problems for users who already have the RTP installed.
I am surprised with your experience that you are asking that. Makes me think your account has been hacked.
Nah, I just haven't used RMXP for many years, since the Aveyond games. And the few times I did, I just let it put the RTP wherever it wanted and didn't have to worry about who else might get access to the project.

I.e. no it will not cause problems for users who already have the RTP installed.
Is that ini file only present, and important, for deployed games? It's what I was looking for, in the location where the engine was installed but couldn't find it.

Little flickers starting to come back to me now.

Thanks to you both. I don't want it to be relocated badly enough to mess with the registry.
Game.ini is always important. No matter which context the game cannot run without the presence of the ini-file.
If you can test play your game it will be present in the directory of your game. You can rename it for the deployed game. Just make sure the exe-file and encrypted archive follow the name
  1. Aveyond.exe
  2. Aveyond.ini
  3. Aveyond.rgssad

Normally you only use a little portion of the RTP so you can manually copy just the files you use over into your project.
Removing the dependency on the Standard RTP allows you to test it easily:
INI:
RTP1=
RTP2=
RTP3=



P.s. When you play around with building the demo my encrypter may help speeding up the process: https://forums.rpgmakerweb.com/inde...crypter-when-your-project-exceeds-128-mb.5126
Even though only XP officially supports multiple RTP, all RGSS versions actually do and they even support up to 10 (RTP1 to RTP9). For VX/Ace you have to use RTP instead of RTP1 but you can still add RTP2=bla, etc. to the INI file.

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-move-rtp-to-a-new-location.120391/