fodev.net
15.08.2009 - 23.06.2013
"Wasteland is harsh"
Home Forum Help Login Register
  • May 11, 2024, 10:30:00 am
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Play WikiBoy BugTracker Developer's blog
Pages: [1]

Author Topic: How to build a custom GUI?!?  (Read 4444 times)

How to build a custom GUI?!?
« on: June 10, 2010, 03:39:38 pm »

Id like to know how to build a custom GUI like u guys did i already made the buttons and stuff but how do i replace it in game?Could someone explain it to me please and il provide u with awesome GUI's!
Logged

Berko

  • Tim Tom Ted
    • http://kabefis.deviantart.com/
  • Offline
Re: How to build a custom GUI?!?
« Reply #1 on: June 10, 2010, 09:48:36 pm »

Yep.
The game use his resources in .dat file. You can see what is in it with some old software for fallout 2. (you have to get one of them if you want extract files to understand who it works and make your own)
Dat file contain organized file in folders.
To change some of these data you have to recreate the file with his relative path.

Example : You want to change "fixboy.png" and you see it's located in /art/intrface/
If you create this path in the data folder where the game is installed (ex: c:/program files/fonline/data/art/intrface/ ) and you put your version of "fixboy.png" the game will choose your file instead of the file in .dat file.

You can download some interface to see how they works.
Don't have enough time to explain a better post but after that you have some .ini file to configure your interface (to choose the name of your file, their size and position etc etc)
Check default.ini first (good .ini files is now in faction006.dat)
Logged
~~~ Ashes of Phoenix project --> http://fonline-aop.net/ ~~~
Re: How to build a custom GUI?!?
« Reply #2 on: June 29, 2010, 03:52:40 pm »

The problem in modification of this game is that Fonline team took closed source approach. Yes - they rely on old fallout files, which will be closed for another 20-50 years, but they, IMO, made a mistake by releasing closed source of their wrapper-engine.

So you have 2 choices actually. Get the undat - extract critter.dat and master.dat and try to understand the closed-source file structure and scripting. Another choice is to hack the client itself.

I believe guys will provide some kind of interface for modifications in the future, but I dont expect it to be soon.
Logged

Nikey646

  • TRH
  • Offline
Re: How to build a custom GUI?!?
« Reply #3 on: July 01, 2010, 07:12:53 am »

We All Kno, We want It now :)

I believe guys will provide some kind of interface for modifications in the future, but I dont expect it to be soon.
Logged
I L0\/E T0 USE....


It takes more then stealing everything we own, to take a Hound Down.

Graf

  • Moderator
  • "Next Day" developer
  • Offline
Re: How to build a custom GUI?!?
« Reply #4 on: July 01, 2010, 01:01:42 pm »

It's not that complicated, as you said. A while ago I started writing a wiki-page about GUI modding, so you can track it here. There is a LOT of work, but someday it'll be done ;)
« Last Edit: July 01, 2010, 01:04:29 pm by Graf »
Logged

Nikey646

  • TRH
  • Offline
Re: How to build a custom GUI?!?
« Reply #5 on: July 02, 2010, 07:08:56 am »

It's not that complicated, as you said. A while ago I started writing a wiki-page about GUI modding, so you can track it here. There is a LOT of work, but someday it'll be done ;)

Hmm, well i started to Dissect some of the .Dat files, for the GUIs and stuff, and i could help with the finding of files....if you want help with that, Contact mes VIA Pm heres :)
Logged
I L0\/E T0 USE....


It takes more then stealing everything we own, to take a Hound Down.

Graf

  • Moderator
  • "Next Day" developer
  • Offline
Re: How to build a custom GUI?!?
« Reply #6 on: July 13, 2010, 05:02:04 pm »

I wonder if someone would help me adding some information in wiki, because there is ton of work left. Please PM me, if you have anything interesting to add.
Logged

jan0s1k

  • If it bleeds we can kill it...
    • Chosen Soldiers
  • Offline
Re: How to build a custom GUI?!?
« Reply #7 on: July 16, 2010, 07:34:20 am »

The problem in modification of this game is that Fonline team took closed source approach. Yes - they rely on old fallout files, which will be closed for another 20-50 years, but they, IMO, made a mistake by releasing closed source of their wrapper-engine.

So you have 2 choices actually. Get the undat - extract critter.dat and master.dat and try to understand the closed-source file structure and scripting. Another choice is to hack the client itself.

I believe guys will provide some kind of interface for modifications in the future, but I dont expect it to be soon.

cool story bro ;)
Dat Explorer is best tool for exploring *.dat I think ;) you can also unpack these files like on winrar etc ;)
Logged

Resp

  • I'll shoot second =]
    • spnet
  • Offline
Re: How to build a custom GUI?!?
« Reply #8 on: July 16, 2010, 12:29:33 pm »

please, give me program for make multiframe *.frm files also
Logged
I'm sorry for my poor English. Please correct me, I will learn
"Hell," said Tanner. "That's my name...." (с)
http://wasteland.spb.su/fo/?s=2&t=4

jan0s1k

  • If it bleeds we can kill it...
    • Chosen Soldiers
  • Offline
Re: How to build a custom GUI?!?
« Reply #9 on: July 17, 2010, 12:01:03 am »

search it at google.com it's not so hard
Logged

Resp

  • I'll shoot second =]
    • spnet
  • Offline
Re: How to build a custom GUI?!?
« Reply #10 on: July 17, 2010, 11:02:09 am »

http://www.google.com/search?hl=ru&q=converter+to+multiframe+frm+file&aq=f&aqi=&aql=&oq=&gs_rfai=
try find it please. it is much harder than it seems at first glance.
I would not ask if I did not think that here I will quickly come right.

p.s.
"search in Google" - so always meet trolls.
Do not give in to temptation
« Last Edit: July 17, 2010, 11:10:38 am by Resp »
Logged
I'm sorry for my poor English. Please correct me, I will learn
"Hell," said Tanner. "That's my name...." (с)
http://wasteland.spb.su/fo/?s=2&t=4

jan0s1k

  • If it bleeds we can kill it...
    • Chosen Soldiers
  • Offline
Re: How to build a custom GUI?!?
« Reply #11 on: July 17, 2010, 02:25:22 pm »

I download from this link many of useful tools ;)
I think this application should help you ;)
but it's little hard to use ;p
Logged

KraftikBG

  • New generation of bombs...
  • Offline
Re: How to build a custom GUI?!?
« Reply #12 on: July 17, 2010, 08:11:31 pm »

Hehe , cool programs , i must learn to use them :D
Logged
Events ,fun,criticals,GvG,PvP,PvE,crafting,trading,(banning),looting  ,talking , lame admins,  ragequits.That all is in this game = FOnline 2238 , now it´s fu**ed GAME !

Resp

  • I'll shoot second =]
    • spnet
  • Offline
Re: How to build a custom GUI?!?
« Reply #13 on: July 17, 2010, 10:09:03 pm »

jan0s1k, I am very grateful to you for help
Logged
I'm sorry for my poor English. Please correct me, I will learn
"Hell," said Tanner. "That's my name...." (с)
http://wasteland.spb.su/fo/?s=2&t=4

jan0s1k

  • If it bleeds we can kill it...
    • Chosen Soldiers
  • Offline
Re: How to build a custom GUI?!?
« Reply #14 on: July 17, 2010, 10:26:14 pm »

no problem when I can I always help ;) (maybe not all people but most ^^)
Logged

Pages: [1]
 

Page created in 0.098 seconds with 18 queries.