RelicNews Forums

Go Back   RelicNews Forums > RDN - Relic Game Mods > Homeworld 2 - Tanis Shipyards
User Name
Password
Register FAQ Members List Arcade Mark Forums Read



Reply
 
Thread Tools
Old 17th Jan 06, 1:27 AM Forum Rules   # 1
Mikail
Lost in the Web...
 
Mikail's Avatar
 
Join Date: Jun 2003
Location: %HW2_ROOT%

New Data.zip

I've run evillejedi's data.zip through my pretty-printer.
I was wondering if anyone would be willing to host it?

Moe-edit:
You can download the file here.


New version is here.

[edit] New homepage: http://isometricland.com/homeworld/homeworld.php
__________________
Download my HW2 mods, maps & tools. link

Last edited by Mikail : 5th Dec 09 at 7:40 PM. Reason: Added link to new homepage.
Mikail is offline  
Old 17th Jan 06, 6:12 AM Child's Play Donator Forum Rules   # 2
Moe
Gimme your lunch money!
 
Moe's Avatar
 
Join Date: Oct 2003
Location: #homeworld

Yeah, I can do that. PM me for details.
Also, what's a pretty-printer?
__________________
Moe is offline  
Old 17th Jan 06, 10:05 AM   # 3
adamstrange
Member
 
adamstrange's Avatar
 
Join Date: Mar 2004

Whats inside this DATA zip that you can't get from the HW2 BIG file?
__________________
strange...as wonderfull as it may be,i'm still...up here... floating...and no one even seems to notice.
adamstrange is offline  
Old 17th Jan 06, 10:22 AM Forum Rules   # 4
Mikail
Lost in the Web...
 
Mikail's Avatar
 
Join Date: Jun 2003
Location: %HW2_ROOT%

Mikail is offline  
Old 17th Jan 06, 11:36 AM Forum Rules   # 5
Zatch
Devil's Advocate
 
Zatch's Avatar
 
Join Date: Feb 2004
Location: CA, USA

@adamstrange: Have you tried decompiling all of the files out of the Homeworld2.big and then running the game? No decompiler works properly. Hence the cleaned up and functional Data.zips that float around.
__________________
~
Zatch is offline Send a message via MSN to Zatch  
Old 17th Jan 06, 12:30 PM   # 6
Sastrei
Member
 
Join Date: Jan 2005
Location: Michigan

Sounds interesting. And useful.

-Stefan-
__________________
Sastrei is offline Send a message via AIM to Sastrei Send a message via Yahoo to Sastrei  
Old 18th Jan 06, 12:44 AM Child's Play Donator Forum Rules   # 7
Moe
Gimme your lunch money!
 
Moe's Avatar
 
Join Date: Oct 2003
Location: #homeworld

Still waiting for the email from mikail, as soon as I get it I'll up it on the RN/MTS2 server cluster.
Moe is offline  
Old 18th Jan 06, 3:06 AM Child's Play Donator Forum Rules   # 8
Moe
Gimme your lunch money!
 
Moe's Avatar
 
Join Date: Oct 2003
Location: #homeworld

Got it.

You can download it here directly. To save you guys some download time I used a self-extracting RAR archive. If you don't know what that is, don't worry - the file is an executable, double-clicking on it will extract it, you don't need any additional software for that.
Moe is offline  
Old 18th Jan 06, 3:24 AM Forum Rules   # 9
Mikail
Lost in the Web...
 
Mikail's Avatar
 
Join Date: Jun 2003
Location: %HW2_ROOT%

Note that there may still be some errors, so please post your feedback here.
Mikail is offline  
Old 18th Jan 06, 3:15 PM   # 10
adamstrange
Member
 
adamstrange's Avatar
 
Join Date: Mar 2004

Quote:
Have you tried decompiling all of the files out of the Homeworld2.big and then running the game?
If you mean decompiling everything from the DATA folder in the HW2 BIG.file into the HW2 DATA folder then yes i have without a single problem useing the SpookyRat Tool.

I've been doing this since i brought the game and its the only decompiler that i know of...plus it opens my DOW files.

I know for sometime i've been reading on the forum about the first DATA.ZIP and always thought it was something special since so many were always asking for it...until i found out it was just the normal DATA folder:dolt:
adamstrange is offline  
Old 18th Jan 06, 3:36 PM   # 11
Le Sun Tzu
Member
 
Join Date: Oct 2005
Location: City of Lights

When you try to modify files like ingamemenu, you see that not all files decompile easily; that's when Mikail's work saves your head or your computer screen whichever the harder
Le Sun Tzu is offline  
Old 18th Jan 06, 4:13 PM   # 12
FleetCommand
Guest
 

@Adamstrange:
You decompiled without a SINGLE problem? Do you mean you didn't have problem decompiling? or do you mean you didn't have problem modding with them? In this case, the phrase "without a single problem" means you either tested the decompiled data thoroughly in full depth and scale and simulated all conditional trajectory traversal or otherwise you don't know what you're saying.

Belieave me. I tell you that LuaDc (which Spooky RAT also use) does not do its job completely well.

I also remember Moe (in his Keeper tutorial) recommended us not to use all the decompiled files at once, since they can sometimes cause crash. It means he too had some experiences with incompetent decompiling.
 
Old 18th Jan 06, 6:45 PM   # 13
Inert
Member
 
Join Date: Feb 2005
Location: Right behind you... And slightly to the left.

He means that he's never had problems extracting the files.

Running them is another matter.
Inert is offline Send a message via AIM to Inert Send a message via MSN to Inert  
Old 19th Jan 06, 1:36 AM   # 14
adamstrange
Member
 
adamstrange's Avatar
 
Join Date: Mar 2004

No Inert, i mean just that,no problems.
Quote:
Do you mean you didn't have problem decompiling? or do you mean you didn't have problem modding with them?
Both.
I extracted the files from the DATA folder in the HW2 big and then started to just decompile them with the Rat Tool because at the time i had just had the game for a short while.

First thing i did was change the cost of the units and their buildtimes,ran the game and no problems.

The only problem i had was adding a torpedo to the railfighter in the Genisis mod [ i think it was Genisis] because i didn't know how to do it at the time.

It would not fire and a day or two later i found that the reason it would not fire was because it was a SPECIAL ATTACK weapon so i set it to normal,thanks to a tutorial.

Other than that i never had a problem extracting and decompiling any of the files that i have used and modded with.

The LuaDc program i tried to figure out when i first started modding and since it didn't come with any info on how to use it...i never did.

Then someone told me about the SpookyRat Tool and that was it so unless the files that your modding [like the Interface which i have not tried] are different from the one that i have been modding [ship,event,ai,resource,scripts,sub,weapon and nebula] then you must be doing something wrong or something may be wrong with the program that your useing.

PS: I think the LuaDc program uses a command prompt or DOS which is maybe why i could not figure it out because i don't do DOS...at all

Last edited by adamstrange : 19th Jan 06 at 1:57 AM.
adamstrange is offline  
Old 19th Jan 06, 11:38 AM Forum Rules   # 15
Zatch
Devil's Advocate
 
Zatch's Avatar
 
Join Date: Feb 2004
Location: CA, USA

@adamstrange: I don't think Spooky RAT decompiles everything. It extracts everything and then decompiles some of the files, but things like the UI *.LUA files don't decompile properly and will make the game crash whilst loading.
Zatch is offline Send a message via MSN to Zatch  
Old 22nd Jan 06, 2:27 AM Child's Play Donator Forum Rules   # 16
Moe
Gimme your lunch money!
 
Moe's Avatar
 
Join Date: Oct 2003
Location: #homeworld

Mikail has sent me a new and improved version, I have uploaded it in place of the old one.
Moe is offline  
Old 22nd Jan 06, 2:37 PM Child's Play Donator   # 17
FleetCommand
Guest
 

Good call Moe. I've just run them through comparison. The new version is prettier and better compressed.
 
Old 24th Jan 06, 5:12 AM Forum Rules   # 18
Mikail
Lost in the Web...
 
Mikail's Avatar
 
Join Date: Jun 2003
Location: %HW2_ROOT%

Updated notes:

Last edited by Mikail : 19th Apr 06 at 7:13 PM.
Mikail is offline  
Old 13th Apr 06, 12:43 PM   # 19
Haygr
Guest
 

Hey guys,

just wanted to tell that all mission.lua files in leveldata/campaign are giving syntax error!
Do you have a solution for that?
 
Old 13th Apr 06, 1:34 PM   # 20
FleetCommand
Guest
 

Well, yes. Sometimes compiled things don't properly de-compile. As I always say, decompiled LUA files are not reliable. One should use original source code instead of decompiled source code if at all possible. A lot of original source code are included in RDN Toolkit.

For now, abort any attempt to modify campaign missions.
 
Old 13th Apr 06, 2:49 PM   # 21
Le Sun Tzu
Member
 
Join Date: Oct 2005
Location: City of Lights

That is not very positive thinking Mission files are not in RDN release afaik. Besides, I've never had any problems with those when decompiled.
Le Sun Tzu is offline  
Old 13th Apr 06, 7:00 PM Forum Rules   # 22
Mikail
Lost in the Web...
 
Mikail's Avatar
 
Join Date: Jun 2003
Location: %HW2_ROOT%

Quote:
Originally Posted by Haygr
Hey guys,

just wanted to tell that all mission.lua files in leveldata/campaign are giving syntax error!
Do you have a solution for that?

I'm currently working on replacing scripts with ones included with the RDN Toolkit (wherever possible). They're commented, and don't suffer from the decompilation-induced bugs that some of the current scripts do. However, some of them are versions from before the 1.1 patch.
Until I've finished making these changes, try using the scripts in the RDN Toolkit, instead (if you can).

Edit: see this thread for more info.

Edit: I see now that the mission Luas aren't included in the RDN Toolkit. Usually you can tell when scripts are buggy because they have indentation issues -- which these don't. Also, I don't remember having any problems using these particular files in the past. However, it's been a while since I've tested them.

Last edited by Mikail : 19th Apr 06 at 7:13 PM.
Mikail is offline  
Old 14th Apr 06, 4:28 PM   # 23
FleetCommand
Guest
 

Quote:
That is not very positive thinking. Mission files are not in RDN release afaik.


Positive thinking it may not be, but its sure in accordance to IP. Relic people don't want everyone to go around and modify their campaign mission, that why they aren't included in RDN Toolkit.
 
Old 14th Apr 06, 4:42 PM   # 24
Charvell
Guest
 

I've been trying to fix the "level".lua files and I'm not certain what constitutes an error... I've fixed all the obvious punctuation/spacing errors but there are still a few hard to find errors that elude me. Is there any reference material available?

Last edited by Charvell : 14th Apr 06 at 5:08 PM.
 
Old 14th Apr 06, 9:50 PM Forum Rules   # 25
Mikail
Lost in the Web...
 
Mikail's Avatar
 
Join Date: Jun 2003
Location: %HW2_ROOT%

Quote:
Originally Posted by Charvell
Is there any reference material available?

Yes.
http://hw2.tproc.org/wiki/MappingTutorial
Mikail is offline  
Old 30th Apr 06, 6:38 AM   # 26
Nollie
Guest
 

Hello everyone.

I've been playing Homeworld 2 for a while now and would like to increase the unit caps to make it a more intense and exciting game. I've Googled it and downloaded the decompiler, as said on rc mad's Unit Cap Tutorial - wiki.hw2.info/TutorialUnitCaps - and followed instruction but whenever I fire up Homeworld 2 and load or start a campaign the unit caps remain, even after changing them.

I'd like to know what I am doing wrong. I'm using Homeworld 1.1, I downloaded the decompiler, extracted it to my HD and copied the scripts folder, containing everything over to Data in my HW2 folder. I opened up the singleplayer.lua file in notepad and changed number accordingly, then saving it.

Is the above all I need to do to get it working or is there more? I've read in this thread people speaking about installing the decompiler, Printy Press and doing things to the BIG file.

Any and all help appreciated,
Nollie
 
Old 30th Apr 06, 6:58 AM   # 27
DatonKallandor
Banned
 
DatonKallandor's Avatar
 
Join Date: Aug 2004

Are you starting your HW2 with the shortcut that has -overridebigfile added?


Daton
DatonKallandor is offline  
Old 30th Apr 06, 7:20 AM   # 28
Nollie
Guest
 

I just tried, it still has the original unit caps. Thanks for the help, though!
 
Old 30th Apr 06, 7:06 PM Forum Rules   # 29
Mikail
Lost in the Web...
 
Mikail's Avatar
 
Join Date: Jun 2003
Location: %HW2_ROOT%

This is the wrong thread to discuss this in.
Start a new thread.
Mikail is offline  
Old 21st Mar 08, 10:58 PM Forum Rules   # 30
Mikail
Lost in the Web...
 
Mikail's Avatar
 
Join Date: Jun 2003
Location: %HW2_ROOT%

New version available here. It no longer uses scripts decompiled using CFLuaDC, but does include pretty-printed versions of the RDN scripts wherever they were found not to originate from the 1.0 version of HW2.

Notes from the new version:


Some planned additions for the next version include the addition of the comments from the tuning spreadsheets to all ship/subsystem/missile/etc. files. Is there any interest in this?

Last edited by Mikail : 21st Mar 08 at 11:07 PM.
Mikail is offline  
Old 22nd Mar 08, 8:02 PM   # 31
Thunderbolt
Member
 
Join Date: Apr 2004
Location: Cumberland, MD USA

yes as i rarely reference the tuning spreadsheets and it would help those that can not view the spreadsheets.
__________________
Pirates Mod - Team Leader/Modeler/Ship designer
Pirates Mod @ mod DB
Version 0.4 To do list

Thunderbolt is offline  
Old 23rd Mar 08, 9:56 AM Forum Rules   # 32
Mikail
Lost in the Web...
 
Mikail's Avatar
 
Join Date: Jun 2003
Location: %HW2_ROOT%

OK, I'll take a look and see what needs done. I'll have to brush up on my Visual Basic skills, as I'm a bit rusty.
Mikail is offline  
Old 9th Jul 08, 3:44 PM   # 33
yafn
Member
 
yafn's Avatar
 
Join Date: Jun 2005
Location: San Diego, CA

I've got a small update to the ui/newui/shared/saveloaddialog.lua I believe. The function GiveFocus is called and reported as nil in the hw2 log. Grepping through the other source files reveals a UI_GiveFocus. Here is a diff from the hw2bsg mod - http://fisheye3.atlassian.com/brows...r1=2999&r2=3000
__________________
yafn is offline  
Reply



Go Back   RelicNews Forums > RDN - Relic Game Mods > Homeworld 2 - Tanis Shipyards
User Name
Password
Register FAQ Members List Arcade Mark Forums Read



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Forum Jump




All times are GMT -7. The time now is 4:56 AM.

Page generated in 0.81484199 seconds (95.46% PHP - 4.54% MySQL) with 8 queries

Powered by: vBulletin Version 3.0.7
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.