Bemanistyle #1 In music game coverage - Dance Dance Revolution, Beatmania, IIDX, Popn Music Sponsored Banner Ad. Contact Keith or Djp to AdvertiseSponsored Advertisement

Go Back   Bemanistyle [dot] com Forums > Bemani Simulation > Theme Discussion
Reply
 
Thread Tools

[help] "Resizing" text in songwheel
Old 03-07-2007, 06:26 PM   #1
Wan
g//ay for k//eternal
 
Wan's Avatar
 
Wan is offline
Join Date: Jun 2006
Location: Santiago, Chile
Posts: 886
Marketplace Rating: 0
Send a message via PM  to Wan
Default [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
__________________




  Reply With Quote

Old 03-07-2007, 07:26 PM   #2
AJ 187
superman brothers
 
AJ 187 is offline
Join Date: Jun 2006
Location: Chicago
Posts: 788
Marketplace Rating: 0
Send a message via PM  to AJ 187
keeping the exploit, thanks
Default

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
__________________

Follow @kki_ssc on Twitter for KKI Labs/spinal shark collective news as it breaks!
  Reply With Quote

Old 03-07-2007, 07:53 PM   #3
Wan
g//ay for k//eternal
 
Wan's Avatar
 
Wan is offline
Join Date: Jun 2006
Location: Santiago, Chile
Posts: 886
Marketplace Rating: 0
Send a message via PM  to Wan
Default

Quote:
Originally Posted by AJ 187 View Post
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.
  Reply With Quote

Old 03-07-2007, 09:55 PM   #4
Wan
g//ay for k//eternal
 
Wan's Avatar
 
Wan is offline
Join Date: Jun 2006
Location: Santiago, Chile
Posts: 886
Marketplace Rating: 0
Send a message via PM  to Wan
Default

<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?
__________________




  Reply With Quote

Old 03-07-2007, 11:25 PM   #5
AJ 187
superman brothers
 
AJ 187 is offline
Join Date: Jun 2006
Location: Chicago
Posts: 788
Marketplace Rating: 0
Send a message via PM  to AJ 187
keeping the exploit, thanks
Default

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)
__________________

Follow @kki_ssc on Twitter for KKI Labs/spinal shark collective news as it breaks!

Last edited by AJ 187 : 03-07-2007 at 11:30 PM.
  Reply With Quote

Old 03-08-2007, 09:30 AM   #6
Wan
g//ay for k//eternal
 
Wan's Avatar
 
Wan is offline
Join Date: Jun 2006
Location: Santiago, Chile
Posts: 886
Marketplace Rating: 0
Send a message via PM  to Wan
Default

Quote:
Originally Posted by AJ 187 View Post
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...
__________________




  Reply With Quote

Old 03-08-2007, 11:17 AM   #7
eVILPeeR
//bemanistyle::[Member]
 
eVILPeeR is offline
Join Date: Jun 2006
Posts: 78
Marketplace Rating: 0
Send a message via PM  to eVILPeeR
Default

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
  Reply With Quote

Old 03-08-2007, 11:39 AM   #8
Wan
g//ay for k//eternal
 
Wan's Avatar
 
Wan is offline
Join Date: Jun 2006
Location: Santiago, Chile
Posts: 886
Marketplace Rating: 0
Send a message via PM  to Wan
Default

Quote:
Originally Posted by eVILPeeR View Post
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
__________________




  Reply With Quote

Old 03-08-2007, 12:02 PM   #9
AJ 187
superman brothers
 
AJ 187 is offline
Join Date: Jun 2006
Location: Chicago
Posts: 788
Marketplace Rating: 0
Send a message via PM  to AJ 187
keeping the exploit, thanks
Default

Quote:
Originally Posted by Wan View Post
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)
__________________

Follow @kki_ssc on Twitter for KKI Labs/spinal shark collective news as it breaks!
  Reply With Quote

Old 03-08-2007, 12:26 PM   #10
Wan
g//ay for k//eternal
 
Wan's Avatar
 
Wan is offline
Join Date: Jun 2006
Location: Santiago, Chile
Posts: 886
Marketplace Rating: 0
Send a message via PM  to Wan
Default

Quote:
Originally Posted by AJ 187 View Post
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.
  Reply With Quote

Old 03-08-2007, 06:41 PM   #11
AJ 187
superman brothers
 
AJ 187 is offline
Join Date: Jun 2006
Location: Chicago
Posts: 788
Marketplace Rating: 0
Send a message via PM  to AJ 187
keeping the exploit, thanks
Default

Yeah, this would only really work well in a locked environment where you use SM to simulate 5th Mix. :/
__________________

Follow @kki_ssc on Twitter for KKI Labs/spinal shark collective news as it breaks!
  Reply With Quote

Old 03-08-2007, 07:05 PM   #12
TakuyaMAXX
StepMania Themer
 
TakuyaMAXX's Avatar
 
TakuyaMAXX is offline
Join Date: Jul 2006
Location: Santiago, Chile
Posts: 642
Marketplace Rating: 0
Send a message via PM  to TakuyaMAXX
Smile

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
  Reply With Quote

Old 03-09-2007, 08:40 AM   #13
dieKatze88
STANLEY FUBAR
 
dieKatze88's Avatar
 
dieKatze88 is offline
Join Date: Jan 2005
Location: New Jersey
Posts: 2,597
Marketplace Rating: 4
Send a message via PM  to dieKatze88
dieKatze88 dieKatze88
Default

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.
  Reply With Quote

Old 03-09-2007, 05:47 PM   #14
Wan
g//ay for k//eternal
 
Wan's Avatar
 
Wan is offline
Join Date: Jun 2006
Location: Santiago, Chile
Posts: 886
Marketplace Rating: 0
Send a message via PM  to Wan
Default

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...
__________________




  Reply With Quote
Reply



Go Back   Bemanistyle [dot] com Forums > Bemani Simulation > Theme Discussion
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Sponsored Advertisement



All times are GMT -6. The time now is 08:55 AM.

vBulletin skin developed by: eXtremepixels
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
| Home | Register | FAQ | Members List | Calendar | Today's Posts | Search | New Posts |