Qhimm.com Forums

Miscellaneous Forums => Troubleshooting => Topic started by: Hellbringer616 on 2009-08-15 18:20:54

Title: Main menu background replacement
Post by: Hellbringer616 on 2009-08-15 18:20:54
Just a quick question, I know Grimmy has done it but for the life of my i can't find the post.

But i want to replace the default main menu with one of higher resolution

Anyone know if thats possible? and if so, how i could go about doing that?
Title: Re: Main menu background replacement
Post by: Kranmer on 2009-08-15 18:58:59
well grimmy did it here
http://forums.qhimm.com/index.php?topic=8414.msg102173#msg102173

and some other guy did it here
http://forums.qhimm.com/index.php?topic=8616.0
but this guy posted his work so you may be able to figure out how he did it from this.

EDIT:
also on the qhimm wiki it has more info on the menu
http://wiki.qhimm.com/FF7/Menu_Module
Title: Re: Main menu background replacement
Post by: obesebear on 2009-08-15 19:43:25
You will need to create a HUGE texture because (as far as I know) the main menu only uses the upper left 1/4 of the texture.  So if you want a 1028x1028 menu, the entire texture would need to be 4x that...
Title: Re: Main menu background replacement
Post by: Cyber Light on 2009-08-15 20:12:49
I use textool and working for 8bit.But i use image2tex to make 24bit and not working
(http://i200.photobucket.com/albums/aa301/votinh193/ff72009-08-1603-06-32-92.png)
Title: Re: Main menu background replacement
Post by: Hellbringer616 on 2009-08-16 02:54:44
I wonder. Would Aali's Texture replacement method work on the menu?
Title: Re: Main menu background replacement
Post by: Kranmer on 2009-08-16 06:40:43
i dont know if Aali's texture replacment would work or not but i might give it a go later. But it isnt to hard to edit the current start menu, I just had a quick go here
(http://img44.imageshack.us/img44/4508/custom2.jpg)
The only problem i have is it cant take up the whole screen i can  only take up the middle of the screen and i have to be carefull since the picture is a overlay if its to big you end up with no writing on the screen (like Mike Strife Nguyen's pic)
Title: Re: Main menu background replacement
Post by: Hellbringer616 on 2009-08-16 06:49:41
Can't be full screen? That sucks..
Title: Re: Main menu background replacement
Post by: Kranmer on 2009-08-16 06:57:49
well it may be possible to make it full screen i just havent found out how to yet. I can make it take up most of the middle of the screen i just cant seem to make it any wider then what you can see currently but its easy to make it longer but when i do it overlays over the text and i cant see new game or continue (this could be fixed by making a black box in the middle of the picture but this could also make it ugly.
I have also just removed the pic from my previous post and posted a different image (since i think it may slightly be bad to use a DMC image in FF with the new rules)
Title: Re: Main menu background replacement
Post by: Hellbringer616 on 2009-08-16 06:59:43
well it may be possible to make it full screen i just havent found out how to yet. I can make it take up most of the middle of the screen i just cant seem to make it any wider then what you can see currently but its easy to make it longer but when i do it overlays over the text and i cant see new game or continue (this could be fixed by making a black box in the middle of the picture but this could also make it ugly.
I have also just removed the pic from my previous post and posted a different image (since i think it may slightly be bad to use a DMC image in FF with the new rules)

just put the works "New Game" and "Continue" where it should be. Or is the pointer invisible too?
Title: Re: Main menu background replacement
Post by: Kranmer on 2009-08-16 07:06:01
the pointer is invisible as well. it looks exactly like Mike Strife Nguyen's picture in that aspect
Title: Re: Main menu background replacement
Post by: Hellbringer616 on 2009-08-16 07:07:19
Ah. well. no way around that then..

Might as well leave it alone then haha I wanted to put a higher res image in. closer to the res i am running it at (1280 x 960)
Title: Re: Main menu background replacement
Post by: willis936 on 2009-08-18 02:11:54
You will need to create a HUGE texture because (as far as I know) the main menu only uses the upper left 1/4 of the texture.  So if you want a 1028x1028 menu, the entire texture would need to be 4x that...
Hmm, though this method does require a large file it seems to get the job done without any issues.


I use textool and working for 8bit.But i use image2tex to make 24bit and not working
(http://i200.photobucket.com/albums/aa301/votinh193/ff72009-08-1603-06-32-92.png)
I really like this for the background, I believe that an image with a resolution of 500x500, if applied well, could look just fine and much better than the original.
Title: Re: Main menu background replacement
Post by: Cyber Light on 2009-08-18 15:12:37
Here is original image 1280x1280 pixels
(http://i200.photobucket.com/albums/aa301/votinh193/Final_Fantasy_VII_FanArt_04_by_yong.jpg)
Use textools 8bit
(http://i200.photobucket.com/albums/aa301/votinh193/ff72009-08-1822-08-21-79.png)
Use Image2tex 24bit
(http://i200.photobucket.com/albums/aa301/votinh193/ff72009-08-1603-06-32-92.png)
Title: Re: Main menu background replacement
Post by: willis936 on 2009-08-18 17:12:35
The original image is 640x640.

Also, which file would I edit to change the background in menu_us?
Title: Re: Main menu background replacement
Post by: Cyber Light on 2009-08-18 17:30:01
sr my bad  :-D Here is 1280x1280 pixels
(http://i200.photobucket.com/albums/aa301/votinh193/Final_Fantasy_VII_FanArt_04_by_y-1.jpg)
Title: Re: Main menu background replacement
Post by: Kranmer on 2009-08-18 19:52:25
well Mike Strife Nguuyen i just used your 1280x1280 image in IMG2TEX and it worked pretty good.
(http://img24.imageshack.us/img24/9079/ff7notmyimage.jpg)
i was quite impressed with the image so i think i might keep this as my menu (although i may customize it slightly to make it higher up on the screen)

EDIT: Also willis936 you replace the TEX file called "buster.tex" in the menu_us.lgp to change the image for the menu.
Title: Re: Main menu background replacement
Post by: Cyber Light on 2009-08-19 02:14:58
kranmer you use Aali lgp/unlgp ? I use Lgp Tools and it didn't work
Title: Re: Main menu background replacement
Post by: willis936 on 2009-08-19 02:40:47
I got the img2tex working and it looks AWESOME but editing the image size/location of art in the image didn't have much effect when I tested it.  Anyone know how to make it bigger?
Title: Re: Main menu background replacement
Post by: Cyber Light on 2009-08-19 02:48:05
You mean this willis ? http://www.youtube.com/watch?v=yspqeCUrLUg I think if you want to do this you have to edit ff7.exe but i'm not programmer so i don't know how to do this.
Title: Re: Main menu background replacement
Post by: willis936 on 2009-08-19 02:50:13
Yes!  That's exactly what I'm looking for.
Title: Re: Main menu background replacement
Post by: Kranmer on 2009-08-19 06:32:46
yes Mike Strife Nguyen i used IMG2TEX then i extracted the menu_us.lgp files to a folder then i rebuilt the LGP using UNLGP (i used it all in command line and i did NOT drag and drop since drag and droping causes a few problems on my system). If you need help using LGP tools just use a command line and tell me what errors you get when trying to make a LGP archive.

Willis939 i have no idea how to make it look like that and is proberly out of my league but maybe if you asked somone else (like Aali or somone else who knows alot more about FF7) but it is said the main menu is located in Menu_US.LGP and also WINDOWS.BIN but i havent looked into windows.bin yet so i have no idea if the way to fix this problem lies there.
Title: Re: Main menu background replacement
Post by: Cyber Light on 2009-08-19 10:50:58
I use Aali lgp/unlgp and create 2 file lgp.bat and unlgp.bat
unlgp.bat
Code: [Select]
unlgp menu_us.lgplgp.bat
Code: [Select]
lgp menu menu_us.lgpI put menu_us.lgp in Aali lgp/unlgp folder click to unlgp.bat extract all file in menu_us.lgp and cut all file i extract to new folder name menu. After that i create new buster.tex use img2tex and replace old buster.tex. I click to lgp.bat for create new menu_us.lgp. And i still have this problem  :? What was wrong?
(http://i200.photobucket.com/albums/aa301/votinh193/ff72009-08-1603-06-32-92.png)
Title: Re: Main menu background replacement
Post by: Tekkie.X on 2009-08-19 10:54:16
Did you uncheck the colour 0 a transparent button at some point?

 I used image2tex with that image and my menu is fine.
Title: Re: Main menu background replacement
Post by: Cyber Light on 2009-08-19 11:02:31
Check this?
(http://i200.photobucket.com/albums/aa301/votinh193/untitled-6.png)
Of course i have check it
Title: Re: Main menu background replacement
Post by: LeeHiOoO on 2009-08-19 13:18:23
I can make it full screen...its all at ff7.exe,  just need to disassemble it and find the flags for bg pos xy, width and height. Its not so difficult.. I may take a look at it later.
Title: Re: Main menu background replacement
Post by: Kranmer on 2009-08-20 07:03:56
Mike Strife Nguyen there may be 1 small problem i have found. Tell me what resolution are you running the game at ? (using Aali's Driver i mean).
And also leehiooo if you could fix the menu problem it would be brilliant (i only know how to dissemble i dont know how to do much with the dissembly so i have no idea how to do somthing like that)
Title: Re: Main menu background replacement
Post by: drfeelgud88 on 2009-08-20 07:16:35
wo0tz! i got it to work!
well Mike Strife Nguuyen i just used your 1280x1280 image in IMG2TEX and it worked pretty good.
(http://img24.imageshack.us/img24/9079/ff7notmyimage.jpg)
i was quite impressed with the image so i think i might keep this as my menu (although i may customize it slightly to make it higher up on the screen)

EDIT: Also willis936 you replace the TEX file called "buster.tex" in the menu_us.lgp to change the image for the menu.
this is the 1 i got on my ff7 game atm :)

thankz kranmer for showing me
Title: Re: Main menu background replacement
Post by: Cyber Light on 2009-08-20 07:24:31
Mike Strife Nguyen there may be 1 small problem i have found. Tell me what resolution are you running the game at ? (using Aali's Driver i mean).
And also leehiooo if you could fix the menu problem it would be brilliant (i only know how to dissemble i dont know how to do much with the dissembly so i have no idea how to do somthing like that)
I use 640x480 resolution Aali's Driver 0.7.1b  :?
Title: Re: Main menu background replacement
Post by: drfeelgud88 on 2009-08-20 09:15:59
hey, how can i insert this image? i tried IMG2TEX but didnt work  :-(
(http://i723.photobucket.com/albums/ww236/drfeelgud88/bustersword.jpg)
Title: Re: Main menu background replacement
Post by: Kranmer on 2009-08-20 10:07:31
Mike Strife Nguyen that could very well by your problem. you cant have a 1280 image on a 640 running resoulution. Make the image the same size as the resoultion your using. so if you use the 1280 picture make sure you game is running at 1280 (for example i use 1280x1024 and it works with your 1280x1280 image but if i use a smaller res it does as it shows in your picture)

drfeelgud88 i will have a look at that image later and see if i can get it to work on the main menu but just so i know, what happens when you try to inset that image ? (you also may need to add black area's like the other images to make it fit correctly)
Title: Re: Main menu background replacement
Post by: Cyber Light on 2009-08-20 16:12:53
I change img to 512x512 but still have this problem. Could you share me your menu_us.lgp for my check test?  :|
Title: Re: Main menu background replacement
Post by: Kranmer on 2009-08-20 17:00:23
cant send you my menu_us.lgp since its against the rules of the forum. But i can proberly send you my custom TEX file. Check your PM's Mike Strife Nguyen
Title: Re: Main menu background replacement
Post by: drfeelgud88 on 2009-08-20 20:02:42
when i try to insert this image (the same way i did with the other), the picture is alot smaller than this actual one; meaning that it doesnt fit right. plus, the "New Game" and "Continue" are missing and also the hand pointer thing
Title: Re: Main menu background replacement
Post by: Kranmer on 2009-08-20 20:24:39
well drfeelgud88 we have yet to find how to make the image bigger then what your seeing since we cant figure out how to make it full screen yet. And the NEW GAME and CONTINUE are missing because they only show on a black background (the colour black is classed as transparent in IMG2TEX if you use the option). Currently the only way to fix this is either make the image fit under NEW GAME and CONTINUE or to make a black spot in the image where the text is supposed to be. Until Full screen start menu backgrounds can be done the best we can do is proberly somthing like this
(http://img259.imageshack.us/img259/6571/78661095.jpg)
Title: Re: Main menu background replacement
Post by: drfeelgud88 on 2009-08-20 20:58:26
I've seen (somewhere in this forum) that links to a video on youtube that someone SUCESSFULLY made it full screen with the "New Game" and "Continue" fit properly... but I seem to have misplaced the thread  :?

EDIT: Ok, i found it. Its not full screen but it certainly fits better than the one above... Hmm, the posters in the thread linking to this video say its fake, but it doesnt look fake to me
http://www.youtube.com/watch?v=yspqeCUrLUg
Do you think its possible to make it come out like this?
Title: Re: Main menu background replacement
Post by: Kranmer on 2009-08-20 21:29:52
yes i have seen that video before (earlyer in this thread actually) and i am sure its possible (i mean the video sort of proves that) but its just doing it that seems to be the problem. The person in the video seems to have made a underlay rather then a overlay image. its possible he figured out how to edit the actually background rather then the image on the background (what i mean is, is that what we edit is just a picture on the background. the guy in the video possibly found the real background) but i have no idea where that would be or if i am even right. My theory on the matter is that it is either in FF7.exe or is possibly somhow connected to window.bin or maybe there is a file we are missing alltogether that has the real background data in it.
We could really do with someone who knows more about the game (in a programming sense) joining this thread.
Title: Re: Main menu background replacement
Post by: halkun on 2009-08-20 21:41:40
Dumb question, but where did you get that picture from?
Title: Re: Main menu background replacement
Post by: drfeelgud88 on 2009-08-20 21:58:16
yes i have seen that video before (earlyer in this thread actually) and i am sure its possible (i mean the video sort of proves that) but its just doing it that seems to be the problem. The person in the video seems to have made a underlay rather then a overlay image. its possible he figured out how to edit the actually background rather then the image on the background (what i mean is, is that what we edit is just a picture on the background. the guy in the video possibly found the real background) but i have no idea where that would be or if i am even right. My theory on the matter is that it is either in FF7.exe or is possibly somhow connected to window.bin or maybe there is a file we are missing alltogether that has the real background data in it.
We could really do with someone who knows more about the game (in a programming sense) joining this thread.
ya, it fits well together (even if it isn't full screen on his or her) but it looks great either way and I wish to implement this onto my ff7 game.

Dumb question, but where did you get that picture from?
I googled "buster sword" on images... should be the first image
Title: Re: Main menu background replacement
Post by: LeeHiOoO on 2009-08-21 01:00:58
I've trying to debug to see if I could find the argument for pos.x, pos.y, width and height of the background, but ollydbg is not working so well in my Windows 7.. I think it's due to some compatibility issues..
Title: Re: Main menu background replacement
Post by: LeeHiOoO on 2009-08-21 01:24:38
Well. I just found the argument for Pos Y New game string. It seems I wasn't able to debug correctly before, due to Aali's driver idk why.  :?
I'll keep searching. Debugging full screen apps its a slow task for me tho.

(http://i651.photobucket.com/albums/uu234/leehiooo/Untitled.png)
Title: Re: Main menu background replacement
Post by: halkun on 2009-08-21 02:34:06
Dumb question, but where did you get that picture from?
I googled "buster sword" on images... should be the first image

Do you think if I emailed Wen-JR (http://wen-jr.deviantart.com/art/Buster-sword-85395204) he would mind that you took his art?

I don't want to be a Negative Nancy, but please review the rules.
Title: Re: Main menu background replacement
Post by: drfeelgud88 on 2009-08-21 03:25:52
Dumb question, but where did you get that picture from?
I googled "buster sword" on images... should be the first image

Do you think if I emailed Wen-JR (http://wen-jr.deviantart.com/art/Buster-sword-85395204) he would mind that you took his art?

I don't want to be a Negative Nancy, but please review the rules.
I didn't say it was mine now did I? Unless I did, well, then, I apologize.
Title: Re: Main menu background replacement
Post by: Borde on 2009-08-21 21:16:20
LeeHiOoO, I suggest you use the window-mode patch. That's what I did back in the old times when I was messing with the FF7 engine.
Title: Re: Main menu background replacement
Post by: willis936 on 2009-09-02 03:03:58
Well does anyone know where I can download Grimmy's menu_us to see what he did? I lost mine lol

It's quite a quandary because changing out the buster.tex on his menu_us gave the same results as on the stock menu_us leading me to believe it can be achieved simply by doing something to the buster.tex.

I just don't know what.
Does anyone know where I can find tex2img tools?
Title: Re: Main menu background replacement
Post by: Borde on 2009-09-03 01:04:37
If you mean a program that converts a TEX file into a BMP file, the last version of Tex2Img can do it.
Title: Re: Main menu background replacement
Post by: Grimmy on 2009-09-16 15:13:00
My menu is the last link on my fmv thread. To make it work I used the original bmp palette. On that palette black was set to transparent so I made the sky area black to show the new game/continue. I've not used tex2img so I'm unsure as to how to set the transparency using it.