• ✨ ARCHIVE MODE ✨
    The forum has now been set to read-only mode, no new posts, resources, replies etc will not be possible.
    We recommend you join our Discord server to get real-time response: Discord Invite Link

[Modding Questions] Have a question about modding? Ask here!

Status
Not open for further replies.

Katosen

Trainer
I have triple checked and the scaling is exactly double the original size. Also the engine cannot take decimals or it will crash.
Hm, ah well. Can't say I didn't try. All I can say is the obvious, set it all back to default.
 

Joys

Bug Catcher
The point of scaling for me is to add details to icons, textures, etc. I can't do that with no space to add them!
 

Joys

Bug Catcher
How to duplicate my problem:

Copy menu.png from the extracted menu.xnb.
Rescale to twice the size.
Add that it's rescaled for twice the size in exceptions.dat (|2).
Activate.
????
Debts!

I don't get what could be wrong with this. Maybe the natural menu scaling inside the engine?
 

DracoHouston

Kolben Developer
Contributor
How to duplicate my problem:

Copy menu.png from the extracted menu.xnb.
Rescale to twice the size.
Add that it's rescaled for twice the size in exceptions.dat (|2).
Activate.
????
Debts!

I don't get what could be wrong with this. Maybe the natural menu scaling inside the engine?
not sure, but you could just try overriding the specific texture subimages used

here i'll spew a bunch of draw calls at you, i'll bold the arguments you need to look at

the 3 main menu buttons. blue one for mouse over, grey one, dark grey one for continue and load game when you have no save yet

If i = mainmenuIndex Then
CanvasTexture = Textures.GetTexture("GUI\Menus\Menu", New Rectangle(0, 48, 48, 48), "")
Else
If i < 2 And Saves.Count = 0 Or i = 0 And System.IO.Directory.Exists(My.Application.Info.DirectoryPath & "\Save\autosave") = False Then
CanvasTexture = Textures.GetTexture("GUI\Menus\Menu", New Rectangle(48, 0, 48, 48), "")
Else
CanvasTexture = Textures.GetTexture("GUI\Menus\Menu", New Rectangle(0, 0, 48, 48), "")
End If
End If

the language menu, maintexture is menu.xnb
If i = mainmenuIndex Then
Basic.SpriteBatch.Draw(mainTexture, New Rectangle(Basic.windowSize.Width - 64, 0, 64, 64), New Rectangle(96, 80, 16, 16), Color.White)
Else
Basic.SpriteBatch.Draw(mainTexture, New Rectangle(Basic.windowSize.Width - 64, 0, 64, 64), New Rectangle(96, 64, 16, 16), Color.White)
End If

the pack menu, maintexture is menu.xnb

ElseIf i = 5 Then
If i = mainmenuIndex Then
Basic.SpriteBatch.Draw(mainTexture, New Rectangle(Basic.windowSize.Width - 64, 64, 64, 64), New Rectangle(112, 80, 16, 16), Color.White)
Else
Basic.SpriteBatch.Draw(mainTexture, New Rectangle(Basic.windowSize.Width - 64, 64, 64, 64), New Rectangle(112, 64, 16, 16), Color.White)


the gamejolt button

If GameJolt.API.LoggedIn = True Then
If i = mainmenuIndex Then
Basic.SpriteBatch.Draw(mainTexture, New Rectangle(Basic.windowSize.Width - 196, Basic.windowSize.Height - 60, 192, 56), New Rectangle(160, 96, 96, 28), Color.White)
Else
Basic.SpriteBatch.Draw(mainTexture, New Rectangle(Basic.windowSize.Width - 196, Basic.windowSize.Height - 60, 192, 56), New Rectangle(160, 65, 96, 28), Color.White)
End If
Basic.SpriteBatch.DrawString(Basic.miniFont, "Logged in as", New Vector2(Basic.windowSize.Width - 148, Basic.windowSize.Height - 54), Color.White)
Basic.SpriteBatch.DrawString(Basic.miniFont, GameJolt.API.username, New Vector2(Basic.windowSize.Width - 148, Basic.windowSize.Height - 34), New Color(204, 255, 0))
Else
If i = mainmenuIndex Then
Basic.SpriteBatch.Draw(mainTexture, New Rectangle(Basic.windowSize.Width - 60, Basic.windowSize.Height - 60, 56, 56), New Rectangle(129, 96, 28, 28), Color.White)
Else
Basic.SpriteBatch.Draw(mainTexture, New Rectangle(Basic.windowSize.Width - 60, Basic.windowSize.Height - 60, 56, 56), New Rectangle(129, 65, 28, 28), Color.White)
End If
End If

the logo uses the full image

the little gamejolt icon on load game menu
Basic.SpriteBatch.Draw(Textures.GetTexture("GUI\Menus\Menu", New Rectangle(128, 16, 18, 18), ""), New Rectangle(CInt(Basic.windowSize.Width / 2) + 180, 188 + i * 50, 36, 36), Color.White)

let me know if you need more
 

DracoHouston

Kolben Developer
Contributor
My question:
How can i add a New Pokemon to the Game? (Like.. No. 252 Treecko)

Cya~
you need a battle sprite, overworld sprite, a cry and a pokemon data file. check out all the files in /content/pokemon/

/data/ are text files containing species data
/animations/ are the battle sprites
/overworld/ is where the overworld sprites live

the menu pic is part of a big sheet in content/GUI/ iirc
 
T

Tyler Lachnit

Guest
I think i made a big mistake, I was screwing around with my save file, trying to make some pokemon in my party shiny, so i changed the {is shiny (0)} to {is shiny (1)} and pokemon 3d crashed when i tried to load the file. i quickly reverted it back but it still crashes and says "save index can not be lower than 0" every time i try to load the file. please help!
 
Status
Not open for further replies.
Top