• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Multiple save files 2.2

3
Posts
9
Years
  • Age 24
  • Seen Jun 22, 2019
Nice, it works great!

The only suggestion I have is to be able to name your save states. (Ex. Randomized Run, Josh State, Sister State, etc...)
It would probably cause a lot less confusion.
 

Nickalooose

--------------------
1,309
Posts
16
Years
  • Seen Dec 28, 2023
Nice, it works great!

The only suggestion I have is to be able to name your save states. (Ex. Randomized Run, Josh State, Sister State, etc...)
It would probably cause a lot less confusion.

Funny, I just came here to say this... I've had numerous people asking me if I could edit the script to name change save files and my answer is simply 'No'... It's not my script and if such a feature were to be added to it, I shall expect it to be public so I will leave Mej to answer these requests.

But I think it should be a setting at least.
 
1,224
Posts
10
Years
The only thing is, the way it currently works is iterating through a loop of numbers, that's how it finds the save files. I suppose it could be changed to just get all the files in the directory and cycling through that though. Maybe at some point I will do that.
 

ReVaN777

Creator of Pokemon Titanium
108
Posts
12
Years
Hey Mej7i, i keep getting this error when trying to load a saved game..

---------------------------
Pokemon Titanium
---------------------------
Script 'PScreen_Load' line 821: ArgumentError occurred.

wrong number of arguments(2 for 0)
---------------------------
OK
---------------------------

heres my script section 800 - 830 in my Pscreen_Load

Code:
                        end
                     end
                     auto=(autoindex==1)?true:nil
                     tempsave=saveslots[@selected][0]
                     @scene.pbEndScene
                     pbSetUpSystem(tempsave,auto)
                     scene=PokemonLoadScene.new
                     screen=PokemonLoad.new(scene)
                     screen.pbStartLoadScreen(tempsave,auto,saveslots[@selected][1])
                     return
                  elsif saveslots[@selected][2]==true
                    tempsave=saveslots[@selected][0]
                    @scene.pbEndScene
                    pbSetUpSystem(tempsave,true)
                    scene=PokemonLoadScene.new
                    screen=PokemonLoad.new(scene)
                    screen.pbStartLoadScreen(tempsave,true,saveslots[@selected][1])
                    return
                  else
                    tempsave=saveslots[@selected][0]
                    @scene.pbEndScene
                    pbSetUpSystem(tempsave,nil)
                    scene=PokemonLoadScene.new
                    screen=PokemonLoad.new(scene)
                    screen.pbStartLoadScreen(tempsave,nil,saveslots[@selected][1])
                    return
                  end  
               end
             end

If you need to know I'm using the Gen 6 Essentails mod
 
1,224
Posts
10
Years
Hey Mej7i, i keep getting this error when trying to load a saved game..

---------------------------
Pokemon Titanium
---------------------------
Script 'PScreen_Load' line 821: ArgumentError occurred.

wrong number of arguments(2 for 0)
---------------------------
OK
---------------------------

heres my script section 800 - 830 in my Pscreen_Load

Code:
                        end
                     end
                     auto=(autoindex==1)?true:nil
                     tempsave=saveslots[@selected][0]
                     @scene.pbEndScene
                     pbSetUpSystem(tempsave,auto)
                     scene=PokemonLoadScene.new
                     screen=PokemonLoad.new(scene)
                     screen.pbStartLoadScreen(tempsave,auto,saveslots[@selected][1])
                     return
                  elsif saveslots[@selected][2]==true
                    tempsave=saveslots[@selected][0]
                    @scene.pbEndScene
                    pbSetUpSystem(tempsave,true)
                    scene=PokemonLoadScene.new
                    screen=PokemonLoad.new(scene)
                    screen.pbStartLoadScreen(tempsave,true,saveslots[@selected][1])
                    return
                  else
                    tempsave=saveslots[@selected][0]
                    @scene.pbEndScene
                    pbSetUpSystem(tempsave,nil)
                    scene=PokemonLoadScene.new
                    screen=PokemonLoad.new(scene)
                    screen.pbStartLoadScreen(tempsave,nil,saveslots[@selected][1])
                    return
                  end  
               end
             end

If you need to know I'm using the Gen 6 Essentails mod

You didn't follow the directions, and therefore did not replace your PokemonSystem section
 

ReVaN777

Creator of Pokemon Titanium
108
Posts
12
Years
hate to be a rude towards your actuation but I re did every step before I posted this reply. Thank you. I will do it again and will reply if it doesn't work again.

I have re-done the steps, i musts of not copied the entire script right works fine now, thanks mej7i
 
Last edited by a moderator:
53
Posts
8
Years
Hi, I'm sorry to bother you with this, but I can't seem to get your script to work :(
When I save a game, it always warns me that there is already a save-file and if I wish to overwrite it.
If I do, it really does overwrite the existing save-file and also the game immediately crashes with following error:

Spoiler:

(Unfortunately I am not yet allowed to post links...)

The line there says:
pbStoredLastPlayed($game_variables[99],nil)

Like I said: It actually overwrites the existing file and you can not select any other file on the starting screen, also there are no other files in the game saves file on my computer.

It may be worth noting, that I am using Pokemon Essentials 15.1.

What did I do wrong? :(

And another thing I was wondering: How do you limit the amount of possible game files?

Thank you for your help in advance.

PS: Also, I am not even able to save normally right now. It always warns me about there already being a save file, proceeds to save and finally crashes...
PPS: Before you ask: Yes, I used the printable version of the thread.

PPPS: Fixed it myself, thanks anyways.
Still I'm curious if there is a limit to the save files, or a possibility to limit them?
 
Last edited:
9
Posts
7
Years
  • Age 33
  • Seen Sep 8, 2016
Hey everybody,
i have the same probleme like Phigo but without any error:

From Phigo:
When I save a game, it always warns me that there is already a save-file and if I wish to overwrite it.
If I do, it really does overwrite the existing save-file ...
....
It actually overwrites the existing file and you can not select any other file on the starting screen, also there are no other files in the game saves file on my computer.

I get no error or something .... so i dont know where to start to solve the problem ... :( help me!!!! ^^

I use Essentials v16 and i do exactly that what i read in your tutorial ... sitting there and try to solve the problem like 7-9 hours >.< ..... please help me
 
2
Posts
16
Years
  • Seen May 19, 2021
In my project appears only slot 1 to play, someone could help me ?
 
1
Posts
6
Years
  • Age 62
  • Seen Nov 17, 2017
hi, the script works fine but i can't see the names of the saved files... any help?
sL5ip7M
 
Back
Top