You should consider joining our Discord to ask for support.

We created a support channel using the new Discord Forum feature!

You can also visit our new website, it has a help section in English and French

0 like 0 dislike
532 views
in Script help by (210 points)
closed by
Hello,

I am having an issue converting to .25. Even when following Nuri Yuri's video, I am still having issues converting without problems. The main problem is if I convert, then go ahead and boot up Game.exe, the console display multiple issues quickly then the program crashes.

Here is the Repo if anybody likes to take a look:

https://github.com/Marco-Puig/Pokemon-Thunder-Lightning
closed with the note: Solved

1 Answer

0 like 0 dislike
by (14.8k points)
selected by
 
Best answer

Hi! Thanks to starts cmd.bat and write:

psdk debug

Then, CTRL+C in the console to Copy/Paste here the messages. yes

by (210 points)
Okay thank you, here is what happens...

PSDK Version : 25.0
Loading Game...
Script Index : C:/Users/marco/Documents/PDSK-Alpha-24.87-Windows/PSDK-Alpha-24.87-Windows/pokemonsdk/scripts/script_index.txt
An error occured during Script Loading.
Error type : NameError
Error message : constant GamePlay::Load::DEFAULT_GAME_LANGUAGE not defined
ENG_Translate:3:in `remove_const'
ENG_Translate:3:in `<class:Load>'
ENG_Translate:2:in `<module:GamePlay>'
ENG_Translate:1:in `<top (required)>'
C:/Users/marco/Documents/PDSK-Alpha-24.87-Windows/PSDK-Alpha-24.87-Windows/pokemonsdk/scripts/ScriptLoad.rb:120:in `eval'
C:/Users/marco/Documents/PDSK-Alpha-24.87-Windows/PSDK-Alpha-24.87-Windows/pokemonsdk/scripts/ScriptLoad.rb:120:in `block in load_rmxp_scripts'
C:/Users/marco/Documents/PDSK-Alpha-24.87-Windows/PSDK-Alpha-24.87-Windows/pokemonsdk/scripts/ScriptLoad.rb:116:in `each'
C:/Users/marco/Documents/PDSK-Alpha-24.87-Windows/PSDK-Alpha-24.87-Windows/pokemonsdk/scripts/ScriptLoad.rb:116:in `load_rmxp_scripts'
C:/Users/marco/Documents/PDSK-Alpha-24.87-Windows/PSDK-Alpha-24.87-Windows/pokemonsdk/scripts/ScriptLoad.rb:27:in `start'
C:/Users/marco/Documents/PDSK-Alpha-24.87-Windows/PSDK-Alpha-24.87-Windows/pokemonsdk/scripts/tools/GameLoader/50_load_game_uncompiled.rb:7:in `<top (required)>'
<internal:C:/Users/marco/Documents/PDSK-Alpha-24.87-Windows/PSDK-Alpha-24.87-Windows/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
<internal:C:/Users/marco/Documents/PDSK-Alpha-24.87-Windows/PSDK-Alpha-24.87-Windows/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
C:/Users/marco/Documents/PDSK-Alpha-24.87-Windows/PSDK-Alpha-24.87-Windows/pokemonsdk/scripts/ScriptLoad.rb:128:in `load_tool'
C:/Users/marco/Documents/PDSK-Alpha-24.87-Windows/PSDK-Alpha-24.87-Windows/pokemonsdk/scripts/tools/GameLoader/Z_load_uncompiled.rb:10:in `<top (required)>'
<internal:C:/Users/marco/Documents/PDSK-Alpha-24.87-Windows/PSDK-Alpha-24.87-Windows/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
<internal:C:/Users/marco/Documents/PDSK-Alpha-24.87-Windows/PSDK-Alpha-24.87-Windows/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
C:/Users/marco/Documents/PDSK-Alpha-24.87-Windows/PSDK-Alpha-24.87-Windows/pokemonsdk/scripts/ScriptLoad.rb:128:in `load_tool'
Game.rb:8:in `<main>'
by (17.1k points)
It seems like you're still using an old custom script that is now deprecated (the one used to define the language of your game). Delete it, then use this tutorial to use the new way to define the language. It is french only but Google Translate can help you understand it better (we'll do a translation when we'll have more time on hand) : https://pokemonworkshop.fr/forum/index.php?topic=5368.0
by (210 points)
Thank you so much! It is working now :D
...