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
290 views
in Crash by (220 points)
I'm on Linux and used https://www.youtube.com/watch?v=0W0o7n1H0eI as a guide to try getting it working and managed to get to the selecting a language scene. But right after choosing the game crashes.

================================Erreur de script================================
Message :
undefined method `each' for nil:NilClass

Type : NoMethodError
Script : 00800 Studio/00001 Accessors.rb (PSDK)
Ligne : 203
Date : 13/08/2022 22:21:07
Game Version : 256
Logiciel : Pokémon SDK 26.2
===================================Backtraces===================================
[28] : 00800 Studio/00001 Accessors.rb (PSDK) | ligne 203 each_data_map_link
[27] : 01450 Systems/00003 Map Engine/00002 Logic/00400 Yuki__MapLinker.rb (PSDK) | ligne 71 load_map
[26] : 01450 Systems/00003 Map Engine/00002 Logic/00650 RMXP/00600 Game_Map.rb (PSDK) | ligne 72 setup
[25] : 01450 Systems/00000 General/00010 GameState/00200 Accessors.rb (PSDK) | ligne 242 rmxp_boot
[24] : 01450 Systems/00000 General/00010 GameState/00200 Accessors.rb (PSDK) | ligne 221 initialize
[23] : 01450 Systems/00001 Title/00004 IntroMovie.rb (PSDK) | ligne 13 new
[22] : 01450 Systems/00001 Title/00004 IntroMovie.rb (PSDK) | ligne 13 start_intro_movie
[21] : 01450 Systems/00001 Title/00020 Title Animation.rb (PSDK) | ligne 9 create_title_animation
[20] : 01450 Systems/00001 Title/00010 Splashes.rb (PSDK) | ligne 23 next_splash_initialize
[19] : 01500 Yuki/00100 Animation/00101 Commands.rb (PSDK) | ligne 205 update_internal
[18] : 01500 Yuki/00100 Animation/00101 Commands.rb (PSDK) | ligne 36 update
[17] : 01500 Yuki/00100 Animation/00100 Animation.rb (PSDK) | ligne 112 update
[16] : 01500 Yuki/00100 Animation/00100 Animation.rb (PSDK) | ligne 112 update
[15] : 01500 Yuki/00100 Animation/00100 Animation.rb (PSDK) | ligne 112 update
[14] : 01450 Systems/00001 Title/00002 Scene_Title.rb (PSDK) | ligne 50 update_graphics
[13] : 01450 Systems/00000 General/00003 GamePlay__Base/00000 GamePlay__Base.rb (PSDK) | ligne 472 update
[12] : 01450 Systems/00000 General/00003 GamePlay__Base/00000 GamePlay__Base.rb (PSDK) | ligne 260 main_process
[11] : 01450 Systems/00000 General/00003 GamePlay__Base/00000 GamePlay__Base.rb (PSDK) | ligne 153 main
[10] : tools/GameLoader/Z_main.rb (PSDK) | ligne 17 <top (required)>
[9] : tools/GameLoader/3_load_extensions.rb (PSDK) | ligne 54 rgss_main
[8] : tools/GameLoader/50_load_game_uncompiled.rb (PSDK) | ligne 45 <top (required)>
[7] : <internal:/ruby/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb> (ruby) | ligne 85 require
[6] : <internal:/ruby/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb> (ruby) | ligne 85 require
[5] : ScriptLoad.rb (PSDK) | ligne 189 load_tool
[4] : tools/GameLoader/Z_load_uncompiled.rb (PSDK) | ligne 14 <top (required)>
[3] : <internal:/ruby/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb> (ruby) | ligne 85 require
[2] : <internal:/ruby/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb> (ruby) | ligne 85 require
[1] : ScriptLoad.rb (PSDK) | ligne 189 load_tool
[0] : Game.rb (RMXP) | ligne 11 <main>
===================================Fin du log===================================

2 Answers

0 like 0 dislike
by (17.1k points)
The problem is that this tutorial might be obsolete. Can you try creating a project directly with Studio and work with that?
by (220 points)
edited by
That one was from making a new project in Studio while using the tutorial. I tried as is on Studio without changing anything and got:
$ ruby Game.rb
<internal:/home/aldo-ubuntu/.rbenv/versions/3.1.2/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require': cannot load such file -- /home/aldo-ubuntu/.pokemonsdk/scripts/ScriptLoad.rb (LoadError)
    from <internal:/home/aldo-ubuntu/.rbenv/versions/3.1.2/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
    from Game.rb:10:in `<main>'

I attempted to fill that condition but then got this:
PSDK Version : 26.2
An error occured during extensions loading.
Error type : LoadError
Error message : cannot load such file -- ./LiteRGSS
<internal:/home/aldo-ubuntu/.rbenv/versions/3.1.0/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
<internal:/home/aldo-ubuntu/.rbenv/versions/3.1.0/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
/home/aldo-ubuntu/.pokemonsdk/scripts/tools/GameLoader/3_load_extensions.rb:10:in `load_extension_multiplatform'
/home/aldo-ubuntu/.pokemonsdk/scripts/tools/GameLoader/3_load_extensions.rb:36:in `<top (required)>'
<internal:/home/aldo-ubuntu/.rbenv/versions/3.1.0/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
<internal:/home/aldo-ubuntu/.rbenv/versions/3.1.0/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
/home/aldo-ubuntu/.pokemonsdk/scripts/ScriptLoad.rb:189:in `load_tool'
/home/aldo-ubuntu/.pokemonsdk/scripts/tools/GameLoader/Z_load_uncompiled.rb:7:in `<top (required)>'
<internal:/home/aldo-ubuntu/.rbenv/versions/3.1.0/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
<internal:/home/aldo-ubuntu/.rbenv/versions/3.1.0/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
/home/aldo-ubuntu/.pokemonsdk/scripts/ScriptLoad.rb:189:in `load_tool'
Game.rb:11:in `<main>'
0 like 0 dislike
by (220 points)
After installing the Windows version of Pokémon Studio, I was able to run Game.exe through wine
...