Go Back   Steam Users' Forums > Steam Game Discussions > H - L > Hard Reset

Reply
 
Thread Tools Display Modes
Old 11-02-2011, 10:28 AM   #136
Mr. Wonko
 
 
 
Join Date: Nov 2009
Reputation: 36
Posts: 193
Quote:
Originally Posted by DamianXVI View Post
Well, I am not a real moder, and don't have good enough imagination to make something useful in game. I was just curious how this game was made. Sorry that I made false hope.
I consider Reverse Engineering to be just as much modding as actually changing anything... And it's quite important, too.

No matter if it's modding: Impressive work!

Could you elaborate some more on the 28 files you had to edit? Think you can fix the problem? And why do you work on the demo? Don't you have the full game?
Mr. Wonko is offline   Reply With Quote
Old 11-04-2011, 03:14 AM   #137
DamianXVI
 
 
 
Guest
Posts: n/a
Quote:
Originally Posted by Mr. Wonko View Post
And why do you work on the demo? Don't you have the full game?
No, I don't have full game.


Quote:
Originally Posted by Mr. Wonko View Post
Could you elaborate some more on the 28 files you had to edit?
I'll try, but with my English skills it could be hard to understand.

I have very simple test - decompile single file, compile it back to binary using Squirrel compiler and compare with original (only functional part of it, like bytecode and literal consts). When files are different I assume it was badly decompiled, even if logically it is still same functionality.

Decompiler is not able to fully recognize some constructions, like for loops (that are translated from specific while loop constructions), short switch-case blocks, variable scopes limited with explicit block statements, or rarely seen constructions, like assignment to variable inside expression (shown in my previous posts).

At some point I stopped correcting decompiler code and just corrected manually badly decompiled files. Most of them would work fine, because their differences was not significant (like default part of switch-case block excluded outside of block when there was no break statement inside switch, missing of empty if statement, switch-case decompiled as equivalent if statement).

Unfortunately, there was some significant errors, like decompiler error on assignment inside expression, badly translated for loops (with empty increment part), or not matched continue/break statements.

There was also one error caused by Squirrel compiler, which missed one local variable in debug informations.

Quote:
Originally Posted by Mr. Wonko View Post
Think you can fix the problem?
Some of them are very hard to correct - I just don't have idea how to recognize some constructions. Furthermore i just don't have time for this project, and I doubt that I get back to this in future.
  Reply With Quote
Old 12-28-2011, 10:17 PM   #138
Doomfree
 
Join Date: Oct 2011
Reputation: 35
Posts: 219
Quote:
Originally Posted by Schisis View Post
I began teaching myself C++ about a 2 weeks ago, and have been trying to do a little bit of studying each night. I feel hopeless reading this thread though. haha
I've worked IT for 8 years after reading this thread I doubt if I should call myself a programmer



(I work on ERPs in a SI)
Doomfree is offline   Reply With Quote
Old 01-15-2012, 01:00 PM   #139
bobsbarricades
 
 
 
Join Date: Oct 2008
Reputation: 557
Posts: 4,077
So has there been any word on FWH releasing mod tools?
bobsbarricades is offline   Reply With Quote
Old 01-15-2012, 03:30 PM   #140
Mr. Wonko
 
 
 
Join Date: Nov 2009
Reputation: 36
Posts: 193
Quote:
Originally Posted by bobsbarricades View Post
So has there been any word on FWH releasing mod tools?
Nope, they're not even helping the modding attempts happening without any tools, just watching and enjoying the show. (But the show's over by now, with no significant results.)
Mr. Wonko is offline   Reply With Quote
Old 04-03-2012, 07:35 AM   #141
predator-cz
 
 
 
Join Date: Apr 2012
Reputation: 0
Posts: 9
Wow is this thread dead?
The last post is alomost 2 months ago.
So i have some question yet.
1st: How the hell i can activate fly mode (noclip anyway)
2nd: I have some problem with meta importer for blender, it call me this error:
Error
Traceback (most recent call last):
File "blah blah/io_import_hardreset_mety.py" line 526, in execute
if not importer.importModel(self.filepath):
File "blah/modules/bpy_types.py", line 541, in_getattribute_
return getattr(properties, atr)
UnicodeDecodeError: ´utf8´ codec can´t decode byte 0xe1 in position 42: invalid continuation byte
location <unkown location>:1

Any fix please. I need import some nice model(s) and i need UV texture coordinates coz setting by hand is too hard for me.
Perhaps someone help me at this long time. But i think this thread is already dead . It´ll be a pity.
predator-cz is offline   Reply With Quote
Old 04-03-2012, 11:57 AM   #142
Mr. Wonko
 
 
 
Join Date: Nov 2009
Reputation: 36
Posts: 193
Posting in it is the easiest way to resurrect a thread.

What Blender version are you using? I wrote that importer quite a while ago so chances are it won't work with the current version. (And it will certainly break in 2.63 where they'll change a lot regarding models internally.)
Mr. Wonko is offline   Reply With Quote
Old 04-03-2012, 01:21 PM   #143
predator-cz
 
 
 
Join Date: Apr 2012
Reputation: 0
Posts: 9
bump

Last edited by predator-cz: 04-01-2013 at 06:13 AM.
predator-cz is offline   Reply With Quote
Reply

Go Back   Steam Users' Forums > Steam Game Discussions > H - L > Hard Reset


Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -7. The time now is 02:36 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Site Content Copyright Valve Corporation 1998-2012, All Rights Reserved.