The RPG Maker Resource Kit

Other Game Creation => Program Troubleshooting => Topic started by: clakes707 on April 21, 2007, 02:44:46 AM

Title: [RESOLVED] RMXP Font issue
Post by: clakes707 on April 21, 2007, 02:44:46 AM
I have an illegal version of RPG Maker :-\, because I don't have the money to pay. When I tes run my game, at the menu, it dosen't show the words new game, continue, and shutdown. Why is this? Thanks for your time and help.
Title: Re: HELP PLEASE!
Post by: :) on April 21, 2007, 02:54:58 AM
I believe:

Find font "Maiandra GD" somewhere on the net and install it.

OR

REPLACE MAIN with this:

Code: [Select]
#==============================================================================
# ** Main
#------------------------------------------------------------------------------
#  After defining each class, actual processing begins here.
#==============================================================================

begin
  # Prepare for transition
  $defaultfonttype = $fontface = $fontname = Font.default_name = "Maiandra GD"
$defaultfontsize = $fontsize = Font.default_size = 22
  Graphics.freeze
  # Make scene object (title screen)
  $scene = Scene_Title.new
  # Call main method as long as $scene is effective
  while $scene != nil
    $scene.main
  end
  # Fade out
  Graphics.transition(20)
rescue Errno::ENOENT
  # Supplement Errno::ENOENT exception
  # If unable to open file, display message and end
  filename = $!.message.sub("No such file or directory - ", "")
  print("Unable to find file #{filename}.")
end

-----


and replace the "Maiandra GD" with a font your computer has installed.
Title: Re: HELP PLEASE!
Post by: clakes707 on April 21, 2007, 03:41:07 AM
thanks, but when I try to test play it, it says ?????'Main'?27???SyntaxError ????????. Please help, thanks for your time.

EDIT: If you do not no what went wrong, then please tell me the code to put back in, so that I can at least run the game. Thanks, once again.
Title: Re: HELP PLEASE!
Post by: :) on April 21, 2007, 03:42:29 AM
?_? you replaced the main with that right? replaced not added under correct? also you changed the font name right?
Title: Re: HELP PLEASE!
Post by: clakes707 on April 21, 2007, 03:49:41 AM
Not sure what you mean by replaced the font, it is in the script called main, if that is what you mean. And i changed your script with the old one, not just added it.

EDIT: I tried to look it up on google, but most of the sites were asking for money, about $30 to get it, and I don't want to do that. Could I jst use the name of a font already installed? If so, tell me how to do this. Thanks! :)
Title: Re: HELP PLEASE!
Post by: :) on April 21, 2007, 03:53:11 AM
upload teh game folder if you can.
Title: Re: HELP PLEASE!
Post by: ChaosSpartan28 on April 21, 2007, 03:54:29 AM
In the script near the beggining it should say Font.default_name = "Maiandra GD" that's what he wants you to change. Something like Tahoma or Times New Roman. Get it?


#==============================================================================
# ** Main
#------------------------------------------------------------------------------
#  After defining each class, actual processing begins here.
#==============================================================================

begin
  # Prepare for transition
  $defaultfonttype = $fontface = $fontname = Font.default_name = "Maiandra GD"
$defaultfontsize = $fontsize = Font.default_size = 22
  Graphics.freeze
  # Make scene object (title screen)
  $scene = Scene_Title.new
  # Call main method as long as $scene is effective
  while $scene != nil
    $scene.main
  end
  # Fade out
  Graphics.transition(20)
rescue Errno::ENOENT
  # Supplement Errno::ENOENT exception
  # If unable to open file, display message and end
  filename = $!.message.sub("No such file or directory - ", "")
  print("Unable to find file #{filename}.")
end

-----

Title: Re: HELP PLEASE!
Post by: clakes707 on April 21, 2007, 04:17:52 AM
Thank you guys both! the problem is solved. Once again, thanks for your help and time! :D
Title: Re: RESOLVED
Post by: ChaosSpartan28 on April 21, 2007, 04:23:13 AM
Solved? Add [Resolved] to the topic title.
Title: Re: RMXP Font issue [RESOLVED]
Post by: :) on April 21, 2007, 04:30:44 AM
cool, so I fixed the title from ya xD add [resolved] not delete the name and change it to resolved xD

also moved it.