Raised This Month: $51 Target: $400
 12% 

Reading binary file


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 03-16-2015 , 12:43   Reading binary file
Reply With Quote #1

What program can i use to read a binary as amxx reads?
I tried to use Hex Editor but it isn't as i need.
If the answer is IDA, i can't use it either. Some EAccess error, tried to reinstall but still the same.
So, what else can i use?
__________________
Jhob94 is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 03-16-2015 , 13:19   Re: Reading binary file
Reply With Quote #2

Quote:
Originally Posted by Jhob94 View Post
Some EAccess error, tried to reinstall but still the same.
run as admin
Quote:
Originally Posted by Powerlord View Post
This is only necessary the first time you run it.

Last edited by Mitchell; 03-16-2015 at 13:37.
Mitchell is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 03-16-2015 , 14:05   Re: Reading binary file
Reply With Quote #3

"binary file" is vague. What file you're talking about?
__________________
Arkshine is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 03-16-2015 , 14:28   Re: Reading binary file
Reply With Quote #4

Quote:
Originally Posted by Arkshine View Post
"binary file" is vague. What file you're talking about?
Models & Maps
__________________
Jhob94 is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 03-17-2015 , 21:44   Re: Reading binary file
Reply With Quote #5

What are you trying to do?
__________________
Bugsy is offline
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 03-17-2015 , 22:20   Re: Reading binary file
Reply With Quote #6

Jhob this is why you need to ask the correct question and not XY. I'm assuming this is regarding your plugin where you are trying to read models and sounds from the BSP so you can present the information regarding the resources that the map is using / precaching. Just open it with Notepad++ and you'll find that what you need is readable.

Code:
{
"origin" "-640 -256 64"
"model" "models/mapmodels/arc_bush.mdl"
"rendercolor" "0 0 0"
"framerate" "10"
"angles" "0 0 0"
"classname" "cycler_sprite"
}
Code:
{
"origin" "1432 -1088 -136"
"targetname" "gamedoor"
"volstart" "10"
"message" "jail_futuregn/gamemusic.wav"
"pitchstart" "100"
"pitch" "100"
"health" "10"
"spawnflags" "24"
"classname" "ambient_generic"
}
Again, assuming that's what your asking based on the limited amount of information you've provided.
__________________
Quote:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.

Last edited by hornet; 03-17-2015 at 22:23.
hornet is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 03-18-2015 , 05:20   Re: Reading binary file
Reply With Quote #7

Yes hornet, you are correct. I wanted to know about models because i saw one Arkshine post about reading models and he used fseek to find 0xCC and i couldn't find it on the model.
__________________
Jhob94 is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 03-18-2015 , 05:25   Re: Reading binary file
Reply With Quote #8

A file data follows a structure. Most of info can be found in HLSDK https://github.com/alliedmodders/hls...e/master/utils
__________________

Last edited by Arkshine; 03-18-2015 at 05:27.
Arkshine is offline
Reply



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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:29.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode