Posts: 14,166
Join Date: Mar 2006
IGN: ItsReiko
Server: Lawolf
Guild: Illuminati
Wiki Edits: 28
Rep Power: 30
Flyff Cash Shop Set Viewer -
11-25-2009, 08:55 PM
REGISTER TO REMOVE THIS AD
Current Version : Revision 248 (22nd June 2010).
Introduction
This is a program which I been working on during the past month or so. I've been having various computer problems - which are fixed now - but while I had these problems, I basically couldn't play any music, games, etc on my computer. So I started coding this to occupy my time. Of course this means I could not even execute the program well on my computer, so I had to run it on our family's other computer when I had the chance, for testing purposes.
I have been practicing my c++ skills and teaching myself 3d games programming over the past 4 months or so, with the hope to one day remake my own game which I originally started 5 years ago as a 2d game. At the time, I disliked the progress I had so far (although it was about 25% completed) and scrapped it, telling myself I would one day redo it from scratch, and do it better. So this program is sort of a result of part of said practice.
What is it
Anyways, this Flyff Cash Shop Set Viewer is a stand-alone executable program, used for viewing the cash shop clothes and equipment sets in Flyff. You can mix and match parts as you want, allowing you to see how a combination of clothes would look together before you decide to buy it.
You can see a 3D view of the character, of which you can customize everything as you would in game. Face, hair style, hair color, and so on.
Although I no longer actively play Flyff, I thought this tool would be interesting to make, not only for the fun and learning experience of doing so, but basically to show that it could be done, and also because I feel the community has been wanting something like this for a long time.
The program was written in C++ and uses the Irrlicht 3D engine.
Requirements
What you'll need to use the program:
A computer with Microsoft Windows XP/Vista/7 and a mouse.
.
If using OpenGL mode, then you need a video card and video driver which supports at least OpenGL version 1.3, or more specifically, the glCompressedTexImage2D extension. This is so that the application can be able to render the compressed (.dds format) textures onto the models. However, the program defaults to using Direct3D. To use the OpenGL renderer, run the program with csview_opengl.bat.
.
If using Direct3D mode (default), then you need both these files:
- D3DX9_42.dll
- D3DCompiler_42.dll
If you have the August 2009 DirectX End-User Runtimes, then you already have these. They are bundled with the program now anyway.
.
The program loads the models and textures from the Flyff game folder, so it is a requirement to have an up-to-date version of the game client installed on your computer.
Some details
The models and textures are loaded from your Flyff client, so it is required that you have an up-to-date installation of Flyff to use it correctly. When you open the program for the first time, it will ask for the location of your Flyff folder, so it knows where to find them.
Although the models and textures are loaded from the Flyff client, the item list itself is hardcoded into the program. I deliberately chose to do this for a couple of reasons. However, this approach is both good and bad.
Bad means that I will have to keep it maintained, and that you will have to redownload the newest version every couple of weeks, or however often Flyff adds new sets to the client.
Good means that since I will have to maintain it, it might motivate me to add new features to it, fix bugs and make improvements in the future, along with the adding in of new items.
Warning
I don't know if people will try to embed a virus/keylogger into this program and try to send it out to people, so I am not going to give any warranty with the program. If this program makes your computer start singing The Hampster Dance, impregnates your sister, blows up a portion of your neighboorhood, or simply removes all the pornography from your computer, then it's not my fault that you got the tool from a dodgy source.
However, the download from this location (linked at the bottom of this post) was uploaded by me myself, and is clean. If you are unsure about your copy, try scanning it with a site such as
Or even better, you can check your .zip file against the MD5 checksum listed below.
Hit The YouTubes
I also made a little youtube vid showing it in action:
Spoiler
Download
You can download the program at this page (thanks to Tor for laying it out and doing the pics). It's around a 2.13mb download (english) or 2.30mb (french). http://www.flyffworld.com/media/down...et-viewer.html
Code:
English Version:
Revision 248 - MD5 Checksum : d7dcbe6e067869092408edaca63e633a
French Version:
Revision 236 - MD5 Checksum : 3d40002550effc2fd0deedbb16445d1e
Since I'm too lazy to create a version numbering system for the program, I am just going to number the program by the last revision in my SVN repository. But I will include the date for convenience.
Current Version : Revision 248 (22nd June 2010).
Further Info
For more info check out the readme.txt file which is bundled in the archive at the download link above.
Credits and thanks
Spoiler
Wani:
She took the screenshot at mushpoies used as the background image, and also drew the little buttons in the bottom corner. She also had the suggestion for the 'randomize' button.
.
KurosakiMegumi:
She's a girl, and she is asian. It is obvious why I asked her to help me with the look and layout of the program because asian chicks are picky and have a bit of a knack for that sort of thing.
.
pipelli:
Took to the .o3d mesh format specification from his open source .o3d<->.obj converter program. A program, such as this one which I made, would not be able to exist without his efforts.
.
xadet:
Provided me with the .res archive file format, and answered my questions about it. Support for this format was a vital part of the program because many older items are contained within the res files, and without it, many items wouldn't be available in this program.
.
Nadro:
Used his patch which allows Irrlicht to support the loading of compressed .dds textures.
.
hybrid & CuteAlien:
Helped me out by answering some general questions/aiding with a few problems I had while writing the program.
.
Sinner:
Gave me the idea to use a code for loading/saving different cash shop sets.
.
Suinia:
Sparked the idea to add the screenshot feature.
.
meimei:
Pointed out the (duplicate) Bright Nurse and Dark Nurse sets.
.
FiliaChan:
Suggested getting the Flyff directory from the registry to make setting the flyff dir the first time you run the program easier.
.
Luciana:
Pointed out the problem with the Orange Sandals (F) using the wrong texture.
.
xGossip:
Pointed out a bug with the timestamp used when saving screenshots, which caused screenshots not to be saved when the day in the current
date was a single digit number.
.
AndrewPippkin:
Helped with testing out the conversion over to the Direct3D 9 renderer.
.
Nimlith:
Pointed out a bug where when trying to import a code of some classes which had normal equips on, you would get an "Invalid Code" message,
even though the code was actually valid.
.
YooJin:
Did the translation for the French Flyff version of the program.
.
Winter:
Noticed that the Pumpkin Mask (cash shop hat) was missing from the program.
.
GoxRay:
Found a bug which would make the character's hair go invisible.
.
Pikmario:
Correction regarding the character's face showing through the Dark Vader hats (in game it cant't be seen, where as previously, in this program, it was). He also found a bug regarding the texutre on the Chi set shoes.
.
Contact/Feedback
Any comments, suggestions, bugs you found, etc. are welcome. You can either reply to this thread or PM me with those.
Posts: 671
Join Date: Oct 2009
IGN: Darkskitty
Server: Lawolf
Guild: Pawprints
Wiki Edits: 1
Rep Power: 2
11-25-2009, 09:39 PM
great idea! the wiki shows the shop sets sure, but this way you can do more. PLUS id love to see what hai style to go with my new eyes when i get them ^^
It's great program guys. Don't be surprise if kflyff comes calling for it =D Reiko did an awesome job. My hats to the man.
Quote:
great idea! the wiki shows the shop sets sure, but this way you can do more. PLUS id love to see what hai style to go with my new eyes when i get them ^^
How about some of you guys start adding the screen shots into the wiki of the sets =D We're missing a lot.
Posts: 2,606
Join Date: Jan 2008
Location: Home? what? you too? nowai :o
IGN: FiliaChan
Server: Kern
Guild: Tempest
Wiki Edits: 1039
Rep Power: 8
11-26-2009, 02:20 AM
For the path issue, try using the registry value located at:
HKEY_LOCAL_MACHINE\SOFTWARE\GalaNet\Flyff
The key is "App Path" and contains a string with the client path.
This would eliminate manually inserting the path.
It would also work if you ever un/reinstall the client elsewhere.
Posts: 14,166
Join Date: Mar 2006
IGN: ItsReiko
Server: Lawolf
Guild: Illuminati
Wiki Edits: 28
Rep Power: 30
11-26-2009, 02:27 AM
Quote:
Originally Posted by FiliaChan
For the path issue, try using the registry value located at:
HKEY_LOCAL_MACHINE\SOFTWARE\GalaNet\Flyff
The key is "App Path" and contains a string with the client path.
This would eliminate manually inserting the path.
It would also work if you ever un/reinstall the client elsewhere.
I think its more of just a convenience thing rather than a big solution.
On my computers, I dont have flyff installed normally like that. Since the last time I downloaded the full client was like v7, and I've reinstalled windows several times since, I dont have that registry key, although this does not stop me from being able to play the game. My other computer has the game simply cause I copied the folder across the network.
In any case, I could make it use that and fall back on the current method should it fail.
I will try see if I can get that working tomorrow or something though. Thanks for the suggestion.
Posts: 14,166
Join Date: Mar 2006
IGN: ItsReiko
Server: Lawolf
Guild: Illuminati
Wiki Edits: 28
Rep Power: 30
11-26-2009, 03:49 AM
Quote:
Originally Posted by xSHFT
Great job! Nice to see a program like this.
Must have been a bitch to work with the several formats, good thing you knew some people who things about them.
yeah
well its not entirely borrowed stuff compiled together. there is parts I still had to work out myself. but obviously just gave credit to what I didnt need to reinvent the wheel for.
well its not entirely borrowed stuff compiled together. there is parts I still had to work out myself. but obviously just gave credit to what I didnt need to reinvent the wheel for.
Yea I know you didnt compiled borrowed stuff together. But like all software people create something and others modify or use it to create something else.
That's why I love API's they are so great <3
Posts: 128
Join Date: Jun 2006
Location: Ontario!
IGN: Whimsical
Server: Demian
Guild: Agony
Wiki Edits: 0
Rep Power: 5
11-26-2009, 09:36 AM
;o!
I love this!
Pressing randomize actually gives you a few good CS combos. :>
Here is what I made with the random button, lol! http://img692.imageshack.us/img692/354/randomness.png
Some of em look dumb but others are neat.
Good job Reiko. :U