 | [help] "Resizing" text in songwheel |  |
03-07-2007, 06:26 PM
|
#1 | | g//ay for k//eternal
Wan is offline
Join Date: Jun 2006 Location: Santiago, Chile Posts: 886
Marketplace Rating: 0 | [help] "Resizing" text in songwheel Well, I need help with the following:
I'm trying to make a little change in PatrickDDRX's DDR 5th Mix theme now that I got the correct font for the songwheel.
My problem is that I can't get the font to be "resized" when the song has subtitles...
Here are 2 screenshots:
1.- Takuya's DDR Extreme theme, where it's perfectly done...
2.- DDR 5th Mix, where I can't manage to do it...
Any hint? I played with the options like LineSpacing, Top, etc in the .ini file (in this case, _shared2.ini) ... without results  | |
| |
03-07-2007, 07:26 PM
|
#2 | | superman brothers
AJ 187 is offline
Join Date: Jun 2006 Location: Chicago Posts: 788
Marketplace Rating: 0 | buncha stuff Code: [TextBanner]
TwoLinesTitleCommand=zoom,1;maxwidth,180;y,-8
TwoLinesSubtitleCommand=hidden,1
TwoLinesArtistCommand=zoom,0.6;maxwidth,266;y,8
ThreeLinesTitleCommand=zoom,1;maxwidth,180;y,-10
ThreeLinesSubtitleCommand=hidden,0;zoom,.5;maxwidth,360
ThreeLinesArtistCommand=zoom,0.6;maxwidth,266;y,10 | |
| |
03-07-2007, 07:53 PM
|
#3 | | g//ay for k//eternal
Wan is offline
Join Date: Jun 2006 Location: Santiago, Chile Posts: 886
Marketplace Rating: 0 | Quote:
Originally Posted by AJ 187 buncha stuff Code: [TextBanner]
TwoLinesTitleCommand=zoom,1;maxwidth,180;y,-8
TwoLinesSubtitleCommand=hidden,1
TwoLinesArtistCommand=zoom,0.6;maxwidth,266;y,8
ThreeLinesTitleCommand=zoom,1;maxwidth,180;y,-10
ThreeLinesSubtitleCommand=hidden,0;zoom,.5;maxwidth,360
ThreeLinesArtistCommand=zoom,0.6;maxwidth,266;y,10 | Hmm, in the DDR 5th Mix metrics those exact lines are typed (values included). I'll try playing with them =D
Last edited by Wan : 03-07-2007 at 07:58 PM.
| |
| |
03-07-2007, 09:55 PM
|
#4 | | g//ay for k//eternal
Wan is offline
Join Date: Jun 2006 Location: Santiago, Chile Posts: 886
Marketplace Rating: 0 | <le bump>
I have another question:
How can I force the FONT to be in a fixed width?
To explain, again 2 screenshots:
1.- the real DDR 5th Mix:
2.- Stepmania:
Notice the difference, specially in SWING IT and THE TWIST? | |
| |
03-07-2007, 11:25 PM
|
#5 | | superman brothers
AJ 187 is offline
Join Date: Jun 2006 Location: Chicago Posts: 788
Marketplace Rating: 0 | Not going to happen; official DDR games use files called CARDs that have the text in a specific formatting: 
(the above example is four CARDs stacked on top of each other; normally they'd each be separate. This explains some old DDRMAX beta screenshots such as this one)
Last edited by AJ 187 : 03-07-2007 at 11:30 PM.
| |
| |
03-08-2007, 09:30 AM
|
#6 | | g//ay for k//eternal
Wan is offline
Join Date: Jun 2006 Location: Santiago, Chile Posts: 886
Marketplace Rating: 0 | Quote:
Originally Posted by AJ 187 Not going to happen; official DDR games use files called CARDs that have the text in a specific formatting: 
(the above example is four CARDs stacked on top of each other; normally they'd each be separate. This explains some old DDRMAX beta screenshots such as this one) | Aww, I see. I was precisely checking those images with PSicture and comparimg them with how do the respective songs look in SM.
As I can see, the fonts and the spacing can be reduced, but there's a maximum... checking the images, the shortest text are precisely THE TWIST and SWING IT.
Going directly... is there any option to limit the font width and spacing? The 'maxwidth' command affects the entire chunk of text, and it affects ALL text in the songwheel... | |
| |
03-08-2007, 11:17 AM
|
#7 | | //bemanistyle::[Member]
eVILPeeR is offline
Join Date: Jun 2006 Posts: 78
Marketplace Rating: 0 | Not possible.
BUT.
What you're going after IS possible. Get the CARDS AJ was talking about - modify them so all the black is transparent (in GIMP or PS). Know how some songs have to use japanese characters, but SM doesn't provide it? I don't know exactly HOW to do this, but just use that image in place of the text. I think it will work. Also, it has to be defined in the .sm file.
Jeff | |
| |
03-08-2007, 11:39 AM
|
#8 | | g//ay for k//eternal
Wan is offline
Join Date: Jun 2006 Location: Santiago, Chile Posts: 886
Marketplace Rating: 0 | Quote:
Originally Posted by eVILPeeR Not possible.
BUT.
What you're going after IS possible. Get the CARDS AJ was talking about - modify them so all the black is transparent (in GIMP or PS). Know how some songs have to use japanese characters, but SM doesn't provide it? I don't know exactly HOW to do this, but just use that image in place of the text. I think it will work. Also, it has to be defined in the .sm file.
Jeff | Huh? I thought that method only worked in DWI.
And nope... storing the "text banners" as fonts won't work....
oh, and if it isn't possible, I'll ask if it can be implemented in SM4 :P | |
| |
03-08-2007, 12:02 PM
|
#9 | | superman brothers
AJ 187 is offline
Join Date: Jun 2006 Location: Chicago Posts: 788
Marketplace Rating: 0 | Quote:
Originally Posted by Wan nope... storing the "text banners" as fonts won't work.... | Remind me to try proving this wrong when I get home.
(it will most likely require modified simfiles) | |
| |
03-08-2007, 12:26 PM
|
#10 | | g//ay for k//eternal
Wan is offline
Join Date: Jun 2006 Location: Santiago, Chile Posts: 886
Marketplace Rating: 0 | Quote:
Originally Posted by AJ 187 Remind me to try proving this wrong when I get home.
(it will most likely require modified simfiles) | Well, to be honest... I haven't tried it
EDIT: I'm proving myself wrong. IT WORKS. Now I'm re-creating the text banners since deleting the black background with the "Magic Wand" is really annoying
EDIT2: IT WORKS: 
The problem is that I had to leave TwoLinesTitleCommand and TwoLinesArtistCommand with "zoom,1"... therefore, the other text-based textbanners look horrible >.<
Last edited by Wan : 03-08-2007 at 02:54 PM.
| |
| |
03-08-2007, 06:41 PM
|
#11 | | superman brothers
AJ 187 is offline
Join Date: Jun 2006 Location: Chicago Posts: 788
Marketplace Rating: 0 | Yeah, this would only really work well in a locked environment where you use SM to simulate 5th Mix. :/ | |
| |  | |  |
03-08-2007, 07:05 PM
|
#12 | | StepMania Themer
TakuyaMAXX is offline
Join Date: Jul 2006 Location: Santiago, Chile Posts: 642
Marketplace Rating: 0 | Text resizing is a pain, but it can be done using some average parameters to make it work:
- You must now width and height of each phrase in the song name (name, description and artist)... ex: You should try to get the longest string (name, description or atist) possible to measure its lenght and height (pixel measurement).
- Then you must use proportions to get the exact zoom effect for X and Y.
- Finally get the max size of the text and fix the zoom again if needed.
I'm not saying that it will work perfect, but it will fit most of your song wheel text.
__________________ TakuyaMAXX StepMania 3.9 related stuff:
DDRMAX (VS8), DDRMAX2 (Rev 3.0), DDR EXTREME (Rev 8.0), DDR Party Collection (FINAL -- Rev X5), Dancing Stage MegaMix (Rev 4.0), Dancing Stage Fever (Rev 2.0), DDR SuperNOVA (Beta Tester 2 Plus), Dance Dance Revolution X (Rev 4.0). Youtube: Takuya20 Don't forget to vote my thread  | |
| |  |
03-09-2007, 08:40 AM
|
#13 | | STANLEY FUBAR
dieKatze88 is offline
Join Date: Jan 2005 Location: New Jersey Posts: 2,597
Marketplace Rating: 4 | OK, you *COULD* Stretch your font, but thats a bad idea, Youre best off just not doing it, or, try stretching it in real time, this code may work:
zoomx,1.2;maxwidth,yourpixelvaluehere
__________________
Excel has no secret mod powers.
| |
| |
03-09-2007, 05:47 PM
|
#14 | | g//ay for k//eternal
Wan is offline
Join Date: Jun 2006 Location: Santiago, Chile Posts: 886
Marketplace Rating: 0 | Actually, I was thinking precisely on stretching the font once I finish all the 5th Mix artist and song TextBanners, with the respective rates specified in the metrics, so when they're zoomed out, they look in the correct size... | |
| |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | | All times are GMT -6. The time now is 08:55 AM. | | |